Okay
  Public Ticket #529689
Several questions and issues
Closed

Comments

  • Talya started the conversation

    Hi, I have recently purchased the socialChef template and I like it very much. I am currently working on adjusting it to feature books rather than recipes. I would appreciate your help with a couple of topics:

    1. I have configured my site like this: when a user is not logged in, he is directed to the home page based on the SocialChef home page template with the intro. When a user logs in he is directed to a different page (I refer to it as "main") as suggested under Dashboard -> Appearance -> Theme Options -> Page Settings -> Redirect to after login. This is working as expected when a user who is not logged in goes to the site url, sees the home page, clicks the login and is then directed to the "main" page. However if the user is already logged in and goes to the home url, he is directed to the home page which displays the intro teaser when logged in, and not the main page as expected. Is there a way to ensure that logged in users arriving to my site are directed to the main page instead of seeing the home intro teaser when logged in?

    2. I am using portrait pictures per recipe rather than landscape pictures. The pictures are cropped in the Recipe list page and in the SocialChef: Recipe list widget. Can you provide a couple of pointers which fixes to apply to the code so portrait pictures are displayed fully?

    3. In a single recipe page, can you advise how to display the categories associated with the recipe?

    Thanks for your help

  •  2,056
    Theme replied

    Hello,

    1) For the intro widget we have separate texts that you can show to logged in vs logged out users.
    If you need to have separate pages for logged in vs logged out users, you can use a plugin like this one, to restrict access to one page for logged in users, while the other for logged out users:
    https://wordpress.org/plugins/user-specific-content/

    2) Adding the following code to your css file should help:

    .entry figure {height:auto;}
    .entry figure img {min-height:auto;}

    3) This is unfortunately not possible by default.

    However you can add the following code to your single-recipe.php for categories to show:

    <div class=\"categories\"><?php the_terms( $post->ID, \'recipe_category\', \'Categories: \', \' \' ); ?></div>

    Thank you

    Best regards,

    themeenergy support