Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #451837

    Good day,

    I’d like to have Title, Featured Image and Excerpt only on my archive pages. not the whole post.
    As I have posts with up to 150 images in galleries the archives take “forever” to load. Is there any option to do that ?

    Added Info. I use the normal editor for most post, but occasionally the Advanced Layout Editor. Just in case this is important.

    Regards
    Rhoody

    #451983

    added Info,

    if the archive pages look like a search-result page it would be fine. small featured image, headline, excerpt

    #452626

    Hi!

    So your trying to have your archives display the excerpt instead of the full post content correct? Try opening up /enfold/includes/loop-index.php and change line 30 from this.

    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content";
    

    To this.

    $blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "excerpt_read_more";
    

    Cheers!
    Elliott

    #452788

    Elliot,
    thanks. almost there.

    The archives show now how I want it. However, clicking on a post goes to the excerpt of the post with another “read more” which reloads the same page again resulting in a endless “read more” circle without getting to the actual post.

    http://dumaguete.com/category/galleries/

    • This reply was modified 9 years, 6 months ago by Rhoody. Reason: implemented line of code did not bring the desired result
    #452824
    This reply has been marked as private.
    #453058

    Hey!

    Use this plugin to configure the archive excerpt: https://wordpress.org/plugins/advanced-excerpt/

    Regards,
    Ismael

    #453098

    been there, done that. This plugin doesn’t work at all for galleries, as a matter of fact, it broke the whole installation after the 4.2 update.

    Elliott’s line of code was heading the right direction, just created a “read more” loop

    #453923

    Hi!

    Sorry, didn’t think of that. Revert the change and then add this beneath it on line 31.

    if (!is_single()) { $blog_content = "excerpt_read_more"; }
    

    Best regards,
    Elliott

    #454095

    Awsome,

    Thanks Elliott, this did the trick :-)

    Cheers
    Rhoody

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Archives: Featured Image and Excerpt’ is closed to new replies.