• Hello,

    I do not want Displaying Categories without ads, how to exclude empty- without ads categories?

    Thank you for answer.

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

    (@gwin)

    Hi,
    the [adverts_categories] shortcode does not have such an option as it is meant to always display all of the categories.

    If you want to hide the empty categories you would need to open file wpadverts/includes/shortcodes.php go to line about 511 and change it from

    
    'hide_empty' => 0, 
    

    to

    
    'hide_empty' => 1, 
    

    of course this change will be overwritten on every WPAdverts update, but i will add there some filter to allow making this change without changing original files.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable Displaying Categories without ads[adverts_categories]’ is closed to new replies.