Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2245935
Changing some things
Closed

Comments

  • spartanmediang started the conversation

    Hi,

    1. Please where does the Recipe Cuisine show on the frontend when it is filled in the recipe options on the backend? http://prnt.sc/qc1a21

    Looked in customiser but there is no option to show/hide this anywhere on the site

    2. If I need to add a custom field such as the Ingredients, Instructions and Notes fields, how can i do this? Just one to maybe display kitchen items required for the recipe.

    3. How can I change the default icon displayed in the ingredients section- say to that of a kitchen icon? http://prnt.sc/qc1ahw

    Thanks.

  •  2,699
    PenciDesign replied

    Hi,

    1/ Currently, the Recipe Cuisine doesn't support for showing on front-end. It just supports for validate on Google Structure Data only. If you want to make it display, please try add more this code to Customize > Custom CSS:

    .penci-recipe-heading{ position: relative; }
    .penci-recipe-metades{ padding-right: 110px; }
    .penci-hide-tagupdated[itemprop="recipeCuisine"]{ display: block !important; clear: both; font-size: 14px; color: #888; }
    .penci-recipe-heading a.penci-recipe-print{ position: absolute; right: 25px; top: 0; margin-top: 0; }
    @media only screen and (max-width: 768px) {
    .penci-recipe-metades{ padding-right: 0; }
    .penci-recipe-heading a.penci-recipe-print{ position: static; margin-top: 5px; float: none; }
    }
    

    2/ Unfortunately, no any theme can support for a custom field like that..

    3/ What's icon you want to change for? Please select one icon in the list icons here


    Best Regards,

    PenciDesign

  • spartanmediang replied

    Thank you.

    1. It shows up on the frontend now but just shows the field input. Can it have 'Cuisine: ' in front of it please? So it matches the other fields that have the name and entry format eg "Serves: 1  Prep Time: 30 minutes  Cooking Time: 10 minutes"

    2. So this cannot be achieved with the likes of custom fields? I figured maybe an extra field can be added to the theme template that controls the recipe section.

    3. fa-cutlery

    Appreciate the support.

    Kind regards.

  •  2,699
    PenciDesign replied

    Hi,

    1/ Please try add more this code to Customize > Custom CSS to do that:

    .penci-hide-tagupdated[itemprop="recipeCuisine"]:before {
        content: 'Cuisine: ';
    }
    

    2/ Yeah, if you want to do that, you need to edit php files inside the Penci Recipe plugin. And we don't provide support for requirements like that because it take much time to do.

    3/ Please try add more this code to Customize > Custom CSS to do that:

    .penci-recipe-ingredients ul li:before{ content: "\f0f5"; width: auto; height: auto; transform: none; font-family: 'FontAwesome'; border: none; top: 2px; font-size: 13px; color: #777; }

    Best Regards,

    PenciDesign

  • spartanmediang replied

    Thanks a lot!

    1. This works just fine now. A quick question tho; is it possible for that to work as a link that when clicked it shows all recipes from that cuisine? For eg if 5 recipes have the 'French' cuisine and someone clicks on it from the frontend, it shows all dishes in that same cuisine category.

    2. Alright no problem. Could you please provide some sort of guide or an outline on the things that need to be done to achieve this?

    3. Works perfectly, cheers!

    Appreciate the support once again.

    Kind regards.

  •  2,699
    PenciDesign replied

    Hi,

    1/ Unfortunately, there is no way to sort the posts by that way.

    I recommend you use tags or categories to sort your recipes.

    2/ It's quite hard to me for let you know the guide. Because you need much exp about the code ( most is for PHP ) to do that.. It's called Meta Boxes.


    Best Regards,

    PenciDesign

  • spartanmediang replied

    Alright, thanks.

    Lastly, there seems to be a default value for the nutritional facts such as fat, etc even though nothing was set in the default section in the customiser. Where is this coming from please? And how to turn off the default values, even though i understand they are there because of google structured data.

    Kind regards.

  • spartanmediang replied

    Also, in the recipe options in customiser, what does this mean?

    "Make Ingredients is Visual Editor on Edit Recipe Screen"

  •  2,699
    PenciDesign replied

    Hi,

    1/ It's required data for validate Recipes on Google Structure data testing tool. So, we don't provide option to remove it. It just appears for google - the readers on your site doesn't see it - so you don't need to care about this.

    2/ When you edit a recipe, the Ingredients appears as a textarea. This option will make it display as an editor.

    You can give it a try to see how it workssmile.png

    Best Regards,

    PenciDesign

  • spartanmediang replied

    Alright thanks.

    1. Yes i understand this but the problem with that is google would display the recipes with that default data if rich snippets is available for the site on SERPs which i am trying to avoid since the information would be incorrect for the recipes i did not fill in the info for.

    2. Would give it a try

    Thanks for the support.

  •  2,699
    PenciDesign replied

    Hi,

    1/ But, if you don't has this feature, all your recipes can't not be validate? So, all your recipes can't be display as recipe format on google, right?

    If you want to ajust it, you can set default values for it via Customize > Recipe Options 


    Best Regards,

    PenciDesign

  • spartanmediang replied

    It's fine thanks, found it in the Recipe plugin files already. Yhh I understand I can change it from customise but I didnt want a global value set and Google can validate only the ones with values.

    Appreciate the support.

    Kind regards.