Why might a plugin’s ‘do_shortcode’ not work in an AJAX request?
tl;dr: Contact Form 7’s shortcode doesn’t work in an AJAX request when called with do_shortcode
tl;dr: Contact Form 7’s shortcode doesn’t work in an AJAX request when called with do_shortcode
How can I make all gallery images to open the high resolution image in a new window?
It’s been talked many times that WordPress outputs some really bad code for the built-in gallery function.
What is the idea way to register/enqueue scripts and/or styles for use in plugins?
The codex says
In a plugin class I want to provide simple fields for public data: email, phone number, Twitter etc. The list can be extended.
I’m using a few plugins that have shortcodes … however, instead of creating a public page for the content, I’ve created some new pages within the admin using add_menu_page and I need to know how to utilize do_shortcode() within this context.
Is there a way to split up the post content and the gallery short code. I want to display the gallery outside my normal content no matter how or where it is placed. I can use this to get the shortcode itself:
At times, I need to return the output of a loop (usually with WP_Query like in this example) for use in a shortcode or with a filter on the_content.
I’d like to change only one output of native WP Gallery (in media.php)