White space after category
-
Hi there,
I am currently outputting popular posts in a custom HTML structure:
$args = array( 'post_type' => 'post', 'range' => 'weekly', 'limit' => 8, 'stats_category' => 1, 'post_html' => '<li><span>{category}</span> <a href="{url}" title="{text_title}"><h3>{text_title}</h3></a></li>' ); wpp_get_mostpopular( $args );
The issue appears when the {category} lists more than one category. Each category entry is separated by a coma, but white space is added before the coma.
Is there a way for this to be removed
Screenshot: https://drive.google.com/file/d/1jn55Uzk5_D4qJAR7gflLBk1WqD0effO3/view
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘White space after category’ is closed to new replies.