• Resolved Tashty

    (@tashty)


    I really appreciate this plugin and what one can do for free, would looooove a solution to the plugin breaking with Divi on the listings page as I have used the divi builder to create a nice listing layout which then doesn’t work on the listing page. The individual listing for captain jack’s works beautifully. What do i do?

    • This topic was modified 4 years, 6 months ago by Tashty.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 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('/\[\/?et_pb.*?\]/', '', $post->post_content ); ?>

    In the acadp-listings-desc class :

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

    Replace the above code with the following one:
    wp_trim_words( $content, $listings_settings['excerpt_length'], '...' );

    Finally, save it and check.

    Thanks

    Thread Starter Tashty

    (@tashty)

    Amazing solution, sorry I took so long to follow up but finally got to it. Works like a charm….what will i need to do when the plugin is updated or will this be added to future updates? Would be great as Divi is so fantastic to work with.

    Thanks again, I will purchase the premium version once I get the listings setup as premium.

    All the best

    Tamsin

    Thread Starter Tashty

    (@tashty)

    Hello again, I have noticed now that on the listing-form pages where users can edit the listing the divi builder is broken, not sure how this could work but at this stage I am not taking submissions but might be something to address?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Divi builder doesn’t work on listings page’ is closed to new replies.