Echoing phpBay in Your WordPress Template

by Bradley on February 17, 2011

I had a hell of a time trying to figure out how to call phpBay from a theme file rather than by using the shortcode.  After sending a quick email over to the developer, he eventually gave me this code which works like a charm:

<!-- start of ebay-->
<!--?php                   $text='[phpbay]"", "", "", ""[/phpbay]';                 echo phpBayPro($text) . "";                  ?-->
<!-- end of ebay -->

I hope this helps anyone else who is trying to figure this out.

Want More out of WordPress?

I can show you how to get more traffic, make WordPress do amazing things, and how to make more money with your website by converting your visitors into customers. Click the button to the right to get a free estimate.

Previous post:

Next post: