ok. nearly there. the forum... i want to call soem functions in from wordpress. is this possible?
jamesvincent.co.uk/forum/
i need to call a function from one of my WP hacks. You will see on the left sidebar, that I am trying to get the Recent Posts/Links into the forum sidebar (taken from WP)
I've tried using:
PHP Code:
<?php /home/jamesv/public_html/wordpress/c2c_get_recent_posts ($num_posts = 10,
$format = "%post_title%<br>",
$categories = '',
$orderby = 'date',
$order = 'DESC',
$offset = 5,
$authors = '',
$include_passworded_posts = false); ?>
and tried sticking the above function in a blank page called 'recentposts.php' and including it using:
PHP Code:
<?php include ('/home/jamesvincent/public_html/wordpress/wp-content/themes/vini/sidebar_recent.php'); ?>
but i get nothing, is this possible? i hope so.