Grab user set data from theme options to use as dynamic content in layout, header, footer etc

Hi anyone who can help with this~

I am trying to create a header and footer that is dynamic to the point where it can grab a users defined settings in the theme options, and uses that information to render out the information into the relevant loop consumers.

I.e. if a user defines a logo for their website in the theme options (in dev mode it is defined as “x_logo”), then how would I refer to that in my themeco pro header as the logo’s dynamic content?

Additionally say if a user sets a social link as facebook, insta etc.
How do I use the consumers to define that the user specified details are filled in with the relevant link at least?

I can see that for socials the user defined link is shown as “x_social_[specific social platform here]”

Hello @Dracostar,

Thanks for writing in! Regretfully what you are trying to do is not possible at the moment. There is a feature request already that enables the users to use the Theme Options settings anywhere on the site or in the builder. We do not have an ETA yet on when this is rolling out.

Best Regards.

1 Like

Hi Ruenel,

Not a problem, and thanks so much for the update. I do hope you guys will bring out a function like that in your Loop Provider feature some time. As its a great cross integration idea for your themes core setting and for those of us who want to build a theme that can be used by a somewhat front end user with ease such as easy social updates changing their website logo globally without manually editing headers and footers etc etc :slight_smile:

Thanks again! And if possible I would like to stay in the inform list of that particular feature if you have one for when its being developed or estimated for release if that is possible :smiley:

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.