Automatically added brs and paragraphs?
Here’s my very simple shortcode:
Here’s my very simple shortcode:
I am working on a plugin where the user can define shortcode tags himself. What would you suggest to allow in there? My thought is only allow ascii characters.
I want to include a script in a shortcode output, so I am trying this:
Is there a hook in WordPress that I can use to filter the output of a specific shortcode? Something like this:
i need to create a shortcode to display a different Div depending on WP current language only when users are logout.
I coded a wordpress shortcode for columns that basically inserts html via a shortcode. Problem is that wpautop adds stray p elements that renders the code invalid.
I’m using the following function to create a custom excerpt for my homepage and categories pages so I can do it by character count and have a custom “read more”. However, I have captions shortcode showing up in my excerpt.
I’m writing a custom shortcode that will need to call some PHP file via AJAX, after some user event. But I am getting Bad Request 400 as if my wp_ajax_* actions aren’t being bound.
I want to disable shortcode captions for posts in one of my themes, and display the content elsewhere, such as in a sidebar.
WordPress automatically adds the width and height attributes to shortcode images.