• Resolved bid-admin

    (@bid-admin)


    Hi,

    I have enabled page builder to edit the listings.
    But when I check the listing page or search result page(both using grid template) it is showing page builder shortcodes.

    Please see the screenshot:
    https://pasteboard.co/Jtb86UA.png

    Is there any way around this?

    Thanks
    John

Viewing 1 replies (of 1 total)
  • Plugin Author pluginsware

    (@pluginsware)

    Hi,

    Please try the below solution.

    1- File path: wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/listings/

    Open the below files,

    1 – acadp-public-listings-grid-display.php

    2 – acadp-public-listings-list-display.php

    3 – acadp-public-listings-map-display.php

    In the above three files, find the class acadp-listings-desc and add the below code before this class.

    <?php $content = preg_replace('/\[\/?vc.*?\]/', '', $post->post_content ); ?>

    In the acadp-listings-desc class :

    Find & Remove:

    wp_trim_words( $post->post_content, $listings_settings['excerpt_length'], '...' );

    Replace:

    wp_trim_words( $content, $listings_settings['excerpt_length'], '...' );

    Finally, save it and check.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Page builder shortcode on search results or listing’ is closed to new replies.