Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5329

    First off, just wanted to say great theme. The back-end is structured very well.

    I’m currently trying to set up a home page with the template builder, and I would like to include a blog section, but it by default shows the entire post from a category, instead of the excerpt. Is there any way to change this?

    #49731

    Hey,

    you can use the read more tag: http://codex.wordpress.org/Customizing_the_Read_More to create the excerpt.

    #49732

    Thanks for the link. I reviewed this page before I submitted this request. I’ve given my posts the appropriate <!–more–> marker, and the excerpt function works fine when the page is a standard blog template. However, when it uses the dynamic template builder “Blog” section, it ignores the <!–more–> tag.

    #49733

    This problem should be fixed in the latest version of Brightbox. The includes/helper-templates.php file is missing the $more variable declaration and a $more = 0; in the blog function.

    If you’re using version 1.1 or below you can update to version 1.2.1 or replace following code in includes/helper-templates.php:

    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:

    Code:
    echo “<div class=’template-blog content’>”;
    get_template_part(‘includes/loop’,'index’);

    with this:

    Code:
    echo “<div class=’template-blog content’>”;
    $more = 0;
    get_template_part( ‘includes/loop’, ‘index’ );

    #49734

    Thanks so much for the fix! Works perfect!

    #49735

    Glad that I could help you :)

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Template Builder – Blog Section’ is closed to new replies.