Inserting links only on some pages (3 posts)

  1. bobrock4
    Posted 2 years ago #

    I would like to create a link section on a sidebar and that this links should appear only to some pages. In other pages I would like to have different links. In further pages I wouls like to have not any link section.

    So, this link section should be published when and where I want and change in relation to the content pages.

    Thanks to all

  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    only on some pages

    if you are using a widget, consider one of the 'conditional widget' or 'widget logic' plugins - just use the plugin search http://wordpress.org/plugins/

    if this is hard-coded into the sidebar template, consider to use conditional tag is_page() http://codex.wordpress.org/Function_Reference/is_page

  3. bobrock4
    Posted 2 years ago #

    Thank you for this advice. I have tried conditional widget plugin and it is working fine.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.