Support

Account

Home Forums Front-end Issues AFC Value is not displayed in WPBakery Post Grid

Solving

AFC Value is not displayed in WPBakery Post Grid

  • Hi,

    I’m a newbie so please help me out with this issue.
    I have a display problem with AFC and WPBakery Post Grid. It was perfectly working but somehow now AFC Value is not displayed in WPBakery Post Grid (in nornal guest mode). In Admin Mode, AFC Value is still well displayed.

    In Admin Mode, please check the picture: https://ibb.co/XLJ9wy3
    In Guest Mode, please check teh picture: https://ibb.co/R7NbWkH
    My website: https://houseinhanoi.vn/

    I tried to fix the issue but can’t find a solution. What I found is that if WpBakery Post Grid has no pagination, AFC is displayed. However, i need a pagination to make a carousel.

    I’m sorry for my bad explaination. Please help me, thanks.

  • we have exact same problem. Any support for this?

  • same problem here – ACF values are only displayed in admin mode.
    Problem occured with the update from 5.9 to 5.10

  • Hey everyone,

    We’re aware of this issue and have reached out to the WPBakery team who need to update their plugin in order to allow secure access to ACF data.

    ACF 5.11.3+ supports a filter you can add to your theme’s functions.php or a plugin which will fix the issue in the meantime:

    add_filter( 'acf/ajax/shortcode_capability', 'acf_wpbakery_shortcode_capability' );
    function acf_wpbakery_shortcode_capability( $cap ) {
    
    	if ( isset( $_POST['_vcnonce'] ) && wp_verify_nonce( $_POST['_vcnonce'], 'vc-nonce-vc-public-nonce' ) ) {
    		return 'exist';
    	}
    	return $cap;
    }
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.