Forum Replies Created
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
May 8, 2018 at 2:24 pm in reply to: LayerSlider Shortcode not working – was working until I added another shortcode #953388
To clarify, LayerSlider shortcodes are NOT processed within the AVIA Builder and will not be processed… yes?
Not sure why I cannot use the SHORTCODE inside a AVIA TEXT BLOCK as there may be cases to want to make a video carousel or some other slider to fill the width of the block… how can we turn back on the processing of the shortcode: [layerslider id=”145″]
- This reply was modified 6 years, 7 months ago by phillipsmind. Reason: added more detail
{ foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } //elegant blog //prev: if( $blog_global_style == 'elegant-blog' ) if( strpos($blog_global_style, 'elegant-blog') !== false ) { $cat_output = ""; if(!empty($cats)) { $cat_output .= '<span class="blog-categories minor-meta">'; $cat_output .= $cats; $cat_output .= '</span>'; $cats = ""; } /* -- [ NOTE ] --- REMOVED -------- echo '</div>'; // The wrapper div prevents the Safari reader from displaying the content twice ¯\_(ツ)_/¯ echo '<div class="av-heading-wrapper">'; echo strpos($blog_global_style, 'modern-blog') === false ? $cat_output.$title : $title.$cat_output; echo '</div>'; */ echo '<span class="av-vertical-delimiter"></span>'; //echo preview image if(strpos($blog_style, 'big') !== false) { if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>'; if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>'; } if(!empty($before_content)) echo '<div class="big-preview '.$blog_style.'">'.$before_content.'</div>'; echo '<div class="av-heading-wrapper">'; // The wrapper div prevents the Safari reader from displaying the content twice ¯\_(ツ)_/¯ echo strpos($blog_global_style, 'modern-blog') === false ? $cat_output.$title : $title.$cat_output; // -- [ NOTE ] --- ADDED TO REVERSE TITLE AND FEATURE // echo '</div>';
This is what I did – lines 183-230 – Seems to have worked properly.
Want to be able to change the order of the loop so that instead of:
- title
- feature image
- content
we get:
- feature image
- title
- content
And wanted to see if you had a code sample of this change.
This reply has been marked as private.Sample page that has example of post image use in private link.
this is in RE: LayerSlIder WP and using the feature image for the background.
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)