WordPress.org

Ready to get started?Download WordPress

Forums

Inserting links only on some pages (3 posts)

  1. bobrock4
    Member
    Posted 5 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
    Ciao

  2. alchymyth
    The Sweeper & Moderator
    Posted 5 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
    Member
    Posted 4 months ago #

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

Reply

You must log in to post.

About this Topic

Tags

No tags yet.