3hrs in - Still can't delete Homepage Title (U-design) Any pointers pls :)

Discussion in 'WordPress' started by rob33, May 8, 2014.

  1. #1
    Hi all - rarely call for help but flummoxed:

    Here's what u find in the header.php:

    <?php
    /**
    * @package WordPress
    * @subpackage U-Design
    */
    
    global $udesign_options, $style, $current_slider;
    // get the current color scheme subdirectory
    $style = ( $udesign_options['color_scheme'] ) ? "style{$udesign_options['color_scheme']}": "style1";
    $current_slider = $udesign_options['current_slider'];
    ?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="show-menu-auto-arrows" content="<?php echo ($udesign_options['show_menu_auto_arrows']) ? 1 : 0; ?>" />
    <meta name="show-menu-drop-shadows" content="<?php echo ($udesign_options['show_menu_drop_shadows']) ? 1 : 0; ?>" />
    
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    
    <!--[if IE 6]>
        <script  type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/DD_belatedPNG_0.0.8a-min.js"></script>
        <script  type="text/javascript">
        // <![CDATA[
        DD_belatedPNG.fix('.pngfix, img, #home-page-content li, #page-content li, #bottom li, #footer li, #recentcomments li span');
        // ]]>
        </script>
    <![endif]-->
    
    <?php wp_head(); ?>
    
    <!--[if lte IE 9]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/common-css/ie-all.css" media="screen" type="text/css" />
    <![endif]-->
    <!--[if lte IE 7]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/common-css/ie6-7.css" media="screen" type="text/css" />
    <![endif]-->
    <!--[if IE 6]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/common-css/ie6.css" media="screen" type="text/css" />
        <style type="text/css">
        body{ behavior: url("<?php bloginfo('template_directory'); ?>/scripts/csshover3.htc"); }
        </style>
    <![endif]-->
    <?php echo $udesign_options['google_analytics']; ?>
    </head>
    <body <?php body_class( $udesign_options['enable_cufon'] ); ?>>
    <?php
        if ($udesign_options['enable_feedback']) : ?>
        <div id="feedback"><a href="<?php echo $udesign_options['feedback_url']; ?>" title="<?php esc_attr_e('Feedback', 'udesign'); ?>" class="feedback"></a></div>
    <?php
        endif;
        if ($udesign_options['enable_page_peel']) : ?>
        <div id="page-peel">
            <a href="<?php echo $udesign_options['page_peel_url']; ?>" title="<?php esc_attr_e('Subscribe', 'udesign'); ?>"><img src="<?php bloginfo('template_directory'); ?>/styles/style1/images/page_peel.png" alt="<?php esc_attr_e('Subscribe', 'udesign'); ?>" /></a>
            <div class="msg_block"></div>
        </div>
    <?php
        endif; ?>
        <div id="wrapper-1" class="pngfix">
        <div id="top-wrapper">
                <div id="top-elements" class="container_24">
                        <div id="logo" class="grid_14">
    <?php                   if( is_front_page() ) : ?>
                                <h1><a title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <?php                   else : ?>
                                <div class="site-name"><a  title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
    <?php                   endif; ?>
                        </div>
                        <div id="slogan" class="grid_17"><?php bloginfo('description'); ?></div>
                        <!-- end logo slogan -->
    <?php               if ($udesign_options['top_page_phone_number']) : ?>
                            <div class="phone-number grid_7 prefix_17">
                                <div class="phone-number-padding">
    <?php                           echo $udesign_options['top_page_phone_number']; ?>
                                </div><!-- end phone-number-padding -->
                            </div><!-- end phone-number -->
    <?php               endif; ?>
    <?php               if ($udesign_options['enable_search']) : ?>
                            <div id="search" class="grid_6 prefix_18">
                                <form action="<?php bloginfo('url'); ?>/" method="get">
                                    <div class="search_box">
                                        <input id="search_field" name="s" type="text" class="inputbox_focus blur pngfix" value="<?php esc_attr_e('Search...', 'udesign'); ?>" />
                                        <input type="submit"  value="" class="search-btn pngfix" />
                                    </div>
                                </form>
                            </div><!-- end search -->
    <?php               endif; ?>
                          
    <?php               $top_area_social_media = sidebar_exist_and_active('top-area-social-media');
                        if ( $top_area_social_media ) : // hide this area if no widgets are active... ?>
                            <div class="social-media-area grid_9 prefix_15">
    <?php                       echo udesign_get_dynamic_sidebar( 'top-area-social-media' ); ?>
                            </div><!-- end social-media-area -->
    <?php               endif; ?>
            </div>
            <!-- end top-elements -->
                <div id="main-menu" class="pngfix">
                    <div id="dropdown-holder" class="container_24">
    <?php                   udesign_nav(); // this function calls the main menu ?>
                    </div>
                    <!-- end dropdown-holder -->
                </div>
                <!-- end top-main-menu -->
        </div>
        <!-- end top-wrapper -->
    
        <div class="clear"></div>
    
    <?php    if( is_front_page() ) : ?>
          
    <?php
            if( $current_slider == '1' ) :
            include( 'sliders/flashmo/grid_slider/grid_slider_display.php' );
            elseif( $current_slider == '2' ) :
            include( 'sliders/piecemaker/piecemaker_display.php' );
            elseif( $current_slider == '3' ) :
            include( 'sliders/piecemaker_2/piecemaker_display.php' );
            elseif ( $current_slider == '4' ) :
            include( 'sliders/cycle/cycle1/cycle1_display.php' );
            elseif ( $current_slider == '5' ) :
            include( 'sliders/cycle/cycle2/cycle2_display.php' );
            elseif ( $current_slider == '6' ) :
            include( 'sliders/cycle/cycle3/cycle3_display.php' );
            elseif ( $current_slider == '7' ) : // no slider ?>
            <div id="page-content-title">
                <div id="page-content-header" class="container_24">
                <div id="page-title">
    <?php                       if ( $udesign_options['no_slider_text'] ) echo '<h2>' . $udesign_options['no_slider_text'] . '</h2>'; ?>
                </div>
                </div>
                <!-- end page-content-header -->
            </div>
            <!-- end page-content-title -->
    <?php        endif; ?>
    
            <div class="clear"></div>
    <?php
    
    
                // home-page-before-content Widget Area
                $before_cont_1_is_active = sidebar_exist_and_active('home-page-before-content');
                if ( $before_cont_1_is_active  ) : // hide this area if no widgets are active...
    ?>
                    <div id="before-content">
                        <div id="before-content-column" class="container_24">
                            <div class="home-page-divider pngfix"></div>
    <?php
                            if ( $before_cont_1_is_active ) {
                                echo get_dynamic_column( 'before-cont-box-1', 'column_3_of_3 home-cont-box', 'home-page-before-content' );
                            } ?>
                            <div class="home-page-divider pngfix"></div>
                        </div>
                        <!-- end before-content-column -->
                    </div>
                    <!-- end before-content -->
    
            <div class="clear"></div>
    
    <?php        endif; ?>
    
            <div id="home-page-content">
    
    <?php    else : // NOT front page ?>
    
            <div id="page-content-title">
            <div id="page-content-header" class="container_24">
                <div id="page-title">
    <?php             $post = $posts[0]; // Hack. Set $post so that the_date() works.
                if (is_page()) : ?>
                    <h1><?php the_title(); ?></h1>
    <?php            elseif ( is_single() ) : ?>
                    <h1><?php the_title(); ?></h1>
    <?php            elseif (is_tax()) : /* If this is a taxonomy archive */
                    $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );  ?>
                    <h1 class="pagetitle"><?php echo ucwords( $term->taxonomy ) . ': ' . $term->name; ?></h1>
    <?php            elseif (is_category()) : /* If this is a category archive */ ?>
    <?php                       if ($udesign_options['show_archive_for_string'] == 'yes') : ?>
                                    <h1 class="pagetitle"><?php single_cat_title("", true); ?></h1>
    <?php                       else : ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for the &#8216;%s&#8217; Category', 'udesign' ), single_cat_title("", false) ); ?></h1>
    <?php                       endif; ?>
    <?php            elseif (is_search()) : /* If this is a search results page */ ?>
                    <h1 class="pagetitle"><?php printf( __('Search Results for &#8216;<em>%s</em>&#8217;', 'udesign' ), get_search_query() ); ?></h1>
    <?php            elseif (is_404()) : /* If this is a 404 page */ ?>
                    <h1 class="pagetitle"><?php esc_html_e('Page Not Found (Error 404)', 'udesign'); ?></h1>
    <?php            elseif( is_tag() ) : /* If this is a tag archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Posts Tagged &#8216;%s&#8217;', 'udesign' ), single_tag_title("", false) ); ?></h1>
    <?php            elseif (is_day()) : /* If this is a daily archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for %s', 'udesign' ), get_the_date() ); ?></h1>
    <?php            elseif (is_month()) : /* If this is a monthly archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for %s', 'udesign' ), get_the_time('F Y') ); ?></h1>
    <?php            elseif (is_year()) : /* If this is a yearly archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for %s', 'udesign' ), get_the_time('Y') ); ?></h1>
    <?php            elseif (is_author()) : /* If this is an author archive */ ?>
                    <h1 class="pagetitle"><?php esc_html_e('Author Archive', 'udesign'); ?></h1>
    <?php            elseif (isset($_GET['paged']) && !empty($_GET['paged'])) : /* If this is a paged archive */ ?>
                    <h1 class="pagetitle"><?php esc_html_e('Blog Archives', 'udesign'); ?></h1>
    <?php            else : // the case when a Title is NOT present the height should be maintained ?>
                    <div class="no-title-present"></div>
    <?php            endif; ?>
                </div>
                <!-- end page-title -->
            </div>
            <!-- end page-content-header -->
            </div>
            <!-- end page-content-title -->
    
            <div class="clear"></div>
    
            <div id="page-content">
    <?php            // Breadcrumbs
                if ( ($udesign_options['show_breadcrumbs'] == 'yes') && class_exists('simple_breadcrumb') ) : ?>
                <div class="container_24">
    <?php                $breadcrumbs_go = new simple_breadcrumb; ?>
                </div>
    <?php            else : ?>
                <div class="no-breadcrumbs-padding"></div>
    <?php            endif; ?>
    
    
    
    <?php    endif;
    
    
    
    
    Code (markup):
    Site is acaiburnberries[dot]com

    Tried what was mentioned here - not having it.

    https://forums.digitalpoint.com/threads/anyone-know-how-to-remove-page-title-from-wordpress.2311793/

    Tried hide page and disable page plugins - not having it.

    Not confident with CSS work though...Just need to remove it from frontpage.

    Any help most welcome.

    Thanks.
     
    rob33, May 8, 2014 IP
  2. TIEro

    TIEro Active Member

    Messages:
    741
    Likes Received:
    177
    Best Answers:
    5
    Trophy Points:
    70
    #2
    No CSS required. It's in the bit between lines 68 and 74:

    
                        <div id="logo" class="grid_14">
    <?php                   if( is_front_page() ) : ?>
                                <h1><a title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <?php                   else : ?>
                                <div class="site-name"><a  title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
    <?php                   endif; ?>
                        </div>
                        <div id="slogan" class="grid_17"><?php bloginfo('description'); ?></div>
                        <!-- end logo slogan -->
    
    Code (markup):
    The first bolded bit is the title: it shows the blog name as an H1. The second bolded bit is the tagline.

    If you delete the first bolded part, the blog title will not appear on the home page (since it's in the "if it's the front page" part). Removing the second bolded part will remove the tagline on all pages. If you want the tagline to appear on non-font-page pages (!), move it up two lines, just before the "endif".

    That should do it. Make sure you back everything up or, ideally, create a child theme before you screw with it... in case I'm wrong. :)

    Edit: code doesn't show bold. First bit is line 4 in my code box (70 in yours), second is line 9 in mine (75 in yours).
     
    TIEro, May 8, 2014 IP
  3. rob33

    rob33 Well-Known Member

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #3
    Mmmmm, thanks, I'm not seeing any bolded bits though...

    To keep only the frontpage affected should I just delete the following:

    <?php if( is_front_page() ) : ?>

    Thanks,
     
    rob33, May 8, 2014 IP
  4. TIEro

    TIEro Active Member

    Messages:
    741
    Likes Received:
    177
    Best Answers:
    5
    Trophy Points:
    70
    #4
    Let's do this another way... assuming you want a title and tagline on all pages and NOTHING on the front page (neither title nor tagline), change that bit of code to look like this:

    
                        <div id="logo" class="grid_14">
    <?php                   if( is_front_page() ) : ?>
                                </div>
    <?php                   else : ?>
                                <div class="site-name"><a  title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
                        </div>
                        <div id="slogan" class="grid_17"><?php bloginfo('description'); ?></div>
                        <!-- end logo slogan -->
    <?php                  endif; ?>
    
    Code (markup):
    That should do it.
     
    TIEro, May 8, 2014 IP
  5. rob33

    rob33 Well-Known Member

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #5
    Unfortunately no - hasn't worked :(

    Exchanged this:

             <div id="logo" class="grid_14">
    <?php                   if( is_front_page() ) : ?>
                                <h1><a title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <?php                   else : ?>
                                <div class="site-name"><a  title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
    <?php                   endif; ?>
                        </div>
                        <div id="slogan" class="grid_17"><?php bloginfo('description'); ?></div>
                        <!-- end logo slogan -->
    Code (markup):
    With this:

      <div id="logo" class="grid_14">
    <?php                   if( is_front_page() ) : ?>
                                </div>
    <?php                   else : ?>
                                <div class="site-name"><a  title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
                        </div>
                        <div id="slogan" class="grid_17"><?php bloginfo('description'); ?></div>
                        <!-- end logo slogan -->
    <?php                  endif; ?>
    Code (markup):
    To create this:

    <?php
    /**
    * @package WordPress
    * @subpackage U-Design
    */
    
    global $udesign_options, $style, $current_slider;
    // get the current color scheme subdirectory
    $style = ( $udesign_options['color_scheme'] ) ? "style{$udesign_options['color_scheme']}": "style1";
    $current_slider = $udesign_options['current_slider'];
    ?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="show-menu-auto-arrows" content="<?php echo ($udesign_options['show_menu_auto_arrows']) ? 1 : 0; ?>" />
    <meta name="show-menu-drop-shadows" content="<?php echo ($udesign_options['show_menu_drop_shadows']) ? 1 : 0; ?>" />
    
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    
    <!--[if IE 6]>
        <script  type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/DD_belatedPNG_0.0.8a-min.js"></script>
        <script  type="text/javascript">
        // <![CDATA[
        DD_belatedPNG.fix('.pngfix, img, #home-page-content li, #page-content li, #bottom li, #footer li, #recentcomments li span');
        // ]]>
        </script>
    <![endif]-->
    
    <?php wp_head(); ?>
    
    <!--[if lte IE 9]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/common-css/ie-all.css" media="screen" type="text/css" />
    <![endif]-->
    <!--[if lte IE 7]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/common-css/ie6-7.css" media="screen" type="text/css" />
    <![endif]-->
    <!--[if IE 6]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/common-css/ie6.css" media="screen" type="text/css" />
        <style type="text/css">
        body{ behavior: url("<?php bloginfo('template_directory'); ?>/scripts/csshover3.htc"); }
        </style>
    <![endif]-->
    <?php echo $udesign_options['google_analytics']; ?>
    </head>
    <body <?php body_class( $udesign_options['enable_cufon'] ); ?>>
    <?php
        if ($udesign_options['enable_feedback']) : ?>
        <div id="feedback"><a href="<?php echo $udesign_options['feedback_url']; ?>" title="<?php esc_attr_e('Feedback', 'udesign'); ?>" class="feedback"></a></div>
    <?php
        endif;
        if ($udesign_options['enable_page_peel']) : ?>
        <div id="page-peel">
            <a href="<?php echo $udesign_options['page_peel_url']; ?>" title="<?php esc_attr_e('Subscribe', 'udesign'); ?>"><img src="<?php bloginfo('template_directory'); ?>/styles/style1/images/page_peel.png" alt="<?php esc_attr_e('Subscribe', 'udesign'); ?>" /></a>
            <div class="msg_block"></div>
        </div>
    <?php
        endif; ?>
        <div id="wrapper-1" class="pngfix">
        <div id="top-wrapper">
                <div id="top-elements" class="container_24">
                   <div id="logo" class="grid_14">
    <?php                   if( is_front_page() ) : ?>
                                </div>
    <?php                   else : ?>
                                <div class="site-name"><a  title="<?php bloginfo('name'); ?>" class="pngfix" href="<?php echo get_bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
                        </div>
                        <div id="slogan" class="grid_17"><?php bloginfo('description'); ?></div>
                        <!-- end logo slogan -->
    <?php                  endif; ?>
    <?php               if ($udesign_options['top_page_phone_number']) : ?>
                            <div class="phone-number grid_7 prefix_17">
                                <div class="phone-number-padding">
    <?php                           echo $udesign_options['top_page_phone_number']; ?>
                                </div><!-- end phone-number-padding -->
                            </div><!-- end phone-number -->
    <?php               endif; ?>
    <?php               if ($udesign_options['enable_search']) : ?>
                            <div id="search" class="grid_6 prefix_18">
                                <form action="<?php bloginfo('url'); ?>/" method="get">
                                    <div class="search_box">
                                        <input id="search_field" name="s" type="text" class="inputbox_focus blur pngfix" value="<?php esc_attr_e('Search...', 'udesign'); ?>" />
                                        <input type="submit"  value="" class="search-btn pngfix" />
                                    </div>
                                </form>
                            </div><!-- end search -->
    <?php               endif; ?>
                           
    <?php               $top_area_social_media = sidebar_exist_and_active('top-area-social-media');
                        if ( $top_area_social_media ) : // hide this area if no widgets are active... ?>
                            <div class="social-media-area grid_9 prefix_15">
    <?php                       echo udesign_get_dynamic_sidebar( 'top-area-social-media' ); ?>
                            </div><!-- end social-media-area -->
    <?php               endif; ?>
            </div>
            <!-- end top-elements -->
                <div id="main-menu" class="pngfix">
                    <div id="dropdown-holder" class="container_24">
    <?php                   udesign_nav(); // this function calls the main menu ?>
                    </div>
                    <!-- end dropdown-holder -->
                </div>
                <!-- end top-main-menu -->
        </div>
        <!-- end top-wrapper -->
    
        <div class="clear"></div>
    
    <?php    if( is_front_page() ) : ?>
           
    <?php
            if( $current_slider == '1' ) :
            include( 'sliders/flashmo/grid_slider/grid_slider_display.php' );
            elseif( $current_slider == '2' ) :
            include( 'sliders/piecemaker/piecemaker_display.php' );
            elseif( $current_slider == '3' ) :
            include( 'sliders/piecemaker_2/piecemaker_display.php' );
            elseif ( $current_slider == '4' ) :
            include( 'sliders/cycle/cycle1/cycle1_display.php' );
            elseif ( $current_slider == '5' ) :
            include( 'sliders/cycle/cycle2/cycle2_display.php' );
            elseif ( $current_slider == '6' ) :
            include( 'sliders/cycle/cycle3/cycle3_display.php' );
            elseif ( $current_slider == '7' ) : // no slider ?>
            <div id="page-content-title">
                <div id="page-content-header" class="container_24">
                <div id="page-title">
    <?php                       if ( $udesign_options['no_slider_text'] ) echo '<h2>' . $udesign_options['no_slider_text'] . '</h2>'; ?>
                </div>
                </div>
                <!-- end page-content-header -->
            </div>
            <!-- end page-content-title -->
    <?php        endif; ?>
    
            <div class="clear"></div>
    <?php
    
    
                // home-page-before-content Widget Area
                $before_cont_1_is_active = sidebar_exist_and_active('home-page-before-content');
                if ( $before_cont_1_is_active  ) : // hide this area if no widgets are active...
    ?>
                    <div id="before-content">
                        <div id="before-content-column" class="container_24">
                            <div class="home-page-divider pngfix"></div>
    <?php
                            if ( $before_cont_1_is_active ) {
                                echo get_dynamic_column( 'before-cont-box-1', 'column_3_of_3 home-cont-box', 'home-page-before-content' );
                            } ?>
                            <div class="home-page-divider pngfix"></div>
                        </div>
                        <!-- end before-content-column -->
                    </div>
                    <!-- end before-content -->
    
            <div class="clear"></div>
    
    <?php        endif; ?>
    
            <div id="home-page-content">
    
    <?php    else : // NOT front page ?>
    
            <div id="page-content-title">
            <div id="page-content-header" class="container_24">
                <div id="page-title">
    <?php             $post = $posts[0]; // Hack. Set $post so that the_date() works.
                if (is_page()) : ?>
                    <h1><?php the_title(); ?></h1>
    <?php            elseif ( is_single() ) : ?>
                    <h1><?php the_title(); ?></h1>
    <?php            elseif (is_tax()) : /* If this is a taxonomy archive */
                    $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );  ?>
                    <h1 class="pagetitle"><?php echo ucwords( $term->taxonomy ) . ': ' . $term->name; ?></h1>
    <?php            elseif (is_category()) : /* If this is a category archive */ ?>
    <?php                       if ($udesign_options['show_archive_for_string'] == 'yes') : ?>
                                    <h1 class="pagetitle"><?php single_cat_title("", true); ?></h1>
    <?php                       else : ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for the &#8216;%s&#8217; Category', 'udesign' ), single_cat_title("", false) ); ?></h1>
    <?php                       endif; ?>
    <?php            elseif (is_search()) : /* If this is a search results page */ ?>
                    <h1 class="pagetitle"><?php printf( __('Search Results for &#8216;<em>%s</em>&#8217;', 'udesign' ), get_search_query() ); ?></h1>
    <?php            elseif (is_404()) : /* If this is a 404 page */ ?>
                    <h1 class="pagetitle"><?php esc_html_e('Page Not Found (Error 404)', 'udesign'); ?></h1>
    <?php            elseif( is_tag() ) : /* If this is a tag archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Posts Tagged &#8216;%s&#8217;', 'udesign' ), single_tag_title("", false) ); ?></h1>
    <?php            elseif (is_day()) : /* If this is a daily archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for %s', 'udesign' ), get_the_date() ); ?></h1>
    <?php            elseif (is_month()) : /* If this is a monthly archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for %s', 'udesign' ), get_the_time('F Y') ); ?></h1>
    <?php            elseif (is_year()) : /* If this is a yearly archive */ ?>
                    <h1 class="pagetitle"><?php printf( __('Archive for %s', 'udesign' ), get_the_time('Y') ); ?></h1>
    <?php            elseif (is_author()) : /* If this is an author archive */ ?>
                    <h1 class="pagetitle"><?php esc_html_e('Author Archive', 'udesign'); ?></h1>
    <?php            elseif (isset($_GET['paged']) && !empty($_GET['paged'])) : /* If this is a paged archive */ ?>
                    <h1 class="pagetitle"><?php esc_html_e('Blog Archives', 'udesign'); ?></h1>
    <?php            else : // the case when a Title is NOT present the height should be maintained ?>
                    <div class="no-title-present"></div>
    <?php            endif; ?>
                </div>
                <!-- end page-title -->
            </div>
            <!-- end page-content-header -->
            </div>
            <!-- end page-content-title -->
    
            <div class="clear"></div>
    
            <div id="page-content">
    <?php            // Breadcrumbs
                if ( ($udesign_options['show_breadcrumbs'] == 'yes') && class_exists('simple_breadcrumb') ) : ?>
                <div class="container_24">
    <?php                $breadcrumbs_go = new simple_breadcrumb; ?>
                </div>
    <?php            else : ?>
                <div class="no-breadcrumbs-padding"></div>
    <?php            endif; ?>
    
    
    
    <?php    endif;
    
    
    
    Code (markup):
    But no joy I'm afraid.
     
    rob33, May 8, 2014 IP
  6. TIEro

    TIEro Active Member

    Messages:
    741
    Likes Received:
    177
    Best Answers:
    5
    Trophy Points:
    70
    #6
    Are you running a cache or something? I looked at the source code for the page I get and it still has the <h1> bits in it. So either it's serving a stored page, or WP doesn't think that's your front page.

    You could try replacing "is_front_page" with "is_page" just to see if it detects a page properly (as opposed to a post). If it does, then the problem is in how the theme's setting the front page (or how WP detects it).
     
    Last edited: May 8, 2014
    TIEro, May 8, 2014 IP
  7. rob33

    rob33 Well-Known Member

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #7
    HI, thanks, appreciate your help on this... in response:

    No - not running a cache.
    When I tried your initial advice the title still remained but my logo strangely disappeared so replaced it which is why you probably still saw <H1>.

    There are 2 "is_front_page" in code - tried taking out one individually then both but title still remained.

    I was able to remove it from another of my sites exhilarateme(dot]com some time ago but can't for the life of me remember how - that may or may not help.

    Cheers,
     
    rob33, May 8, 2014 IP
  8. rob33

    rob33 Well-Known Member

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #8
    Also if I input a title as opposed to leaving it empty back-end - as it now reads "Help" in title description box - it still reads "Home" when live.

    Do not need to clear cache as if I change text it updates.
     
    rob33, May 8, 2014 IP
  9. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #9
    ehhh. Geez been a while since I used that theme. Do you have "no slider selected" in the theme settings? What does it say right under that? If memory servers you can change it under that setting or simply delete it.

    NIgel
     
    Nigel Lew, May 8, 2014 IP
  10. rob33

    rob33 Well-Known Member

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #10
    Sh#t that's worked!!! I'm a complete IDIOT - Well remembered dude - sorry for the runaround Tiero :(
     
    rob33, May 8, 2014 IP
  11. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #11
    Sweet. Glad I could help. I can't believe I remembered that without installing it real fast.
    N.
     
    Nigel Lew, May 8, 2014 IP
  12. TIEro

    TIEro Active Member

    Messages:
    741
    Likes Received:
    177
    Best Answers:
    5
    Trophy Points:
    70
    #12
    This is why I loathe "clever" themes... :)
     
    TIEro, May 8, 2014 IP
  13. rob33

    rob33 Well-Known Member

    Messages:
    477
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #13
    Ha ha!! I'd give u guys both a cheers but it's been a while I've been on DP and not seein a "thanks" button :confused:"'
     
    rob33, May 9, 2014 IP
  14. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #14
    Meh, not a problem. They got merged into likes but I have plenty of them :)

    N.
     
    Nigel Lew, May 9, 2014 IP