WordPress.org

Ready to get started?Download WordPress

Forums

Hide/remove redundent titles - mystique (4 posts)

  1. lernest
    Member
    Posted 3 years ago #

    For most (but not all) of my pages I am using WordPress (theme mystique) as a CMS, and on those pages I would really like to remove the redundant title - it is redundant because users already know what page they are on from the navigation tab (example of the problem can be seen here:http://www.tystips.com/archives/64/how2-remove-the-title-from-a-wordpress-page/ )

    However, the solution described there does not help, because I do not want to get rid of the titles on my Blog page - just everywhere else. Blog posts may very well have different titles than "Blog" - which is the navigation tab that will take the user to that page.

    I was convinced there had to be a plugin that would let me do this since I can find other posts of people with similar problems, but I cannot locate it, or any solutions. Any ideas?

    Thanks in advance!

  2. csleh
    Member
    Posted 3 years ago #

    What you're asking for is this to add to the style.css:

    h2{display:none;}
     body.myblogcategoryname h2 {display:block; font-weight:bold;}

    A better idea would be to remove the h2 on all templates except the one blog posts use.

  3. lernest
    Member
    Posted 3 years ago #

    I am not familer enough with templates to determine which ones the blog uses vs everything else.

    This post here:http://wordpress.org/support/topic/hide-post-titles?replies=7#post-2188072

    Appears to describe what I need however, the page.php in my version of twenty-ten as well as the theme I am using (mystique) do not have the_title in theme.

    I may be doing it wrong, or perhaps something has changed about where this code is kept? If it was just mystique I would start poking around blindly, but since it's not in twenty-ten either...

    All I see is:

    <?php
     /* Mystique/digitalnature */
     get_header();
    ?>
    
      <!-- main content: primary + sidebar(s) -->
      <div id="main">
       <div id="main-inside" class="clear-block">
        <!-- primary content -->
        <div id="primary-content">
         <div class="blocks">
           <?php do_action('mystique_before_primary'); ?>
           <?php
    
            if (have_posts()):
             while (have_posts()):
              the_post();
              mystique_page();
             endwhile;
            endif;
    
            comments_template();
           ?>
           <?php do_action('mystique_after_primary'); ?>
         </div>
        </div>
        <!-- /primary content -->
    
        <?php get_sidebar(); ?>
    
       </div>
      </div>
      <!-- /main content -->
    
    <?php get_footer(); ?>
  4. lernest
    Member
    Posted 3 years ago #

    I was never able to find the section in the mystique code, and I would still rather go that route if someone knows where it's hidden.

    I did however find this workaround: When you create a page, in the custom fields section. Name...add "hide_title" (no quotes). Value..."true" (no quotes) Do this for every page you don't want the title to show on.

Topic Closed

This topic has been closed to new replies.

About this Topic