Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hilgo

    (@hilgo)

    Hello, I wanted to give an update in case anyone goes through the same problem.
    Basically what happened is in one ACF block after using this:

    // Get wordpress blog id
    $blog_id = get_current_blog_id();
    switch_to_blog(1);
    
    

    the previous dev did not finish that block with

    <?php restore_current_blog(); ?>

    Which made it so that the id was outputting correctly on the site up until reaching that block, then it was manually switched to the id=1 and calling the wrong information in the footer.

    Thread Starter hilgo

    (@hilgo)

    Hi @psykro, thanks for answering – so far I have not been able to come up with a solution.

    There are no templates used on the blogs – just blocks created in ACF, so each homepage has its’ own content.

Viewing 2 replies - 1 through 2 (of 2 total)