• Resolved felguard

    (@felguard)


    Hello,

    I have some images and links in my description. Right now only the text is being shown on the listing page. I was wondering if it was possible to have the image and links show up as well. For example, a link will only show up as normal text.

    Thanks.

    https://wordpress.org/plugins/geodirectory/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    that is how the excerpt work. It strips all the html and only use the text.

    You could set the excerpt to 0 (zero) in GeoDirectory >> design >> listings and add this to the fucntions.php file of your theme.

    add_action('geodir_after_listing_post_excerpt' ,'geodir_my_new_listings_content');
    
    function geodir_my_new_listings_content($tab_index)
     {the_content();}

    Let us know if that worked for you.

    Thanks

    Thread Starter felguard

    (@felguard)

    Hey Paolo,

    It worked like a charm. Thanks so much for that!!!

    Have a nice day.

    Plugin Author Paolo

    (@paoltaia)

    You are welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can images or links be shown in the excerpt on listview.php page?’ is closed to new replies.