- This topic has 2 replies, 2 voices, and was last updated 8 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Epik Theme Support › Remove title
Tagged: remove title, snippet
Hi, I would like remove the title on posts. I test this snippet and not work:
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
Thanks
I can do it with this code, but not work on portfolio page. How can do this in portfolio page?
add_action( 'genesis_before_post', 'borrar_titulo' );
function borrar_titulo(){
if ( in_category(array('enlace', 'documentos')) ) {
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
}else{
}
}
Look in your portfolio template and remove the code for the title at the top –
// Adds Page Title and Content
add_action( 'genesis_before_content', 'genesis_do_post_title' );
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com