Support » Plugin: Lightweight Widget Area Plugin - Content Aware Sidebars » Trying to use tags to show sidebars on WP pages

  • Resolved blamor

    (@blamor)


    I would like to show sidebars on all pages with xyz tag or category – is this possible?

    When I tried setting up sidebar to show on all pages with the xyz tag, sidebar doesn’t show up. I can select the page name and it will work (on only that page), but I’d like it to work an all pages with the xyz tag.

    Note: I selected the xyz tag, set exposure to Singular, Handle to Merge above content and merge position to Top.

    http://wordpress.org/plugins/content-aware-sidebars/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    It should be possible, yes. Your settings seem fine, but are there any more than the ones provided here? If yes, it could be the problem. Read why here: http://wordpress.org/plugins/content-aware-sidebars/faq/

    Thread Starter blamor

    (@blamor)

    I have just this one sidebar created for testing/vetting. the only option I’ve selected under the Content area is Tags – one tag called basics. when I save and view in a browser, nothing changes unless I select the page name under the Content area? I’m at a loss?

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Is it a custom post type and a custom taxonomy, or are you referring to the native pages and tags in WordPress? WordPress pages do not by default support any taxonomy, but of course this can be changed.

    Selecting a tag means that:
    The sidebar will be displayed on any singular containing that tag regardless of the post type.
    Selecting a tag and “Show with all pages” means that:
    The sidebar will be displayed on any page containing that tag.

    Thread Starter blamor

    (@blamor)

    I’m just using wordpress pages with a tag titled basics – nothing custom. When using the settings you recommend, it results in all pages on the site (even pages without tags or categories or different tags and categories all together). If I remove “Show with all pages” and leave only the basics tag selected, the sidebar doesn’t show up on the site at all.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    It seems that Content Aware Sidebars does not know that your pages support the tag taxonomy. Most often this problem occurs if the taxonomy is – when a given page is loaded on your site – registered “too late” for Content Aware Sidebars to know that pages support it.

    Do you use a plugin to make pages support tags? If not, you should look for the function register_taxonomy_for_object_type() in your theme directory and tell me how it is executed (i.e. what filter is used for the function).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Trying to use tags to show sidebars on WP pages’ is closed to new replies.