Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
February 9, 2017 at 8:00 pm #745018February 14, 2017 at 12:51 pm #746865
Hey Antonio,
Yes, you would need to do few things however.
1. Use a child theme, instructions can be found here: http://kriesi.at/documentation/enfold/using-a-child-theme/
2. Override the post slider module, check here for instructions: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
3. The name of the file that needs to changed is: postslider.php.
4. Edit postslider.php in the child theme and find this code (line 431-450):if($show_meta && !empty($excerpt)) { $meta = "<div class='slide-meta'>"; if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio') { $link_add = $commentCount === "0" ? "#respond" : "#comments"; $text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' ); $meta .= "<div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div><div class='slide-meta-del'>/</div>"; } $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)); $meta .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>"; $meta .= "</div>"; if($blogstyle !== "elegant-blog") { $output .= $meta; $meta = ""; } }
cut this code and paste it below this code which is just below it:
$markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)); $excerpt = apply_filters( 'avf_post_slider_entry_excerpt', $excerpt, $prepare_excerpt, $permalink, $entry ); $output .= !empty($excerpt) ? "<div class='slide-entry-excerpt entry-content' $markup>".$excerpt."</div>" : "";
Hope this helps.
Best regards,
NikkoFebruary 14, 2017 at 6:38 pm #747039HI Nikko.
I try.
Thanks so much !
Antonio -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘Move Title Article’ is closed to new replies.