View Single Post
  #4  
Old 10-15-2012, 09:02 AM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

no, the code isn't right I just needed some info so I can help make it right.

In the functions.php file you don't need <?php ?> so just use
PHP Code:

remove_action
'genesis_post_title''genesis_do_post_title' ); 
add_action'genesis_post_title''child_customtitle' ); 


function 
child_customtitle() { 

    if ( 
is_single() && in_category'portfolio' ) ) 
        echo 
'<h1>Portfolio</h1>'
    elseif ( 
is_single() && in_category'blog' ) )  
        echo 
'<h1>Blog</h1>'
    else
        
genesis_do_post_title();


__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series