I would like to not be able to display the title on all pages of a website that is build on the genesis framework. I know the simple way to do this is to set the css display to none, but I am optimizing the site to be more SEO friendly. I attempted to use the code below, and I got the error that I'm also posting Below. I want to figure out a practical solution that I can apply to multiple sites.
PHP Code:
//REMOVE PAGE TITLE
add_action('get_header', 'child_remove_page_titles');
function child_remove_page_titles() {
$pages=array();
if (is_page($pages)) {
remove_action('genesis_post_title', 'genesis_do_post_title');
}
}
Quote:
|
Parse error: syntax error, unexpected $end in /home/content/03/9244103/html/wp-content/themes/education/functions.php on line 60
|