Title: Adding HTML and Author
Last modified: August 30, 2016

---

# Adding HTML and Author

 *  Resolved [c_atherine](https://wordpress.org/support/users/c_atherine/)
 * (@c_atherine)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-html-and-author/)
 * Hi,
 * First, I am calling wpp_get_mostpopular, however I would like to format the list
   differently. How might I change the HTML? I’ve read about formatting the widget,
   but I am not using the those.
 *     ```
       if (function_exists( 'wpp_get_mostpopular' )) {
       							  wpp_get_mostpopular('range=weekly&order_by=views&limit=5&stats_views=0&post_type=post');
       ```
   
 * Second, how might I have the author name returned?
 * Thank you in advance!
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-html-and-author/#post-6571325)
 * Hi there!
 * > How might I change the HTML? I’ve read about formatting the widget, but I am
   > not using the those.
 * [This](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#how-can-i-use-my-own-html-markup-with-your-plugin)
   should help you get started 🙂
 * > Second, how might I have the author name returned?
 * The `{author}` content tag is what you’re looking for (see _Settings > WordPress
   Popular Posts > Paramaters_, bottom of the list).
 *  Thread Starter [c_atherine](https://wordpress.org/support/users/c_atherine/)
 * (@c_atherine)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-html-and-author/#post-6571374)
 * Thank you! That was way too obvious.
    Your quick response is much appreciated!

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

The topic ‘Adding HTML and Author’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [author name](https://wordpress.org/support/topic-tag/author-name/)
 * [most read](https://wordpress.org/support/topic-tag/most-read/)
 * [wpp_get_mostpopular](https://wordpress.org/support/topic-tag/wpp_get_mostpopular/)

 * 2 replies
 * 2 participants
 * Last reply from: [c_atherine](https://wordpress.org/support/users/c_atherine/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/adding-html-and-author/#post-6571374)
 * Status: resolved