Your Time:
Our Time:
← Back to discussions

Hide desciption before recipe

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 18 replies, 2 voices, and was last updated 9 years, 1 month ago by debnickaodbabicky.

  • 2017-08-11 at 2:26 pm
    Support Expired
    #21427
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    Hello, please advice. When using normal post content, so it will appear before the recipe as a classic post and in the recipe as Description. How do I do not show up before the recipe?

    2017-08-12 at 7:01 pm
    #21432
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Can you please share a screenshot and show me which section of the content you wish to hide so that i can help you out in hiding that.

    2017-08-14 at 12:00 pm
    Support Expired
    #21440
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37
    This reply has been marked as private.
    2017-08-14 at 12:48 pm
    #21441
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    I see that you have content written in the content editor area. Remove that from that place and write in place of quick description area.

    2017-08-14 at 1:05 pm
    Support Expired
    #21442
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    With your colleague, Pam Reddy, I wrote about it in the ticket: “Recipe gallery and category list.” And wrote to me that: “The description comes from the content editor. We have disabled the content editor in the previous version. Now I have enabled it. You can edit the description from the content editor section in post.”

    2017-08-14 at 1:07 pm
    Support Expired
    #21443
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    The demo recipe was: “Use this as normal post content. The recipe will automatically be included at the end of the post, or wherever you place the shortcode: [recipe]”

    2017-08-14 at 2:53 pm
    #21447
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    So you mean you want to use that content editor as it was disabled. So let me know which section you want to remove? the top or the bottom one on a recipe page?

    2017-08-14 at 4:42 pm
    Support Expired
    #21451
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    the top, but it is possible to remove it only on recipe Cook pro posts?

    2017-08-16 at 12:41 pm
    Support Expired
    #21457
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    It is possible?

    2017-08-16 at 4:21 pm
    #21463
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Yes its possible to remove only in the recipe posts but you need to edit that in the plugin files. So for future references I will mention here in forum so that you can update it whenever you wish make a change.

    Open the file *wp-content/plugins/cook-pro/post-type/recipe.php*
    Find the code
    'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes', 'comments', 'editor' ),

    Remove the ‘editor’ from it including single quotes.

    2017-08-16 at 5:41 pm
    Support Expired
    #21464
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37
    This reply has been marked as private.
    2017-08-16 at 6:13 pm
    #21465
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    If you can provide us WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.
    Note: Before providing the wp-logins to any support staff, kindly please make sure you take a backup of everything including wordpress content, theme options, widgets etc.

    2017-08-16 at 6:45 pm
    Support Expired
    #21466
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37
    This reply has been marked as private.
    2017-08-16 at 8:07 pm
    #21468
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Thanks for the login details. We have checked it and found that it’s from the content editor but we can’t remove the one from the top but if you wish we can remove from the bottom of the image.

    2017-08-17 at 2:33 pm
    Support Expired
    #21472
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    And could it be done so that Cook Pro uses a different Post Format, for example Audio (which we do not use), and remove Post Content from this format so it would only show it under the image?

    2017-08-17 at 2:56 pm
    #21473
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Hmmm, an idea is good but not yet tested. We will consider testing it and let you know on it.

    2017-08-28 at 1:28 pm
    Support Expired
    #21568
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    One more question. It is possible to add the option to change the post format in recipe editor http://prntscr.com/gdwlq5 ?

    2017-08-29 at 6:19 pm
    #21587
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Open recipe.php file located in dir as here the cook-pro/post-type/recipe.php and find the supports array key and on the right side, you will find the values which support that post type posts. add the post-formats also for that in last after editor. Check How I did below.

    array( 'title', 'author', 'thumbnail', 'page-attributes', 'comments', 'editor','post-formats'),
    
    2017-08-30 at 2:11 pm
    Support Expired
    #21594
    debnickaodbabicky
    Participant
    • Topics: 4
    • Replies: 33
    • Total posts: 37
    • Post count: 37

    Thank you, it´s great.

You must be logged in to reply to this topic.