Jump to content


Photo

Call Functions From Other places?


  • Please log in to reply
2 replies to this topic

#1 Vini

Vini
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 21 May 2006 - 08:05 PM

[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?

#2 jeremywesselman

jeremywesselman
  • Members
  • PipPipPip
  • Advanced Member
  • 154 posts
  • LocationIndependence, KY

Posted 22 May 2006 - 09:03 AM

Post the code you are trying to use.

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

#3 Vini

Vini
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 22 May 2006 - 11:13 AM

ive tried

            
<h3>Affiliates</h3>

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

</div>

and

<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>






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users