Tagged: content template
November 21, 2014 at 7:42 pm #355478
It seems to be that I’m not able to use the Avia Layout Builder within the Content Template editor for Views.
I thought to copy past the avia short codes – that I created for a page – to the content template – but that seems not to work.
See here the code that I have used for the content template:
[av_submenu menu='21' position='center' color='footer_color' sticky='aviaTBsticky'] [av_section color='main_color' custom_bg='#307ecc' src='' attachment='' attachment_size='' attach='scroll' position='bottom right' repeat='no-repeat' video='' video_ratio='16:9' min_height='custom' min_height_px='250' padding='small' shadow='no-border-styling' bottom_border='border-extra-arrow-down' id=''] [av_three_fifth first] [av_heading heading='Vacatures Gersbus' tag='h2' style='blockquote modern-quote' size='50' subheading_active='subheading_below' subheading_size='20' padding='10' color='' custom_font='#ffffff'] Gersbus is een organisatie die volledig wordt ondersteunt door vrijwilligers [/av_heading] [/av_three_fifth][av_two_fifth] [av_textblock size='' font_color='' color=''] <a href="http://gersbus.nl/wp-content/uploads/2014/07/Wagenpark-large.png"><img class="aligncenter wp-image-789 size-full" src="http://gersbus.nl/wp-content/uploads/2014/07/Wagenpark-large.png" alt="Wagenpark-large" width="255" height="180" /></a> [/av_textblock] [/av_two_fifth] [/av_section] [av_one_full first] Main questions: How can I use the Avia Layout options for content templates for Custom Post Types (CPT)? <h2>[wpv-post-title]</h2> [wpv-post-body view_template="None"] Status: [types field="functie-status"][/types] <br /> <h3>Job Profiel:</h3> [types field="job-profiel"][/types] <h3>Job verantwoordelijkheden</h3> [types field="job-verantwoordelijkheden"][/types] <h3>Overige bijzonderheden</h3> Beschikbare dagen: [types field="beschikbare-dagen" separator=", "][/types] Beschikbare dagdelen: [types field="beschikbare-dagdelen" separator=", "][/types] [/av_one_full]
The part that is between [av_one_full first] and [/av_one_full]` is the content that I would like to show in combination with the above stated layout componentsNovember 22, 2014 at 12:10 am #355709
Thanks for using Enfold.
It doesn’t look like that plugin is going to be compatible but send us a WordPress login and we’ll take a look. You should be able to create any type of layout you need with just our advanced layout editor.
ElliottNovember 22, 2014 at 10:33 am #355839November 23, 2014 at 7:13 pm #356321
I’m sorry but I could not figure out what was going on. That plugin is very complex. It looks like you can still use shortcodes inside the Jobs custom post type though. I inserted a button and it seemed to be working fine.
If you want to enable the advanced layout builder for that post type as well then you can do this, https://kriesi.at/support/topic/displaying-custom-post-types-inside-of-the-avia-layout-builder/.
ElliottMarch 26, 2015 at 1:39 pm #418486
did you get Custom Templates to work with enfold? I am struggling. Thank you for your help!
MoritzMarch 27, 2015 at 5:42 am #419088
It would be great if you could share your experience with the plugin and Enfold since other people seem to be having similar problems.
RikardMarch 27, 2015 at 7:29 am #419116March 27, 2015 at 10:35 am #419180
You must be logged in to reply to this topic.