WordPress Popular Post Plugin (Add my meta instead of excerpt) (1 post)

  1. bondigor69
    Posted 3 years ago #

    hey guys Im using wordpress popular post plugin to show popular posts on my site.

    this is what I use to show the posts
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("header='Trending Right Now'&header_start='<h2><div id=\"trheader\" class=\"trendingnow\">'&title_length=35&header_end=</h2></div>&limit=2&range=daily&order_by=views&pattern_form={title}{image}<p>{summary}</p>&thumbnail_width=530&thumbnail_height=230&do_pattern=1&excerpt_length=200&post_start='<div class = \"whatshot\">'&post_end='</div>'");?>

    But instead of {summary} that takes the actual excerpt I want to insert my php code
    <p><?php meta('myexcerpt'); ?></p>

    How can I do it.

Topic Closed

This topic has been closed to new replies.

About this Topic