March 3, 2016 at 10:58 am
#43109
Theme Horse Support Team
Keymaster
Hi Tamara,
Actually we have designed our theme in this way. If we add page title then the page title will appear in two place. So in default page we have removed the page title. If you want to have page title then it needs code customization. Create a child theme and then make a customization on it.
You need to add a child theme folder inside the theme folder (wp-content/themes/) and name that folder name to attitude-pro-child.
Create 2 files. style.css and functions.php
Under style.css file add below code
/*
Theme Name: Attitude Pro Child Theme
Theme URI: https://www.themehorse.com/themes/attitude-pro
Author: Theme Horse
Author URI: https://www.themehorse.com
Description: Attitude Pro is the Premium version of popular free theme Attitude. It is a clean, superflexible and responsive retina ready WordPress theme. Suitable for Business, Blogging, Portfolio, Photography and any type of sites. It comes with tons of options so you can modify layout, styling, colors and fonts directly from within the backend and create the Website that you want in no time.
Version: 3.0.4
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Tags: white, light, blue, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, custom-background, custom-header, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, sticky-post
Text Domain: attitude
Template: attitude-pro
*/
@import url("../attitude-pro/style.css");
.page .entry-title {
display: none;
}
and under functions.php file add below code
<?php
if ( ! function_exists( 'attitude_header_title' ) ) :
/**
* Show the title in header
*
* @since Attitude Pro 1.0
*/
function attitude_header_title() {
if( is_archive() ) {
$attitude_header_title = single_cat_title( '', FALSE );
}
elseif( is_404() ) {
$attitude_header_title = __( 'Page NOT Found', 'attitude' );
}
elseif( is_search() ) {
$attitude_header_title = __( 'Search Results', 'attitude' );
}
elseif( is_page_template() ) {
$attitude_header_title = get_the_title();
}
else {
$attitude_header_title = get_the_title();
}
return $attitude_header_title;
}
endif;
?>
HOpe this may help you
Thank you!