Remove title

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5884
    ggsalas
    Customer

      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

      #5885
      ggsalas
      Customer

        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{
        		} 			
        	}
        #5892
        Eric
        Customer

          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

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.