WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove page title from static home ONLY (not other pages) (12 posts)

  1. a f
    Member
    Posted 3 years ago #

    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!

  2. digitalnature
    Member
    Posted 3 years ago #

    add a custom field in the page named "hide_title"

  3. a f
    Member
    Posted 3 years ago #

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

  4. digitalnature
    Member
    Posted 3 years ago #

    here
    instead of "state" add "hide_title"
    value can be empty.

  5. a f
    Member
    Posted 3 years ago #

    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!

  6. digitalnature
    Member
    Posted 3 years ago #

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

  7. a f
    Member
    Posted 3 years ago #

    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?

  8. inam_321
    Member
    Posted 3 years ago #

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

  9. inam_321
    Member
    Posted 3 years ago #

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

  10. markandroena
    Member
    Posted 3 years ago #

    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

  11. Subbu
    Member
    Posted 3 years ago #

    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>
  12. franius
    Member
    Posted 2 years ago #

    Set hide_title as value for the custom field hide_title

Topic Closed

This topic has been closed to new replies.

About this Topic