News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Adding 'recent posts' to a Wordpress page

Started by Kootch, October 24, 2022, 04:18:46 PM

Previous topic - Next topic

Kootch

I want to add just a list of my recent forums posts to a page on my main website, which is Wordpress.

the main website is tmlfans.ca
and the forums are tmlfans.ca/community.

I guess I need to know where in Wordpress do I add:
<?php
require("/home/customer/www/tmlfans.ca/public_html/community/SSI.php");
?>

and then how do I add:
<?php ssi_recentTopics(); ?> to a page within Wordpress?  I've been fiddling and can't seem to get it going.

Rick

Kootch

Interesting...

When I add this: 
<?php ssi_recentTopics(); ?>

To a sidebar, it shows up - just not when I try to insert it into a page.  Does that mean it's not possible to add to a page?

Kindred

WordPress does not usually play nicely with other scripts...

You might have some luck with a php module addon..add on...  but you definitely can NOT run php code in the middle of a page without one
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Kootch


Advertisement: