Help with output plugin
-
Hi! I can not bring my views in the topic.
Here is the code from single.php of theme:
$output .= '<div class="post-links">'; if( comments_open() ) $output .= '<i class="icon-eye"></i> <a href="'. get_comments_link() .'" class="post-comments">'. get_comments_number() .'</a>'; $output .= '<i class="icon-doc-text"></i> <a href="'. get_permalink() .'" class="post-more">'. $translate['readmore'] .'</a>'; $output .= '</div>';I need to display views instead get_comments_number (), but when I insert <? Php if (function_exists (‘the_views’)) {the_views (); }?> Site stops working.
What you need to do to earn?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Help with output plugin’ is closed to new replies.