Tag Info

New answers tagged


This: $thm_out[array_rand($thm_out, 2)] is the same as $them_out[array(0,2)] where 0 and 2 are 2 random keys. See array_rand I hope you can see what is wrong there. Change that to: $thm_out[array_rand($thm_out, 1)] which is the same as $them_out[2] where 2 is any random key.


Try this to create your custom titles. remove_filter( 'wp_title', 'genesis_default_title', 10, 3 ); //Default title remove_action( 'genesis_site_title', 'genesis_seo_site_title' ); //Genesis Extra Stuff remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); //Genesis Extra Stuff add_filter( 'wp_title', 'genesis_default_title_new', 10, ...


Ah ha: by searching the rendered page for target I discovered that the site was running a plugin called "Open external links in a new window." Disabling that plugin solved the problem.

Top 50 recent answers are included