Flexible external render path
-
Hi and thanks for your extensive work on this great plugin.
I’m trying to get the external render for the Flexible field and I work with Oxygen Builder, which is a themeless page builder.
In my quest to get it working, I found this link that give me the control of the root file for my different templates.
The hook works great, as it updates the prefix on render fields inside my Flexible.
Changing/wp-content/themes/twentynineteen
tohttps://www.website.com/wp-content/block/
.But I can get it to display anything (neither php, or css, which the one I tested)
I follow your page as close as possible, but I’m afraid there is a naming convention of some sort I’m not aware off.The function
...the_flexible('flexFieldName');...
appears to be outputing well, as I can see the Block name as comment inside the rendered HTML.Here is a attached screenshot of my current flexible render path configuration.
To sum up naming I used :
- Flexible field name : ‘flex-project’
- Flexible layout : ‘flexible_photo’
- Path to PHP : /flex-project/flexible_photo/template.php
- Path to CSS : /flex-project/flexible_photo/style.css
Are thoses correct ?
I hope I’m clear enough, and will be happy to share more informations !
Thanks in advance for your help.Aristide
- The topic ‘Flexible external render path’ is closed to new replies.