Support » Plugin: WPAdverts - Classifieds Plugin » Descriptions in overview

  • Resolved lausianne

    (@lausianne)


    Hi,

    How can I get the description text to show in the ads overview?
    (Ideally just a certain number of words, and not formatted)

    Thanks!

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

    (@gwin)

    Hi,
    currently, the only way to do that would be to open file wpadverts/templates/list-item.php and add there somewhere the code below

    
    <?php echo get_the_excerpt( get_the_ID() ) ?>
    

    Note that the changes in list-item.php template file will be overwritten on WPAdverts update if you would like to avoid it then please consider creating a child template for list-item.php as explained here https://wpadverts.com/documentation/child-themes-and-templates/

    lausianne

    (@lausianne)

    Ok, that helps, for the time being. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.