Support » Plugin: WPAdverts - Classifieds Plugin » Show excerpt

  • Resolved indetailan10

    (@indetailan10)


    Hi, Is there a way i can show an adverts excerpt while in list view?

    Without having people going into the advert page but while scrolling have a sort excerpt?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, this is possible but you will need to modify the wpadverts/templates/list-item.php file.

    Inside the file you would need to somewhere add <?php the_excerpt( get_the_ID()) ?> code, it is best to add it only in the list view as with the excerpts it is quite easy to break the whole layout for the ads list.

    Also, if you will be modifying original template files consider creating child-templates so your changes will not be overwritten on WPAdverts update https://wpadverts.com/documentation/child-themes-and-templates/

    Thread Starter indetailan10

    (@indetailan10)

    Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show excerpt’ is closed to new replies.