Tagged Questions
0
votes
3answers
64 views
Need to return shortcode text instead of the output
Is there a way I can return the shortcode text instead of the output.
My code function is hooked into 'the_content' and I know if my function contain shortcode it will automatically generate the ...
1
vote
1answer
129 views
Adding option to Gallery shortcode
just starting out in WP dev, and I'm looking for any guidance I can get. What I'd like to do is use a hook or filter to add my own option to the core WP gallery shortcode. I would want it to work just ...
0
votes
1answer
77 views
manipulate a plugins shortcode
I want to add some javascript directly below content, added by another plugin's shortcode.
We are using the NextGen Gallery plugin and there are many articles containing the [nggallery] shortcode. I ...
3
votes
1answer
309 views
Using action hooks inside of a shortcode
I am trying to create a modular plugin that includes action hooks for developers to add content before and after the main shortcode content. I'm having some trouble because anything I do in the ...
9
votes
5answers
1k views
How to include code only on specific pages?
I'm learning about plugins and shortcodes. I noticed that when I activate my plugin its code gets loaded on all of my pages-- even pages that don't have my shortcode. (I don't mean content vs. admin ...