Support » Fixing WordPress » Remove page title from static home ONLY (not other pages)

  • Resolved a f

    (@adamsfischer)


    Hi. I recently started a new page and I just configured my settings to have the homepage as a static page (rather than a blog). However, I want to remove the “Home” name from the page content (while leaving it in navigation bar).

    I have searched online for solutions – and found many! – but none seem to apply to me. I cannot locate the correct files in page.php or index.php (as many forums suggest). I am using the Mystique theme, if that helps.

    I ONLY want to do this to the main page – not my other pages.

    Any ideas? Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • add a custom field in the page named “hide_title”

    a f

    (@adamsfischer)

    Unfortunately I’m pretty new to this. Could you give me some instructions on how exactly to do that? Thanks, I appreciate it!

    here
    instead of “state” add “hide_title”
    value can be empty.

    a f

    (@adamsfischer)

    Perfect! Thanks so much, that was much easier than all the other explanations I came across.

    I have two other quick questions which you may have the answer to, since you’re clearly the guy to ask!

    1. Is it possible to add widgets to pages in Mystique? If so, how?
    2. Do you have any recommendations for websites where I can use a WYSIWYG tool to generate text html?

    Thank you so much!

    1. where in pages?
    2. why would you need that when you can write a post in Visual (WYSIWYG) mode in WordPress?

    a f

    (@adamsfischer)

    Regarding the widgets on pages, I figured out I don’t really need to do that anymore. My mistake!

    In terms of using the Visual mode for pages, I was looking for a little more control (for instance, over text size, font, etc). Is there a way to add those capabilities?

    hi! adamsfischer
    plz tell how to show widgets inside the page
    thanks

    also plz explain how can i hide custom home page name
    as i am very new to WP

    I did as you suggested added “hide_title”and left the value blank and got message needs a value,added value which I put Home and it did not remove home on my static page any suggestions.

    Mark

    Subbu

    (@subbu-net27)

    I had the same problem while trying to add “hide_title”

    Here’s what I did, edit the code in core.php. find the mystique_page() function and find the

    <h1 class="title">
           <?php
    	   the_title();
           ?>
    </h1>

    add

    if(!is_front_page())

    to make it

    <h1 class="title">
           <?php
    	   if(!is_front_page()) the_title();
           ?>
    </h1>

    Set hide_title as value for the custom field hide_title

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Remove page title from static home ONLY (not other pages)’ is closed to new replies.