• Resolved gitika18

    (@gitika18)


    I just installed wp ultimate recipe plugin and posted my first recipe with it. After I hit publish, it said that it is published and showed up on my website within the specified category. But doesn’t show anything when I’m logged off. No recipe, not even category. I added new category with this recipe (first recipe within this new category). My number of posts hasn’t changed either. I was using ziplist previously and all my recipe before this new one are with ziplist and are showing up there on the site and are also recorded as posts.

    Also, my featured image doesn’t show up either with the excerpt but shows up within the post and recipe box (while I’m logged in of course).

    Please help.

    Thanks.

    https://www.ads-software.com/plugins/wp-ultimate-recipe/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi there,

    That sounds like a theme incompatibility issue. Would it be possible to switch to a default theme like Twenty Fourteen for a second and see if it works then?

    Kind regards,
    Brecht

    Thread Starter gitika18

    (@gitika18)

    Hi, Thanks for your reply! The post shows up now without changing the theme. I think it happened because I checked the subcategory but not the parent category (recipe) as it was already showing in the permalink. But after I checked the main category, it shows up.

    However, The image still doesn’t show up. I did not insert any image in the post but set my desired image as featured image. I thought if I insert image as well as set the same image as featured image (to show up with excerpt) it’ll use extra space.
    Is that a right way to do it for this plugin?

    I really liked the plugin so far. However, need to figure out a couple of things.

    Thanks again for your prompt response! ??

    Plugin Author Brecht

    (@brechtvds)

    Could you check the Recipes > Settings > Recipe Archive page and see what the “Recipe Thumbnail” setting is set to?

    Thread Starter gitika18

    (@gitika18)

    Thumbnail setting was set to – ‘only on archive pages’ which I changed to ‘Always’ still no change.

    Plugin Author Brecht

    (@brechtvds)

    Then it’s probably a theme issue. Would it be possible to send a zip file of your theme to [email protected] so I can take a look?

    Brecht

    Plugin Author Brecht

    (@brechtvds)

    I was able to make it work by adding the following code to your theme’s functions.php file:

    add_action( 'generate_after_entry_header', 'generate_recipe_image' );
    function generate_recipe_image()
    {
    
    	if ( !has_post_thumbnail() )
    		return;
    
    	if ( 'recipe' == get_post_type() && !is_single() ) {
    		?>
    		<div class="post-image">
    			<a href="<?php the_permalink();?>" title="<?php the_title(); ?>"><?php the_post_thumbnail(); ?></a>
    		</div>
    	<?php
    	}
    }
    Thread Starter gitika18

    (@gitika18)

    Thanks for the code! Can you please tell, where exactly I add this code in the functions.php file. I mean can I add it anywhere in the file after one line of code ends? ??

    I better learn a little bit of coding stuff!! feel so dumb :O

    Thanks.

    Plugin Author Brecht

    (@brechtvds)

    Try adding it after the opening <?php tag. So just pasting it on the next line.

    Thread Starter gitika18

    (@gitika18)

    Hey, i hadn’t worked on the site for a while. I today added the code to display the image and it works perfectly ?? However, the image does not align left under the title like other images in the previous posts. Can you please tell how to change the alignment?
    I want it slightly left so that the left side of the image and the beginning of the post’s titles align.
    Thanks for the code again!

    Plugin Author Brecht

    (@brechtvds)

    Hi again,

    Could you give me an example link of the problem and a link to how it’s supposed to look?

    Brecht

    Thread Starter gitika18

    (@gitika18)

    Hi Brecht, here is the link- https://www.plantbasedhealthy.com

    The top post’s image is the problem and the image below (previous post) is how it is suppose to look like left alignment wise. I know the image sizes are slightly different but I just wanted the top image to be slightly on left.

    Thanks.

    Plugin Author Brecht

    (@brechtvds)

    You can add some custom CSS to have the images align to the left instead of centered, like your theme does.

    Try adding the following CSS on the Recipes > Settings > Custom Code page:

    .post-image { text-align: left !important; }

    Thread Starter gitika18

    (@gitika18)

    Thanks! Works perfectly ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Recipe doesn't show up when I'm logged out’ is closed to new replies.