Tagged: Blog, cropping, enfold, featured image, full size, original size, php, Single Page
-
AuthorPosts
-
October 19, 2018 at 9:36 pm #1024226
It’s been almost a year since I first begged for this, now in 4.5 there is still no option to display the featured image in its complete, full size on the blog roll & single page.
PLEASE, PLEASE, PLEASE … can someone just give me some code to make this happen? I don’t want to use the builder to make a custom layout because it has no “tags” module that I can see. I would like to have ALL the benefits of a non-builder blog post page (title, metadata, post, tags, sharing, and comments), only without my image being chopped off on the top and bottom! I am baffled that this appears to be such a strange request.
No plugins please! (But if that’s my only option I’ll take it) I can work a child theme and add any CSS and PHP that is required … I just need to know what it is.
In advance … Thank you so much!
PS – my client will not allow the website to be viewed before launch … but that shouldn’t be necessary
October 23, 2018 at 3:00 pm #1025448Hey ZacharyKnight,
Thank you for using Enfold.
You can actually modify the includes > loop-index.php file in your child theme to override the default thumbnail settings. Just look for this code around line 66:
*/ $size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square';
Set the default thumbnail sizes from “entry_with_sidebar” and “entry_without_sidebar” to “full” or “extra_large”.
Best regards,
IsmaelOctober 24, 2018 at 5:06 am #1025782Oops … I honestly had no idea that a child theme needed to be created before any settings were touched! Wow.
So, to do this retro I could export settings and import them into the child? If so, do I lose anything else by adding a child late?My only other option is to modify the theme’s PHP file and make that modification after each update, correct?
I will of course make a backup first :)Also, in my version of Enfold (4.5) the file is named “includes/loop-index.php” … that line is on 66 just like you said.
Thank you, Ismael
October 24, 2018 at 2:29 pm #1025905Hi,
Yes, you can import the parent theme settings after creating a child theme. You won’t lose anything as long as the theme option import is successful. More info in the documentation.
// https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#why-child-theme
Best regards,
IsmaelOctober 24, 2018 at 11:33 pm #1026155Ok I’ll check it out … so far I’ve modified the PHP directly and it worked perfectly!
Thank you, Ismael … I consider this successfully closed.
October 25, 2018 at 8:15 pm #1026516Hi ZacharyKnight,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.