• I realize that I may not know how to use conditionals, but I’d like to understand something basic about the plugin which I don’t see explained.

    Is the condition the location of the widget? or the content which appears in it?

    In other words, can I tell the widget to appear here, but not there? or is the point to to show this content “here”, but different content “there”? or is it both?

    I want to learn how to use conditional statements, but I need to understand exactly what this plugin has to do with conditionals first.

    Any clarification would be appreciated. Thanks.

    http://wordpress.org/extend/plugins/widget-logic/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Alwyn Botha

    (@123milliseconds)

    Thread Starter deepbevel

    (@deepbevel)

    Can a url ever be a conditional? I have stuff I can’t identify as pages, post, category, archive, or any of the other conditions. For instance, a plugin called “BP my Home” adds a members profile page to the BuddyPress members profile. I want to show certain widgets when that “page” is displayed.

    the BP home widgets in that plugin appear to be their own beast – not generic WP widgets in wp sidebars at all, though I might be wrong. I’m not really up on BuddyPress.

    In general WL lets you set which widgets in the sidebar in your WP admin > appearance > widgets appear (or not) on any given displayed page. Appearance is based on the value of some PHP code which can be as complex as needed, or as simple as, eg is_home() which WP returns as true when you display the home page.

    buddy press I know adds its own conditional template tags:

    http://wordpress.org/support/topic/buddypress-and-widget-logic

    Thread Starter deepbevel

    (@deepbevel)

    thanks, I’ll check it out, and I’ll assume the answer to my question about a url being a condition is, no.

    Thread Starter deepbevel

    (@deepbevel)

    What about the plugin “BuddyPress Posts on Profile” I want to show certain widgets when that plugin is displayed too. It appears to be a category page, in fact it has it’s own archive template called “screen-one.php” it looks just like the WP archive template. Would there be a way to identify that template as a condition?

    Thread Starter deepbevel

    (@deepbevel)

    And I have a more basic question too, how can I access the settings as shown in the examples under the plugin settings? it looks like a ui for a widget, but the sidebar that this plugin adds has no such settings.

    Thread Starter deepbevel

    (@deepbevel)

    I found the widget, wasn’t sure what it would be called so I overlooked it. It appears I may be using the plugin wrong, or maybe there’s more than one way and I’m confusing them. I want a pdf widget to appear on a certain page. Do I need to use the posts in post widget for that? if so, how does it’s use effect other widgets in the shortcode sidebar? do they work together somehow?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Widget Logic] need basic explain’ is closed to new replies.