I don’t see the Advanced Layout option on blog posts – is there a way of adding that feature?
Blog posts don’t support the advanced editor at the moment. You can add this feature by hacking the theme files but we won’t provide support for this customization (i.e. we won’t answer questions like element xy doesn’t work with blg posts, etc.). If you want to add the builder to post pages open up wp-contentthemesenfoldconfig-templatebuilderavia-template-builderconfigmeta.php and replace:
array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page','post'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
Is this still the current state?
I need to get comments working in posts “written” with Avia Layout Builder.
just discovered that a lot of shortcodes have been added and this can be used in posts.
When editing a post, go to Visual mode then look for the Magic Want or Insert Shortcode button.
I hacked the advanced layout editor a bit and got the post meta, and comments to work. I tested it with as much as I had time for and it seems to be working with no visible problems on posts/pages/cpt looking through Chrome on Win7.
Please make a backup of template-builder.php in the main folder, then delete the whole thing and in its place paste the following code (since there is a lot of it , i dumped it on gist)
The topic ‘How to add advanced layout manager to blog posts?’ is closed to new replies.