- This topic has 16 replies, 2 voices, and was last updated 10 years, 6 months ago by
Tom.
-
AuthorPosts
-
January 29, 2016 at 4:10 am #168777
Tony
Is it possible to enable a soft crop of the image with a defined size instead of just the hard crop?
January 29, 2016 at 4:25 am #168780Tony
Is it just a change from ‘true’ to ‘false’ in the code somewhere?
January 29, 2016 at 11:07 am #168878Tom
Lead DeveloperLead DeveloperIf you leave one of the values blank or give them the value of ‘9999’, soft crop will be enabled and will take the resize proportionally from the real value.
January 29, 2016 at 11:29 am #168884Tony
If you set image width to 9999 and the height to whatever size you require this works but, so far as I can see not the other way i.e. Width to required size and height to 9999.
Should it work both ways? Would be nice if it did.Also sizes featured image as they both use the same variable (or whatever it’s called).
January 29, 2016 at 11:54 am #168890Tom
Lead DeveloperLead DeveloperLeave the height blank or set it to 0 and it should work 🙂
January 29, 2016 at 12:45 pm #168902Tony
No, fail.
set width to, say, 200px and height to 0 or 9999 or blank and width is set to 200px and height is not scaled.
http://loveitphotography.uk/uncategorized/blog-4/January 29, 2016 at 12:53 pm #168903Tony
reply above. This in error
-
This reply was modified 10 years, 6 months ago by
Tony.
January 30, 2016 at 12:26 am #168947Tom
Lead DeveloperLead DeveloperInteresting – looks like a bug.
I’ll get the fix into the upcoming version.
Thanks!
January 30, 2016 at 10:35 am #169047Tom
Lead DeveloperLead DeveloperThis has been fixed in the upcoming version 🙂
January 31, 2016 at 8:36 am #169298Tony
I have updated the theme and it is not fixed – still as above
January 31, 2016 at 9:07 am #169322Tom
Lead DeveloperLead DeveloperThe theme doesn’t have the page header functionality – GP Premium/Generate Page Header does.
The fix will be in those updates 🙂
January 31, 2016 at 9:51 am #169347Tony
OK thanks – my bad.
Is there a list of changes/fixes etc. in the latest theme release?
I’ve looked but can’t see one.January 31, 2016 at 9:52 am #169348Tom
Lead DeveloperLead DeveloperAbsolutely – all changes can be found here: https://generatepress.com/category/development/
January 31, 2016 at 10:19 am #169356Tony
I have replaced my back to top plugin with yours – one less thing to go wrong thank you!
————————–
Where do I find filters and their parameters please?
I guess my question really is – how do I set them?New filter: generate_back_to_top_icon
New filter: generate_back_to_top_scroll_speed
New filter: generate_back_to_top_start_scroll
—————————
What is ‘schema.org’ and what is the benefit of ‘Improve schema.org handling?
Should I know about this? I’m guessing it’s a list of variables but for css or php?
—————————
Is there a custom php function like the custom css?January 31, 2016 at 10:45 am #169373Tom
Lead DeveloperLead DeveloperYou can see how to add filters here: https://generatepress.com/knowledgebase/filter-list/
You only need to use them if you want to change something about the button.
Schema is a way for your website to communicate with search engines – it lets them know which element is the page headline, which element holds your content etc.. No need for you to do anything about it 🙂
As for the custom PHP option, this might help: https://generatepress.com/knowledgebase/adding-php-functions/
-
This reply was modified 10 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.