• rvnd

    (@rvnd)


    I have this code in my footer to call my footer pattern:

    <?php
    $footer_pattern = '<!-- wp:block {"ref":131} /-->';
    $rendered_footer_pattern = do_blocks(apply_filters('the_content',$footer_pattern));
    echo $rendered_footer_pattern;
    ?>
    

    On single event pages, the event detail is displaying twice. Once in the body, and once in the footer. Can I do anything about this?

    thanks in advance.

  • The topic ‘Override with Formats is hooking into wrong `the_content`’ is closed to new replies.