Title: Link to Listing
Last modified: March 8, 2020

---

# Link to Listing

 *  Resolved [atagrill](https://wordpress.org/support/users/atagrill/)
 * (@atagrill)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/link-to-listing/)
 * When you do a search you get a listing of listings that fit the category. The
   title of the listing is a link to the full details of the listings.
    Can anyone
   give me tips on how can I add a link at the end of the excerpt instead of ” …“`(
   ie dot dot dot). Wordpress posts have this ability built in but I can’t find 
   the equivalent in Acadp. Does it need a customizing?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [pluginsware](https://wordpress.org/support/users/pluginsware/)
 * (@pluginsware)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/link-to-listing/#post-12522708)
 * Yes, this requires customization. You should edit the files under,
 *     ```
       /wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/listings/acadp-public-listings-grid-display.php
       /wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/listings/acadp-public-listings-list-display.php
       /wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/listings/acadp-public-listings-map-display.php
       ```
   
 * Simply find the following code,
    `<?php echo wp_trim_words( $post->post_content,
   $listings_settings['excerpt_length'], '...' ); ?>`
 * and change it as,
    `<?php echo wp_trim_words( $post->post_content, $listings_settings['
   excerpt_length'], '<a href="' . esc_url( get_permalink() ) . '">' . esc_html(
   get_the_title() ) . '</a>' ); ?>`
 * But, instead of doing these changes directly in the above-mentioned files, I 
   would recommend writing an override. So, your changes stay when you upgrade to
   our later versions. Kindly refer [https://pluginsware.com/documentation/customizing-acadp-templates/](https://pluginsware.com/documentation/customizing-acadp-templates/)
   to write an override.
 *  Thread Starter [atagrill](https://wordpress.org/support/users/atagrill/)
 * (@atagrill)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/link-to-listing/#post-12524430)
 * Thanks so much. Instead of having the name appear again I changed esc_html( get_the_title())
   to ‘ read more . . . ‘
    Very pleased!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Link to Listing’ is closed to new replies.

 * ![](https://ps.w.org/advanced-classifieds-and-directory-pro/assets/icon-128x128.
   png?rev=1506527)
 * [Advanced Classifieds & Directory Pro](https://wordpress.org/plugins/advanced-classifieds-and-directory-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-classifieds-and-directory-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [atagrill](https://wordpress.org/support/users/atagrill/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/link-to-listing/#post-12524430)
 * Status: resolved