removing titles

Hi Guys,

I was wondering whats the best way to remove the page titles to each of the pages here http://burgessgalvin.ie/new

About, services, etc..

Thanks guys
jonathanduane2010Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Edwin HofferTechnical ExpertCommented:
Hello Jonathanduane,

To remove title from every page open Appearance >> Editor >> Header.php and remove "title".

Hope that helped you.

Best Regards
0
Ronak PatelCommented:
Hi jonathanduane2010,

You have to just comment/remove the <div class="header-text-container"> div element.

Also, you have to comment/remove the javascript code, in which this div element is referenced.

For Example:

if(jQuery(".header-text-container")){
	resizeMainHeaders();
}

function resizeMainHeaders(){
	jQuery(".header-text-container").each(
		function(){
			var headerWidth = jQuery("span.header-text",this).width();
			var mainWidth = jQuery(".container").width();
			var sidebarWidth = Math.floor((mainWidth - headerWidth )/2) - 24;
			
			if(jQuery("a.view-all",this).length > 0){
				sidebarWidth -= (jQuery("a.view-all",this).width() + 10) / 2;
			}

			//if((jQuery("span.left",this).width() * 2) + headerWidth > mainWidth){
				jQuery("span.left, span.right",this).stop().animate({width:sidebarWidth,opacity:1},{
					duration:400,
					easing:"easeOutSine"
					});	
			//}
		}
	);	
}

Open in new window



Hope this helps.

Regards,
Ronak
0
jonathanduane2010Author Commented:
Hi Edwin and Ronank

I have removed it from the header.php but still showing

here is new header
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />

 
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="shortcut icon" href="<?php echo ot_get_option('upload_favico', F_WAY.'/images/demo/favico.ico'); ?>" />

<?php
if(strlen(ot_get_option('google_font_js','')) > 0){
	echo ot_get_option('google_font_js');
}
?>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<?php
//var_dump( ot_get_option('site_font_size','13px'));
    /*
     *  Add this to support sites with sites with threaded comments enabled.
     */
    if ( is_singular() && get_option( 'thread_comments' ) )
        wp_enqueue_script( 'comment-reply' );
 
    wp_head();
 
    wp_get_archives('type=monthly&format=link');
?>

</head>
<body <?php body_class(); ?>>
<div id="toTop"></div>

<div class="header-under-line"></div>
<div id="body-container-small">

    <div id="header-top">
        <div class="container" style="padding-top:15px;">
            <div class="top-left">
            <?php echo ot_get_option('header_top_left_text','<div class="phone-icon-small"></div><p><strong>Call Us Free : </strong>+123 555 5 555 | </p><a href="mailto:info@johndoe.com"><p><div class="email-icon-small"></div> info@johndoe.com</p></a>'); ?>
            </div>
            <div class="top-right">
                <?php echo do_shortcode('[socialIcons float="right"]'); ?>
                
                <form id="nevon-search" action="<?php echo esc_url(home_url()); ?>">
                    <input type="search" name="s"  placeholder="Search">
                </form>
            </div>
        </div>
    </div>
	<?php ?>
    <div class="container">
    
        <div id="header">
            <div id="logo" class="clearFix">
    
                <?php if(ot_get_option('upload_logo') === '' && ot_get_option('logo_type', 'logo') === 'name'):?>
                    <h1 style="font-size:18px; text-shadow:none;"><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
                <?php else: ?>
                    <a href="<?php echo get_option('home'); ?>" rel="null"><img class="noImgBorder" src="<?php echo ot_get_option('upload_logo',F_WAY.'/images/demo/logo.png'); ?>" /></a>
                <?php endif; ?>
            </div>
            <?php
			if(!getMainMenu('primary-menu')){
			  $backup = $wp_query;
			  $wp_query = NULL;
			  $wp_query = new WP_Query(array('post_type' => 'post'));
			  getMainMenu('primary-menu');
			  $wp_query = $backup;
			}
			  
			  ?>
        </div>
    </div>
</div>

Open in new window


Ronank where will i find that code in WP?
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

F PCommented:
http://php.net/sprintf

http://php.net/manual/en/function.preg-replace.php

Put it in a variable then sprintf() or preg_replace() ??
0
Edwin HofferTechnical ExpertCommented:
Hello jonathanduane,

Page title is removed from your page, you can see that. now currently its showing the page url.

Best Regards
0
jonathanduane2010Author Commented:
sorry i was supposed to say heading,

this one hereheading
0
Edwin HofferTechnical ExpertCommented:
And what is the link of the page where I can find "About Us" heading??
0
F PCommented:
Why couldn't you just add CSS for header-text to display none?

... at the bottom of your CSS file put:
header-text 
{
    display: none;
}

Open in new window

0
Ronak PatelCommented:
Hi jonathanduane2010,

I just extracted that code from page source of your site. I have attached the whole source of Home Page of your site.
I am not sure where it might be located until I review the actual page source.

But I guess, it might have located in some javascript (.js) file which is included on every page of your site. OR, it might directly present on every page (at the end) in <script type="text/javascript"> script block.


Hope this helps.

Regards,
Ronak

HomePage-PageSource.txt
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.