I created a custom template using the Blog element to limit posts on the page to be from a single contributor. However when I view the page, my read more breaks are disregarded. I wan this to be like a blog overview page but for a single category of posts.
Using 'read more' in template builder.
4 posts from 2 voices-
Posted 1 year ago #
-
Hey,
another user reported the error for another theme too. I'll forward it to Kriesi. The user provided a fix - 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 # -
Worked like a charm! Thanks!
Posted 1 year ago # -
Glad that I could help you :)
Posted 1 year ago #
Reply
You must log in to post.














