Hello again,
I’ve tried to do it, but i think i did some nonsense, as im not advances in wp at all. I placed that code in header.php under wraper, and changed about.php to the name of my page, which has no right sidebar. Please guide me, if its not too complicated and there is a hope for me to succeed. Thank you.
Here is what i did:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="https://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/listing.css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
wp_enqueue_script('jquery');
wp_enqueue_script('bxslider', get_stylesheet_directory_uri() .'/js/jquery.bxSlider.min.js');
wp_enqueue_script('superfish', get_stylesheet_directory_uri() .'/js/superfish.js');
wp_enqueue_script('effects', get_stylesheet_directory_uri() .'/js/effects.js');
?>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php
if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
wp_head();
?>
</head>
<body>
<div id="masthead">
<div id="head">
<div id="top" class="clearfix">
<div id="blogname">
<h1 id="logo"><img src="https://propertypeaks.co.uk/wp/wp-content/uploads/2013/04/Property-Peaks-Web-Logo_new1.png" ?></h1>
</div>
<div id="contactlist">
<div class="rphone">
<span>Call us</span><br/>
<p><?php $my_phone =get_option('aven_my_phone'); echo $my_phone ?></p>
</div>
<div class="rmail">
<span>Mail us</span><br/>
<a href="mailto:[email protected]" target="_blank">[email protected]</a>
</div>
</div>
</div>
<div id="botmenu">
<?php wp_nav_menu( array( 'container_id' => 'submenu', 'theme_location' => 'primary','menu_class'=>'sfmenu','fallback_cb'=> 'fallbackmenu' ) ); ?>
</div><!-- END botmenu -->
</div>
</div><!--end masthead-->
<div id="wrapper">
if ( is_page_template( 'page-nosidebar.php' ) ) {
// Returns true when 'page-nosidebar' is being used.
} else {
// Returns false when 'page-nosidebar' is not being used.
}
<div id="casing">