PHP Shortcode – 500 error

Like @s_ha_dum said, those nightmarish “template tag” style conditionals made it hard to find those errors. Please use define( ‘WP_DEBUG’, true ); in your wp-config file to print those PHP errors while you are developing. function lande_galleri_parameter($atts) { extract( shortcode_atts( array ( ‘post_type’ => ’embm_beer’, ‘order’ =>’date’, ‘orderby’ => ‘title’, ‘posts’ => -1, ‘land’ => … Read more

Weird Cron Error

Thanks for the response! I guess I didn’t want to go through the process of disabling 30 plugins and retrying them one at a time. Sometimes I forget that this stuff isn’t magic. Anyway, I did exactly that and found the culprit plugin to be Cornerstone. A thread on the X Theme support forum made … Read more

WordPress Install – “end of script output before headers” when running simple php script

Don’t know exactly what you are trying to accomplish using custom script.You can do this effectively in WP way using either shortcodes,page templates,plugin. Well if you don’t want to do it that way and want to just place scripts in the active theme base directory.One way i suggest: Let’s say we have two php files … Read more