Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #289745

    I’m not sure which is a better approach, portfolio items for each single image or blog posts for each image.

    I just want to have a layout like the portfolios (see attached image) but for a single image.
    So for every photo on my site, have a single page/post/portfolio item with an accordion on the right side.
    I tried using shortcodes in a Blog Post to achieve but the image just goes full-size and the accordion jumps down below it.

    [av_two_third first]<img class="alignleft wp-image-5218 size-medium" src="" alt="MitchPopilchak_Road" width="300" height="200" />[/av_two_third]
    [av_one_third][av_toggle_container initial='0' mode='accordion' sort='']
    [av_toggle title='Location' tags='']
    SE Alberta
    [av_toggle title='Available Prints' tags='']
    8 x 12
    12 x 18
    16 x 24
    20 x 30

    I tried placing the content above in a 1/1 shortcode too but that didn’t help.

    If it can’t be done using a Blog Post for each photo, which is fine, is there a way to do it with a portfolio item or are Portfolio Items meant to house a gallery of photos?




    Hi lifeundone!

    Thank you for using the theme!

    The screenshot you provided is not working. Please check. I guess portfolio item is the better choice because you can use the advance layout builder. Also, portfolio grid looks more like a gallery than the blog grid style. Please check the masonry element if you want more options.




    Is there a reason why the layout shortcodes don’t work properly in a blog post?




    Have you tried building the it using the Advanced Layout Builder? here’s how to enable it on Posts, open /config-templatebuilder/avia-template-builder/config/meta.php and look for line 5:

    array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),

    Replace it by:

    array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('portfolio','page','post'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),


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

You must be logged in to reply to this topic.