Support

Account

Forum Replies Created

  • I agree there should be an ACF Setting that allows admins to toggle OFF post box header field Quick link.

    This is the CSS I added to hide it for now:
    .acf-postbox .handle-actions .acf-hndle-cog {display: none !important;}

  • Totally agree as well! I’ve ran into several instances where I’ve needed to do this. Especially adding fields the new “Group Block”. Then you could really expand on advanced layouts.

  • Ran into this today as well. I found this plugin: https://wordpress.org/plugins/sbgd-wrapper-block/, that added a wrapper around blocks. Would love to see ACF add in a solution just like this.

  • This got answered on another forum faster and I thought I’d share the answer for anyone having the same problem or frustration trying to only repeat certain section of a shortcode in a repeater field:

    You need to generate the shortcode within the loop, and then execute it afterwards:

    if ( have_rows( 'homepage_slider' ) ) {
        $shortcode = '[ux_slider timer="4500" arrows="true" bullets="true" auto_slide="true" nav_color="light"]';
    
        while ( have_rows('homepage_slider') ) {
            the_row();
    
            $shortcode .=
    '[ux_banner bg=" ' . get_sub_field( 'slider_image' ) . ' " height="600px" text_color="light" text_align="center" text_pos="center" text_width="70%" parallax_text="0" parallax="3" effect="sparkle"]
        <h1>' .  get_sub_field( 'slider_slide_title' ) . '</h1>
        <h4 class="thin-font">' . get_sub_field( 'slider_sub_title' ) . '</h4>
    [/ux_banner]';
    
        }
    
        $shortcode .= '[/ux_slider]';
    
        echo do_shortcode( $shortcode );
    }
Viewing 4 posts - 1 through 4 (of 4 total)