Group parameters on dc:global?

Hi!

I made some group parameters in Theme options.

When I try to access them like this: {{dc:global:group_name.parameter}}, the output remains blank.

When I test the exact same group as dc:p inside an element, it works.

Thanks!

So you are actually looking for {{dc:g}} or {{dc:p}} as you have already discovered. The global group looks like it is related to Wordpress specific things like site title as well as your global colors. I am going to have it default to theme parameters as well if it can’t find the global you are using as it seems more consistent if {{dc:g}} exists, but in some cases you’ll still need to use {{dc:g}}. Thanks for bringing this up!

2 Likes

All right! When I used the short version, it worked. This is massive. I won’t use the ACF Options page anymore. This is way more scalable and portable.

Thank you!

1 Like