• Resolved chow0050

    (@chow0050)


    Hi Jan,

    I’m using your shortcode [rpr-recipe id=123] in my posts. However, when I wanted to edit my recipe (not the post) in wp-admin, it led me to the post edit page instead of the recipe edit page. i.e. I cannot access my recipe, only the post. Can you help me with this?

    Also, how do I get the id of each rpr-recipe? Right now, I’m getting the id by posting on the website and inspecting the element.

    Thanks!
    Lyn

    https://www.ads-software.com/plugins/recipepress-reloaded/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jan Koester

    (@dasmaeh)

    Hi Lyn,

    The behaviour you describe is really strange and I can’t explain it. I tried to reproduce it on my testing system but it worked es expected. When I click on ‘edit’ on the recipes overview page the recipe edit page opens also for a recipe embedded i a ‘normal’ post. So I’ can’t really tell you what the problem is. Are you sure the recipe ID is right?

    An easier way to obtain the recipe id is to use the recipe overview in wp-admin, hover the recipe you want to embed. In most browsers the link address will be displayed at the bottom and you can take the id from there.

    I’m currently working on a button for the wp editor to make using shortcodes a lot easier.

    Regards Jan

    Thread Starter chow0050

    (@chow0050)

    Hi Jan,

    I think it has got to do with the filters I’ve set. Now it’s back to normal. Sorry for the false alarm!

    Thanks for the easier way to obtain recipe id! It helps a lot!

    Cheers,
    Lyn

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cannot edit after posting recipe’ is closed to new replies.