该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Custom Widget area

描述

A WordPress Plugin that makes it very simple and easy to create a custom widget areas, sidebars and Menu locations. With the help of this plugin you can create multiple custom widget areas, menu locations and use it wherever you want to show in your site.

It allows you to show custom widget areas and menu locations created with this plugin in any part of your site (i.e, as sidebars, bottom widget areas , in header and plus with this plugin now you can also show it in your pages and posts contents.) There’s two way of using this plugins. To show it in posts or pages content use shortcode link “Get shortcode” and for other like to show as sidebars etc. use code link “Get code”.

屏幕截图

  • Custom widget area basic view.
  • Custom widget area advance view.
  • ** Menu locations ** create and use menus anywhere.

安装

  1. Upload wp-custom-widget-area to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. click on CWA settings menu at left menu bar

常见问题

Installation Instructions
  1. Upload wp-custom-widget-area to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. click on CWA settings menu at left menu bar
How to use custom widget area?
  1. Create a new Widget area.
    1. Click on the “get code” link.
    2. Copy the code and Paste it in a wordpress theme where you want to display it.
How to Use it in page or post content?
  1. Click on the “get shortcode” link form table below.
    1. Copy the shortcode and Paste it in a post or page editor where you want to display it.
How to customize widget style?
  1. Click on the advance link while creating new widget area and add widget class.
    1. Add custom css targeting your widget area class. i.e.
      .mynewwidgetareaclass a{ color: red; }
      at the bottom of your style.css where “.mynewwidgetareaclass” is your widget area class.
How to edit widget area?
  1. scroll down to the widget area table and click on the edit link.
    1. edit the widget area data.
    2. click on the update button to save changes.
How to use menu locations?
  1. Create a new Menu Location.
    1. Click on the “get code” link from table below.
    2. Copy the code and Paste it in a wordpress theme where you want to display it.
How to customize menu style?
  1. Pass the extra arguments while calling function
    i.e.
    wp_nav_menu( array( ‘theme_location’ => ‘footer-location’, ‘menu_class’ => ‘Cwa-menu’, [arguments] => [‘values’]… ) );
    Cick here to know more about available Parameters.
    [Note: for shortcode pass arguments like [menu theme_location=’footer-location’ ‘menu_class’=’Cwa-menu’ [arguments]=[values]…]

    1. Make sure you have passed custom menu class options i.e. ‘menu_class’ like in above code.
    2. Add custom css targeting your menu_class or container_class etc. i.e.
      .Cwa-menu a{ color: red; }
      at the bottom of your style.css.

评价

2019年1月19日
Super plugin, thanks! Please update so stays in the Wordpress plugins directory!
2018年2月15日
This widget is a dream come true for me. Being able to reliably create custom locations for widgets, is great. Being able to do the same with MENUS, for me is a game-changer. Thanks so much to Kishor Khambu!!
2017年8月16日
Wow! Thank you for this awesome plugin! It does everything you said it would do -- which is precisely what I've hoped to have for a very long time. BTW: I tried it to place the WP RSS widget in the middle of a page and it worked like a charm. I'm using WP Version 4.8.1
2017年8月1日
Totally happy with this plugin. Does exactly what I was looking for. I was able to create a widget on my photo blog for showing 'recently viewed photos'. Needs a little studying before you get it to work, but the Help tab is a great..., eh..., help.
阅读所有26条评价

贡献者及开发者

“WP Custom Widget area” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“WP Custom Widget area”插件已被翻译至2种本地话语言。 感谢所有译者为本插件所做的贡献。

将“WP Custom Widget area”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.5

  • fixed script and styles equeue
  • Added new feature for custom wrapper elements.

1.2.2

  • Widget area bug fix for tag less code display on frontend. support ticket : widget-title-showing-in-code-form

1.2.1

  • Widget area edit form bug fix

1.2.0

  • Added widget area edit option

1.1.5

  • delete script bug fix

1.1.4

  • database table upgrade bug fix
  • form and js bug fix

1.1.3

  • widget area bug fix
  • improved user interface
  • easy and simple how to use help guide

1.1.2

  • database bug fix for v 1.1.0 and 1.1.1

1.1.1

  • database update fix for v 1.1.0

1.1.0

  • added new menu location feature
  • design update

1.0.4

  • 4.2 compatible

1.0.3

  • fix for “code conflict with CoSchedule plugin”

1.0.2

  • shortcode bug fix
  • removed unused assets

1.0.1

  • added widget area shortcode
  • how to use update

1.0.0

  • Launch version.