Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #421467

    Hi,

    Something’s wrong with my site’s archives. The portfolio archives show OK but the posts show without image and as full post, instead of image and excerpt. Something has gone wrong.

    I have a CPT for photos and that’s totally out of this world. I think it’s because the theme doesn’t cater for this CPT and I would need to make code changes.

    The site is: http://www.tameez.com

    Appreciate suggestions.

    Thanks and Regards,

    Tameez

    #421548

    Update:

    OK.

    I’ve found some solutions but there still are two problems. I used the following codes to fix the archives page.

    $blog_content = !empty($avia_config[‘blog_content’]) ? “excerpt” : “excerpt”; (in loop-index.php) and

    add_filter(‘avf_blog_style’,’avia_change_archive_blog_layout’, 10, 2);
    function avia_change_archive_blog_layout($layout, $context){
    if($context == ‘archive’) $layout = ‘single-big’;
    return $layout;
    }

    in functions.php

    The problems are: the image in archives displays when category is chosen. But when a tag is chosen, there’s no image.

    The second problem remains in that the CPT i have needs to be displayed in archive. Right now the entire set of images shows up.

    Regards,

    #423149

    Hey!

    I tried viewing some of your tags but the images were displaying fine. Is there a certain tag which is having a problem?

    Best regards,
    Elliott

    #423204

    Hi Elliot,

    OK. I did some more digging and found “solutions” from other posts and so all is well. Thank you for following up, but please consider this closed.

    Thanks and Regards,

    Tameez

    #423366

    Hi!

    Ok great, please get back to us if you should have any further questions.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Archives posts messed up’ is closed to new replies.