July 10, 2014 at 10:24 pm #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="http://mitchpopilchak.com/wp-content/uploads/2014/07/MitchPopilchak_Road_5388-300x200.jpg" 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] [av_toggle title='Available Prints' tags=''] <strong>Canvas</strong> 8 x 12 12 x 18 16 x 24 20 x 30 [/av_toggle] [/av_toggle_container] [/av_one_third]
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?
MitchJuly 11, 2014 at 10:24 am #289974
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.
IsmaelJuly 11, 2014 at 3:35 pm #290134
Is there a reason why the layout shortcodes don’t work properly in a blog post?
ThanksJuly 15, 2014 at 9:23 am #291451
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 ),
You must be logged in to reply to this topic.