[Resolved] How to add code before entry-header?

Home Forums Support [Resolved] How to add code before entry-header?

Home Forums Support How to add code before entry-header?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #523040
    Paritosh Negi

    Hello! I want to show ‘Breadcrumb NavXT’ on my website before entry-header

    The code is:

    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="http://schema.org/">
        <?php if(function_exists('bcn_display'))
        {
            bcn_display();
        }?>
    </div>

    I tried to add the code ‘After Entry Title’, is it possible to add it before Entry Title or entry-header?

    #523367
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You should be able to use the generate_before_content hook.

    Let me know πŸ™‚

    #523503
    Paritosh Negi

    Oh! Thank you so much, it worked πŸ™‚

    #523818
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

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