This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Acf breaking after using Blog Grid Widget

9 years ago · Last reply by Andrew Misplon 9 years ago

Hi,

Thanks for the great plugin. I really like it and it’s perfect for my custom theme.

However, I have came across an issue when trying to build my custom theme.

When I try and call the Advanced Custom Field (ACF) function “get_field()”, after using “the_content()” I do not get any value from the “get_field()” function. The only Page Builder widget I am using inside my content is the Blog Grid widget. If I delete this widget and save the page then my ACF functions start to work again. Why could this be? I am still trying to use the ACF functions within the WordPress loop.

I do not have a live version of this site as it is currently on my localhost, I know this is a problem but any help is appreciated.

I am running the latest version of all plugins and WordPress.

WordPress: 4.5
Livemesh SiteOrigin Widgets: Version 1.2
Page Builder by SiteOrigin: Version 2.4.6
SiteOrigin Widgets Bundle: Version 1.5.11
ACF: Version 4.4.6

If you need anything please let me know.

Kind Regards,
Ben

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 9 years, 10 months ago

    Hi Ben

    Thanks for your support.

    We might need to take a look at your theme but just shooting from the hip for a moment, the Post Loop widget adds a loop within the_content function. Is that not the challenge here?

  2. ben hall 9 years, 10 months ago

    Hi Andrew,

    I did post a comment however I don’t think it has been added for some reason…

    Basically, a “wp_reset_query()” has not been added after the loop so I added this in to your plugin where needed and it has worked. Perhaps this should be inserted in the next release?

    Kind Regards,
    Ben

  3. Andrew Misplon Staff 9 years, 10 months ago

    Awesome, thanks for your feedback. I’ll log a bug report for this now.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread