Using Widget Logic on WordPress

Using Widget Logic on WordPress

Widget Logic is a free plugin on WordPress that works exclusively with widgets. When you install this handy plug-in it adds an extra option to each widget that enables you to define where the widget should and shouldn’t be. This is a great tool when you want to have specific content on certain parts of your website.

Here are some examples of widget logic that are commonly used:

  • is_page() – if viewing a page.
  • !is_page() – if viewing anything other than a page (Note that the use of “!” turns the condition into if is not).

After downloading and activating, you can find the newly installed plug-in by going to Appearance > Widgets. After clicking on your widget of choice, you should see the new addition on the bottom of the menu, shown below:

widget logic

 

 

 

 

 

 

 

 

 

 

For a quick tutorial on how to use Widget logic, click here. 

admin
No Comments

Post a Comment

Comment
Name
Email
Website