- This topic has 16 replies, 2 voices, and was last updated 8 years, 2 months ago by Tom.
-
AuthorPosts
-
January 29, 2016 at 4:10 am #168777Tony
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 #168780TonyIs it just a change from ‘true’ to ‘false’ in the code somewhere?
January 29, 2016 at 11:07 am #168878TomLead 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 #168884TonyIf 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 #168890TomLead DeveloperLead DeveloperLeave the height blank or set it to 0 and it should work π
January 29, 2016 at 12:45 pm #168902TonyNo, 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 #168903Tonyreply above. This in error
- This reply was modified 8 years, 2 months ago by Tony.
January 30, 2016 at 12:26 am #168947TomLead DeveloperLead DeveloperInteresting – looks like a bug.
I’ll get the fix into the upcoming version.
Thanks!
January 30, 2016 at 10:35 am #169047TomLead DeveloperLead DeveloperThis has been fixed in the upcoming version π
January 31, 2016 at 8:36 am #169298TonyI have updated the theme and it is not fixed – still as above
January 31, 2016 at 9:07 am #169322TomLead 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 #169347TonyOK 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 #169348TomLead DeveloperLead DeveloperAbsolutely – all changes can be found here: https://generatepress.com/category/development/
January 31, 2016 at 10:19 am #169356TonyI 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 #169373TomLead 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/
-
AuthorPosts
- You must be logged in to reply to this topic.