Browsing Category

Wordpress shortcode

echo a shortcode in a shortcode code?

I have a code for shortcode like this [mt_ptcolumn size=”pricing-3-col” title=”Bronze” price=”$99″ period=”1 domain” button=”Purchase” url=”#”] and I want to add a shortcode inside button=””

How to print a shortcode? [duplicate]

This question already has an answer here: Show shortcode without executing it 2 answers I have a shortcode [foo id=”1″]. I want to display the

basic shortcode – Why 1st paragraph not wrapped in p tag, but 2nd is

I’m working on a basic plugin that adds shortcodes for columns, buttons, panels, ect. Nothing new here. I haven’t altered wpautop in anyway; I’ve tried

Adding a custom field to do_shortcode

I think this will be pretty easy to answer…My php knowledge isn’t great! I have used the Advanced Custom Fields plugin to create an ‘add

What is this format called (nested shortcodes)?

When using plugins and commercial themes in WordPress, it’s not uncommon to meet code like this: [one_half_last] Something more irrelevant here [/one_half_last] Does this thing

How to make shortcodes parse in two different themes

I’ve got a mobile and a desktop theme for my website , but the shortcodes in my desktop theme are a lot more functional than

Video shortcode inside tabs shorcode NOT working

I have the “video” shortcode and the “tabs” shortcode. [tabs] [tab title=”text”][/tab] [tab title=”text”][/tab] [/tabs] If I write the video shortcode into a tab, the

esc_attr not working in shortcode

I have a shortcode that outputs a block of html. One element in the block is an anchor tag with an image caption in the

WooCommerce order shortcode by sku

I’m using a custom theme The Retailer and this has some Woocommerce shortcodes and what i like to do is order it by SKU, but

Problem height in do_shortocde video

i think there is a problem with the video shortcode. When i use the 400px height not work. The width work correctly but the height

Problem with height in video shortcode

i think there is a problem with the video shortcode. When i use the 400px height not work. The width work correctly but the height

Problem with shortcodes in external file

I have simple post with a shortcode: [xx]http://harrix.org/1.txt[xx] And an external file which has the content containing a WordPress shortcode: [strong] g[/strong] I try add

Shortcode displays only default attribute values

For some reasons every shortcode, that I try to add to functions.php, displays only default attribute value and ignores what I specify in a post.

How do I include shortcode of widget in HTML code of page? [duplicate]

This question already has an answer here: Using shortcode in template file 1 answer I am preparing a custom post type that shall allow the

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising