Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24170

    how to have only images, title and excerpt in all archive pages?

    now the theme shows the full content of the post.

    if I use the widget option I can not have any pagination.

    thanks

    #122622

    Open up wp-contentthemeschoicesincludesloop-index.php and replace

    $current_post['content'] 	= get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  →</span>');

    with

    $current_post['content'] 	= get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  →</span>');
    if(is_archive()) $current_post['content'] = get_the_excerpt();

    #122623

    Hi,

    Is it the same code if I want my categories to appear with images title and excerpt? Because i have made sub menus in navigation menu with catégories and if people click on them they see the full lenght posts in that categories with is not practical to take a tour…I want it to be like on my blog page.

    The same for archives.

    Kind regards,

    #122624

    Hi,

    Yes, it is the same. You should also try to use the <!–more–> tag to show the excerpt on archive pages.

    http://en.support.wordpress.com/splitting-content/more-tag/

    Regards,

    Ismael

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

The topic ‘Archive Pages by category’ is closed to new replies.