WordPress.org

Forums

How do I exclude certain pages and bullets from the sidebar? (2 posts)

  1. charles_i
    Member
    Posted 6 years ago #

    I've tried using 'exclud=' page ID number but it overrides 'title_li=' which removes the title and the title appears (with a bullet point). I want to format my own title with:

    <?php _e('<h1>Pages Title</h1>'); ?>

    How can I do both?

    The Codex mentions using 'meta_key' and setting Custom Fields to be excluded on Pages you don't want to appear - but it doesn't give an example of how to do it. This looks like a better solution.

    Also, how can I remove the big ugly bullet points in the nav? These seem to be set in the WP styles - not my style.css

    Thanks
    Charles

  2. charles_i
    Member
    Posted 6 years ago #

    Answered one of my questions - remove bullet points does work in my style.css

    list-style: none;

Topic Closed

This topic has been closed to new replies.

About this Topic