Hi - I’m using the mars theme for Frontity, but I’ve no idea how to display the Wordpress Sidebar? Anyone know how to do this? I assume it would be done as a component?
Hey meggsp. Do you have a bite more info what you are referring to?
If you are referring to a sidebar on the blog page for example, you will need to create a component for it which you then render based on some conditions.
Once you have that you can place sidebar content within wordpress widgets and query it via the REST api to display the data.
2 Likes
that’s exactly what i’m after, but as new to frontity/react i’m trying to find the solution. this should do it, thankyou
1 Like
Have been there as well, when I started with Frontity so I am glad I could help.
Good luck with your Frontity website.
1 Like