Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   Calling vbbridge functions in other files (http://www.lampwrights.com/showthread.php?t=234)

wacnstac 10-05-2011 11:28 AM

Calling vbbridge functions in other files
 
Ok, I'm starting to customize some of my other WP templates and want to make use of some of your the great functions you have Jeff, like get_avatar, but I don't know how to include the function you wrote in my template files. I tried:

PHP Code:

require_once ('/home/mypath/vbbridge/vbbridge.php'); 

but this doesn't seem to make the get_avatar function within scope.

Jeff 10-06-2011 09:52 AM

There should be no need to include it anywhere. It should already be in scope.

wacnstac 10-06-2011 10:21 AM

Yeap, it was. My bad.


All times are GMT -4. The time now is 04:20 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.