Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #383726

    I noticed that the title is also an H1 tag. I want to specify my h1 in the page itself.

    Is there a way to remove the Title (and its h1 tag), and display only the breadcrumbs?

    thanks,
    Scott

    #384056

    Hi Scott!

    Try changing line 282 in /enfold/functions-enfold.php.

    'heading'		=> 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
    

    Cheers!
    Elliott

    #384794

    Does this remove the heading entirely? because I’m just want to have the breadcrumbs. removing both heading and h1.

    thanks

    #385321

    Hey!

    Alright. Just add this on functions.php if you want to remove the title:

    add_filter( 'avf_title_args', 'avf_product_titleee', 0, 2 );
    function avf_product_titleee( $args, $id ) {
    	$args['title'] = "";
    	$args['link'] = "";
    	$args['heading'] = "strong";
    	return $args;
    }

    Best regards,
    Ismael

    #385861

    added to my child theme’s functions.php file and it worked perfectly. thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘title & breadcrumbs’ is closed to new replies.