cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
279 stars 83 forks source link

Return data with no HTML #112

Closed johnstew closed 8 years ago

johnstew commented 8 years ago

Hi there,

Was wondering if there was a way to just return the data from the plugin. Reason I am asking is because I am using Twig as my template engine right now and would love just the data and let twig handle my render. Is there any way to do this?

Thanks!

rahulv3a commented 8 years ago

Similar request here #110

cabrerahector commented 8 years ago

Hey guys!

Indeed, this is already being discussed in #110. Let's move the conversation over there, alright?

cabrerahector commented 8 years ago

Ah, about the Twig thing: I'm not really familiar with it @johnstew (first time I've heard of it, tbh). If you can't wait until I'm done with this then you might want to have a look at this.