How Do I Use the Widget Logic Plugin for Wordpress?
March 15th, 2010 | by rarzi |
www.renegadetechconsulting.com An key to a Widget Logic plugin for Wordpress. This plugin allows widgets to usually be shown upon specific pages of your blog.
Widget and Software Internet Download
Widget and Software Internet
www.renegadetechconsulting.com An key to a Widget Logic plugin for Wordpress. This plugin allows widgets to usually be shown upon specific pages of your blog.
25 Responses to “How Do I Use the Widget Logic Plugin for Wordpress?”
By DarylLozupone on Mar 15, 2010 | Reply
Thanks for your feedback!
By Aboywithglasses on Mar 15, 2010 | Reply
Thanks for the tutorial! Clear and simple
By DarylLozupone on Mar 15, 2010 | Reply
Great, Becky. I am glad you found the tutorial helpful.
By beckyjoubert on Mar 15, 2010 | Reply
Daryl,
I was searching for some information on new plugins of mine, and…I stumble on your helpful video!
This was exactly the info I was looking for, and your comment support helped tremendously.
By DarylLozupone on Mar 15, 2010 | Reply
Glad you liked it.
By tekxzen on Mar 15, 2010 | Reply
Fantastic Video and wonderful plugin! Very useful.
By DarylLozupone on Mar 15, 2010 | Reply
@LearningTheMarket Use the is_single() tag. And input the slug for the page inside the parentheses. For example, if you want it to show on a page with the slug “About”, use is_single(’About’).
I hope that helps.
By LearningTheMarket on Mar 15, 2010 | Reply
Great video. My problem is that I’m not trying to get a widget on my blog pages, but rather my other non blog pages. I’ve tried using is_page(’title’) and that doesn’t work. I’ve tried using the page ID, but that didn’t work either. Any suggestions?
By rslylmz on Mar 15, 2010 | Reply
Thanks for your response but Already “Author template” don’t work on my theme. So, i want to try widget logic but i can’t
Whatever, thank you again.
By DarylLozupone on Mar 15, 2010 | Reply
These two are mutually exclusive, as the ” is_author” tag only applies to archive pages, not single post pages.
What you desire can be done with some custom programming. However, that is outside the scope of this video.
Quick suggestions: use an author template
By rslylmz on Mar 15, 2010 | Reply
not work with ->
is_single() && is_author(’xxxx’)
please help!
By DarylLozupone on Mar 15, 2010 | Reply
It is my pleasure. I am glad you found the tutorial helpful.
By MarketMindBiz on Mar 15, 2010 | Reply
Great Plugin – just what I been searching for. Thanks for instructions and works great.
By 50kT on Mar 15, 2010 | Reply
Daryl I finally figured out what I was doing wrong. like you suggested, in_category(’X') is what i needed
I was putting in the category slug instead of the category ID which is just the number 3.
in_category(’3′) is all I had to do this whole time lol (i was putting in_category(’movies’).
thanks!
By DarylLozupone on Mar 15, 2010 | Reply
Yes, you can use the following sytnax:
!(in_category(’trailers’))
However, it is always best to use a whitelist approach (i.e. an inclusive model) as opposed to a blacklist (an exclusive model). It is far easier to maintain a list of “do’s” than “don’ts”.
Hope that helps.
By 50kT on Mar 15, 2010 | Reply
awesome! thanks I’ll pm you my gtalk
By DarylLozupone on Mar 15, 2010 | Reply
The in_category tag applies to any post in the category indicated. The is_category tag applies to archive pages. I would be happy to help if you contact me directly to set up a time to meet.
By 50kT on Mar 15, 2010 | Reply
if there is a all_single_posts_but_ NOT+ (’x post, y post, z post’” lol i’d be happy
thanks for quick responses too
By 50kT on Mar 15, 2010 | Reply
thats exactly what I did, but it doesnt discriminate correctly. what it ended up doing was not show the widget on ANY posts. I wanted 90% of my posts to show the widget and 10% (the trailer posts) to NOT show the widget. but when i do in_category(’movies’) , the widget doesn’t show up on ANY posts
also that in_category(”) thing; i’m not sure its for posts, the codex says its for category ARCHIVE pages, not posts of specific categories
By DarylLozupone on Mar 15, 2010 | Reply
in_category(’movies’)
By 50kT on Mar 15, 2010 | Reply
How can I make a widget display not on ALL posts but only on posts of the category movies? (this way posts in the trailer category will not have the widget on it) I don’t want to have to list 900 posts for it to display on.. I’d be ok with telling it which posts to NOT display on though..
By DarylLozupone on Mar 15, 2010 | Reply
Thanks so much.
By cyberbrahma on Mar 15, 2010 | Reply
Brilliant piece of work.
May your tribe grow!
S.K
By DarylLozupone on Mar 15, 2010 | Reply
Glad to hear it.
By leer5858 on Mar 15, 2010 | Reply
thanks for the plugin, it works perfect. You helped me out!