How to get specific string in explode array?

I see two problems here. One is that the explode() doesn’t actually specify the correct split string, which is ‘, ‘, WITH a space. What is written in the sample: ‘post_type’ => explode( ‘,’, $posttype ), What is written in the example shortcode: [myquery posttype=”cpt_press, cpt_two, cpt_three, cpt_etc”] Note that there is a comma AND … Read more

Adding YouTube button to TinyMCE editor

The problem is that the URL to your script is pointing to the Thematic theme directory, not your child theme. Instead of: $plugin_array[‘youryoutube’] = get_bloginfo(‘template_url’).’/editor_plugin.js’; …you need: $plugin_array[‘youryoutube’] = get_stylesheet_directory_uri() . ‘/editor_plugin.js’;