Ready to get started?Download WordPress


Inserting links only on some pages (3 posts)

  1. bobrock4
    Posted 9 months 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. alchymyth
    Forum Moderator
    Posted 9 months 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 8 months ago #

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


You must log in to post.

About this Topic


No tags yet.