-
AuthorPosts
-
May 29, 2015 at 11:09 pm #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
RhoodyMay 30, 2015 at 11:55 am #451983added Info,
if the archive pages look like a search-result page it would be fine. small featured image, headline, excerpt
June 1, 2015 at 4:51 pm #452626Hi!
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!
ElliottJune 1, 2015 at 9:54 pm #452788Elliot,
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 10 years, 5 months ago by
Rhoody. Reason: implemented line of code did not bring the desired result
June 1, 2015 at 11:03 pm #452824This reply has been marked as private.June 2, 2015 at 10:55 am #453058Hey!
Use this plugin to configure the archive excerpt: https://wordpress.org/plugins/advanced-excerpt/
Regards,
IsmaelJune 2, 2015 at 12:38 pm #453098been 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
June 3, 2015 at 4:46 pm #453923Hi!
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,
ElliottJune 3, 2015 at 8:58 pm #454095Awsome,
Thanks Elliott, this did the trick :-)
Cheers
Rhoody -
This reply was modified 10 years, 5 months ago by
-
AuthorPosts
- The topic ‘Archives: Featured Image and Excerpt’ is closed to new replies.
