I read the instructions, re-read them and followed the step by step very careful and I'm spinning my wheels.
1) How do you use "shortcodes" in a standalone PHP?
2) Where do i place it? My current setup is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <?php $tubepress_base_url = 'C:\xampp\htdocs'; include 'C:\xampp\htdocs\sys\classes\TubePressPro.class.php'; ?> <html> <head> <title>Slavic Christian Center</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <?php print TubePressPro::getHtmlForHead(true); ?> </head> <body> <div id="showresults"> <?php print TubePressPro::getHtmlForShortcode(" output='ajaxSearchInput' searchResultsDomId='#showresults' searchProvider='youtube'"); ?> <?php print TubePressPro::getHtmlForShortcode(" randomize_thumbnails='false' embeddedWidth='650' embeddedHeight='395' description='true' views='false' orderBy='published' resultsPerPage='20' mode='playlist' playlistValue='49F0EA68F19E7AF8' loop='true' playerLocation='normal' ajaxPagination='true' showRelated='false'"); ?> <?php print TubePressPro::getHtmlForShortcode(" tubepress <span class="search_hit">theme</span>="slaviccenter_theme"); ?> </div> </body> </html>
and then i get a error
Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\2012\01.php on line 38
As soon as i remove line 38 which is (theme="slaviccenter_theme"); ?>) tubepress works as expected.
Any suggestions?