Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Possible to create a tag to ouptut the value of the shortcode attribute?

$
0
0

Replies: 0

Hello!

I’m trying to use one of the attribute values in the form from the shortcode.

For example, I created a custom attribute “color” which I can pass into the form like this:

[contact-form-7 id=”7258″ title=”Replay Video Form” color=”red”]

But now I want to use that in the form somehow, and I can’t figure out how to build the filter function to output an attribute value.

For example, [color]

Any ideas?


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>