2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
24th August 2015, 09:49 AM
Super Moderator
 
Join Date: May 2012
Re: Widget Logic

Widget Logic is a powerful plugin that controls where a widget should appear and conversely where it should not.

It is included on list of first plugins to install on a site running WordPress.
After you install the plugin a new input area will be added below each of your widgets. That’s where we’ll put our WordPress Conditional tags and other statements.


Here I am telling you how can you use WordPress Conditional Tags

Here are more Conditional Tags that are useful for determining widget placement

is_front_page()
Show widget on the front page.

is_home()
Show widget on the “posts page” aka “blog page”.

is_page()
Show widget on pages. You can use the Page’s ID, Title or Slug

is_single()
Show widget on posts.

in_category()
Show widget if post is in a category.

has_tag()
Show widget if post has a tag.

I hope this information will help you in clearing your concept of Widget Logic


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 06:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4