Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support hasanrang05

    (@hasanrang05)

    This is probbaly wp_kses_post filter issue, which is striped script, style and iframe tag, please add following code to your site to fix the issue.

    function custom_wpkses_post_tags( $tags, $context ) {if ( 'post' === $context ) {$tags['iframe'] = array('src' => true,'height' => true,'width' => true,'frameborder' => true,'allowfullscreen' => true,);$tags['script'] = array('id' => true,'class' => true,'src' => true,);$tags['style'] = array('id' => true,'class' => true,'src' => true,);}return $tags;}add_filter( 'wp_kses_allowed_html', 'custom_wpkses_post_tags', 10, 2 );

    you can also get the code from here

    https://gist.github.com/pickplugins/dc10fc4b4e6e3b8180becacd64d6b202

    The formatting within the content section will not stay the same no matter what I do. It will appear correct when viewing visual but then after updating and viewing the resultant post it will strip out some of the spaces and line breaks. But even that is not done consistently. So I have 3 accordions with virtually the same content except for the product name and they never hold the formatting. Using accordions pro with nesting.

    sorry thought this was new thread

    Plugin Support pickpluginswporgrep

    (@pickpluginswporgrep)

    Hi @wphelpfor23 ,
    Please make sure you have got the latest version of the accordion downloaded. The latest version is?2.2.86.
    If it doesn’t help, then please?Edit?your accordion and, under?General?=>?Enable wpautop?option, reverse the value that you currently have.
    Screenshot:?https://ibb.co/Hpd1FQ6

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Accordion content broken after recent update’ is closed to new replies.