Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5758

    Hello,

    I have suddenly faced this strange issue at posts archive. Read more text box is having read more text and post title.

    This issue is only at archive(loop-archive) not at for example front page blog.

    View this issue: http://www.lamin-x.fi/category/dealers-blog

    Frontpage no issues: http://www.lamin-x.fi

    My loop-archive:

    Code:
    <?php
    global $avia_config;
    if(isset($avia_config['new_query'])) { query_posts($avia_config['new_query']); }

    // check if we got posts to display:
    if (have_posts()) :

    while (have_posts()) : the_post();

    ?>

    <div class=’post-entry’>

    <?php
    //force to display small inline content slider on archive pages. Single pages and posts are allowed to display the 3d slider
    $force_small_slider = true;
    if(is_singular()) $force_small_slider = false;

    $slider = new avia_slideshow(get_the_ID());
    echo $slider->display_small(‘page’, $force_small_slider);
    ?>

    <!–meta info–>
    <div class=”blog-meta”>

    <span class=’post-date-comment-container’>
    <span class=’date-container’><span><?php the_time(‘d’) ?></span><?php the_time(‘M’) ?> <?php the_time(‘Y’) ?></span>
    <span class=’comment-container’><?php comments_popup_link(“0 “.__(‘Comments’,'avia_framework’), “1 “.__(‘Comment’ ,’avia_framework’),
    % “.__(‘Comments’,'avia_framework’),’comments-link’,
    “.__(‘Comments
    Off’,'avia_framework’)
    ); ?>
    </span>

    </span>

    </div><!–end meta info–>

    <div class=”entry-content”>

    <h1 class=’post-title’>
    ” rel=”bookmark” title=”<?php _e(‘Permanent Link:’,'avia_framework’)?> <?php the_title(); ?>”><?php the_title(); ?>
    </h1>
    <?php

    $cats = get_the_category();
    if(!empty($cats))
    {
    echo ‘<span class=”blog-categories”>’;
    echo ‘Categories: ‘;
    the_category(‘, ‘);
    the_tags(‘‘.__(‘ – Tags: ‘,’avia_frameworkt’).’‘);
    echo ‘</span>’;
    }

    the_content(__(‘Lue lisää’,'avia_framework’)); ?>

    </div>

    <div class=”hr”><?php edit_post_link(‘Edit’, ”, ”); ?></div>
    </div><!–end post-entry–>

    <?php
    endwhile;
    else:
    ?>

    <div class=”entry”>
    <h1 class=’post-title’><?php _e(‘Nothing Found’, ‘avia_framework’); ?></h1>
    <p><?php _e(‘Sorry, no posts matched your criteria’, ‘avia_framework’); ?></p>
    </div>
    <?php

    endif;

    if(!isset($avia_config['remove_pagination'] ))
    echo avia_pagination();
    ?>

    #51625

    Hey,

    I think the code after:

    <h1 class='post-title'>

    causes the error. I’d try to replace loop-archive.php with the original/unmodified version to fix the error.

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

The topic ‘Read more text box issue’ is closed to new replies.