startoof
Member
Posted 2 years ago #
Hi and sorry for my english that is very poor...
I customizable-post-listings plugin on my blog http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/
and I want to be able to put the recent posts on my web page
htt://touskigliss.fr/pagewitherecentposts instead of htt://touskigliss.fr/blog/pagewitherecentposts.
How can I do that ?
Thanks !
Your homepage is outside of WordPress, and you want to display the plugin output there? Is your homepage using using PHP?
I don't know if there's a way to call the customizable-post-listings plugin, outside of WordPress.
I think you need some kind of an RSS Aggregator that imports feeds on any site (non-WP plugin)... because you already have an RSS Feed from your WordPress, that is "exporting".
startoof
Member
Posted 2 years ago #
Yes my homepage use PHP and is outside of WordPress and I want to display the plugin output there. :-)
I think using wp plugin is better because is more flexible (template).
But I don't manage to find the right php code to succeed.
I don't know how, but I think it might be possible.
You might need to start another thread (because this thread title is confusing) that basically asks "how to call a WP plugin on a PHP page that is outside of WP?"
and mention the plugin you want to call is customizable-post-listings from Coffee2Code
The information here tells how to integrate WordPress in a non-WP PHP document:
http://codex.wordpress.org/Creating_a_Static_Front_Page#Integrating_WordPress
Once you include wp-blog-header.php, you can use *any* WordPress element, including plugin functions.
startoof
Member
Posted 2 years ago #
Okay thanks ! I'll read it.
startoof
Member
Posted 2 years ago #
I did it with an RSS Aggregator thanks Dgold !
But I didn't manage to display the number of comments for each last posts.
Somebody have an idea to do that ?
Thanks