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

Variables

$
0
0

Replies: 0

Hi Safeer,

I didn’t find it in the documentation, but is it possible to pass a variable to a content-block ?

Like for example:

[rcblock id=”xx” my_var=”Custom text”]

And the “my_var” can be used in the content block. For example to display a custom-header or a custom product-name, etc.

I’m currently using the text-block plugin (https://wordpress.org/plugins/reusable-text-blocks/) and with that one it is possible.

Thanks for looking into it.

Kind regards, Fred


Viewing all articles
Browse latest Browse all 59525

Trending Articles