WordPress.org

Ready to get started?Download WordPress

Forums

remove '- pages' as link in the menu (6 posts)

  1. LulaViolet
    Member
    Posted 1 year ago #

    Hello dear WP-People,

    In the 'Footer' of my website will be the Copyrightstuff (copyright©2012 etc) and a link called 'impressum. I've putted the following code into the footer.php:

    <?php wp_list_pages('include=118' ); ?>

    I expected to see this:

    - impressum

    But got this:
    - pages
    - impressum

    'Pages' itself is not clickable/ no link. What can I add to the code, that ' - pages ' will disappear?
    Thank you a lot for your help.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Which theme are you using?

  3. LulaViolet
    Member
    Posted 1 year ago #

    Twenty Eleven

  4. LulaViolet
    Member
    Posted 1 year ago #

    It looks like '-pages' is a parent of '-impressum'.

    - pages
       - impressum

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    Can you provide a link to a webpage with the copyright stuff in footer?

  6. LulaViolet
    Member
    Posted 1 year ago #

    Thanks for your help, your question made me think in a different way. I putted a link to the page with html code :)

    <a href="http://...">Impressum</a>

    Now everything works fine.
    Have a nice day.

Topic Closed

This topic has been closed to new replies.

About this Topic