Ready to get started?Download WordPress


[resolved] menu name in article - not wanted (5 posts)

  1. markovacs
    Posted 4 years ago #


    I am a really new user of WP, but trying my best.
    I have made a template where I have couple of different pages.
    First page is the one that holds the blogs, and then the rest would be static.
    I have a menu with all the pages created I want to use, but when I add content to the pages the title of the page (same as the menu-button name) will appear in the article once displayed in the browser.
    I have managed to get rid of them in the css stylesheet( display: none;), but then the blog article's titles disappear too.
    Is there a solution?
    Please help me out.

  2. outshine
    Posted 4 years ago #

    Not quite clear, if i understood you problem or not.
    Is there a way to see the problem you are facing?

  3. markovacs
    Posted 4 years ago #

    Hi, yes if you go to: fittmama.freevar.com and go to any other menu than the first one.

    The way the pages start is the actual name of the menu we have just entered into.

    So, eg. If I click on the last button: kuldetes
    it will go to a page where there is an article. The problem is that I do not want that page starting with: kuldetes at the top.

    But if I remove the title of the articel the button looses its name.

    I hope it is more clear now.


  4. outshine
    Posted 4 years ago #

    So you want the the title of the article should show in title bar of browser but it should not show on the page. If you want this you have to manually edit page.php in your theme folder.

    open page.php and look for something like

    <a style="background-color: rgb(255, 0, 0);" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>

    once you have found it, you just have to delete this line and voilla . you are done.

    If you need anything else just let me know. :)

  5. markovacs
    Posted 4 years ago #


    You are an ACE!

    Thank you very much!

    I would have never figured this out!
    I was looking for it in the style.css
    Now it seems very obvious.

    Thanks a lot again.

Topic Closed

This topic has been closed to new replies.

About this Topic