Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1338057

    I cant edit one page of my website. The page seems to be stuck in safe mode maybe and I can see the shortcodes but cannot edit content. The rest of my site seems fine.

    #1338116

    Hey 118group,

    Thanks for the login details. On which page are you having this problem?

    Best regards,
    Rikard

    #1338239
    This reply has been marked as private.
    #1338247

    Hi,

    Thanks for that. The code in the code block element seems to be breaking the layout, could you share the code you are adding in that element please?

    Best regards,
    Rikard

    #1338249
    This reply has been marked as private.
    #1338421

    Hi,

    Thank you for the update.

    You cannot directly add form tags such as input, textarea or label elements to the advance layout builder because the element that contains the actual builder shortcodes is also a textarea element. Using these tags will break the advance layout builder. You will have to create a custom shortcode for the contact form and use that shortcode instead. Please check this documentation for more info.

    // https://codex.wordpress.org/Shortcode_API

    Example:

    // custom web salesforce contact form shortcode
    function avs_web_salesforce_cf_shortcode_cb( $atts ){
            $output = "something";
            $output .= "something";
            $output .= "the contact html here";
    	return $output;
    }
    add_shortcode( 'avs_web_salesforce_cf_shortcode', 'avs_web_salesforce_cf_shortcode_cb' );
    

    You can then use the shortcode in a code or text block element.

    [avs_web_salesforce_cf_shortcode]
    

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.