Jump to content

Archived

This topic is now archived and is closed to further replies.

Vini

Call Functions From Other places?

Recommended Posts

[a href=\"http://www.jamesvincent.co.uk/forum/\" target=\"_blank\"]http://www.jamesvincent.co.uk/forum/[/a]

you will see under Affiliates on the left side, ive tried to call a function 'get_links' from Wordpress...

is it possible to call a function from Wordpress in this way?

Share this post


Link to post
Share on other sites
Post the code you are trying to use.

[!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]Jeremy[!--colorc--][/span][!--/colorc--]

Share this post


Link to post
Share on other sites
ive tried

[code]            
<h3>Affiliates</h3>

<div class="itemside">
   <ul>
<?php include ('/home/jamesv/public_html/wordpress/wp-content/themes/vini/sidebar_recent.php'); ?>
   </ul>

</div>
[/code]

and

[code]
<h3>Affiliates</h3>

<div class="itemside">
   <ul>

<?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); ?>
   </ul>

</div>

[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.