Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22538

    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

    #116132

    Hi!

    It will display the layout meta box: http://www.clipular.com/c?5050238=dsTXU2XzHZ6fjZiQYNYUBv6Bh-U&f=.png

    Regards,

    Peter

    #116133

    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

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘CPT and avia_framework’ is closed to new replies.