BrechtVds on "[Plugin: WP Ultimate Recipe] default recipe template 2016 - vertical image is squashed"

ساخت وبلاگ

elizabethykw
Member
Posted 10 hours ago #

Hey wp ultimate recipe, thanks for the lovely plugin, it's been pretty great thus far.

I have one problem though, and that is when I'm using the default recipe template 2016, the image is squashed. There's no problem with horizontal images, but I'm shooting vertical images because of pinterest.

I actually don't mind not having the image there at all. Is there a way to either remove the image or display a cropped, square version of it?

Thanks in advance!

https://wordpress.org/plugins/wp-ultimate-recipe/

Hi there,

Could you give me a link to a recipe with this issue so I can take a look?

If you want a cropped, square version you could try installing this plugin: https://wordpress.org/plugins/simple-image-sizes/

That allows you to create a new image thumbnail size on the Settings > Media page. You would create a new 180x180 size and set it to cropped. Make sure to regenerate the thumbnails on that same settings page as well.

Once you've done so, all photos should now have an exact 180x180 cropped thumbnail available to display and the template should automatically pick that one.

Brecht

elizabethykw
Member
Posted 32 minutes ago #

Whoops, thought I posted the link here! My bad.

http://thelazybroccoli.com/recipe/vegan-udon-soup-aburaage/

Thanks for the suggestion! Is there any way to not show the image at all?

If you don't want the image to show you could hide it with some CSS. Try adding the following on the Recipes > Settings > Custom Code page:

.wpurp-recipe-image {
display: none;
}

Brecht

elizabethykw
Member
Posted 1 minute ago #

Fantastic. Thanks Brecht for the prompt reply and the easy solution :)

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 261 تاريخ : چهارشنبه 6 مرداد 1395 ساعت: 21:59