Support » Plugin: Page-list » Option to remove self from page list

  • Resolved MarlyM

    (@marlym)


    Hi there, I use the following code in my page footers to help with navigation:

    [sb_parent]
    See also:
    [sb_child_list]

    This displays an option to go back to the parent page, as well as the options to see sibling pages for related information. However, because this shows the children of the parent page, it includes a link to the current page I am on, which could be confusing to the visitor.

    For this usage, it would make more sense to exclude the current page from its siblings in the sb_child_list. Is there a way to accomplish this?

    http://wordpress.org/plugins/page-list/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author webvitaly

    (@webvitaly)

    You can hide current page with the css.
    Just add this code to your theme style.css file:

    .page-list .current_page_item { display: none; }

    Thread Starter MarlyM

    (@marlym)

    Thank you for responding, webvitaly. Unfortunately, this did not appear to change anything on my site.

    Plugin Author webvitaly

    (@webvitaly)

    Hm, maybe you are using some other plugin, because Page-list plugin does not have ‘[sb_parent]’ and ‘[sb_child_list]’ shortcodes.

    Thread Starter MarlyM

    (@marlym)

    Whoops — I’m using more than one plugin for this and put this in the wrong forum. So sorry for the mixup!

    Plugin Author webvitaly

    (@webvitaly)

    That’s ok 🙂

    Just remember, Page-list plugin uses: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes

    Thread Starter MarlyM

    (@marlym)

    10-4. Over and out. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Option to remove self from page list’ is closed to new replies.