Closed jmodanwal closed 4 years ago
Portions of the theme such as search, nav, and footer are components. Those components would not be in the page editor. I think the nine that you are seeing is the page editor is correct.
Yes, That 9 components are in page editor. Please tell me how to access rest of components in theme. Can I have any documentation for this ? Please share.
Thanks
Hi @jmodanwal, in Flynt, almost anything is a component, but not all are made to be added to a page.
Some components are statically added to a template, like the main navigation, or the blog post header. Please see the templates/single.twig file for examples of statically rendered components.
The components you're seeing in the page editor are flexible content layouts, which can be added dynamically to a page. For components to show up in the Add Component dropdown, their field layouts need to be added to a field group file: /inc/fieldGroups/pageComponents.php.
I hope that helps with understanding the Flynt component architecture.
Yes, I got it. Thanks a lot.
Hi @jmodanwal, happy I could help. I just published a tutorial to get started with Flynt: The Beginner’s Guide to Developing a Custom WordPress Theme With Flynt. Hope it'll be valuable to you, or anyone else working with Flynt the first time.
Hi I have installed the theme but I can see there are total 9 components showing into editor.
I can see there are 21 components files into theme but only 9 are rendering.
Please help me ASAP.
Thanks