How to call shortcode function directly and pass $atts
I am using the Media Library Categories plugin. It does not have much documentation, so I have concluded the way to implement it would be using the shortcode [mediacategories categories="6"].
I am using the Media Library Categories plugin. It does not have much documentation, so I have concluded the way to implement it would be using the shortcode [mediacategories categories="6"].
Hi to the community,
i try to build a shortcode that prints the Creative Commons logo and some text,
everything is working fine except that i put the shortcode at the end of the post but the shortcode goes to the top of the post content,
I wonder if it’s possible to do a shortcode only in another shortcode. For example I got following code pieces:
I’m trying to use shortcode in my page, I’m starting with a simple test.
A custom shortcode i made is being forced to the top of the widget outside of the widget container. Any ideas why? This is my code…
I’m using a plugin, NextGEN gallery, to display photos. Each gallery from this plugin corresponds to a different sub-page, so I’m using conditional shortcodes to assign the right gallery to it’s corresponding sub-page.
Problem is, it’s not working. I’ve used this exact setup before without issue, which leads me to believe that whatever is causing the problem now is probably something small I’m overlooking. I think a pair of fresh eyes would help out a lot. Thanks in advance.
I want to build a shortcode that takes a single attribute.
I have written a small function that displays a Custom Post Type called Testimonials (in my case) using a shortcode.
I am having trouble getting a shortcode to work with 1 attribute.
So I have the following code: