Hi,
1. it is possible to show an excerpt, but to do that you would need to customize the wpadverts/templates/list-item.php template file.
Inside this file you can show the excerpt with the following code
<?php echo esc_html( get_the_excerpt( get_the_ID() ) ) ?>
Note that if you decide to do that, then it is best to create a child template for the list-item.php template file as explained here https://wpadverts.com/doc/child-themes-and-templates/ so your changes will not be overwritten on WPAdverts update.
2. i am afraid, currently it is not really possible to switch view without reloading the page, sorry.
Works perfect!!
I add that code before the advert-post-title div. in a custom list template.
<div class=”advert-excertp”>
<?php echo esc_html( get_the_excerpt( get_the_ID() ) ) ?>
</div>
Thanks Greg!!
-
This reply was modified 2 years, 7 months ago by lolobomac.