Hello! I have been trying to figure out what happened to simple post Featured Image that it's set but not showing.
I have over 500 posts that needs to show Featured Image and instead I noticed that there is an option in each page/post that needs to be check manually one by one. I hope that there's an easy option to change with a basic solution.
I also would like to please have the images resized/responsive on the simple post. I installed Regenerate Thumbnails but it didn't change anything.
Regarding child theme (in order to not loose this code), where exactly I should add it? functions.php? Would not be better to have that option ( default post image ) on your next update?
I have 4 other questions regarding the blog (single page), default image size, category, Blog Post & News Settings:
1) Some of the image from my posts has variety of sizes, some big, other small. Is the theme offer any way to control the size for "single post page" to have the same size in all posts (cropping option), and for visitors to be able to open the default image with a click? Something like this (image attached): https://codex-themes.com/thegem/blog/classic-list/blog-list-default-sidebar-right/
2) Where could I change the url "/category/". The main blog has a different style and the "category" is showing a list/simple style instead, I actually would prefer to link back to the main blog page or to remove that option completely. Is it possible?
3) In Theme Options I already checked to: Hide author name, Hide date, Hide categories and Hide comments icon, but is still showing in the "category" page. (image attached)
4) Where is located the option to have the heart for visitors to click on each post? I don't see it anywhere in theme options. (image attached).
1. in this style used the size thegem-blog-default-large with the size 1170px x 540px, in order to overwrite this size in the child theme you need to add following to the functions.php of the child theme path to the file:
/wp-content/themes/thegem-child/functions.php
Here you can set the size you wish to use there (exmaple):
Hi Gregor, I am not happy with the results of the default image in a single post.
1) If I create a new post now, the default image takes over the sidebar and if I check the option in (Blog Item Settings > Featured Image> Show Featured Content, The post shows doubledefault image. I believe that is related to the code above?
These default images are NOT responsive and it's taking over the mobile screen.
Another question is that this code dosen't work on childtheme, only on /wp-content/themes/thegem/content-page.php. (will it get lost if update the theme in the future?)
Please check 2 attached images
<?php the_post_thumbnail( 'full' );?>
2) This code it's not working and I am not using it:
Hello! I have been trying to figure out what happened to simple post Featured Image that it's set but not showing.
I have over 500 posts that needs to show Featured Image and instead I noticed that there is an option in each page/post that needs to be check manually one by one. I hope that there's an easy option to change with a basic solution.
I also would like to please have the images resized/responsive on the simple post. I installed Regenerate Thumbnails but it didn't change anything.
https://codex-themes.com/thegem/simple-blog-post-21/
Thank you!
Hi,
1. pls. provide the wp-admin and FTP access.
2. Sorry, can you add some screenshots to describe what you need to achieve details? Thank you.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi,
you need to edit template:
/wp-content/themes/thegem/content-page.php
And add code:
In the place you need to show featured image. For example after the line 67.
Before the editing copy this file to the child theme for the safety feature updates.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Thanks code worked!
Regarding child theme (in order to not loose this code), where exactly I should add it? functions.php? Would not be better to have that option ( default post image ) on your next update?
Thank you!
I have 4 other questions regarding the blog (single page), default image size, category, Blog Post & News Settings:
1) Some of the image from my posts has variety of sizes, some big, other small. Is the theme offer any way to control the size for "single post page" to have the same size in all posts (cropping option), and for visitors to be able to open the default image with a click? Something like this (image attached): https://codex-themes.com/thegem/blog/classic-list/blog-list-default-sidebar-right/
2) Where could I change the url "/category/". The main blog has a different style and the "category" is showing a list/simple style instead, I actually would prefer to link back to the main blog page or to remove that option completely. Is it possible?
3) In Theme Options I already checked to: Hide author name, Hide date, Hide categories and Hide comments icon, but is still showing in the "category" page. (image attached)
4) Where is located the option to have the heart for visitors to click on each post? I don't see it anywhere in theme options. (image attached).
Thank you :)
Hi,
1. in this style used the size thegem-blog-default-large with the size 1170px x 540px, in order to overwrite this size in the child theme you need to add following to the functions.php of the child theme path to the file:
/wp-content/themes/thegem-child/functions.php
Here you can set the size you wish to use there (exmaple):
if you need to remove the cropping in the end of the file change true to false
After you add this code to the functions.php you need to start regenerate thumbnails plugin to see the changes:
https://wordpress.org/plugins/regenerate-thumbnails/
And them click purge thumbnails cache in the top bar (near theme options tab)
2. Attach
3. There you can hide it for the blog page, not for the shortcode, you can hide it wia thew following css:
Or remove in the template:
/wp-content/themes/thegem/content-blog-item.php
4. You need to install the plugin: ZillaLikes
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi Gregor, I am not happy with the results of the default image in a single post.
1) If I create a new post now, the default image takes over the sidebar and if I check the option in (Blog Item Settings > Featured Image> Show Featured Content, The post shows double default image. I believe that is related to the code above?
2) This code it's not working and I am not using it:
( /wp-content/themes/thegem-child/functions.php)
3) Is it better to created an admin for you to fix this? I am still working on "coming soon page", but need to launch it next week asap.
Thank you!
Hi,
Pls. provide the access for me, I can't say you anything without the access/
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver