Title: [Plugin: WordPress.com Popular Posts] Insert PHP Code here
Last modified: August 19, 2016

---

# [Plugin: WordPress.com Popular Posts] Insert PHP Code here

 *  [Stunt](https://wordpress.org/support/users/stunt/)
 * (@stunt)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-popular-posts-insert-php-code-here/)
 * What do I do if I want to insert PHP code where it says [PHPCODEHERE]?
 * `<?php WPPP_show_popular_posts( "title=&number=6&days=2&show=posts&format=[PHPCODEHERE]
   <a href='%post_permalink%' title='%post_title_attribute%'>%post_title%</a>" );?
   >`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Stunt](https://wordpress.org/support/users/stunt/)
 * (@stunt)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-popular-posts-insert-php-code-here/#post-1764713)
 * Actually, is there any way I could combine this plugin with the query_posts function
   in order to create my own custom output? That’d suit me much better.
 *  Thread Starter [Stunt](https://wordpress.org/support/users/stunt/)
 * (@stunt)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-popular-posts-insert-php-code-here/#post-1764839)
 * Bump.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WordPress.com Popular Posts] Insert PHP Code here’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpresscom-popular-posts_b3b7b7.
   svg)
 * [WordPress.com Popular Posts](https://wordpress.org/plugins/wordpresscom-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpresscom-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpresscom-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpresscom-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpresscom-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpresscom-popular-posts/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [Stunt](https://wordpress.org/support/users/stunt/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-popular-posts-insert-php-code-here/#post-1764839)
 * Status: not resolved