Tagged: avia framework, CPT
Hello,
I have added my CPT (cars) to boxes,
array( ‘title’ =>__(‘Avia Layout Builder’,’avia_framework’ ), ‘id’=>’avia_builder’, ‘page’=>array(‘portfolio’,’page’,’car’), ‘context’=>’normal’, ‘priority’=>’high’, ‘expandable’=>true ),
array( ‘title’ =>__(‘Layout’,’avia_framework’ ), ‘id’=>’layout’, ‘page’=>array(‘portfolio’, ‘page’ , ‘post’, ‘car’), ‘context’=>’side’, ‘priority’=>’low’),
and after adding a small modification to function.php, i’m able to display my cpt in a grid layout using Avia framework
but what is the exact need of :
array( ‘title’ =>__(‘Layout’,’avia_framework’ ), ‘id’=>’layout’, ‘page’=>array(‘portfolio’, ‘page’ , ‘post’), ‘context’=>’side’, ‘priority’=>’low’) ?
Thank you
Hi!
It will display the layout meta box: http://www.clipular.com/c?5050238=dsTXU2XzHZ6fjZiQYNYUBv6Bh-U&f=.png
Regards,
Peter
Hi,
For anyone less adroit then you in figuring this out I made a video showing how to add the layout builder functionality to Posts and Custom Post Types. https://vimeo.com/channels/aviathemes/64996057
Thanks,
Nick