first of all, great theme.
I made some changes and created new "widgets" and then add in the "Template Builder". http://d.pr/qG3A
In this case I created one called "blog home" and show it in the main index (http://laive.evdomainserver.com) and looks the way I want, that is, only until before the "read more".
However, when I publish it in another template http://d.pr/Rnpl, such as "catalog" (http://laive.evdomainserver.com/catalogo-de-productos/) this shows the whole post . I researched all the code and can not find where to change this.
I hope you have understood my question and can helpme.
Thank you very much.
Template Builde and show post
4 posts from 2 voices-
Posted 1 year ago #
-
This problem should be fixed in the next update. The includes/helper-templates.php file is missing the $more variable declaration and a $more = 0; in the blog function.
Open up includes/helper-templates.php and replace:
function blog($element) { extract($element['saved_value'][0]); global $avia_config;with:
function blog($element) { extract($element['saved_value'][0]); global $avia_config, $more;And replace:
echo "<div class='template-blog content'>";
get_template_part('includes/loop','index');
with this:
echo "<div class='template-blog content'>";
$more = 0;
get_template_part( 'includes/loop', 'index' );Posted 1 year ago # -
hey dude... thanks a lot... it works!!!
Posted 1 year ago # -
Glad that Icould help you :)
Posted 1 year ago #
Reply
You must log in to post.














