Braian Menkhoff
Forum Replies Created
-
Forum: Plugins
In reply to: [Cooked - Recipe Management] Error in class.cooked-shortcodes.phpThank you ??
Forum: Plugins
In reply to: [Cooked - Recipe Management] Error in class.cooked-shortcodes.phpThere is no specific recipe! That php warning is in my error-log
I did this tweak in my local, it seems like solved the issue but do you think it’s a good approach? I have large amount of recipes I wanna make sure, before going online with this fix
if ( isset($gallery_items) && !empty($gallery_items) ):
foreach( $gallery_items as $item ):
$image_src = wp_get_attachment_image_src( $item, [900, 900] );
$image_title = get_the_title( $item );
if ( is_array($image_src) && isset($image_src[0]) ) {
$gallery_html .= '<a href="' . esc_url( $image_src[0] ) . '" data-alt="'.esc_attr( $image_title ).'" data-caption="'.esc_attr( $image_title ).'">
<img alt="'.esc_attr( $image_title ).'" src="' . wp_get_attachment_image_url( $item, 'thumbnail' ) . '" />
</a>';
}
endforeach;
endif;Forum: Plugins
In reply to: [Cooked - Recipe Management] Error in class.cooked-shortcodes.phpI’m guessing that if there is no image in a recipes gallery it returns the php warning!
Forum: Plugins
In reply to: [Cooked - Recipe Management] Recipes Based on IngredientsIf you are working on this Idea, the recipes based on calories can also be a good feature!
I would like to suggest a feature where users can input their desired daily calorie intake and select recipe categories (Main Course, Dessert, Drinks, etc.). The system would then provide recipe suggestions or packs that fit within the specified calorie range.
For example, If a user inputs “2000 calories” and chooses “Main Course, Breakfast, and dessert” the plugin could display a list of recipes optimized to help them stay within their calorie goals.
This feature could enhance user experience and make it practical for athletes or health-conscious users.
Forum: Plugins
In reply to: [Cooked - Recipe Management] Recipe Structure and SEOOh, you got the idea and made it perfect, that would actually boost SEO
Forum: Plugins
In reply to: [Cooked - Recipe Management] Recipes Based on IngredientsNow that you are open to suggestions, can we also get “Related recipes” short-code that are based on keywords, cuisines, or even ingredients used in recipes other factors?
Forum: Plugins
In reply to: [Cooked - Recipe Management] Custom post typeWhat I meant by my previous comment is that the Cooked plugin creates a custom post type for recipes, but I’m looking to migrate those recipes to WordPress’s default post type. Is there an automated or easier way to do that?
Forum: Plugins
In reply to: [WP Recipe Maker] Import recipes from cooked (notes)Thank you for the response. Just emailed you.
Forum: Plugins
In reply to: [Cooked - Recipe Management] Bulk inputWhat a quick answer. Thanks.
I’ma start migrating to this plugin
You’re truly making this plugin perfect, Thanks for your hard work ??