jonathanduane2010
asked on
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
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
Hi jonathanduane2010,
You have to just comment/remove the <div class="header-text-contain er"> div element.
Also, you have to comment/remove the javascript code, in which this div element is referenced.
For Example:
Hope this helps.
Regards,
Ronak
You have to just comment/remove the <div class="header-text-contain
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"
});
//}
}
);
}
Hope this helps.
Regards,
Ronak
ASKER
Hi Edwin and Ronank
I have removed it from the header.php but still showing
here is new header
Ronank where will i find that code in WP?
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>
Ronank where will i find that code in WP?
http://php.net/sprintf
http://php.net/manual/en/function.preg-replace.php
Put it in a variable then sprintf() or preg_replace() ??
http://php.net/manual/en/function.preg-replace.php
Put it in a variable then sprintf() or preg_replace() ??
Hello jonathanduane,
Page title is removed from your page, you can see that. now currently its showing the page url.
Best Regards
Page title is removed from your page, you can see that. now currently its showing the page url.
Best Regards
And what is the link of the page where I can find "About Us" heading??
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To remove title from every page open Appearance >> Editor >> Header.php and remove "title".
Hope that helped you.
Best Regards