WordPress: CIMY If Else
April 27, 2010 | 2 Comments ››The Problem While coding in statements for the extra fields generated by CIMY User Extra Fields, I came across the problem of what to do if the field was empty. Initial workarounds included adding extra fields to be pre-filled as ...
WordPress: Urban: the WordPress theme
April 14, 2010 | No Comments ››Parse error: syntax error, unexpected $end in /home/boyevul/scarform.com/wp-content/plugins/php-execution-plugin/includes/class.php_execution.php(273) : eval()'d code on line 184
WordPress: Code outside of the WordPress files, targeting frames
November 13, 2009 | 2 Comments ››Today we are going to focus on two simple tricks. One will allow you to use Wordpress functionality outside of Wordpress, and the other will allow you to target frames with a search box and drop down category listing.Code outside of the Wordpress directory So you're working on a Wordpress installation and you would like to use some Wordpress code outside of the install directory. (Like displaying your latest posts or putting a search form somewhere outside of a Wordpress theme.)Then you'll need the following code at the very top of your .php in whatever file you are wanting to do this in:
Warning: require_once(/home/.../.../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/boyevul/scarform.com/wp-content/plugins/php-execution-plugin/includes/class.php_execution.php(273) : eval()'d code on line 8
Fatal error: require_once() [function.require]: Failed opening required '/home/.../.../wp-blog-header.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/boyevul/scarform.com/wp-content/plugins/php-execution-plugin/includes/class.php_execution.php(273) : eval()'d code on line 8
