Latest WordPress Post On Joomla Homepage

After searching long and hard for a component that would enable us to display the latest post from a WordPress blog on the homepage of a Joolma driven website we decided to develop our own. There was nothing freely available and the few ‘paid for’ solutions where hugely over complicated for what we needed.

For those reasons we’ve decided to make this component freely available to anyone who wants it. Your Joomla and WordPress installations need to be running on the same sever. WordPress also needs a plugin enabled named Get My Link (just to get a post’s permalink) which is included in the .zip file. The download includes the Joomla module & WordPress plugin. Within the module you are able to display the excerpt content, the number of words and the database connection can be set in the advance configuration parameters of the module. Enjoy!

If you download it and like it please leave a comment and click our ‘like’ button :)

V3 (Beta) might be compatible with WordPress 2.x but we haven’t had a chance to test it yet.

Although we try to respond to comments left here, we are unable to provide support for this. As such you download it for free, install and use at your own risk. Apologies to those who left blog comments previously – there was no easy way of transferring them from our old blog software to WordPress.

37 Comments

  1. Mark Stein May 20th, 2010

    This is great!!!! Exactly what I was looking for. Well, not exactly, but certainly close enough and I was able to tweak it to do what I needed (e.g. show me the titles of my 5 most recent WordPress posts, in a Joomla module on my homepage). THANK YOU!!!

  2. Click Routes May 20th, 2010

    Your welcome :) Which version, on which platform did you use?

  3. Number of words May 27th, 2010

    i want limited show number of words, but not work, i change it to ’5′ but words is stay to max. When i write long title or tekst in module no have restrict number of words. How to fix this. try with 2.x and 3.x but no luck

  4. Marc Sylvester May 27th, 2010

    Hey! This is great. I was searching for this on Google.
    Excellent work Clickroutes. — I've become a fan of your site due to this plugin!

  5. Mark Stein May 28th, 2010

    I had used version 2.9.2, integrating into Joomla 1.5.17.

    Actually, ran into a problem tonight. Still looking for the answer yet, but maybe you can help in case I don't figure it out by then….

    I decided tonight to limit my home page module to only search one a selected wp category. So your module then calls get_term_children(), which comes up undefined. I see it defined over in the wp-includes/taxonomy.php, but need to figure out how to get that linked into this module….

    Thanks for any advice.

  6. Mark Stein May 28th, 2010

    Follow-up to my earlier comment about trying to limit to a certain category, and now am dependent on the wp-includes/taxonomy.php:

    So I tried a brute-force hack of just copy/paste all of taxonomy.php to the bottom of mod_recentwordpressposts.php, but then I get other errors about bad MySQL syntax, etc. Hmmmm…. Help please????

    Thank you.

  7. Mark Stein May 28th, 2010

    Update: So I added some include statements for a few of the wp-include files, re-ordered the mod_recentwordpressposts.php so that things were defined in the right order. This helped me get around the “undefined function” sorts of errors. But I still get a complaint about bad MySQL syntax. Question — have you ever tested this part of your code, trying to pull only certain categories? I'm wondering if this is a bug in your code, or if it is something stupid that I'm doing…

    Thanks for any advice (or code updates :)

  8. Click Routes May 28th, 2010

    I'm sorry you're experiencing some problems. Unfortunately as we say above because it's a 'one off' for a client project we can't support it – it works for them :) Feel free to rip it apart and retest and if you have any success let us know.

  9. Click Routes May 28th, 2010

    Marc that's great – thank you

  10. Joris May 29th, 2010

    Dear Click Routes. Looks promising, but after installing, the whole wordpress blog shows in the module, in stead of a list of posts. Any sugestions? (using Joomla! 1.5.15 with WordPress 2.9.2.)

    Thanks for your reply

  11. Sakura Martinez June 8th, 2010

    I'm getting problems making this work with my blog and my joomla installation. It's giving me warnings like these:

    Warning: include(blog/wp-includes/wp-db.php) [function.include]: failed to open stream: No such file or directory in /home/sakuram/public_html/twilightbrigade/modules/mod_recentwordpressposts/mod_recentwordpressposts.php on line 467

    Warning: include(blog/wp-includes/wp-db.php) [function.include]: failed to open stream: No such file or directory in /home/sakuram/public_html/twilightbrigade/modules/mod_recentwordpressposts/mod_recentwordpressposts.php on line 467

    Warning: include() [function.include]: Failed opening 'blog/wp-includes/wp-db.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sakuram/public_html/twilightbrigade/modules/mod_recentwordpressposts/mod_recentwordpressposts.php on line 467

    Fatal error: Call to a member function get_results() on a non-object in /home/sakuram/public_html/twilightbrigade/modules/mod_recentwordpressposts/mod_recentwordpressposts.php on line 106

    Can anyone help me with this?

  12. Brian June 21st, 2010

    Thanks for the new version. After upgrading to WordPress 3.0, I was dismayed to find an error on my Joomla! site. I upgraded to the new version, and everything seems to be working great again.

  13. Click Routes June 21st, 2010

    You're welcome Brian :)

  14. Dan July 2nd, 2010

    this showed my entire blog within my joomla site, not really waht I was going for. I just wanted a link to the post. I'll keep looking

  15. maurizio July 12th, 2010

    Hello coders,
    I've tried to install your module with no results. WordPress plugin is ok, Joomla module won't to work when activated because of a blank page.
    Both joomla and wordpress installations are into the same server:
    http://www.myserver.it/joomla
    and
    http://www.myserver.it/wordpress
    Joomla and WordPress are currently using two separate mysql DB's: the ip address is the same, the name is different.
    I've also tried to correct row 467 of mod_recentwordpressposts.php:
    “include(“blog/wp-includes/wp-db.php”); ” to -> “include(“wordpress/wp-includes/wp-db.php”); “
    with no results
    Someone could help me? I think that this module is very interesting and helpful.
    Best regards
    Maurizio, Italy

  16. Michele August 16th, 2010

    Thank you, thank you thank you – 3.0 worked in 2 minutes right out of the box!

  17. Click Routes August 18th, 2010

    Your welcome – glad it helped :)

  18. Anonymous September 5th, 2010

    EDIT: Nice try but a long way from a public release.

    Where are the instructions on installation and configuration?

  19. Jarnail September 29th, 2010

    Great Plug-in and its really working for me in 2.X

  20. Candres33 October 13th, 2010

    Anyone has this working on a 3X wordpress installation…?

  21. Click Routes October 14th, 2010

    Hi Candres33 – at the moment we’ve not had any problems with the current version. If we encounter any we’ll upgrade and post here :)

  22. Julz October 28th, 2010

    don’t forget to install joomla mod + 2 wordpress plugins

  23. Aditya B December 6th, 2010

    Hello guys.. first of all many thanks for developing this super like module n plug-in for joomla n word-press .. i have install both the Module and Plug-in for joomla & WP respectively also follows instructions but whenever i enable that module my site goes blank means HOME page was getting totally blank what to do?

  24. Jutta December 21st, 2010

    works great! easy to install and easy to use…thanks for your job!

  25. Omer January 31st, 2011

    You are simply rock… i love it :)

  26. ejg06 February 13th, 2011

    The category name and slug don’t have to be the same. The category name just won’t work, nothing will show up. It works with the slug only.bilgibank

  27. mbrsolution March 21st, 2011

    Wow so amazing. Thank you very much for this great work. I have been looking for something like this for a long time. Once again congratulations……10/10

  28. Amit Rudra April 5th, 2011

    what a post man, thanks

  29. Murtaza June 23rd, 2011

    Woila Man Looking for same thing

    Thanks

  30. eliogabalo July 8th, 2011

    Installed with Joomla 1.6 and  WP 3.2

    I had to modify the xml for params syntax otherwise they would not show up on the module management but now it works fine.

    thanks a lot for your great job!

  31. Mbruiz1967 July 8th, 2011

    Hello eliogabalo would you be able to post what you did to get it working with Joomla 1.6 and WP 3.2 for others that might run into the same problem.

  32. Mbruiz1967 August 14th, 2011

    I managed to work out how to get it working with joomla 1.7 and wordpress 3.2 :)

  33. Brian August 17th, 2011

    I found these guidelines helpful for upgrading the XML for Joomla! 1.6:  http://www.finishjoomla.com/blog/27/upgrading-a-joomla-15-module-to-joomla-16/.  I also added a field for j_num_posts so that users can select how many recent blog posts to list.

  34. Click Routes August 17th, 2011

    Thanks for letting us know! If you could post any details on what you did I’m sure other visitors would appreciate it. Thanks!

  35. Mbruiz1967 September 8th, 2011

    Hello sorry for the late reply. 

    I have changed the following code to make it compatible with Joomal 1.6 and 1.7

    The solution is as follow:////////////////////////// joomla 1.5 format /////////////////////

    No
    Yes

    /////////////////////////////////////////////////////////////////////////////////////
     
    As you can see from the code below, all you have to do is change from the above code to the code illustrated below…….

     ////////////////// modified for joomla 1.6 /////////////////////

    No
    Yes

        

     

    ////////////////////////////////////////////

    Good luck and I hope it works for as it does for me :)

  36. Doamn September 28th, 2011

    As per others, I’ve been looking for a WP plugin that would actually work.  Well done and thanks!  A special thank you to Mbruiz for the 1.7 changes.  Works perfectly.

  37. NEX-C3 November 12th, 2011

    I just wanted to make a quick comment to say I’m glad I found your blog. Thanks

Leave a comment