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

    (@brechtvds)

    The recipe post type was converted to a regular post. Links to those post should still work and old links should still work with a redirect: https://help.bootstrapped.ventures/article/96-import-from-wp-ultimate-recipe

    Can you give me a link to the site?

    Thread Starter nikxs

    (@nikxs)

    yes of course, ledolcipagnotte.com for ex old: https://www.ledolcipagnotte.com/recipe/pane-azzimo/
    I understood recipe->post, I followed your guide and also installed the redirections, the links from google also work, but as shown in the screenshot the menu does not work, it is not updated, it is a problem because the links are more than a hundred !

    • This reply was modified 4 years, 1 month ago by nikxs.
    Plugin Author Brecht

    (@brechtvds)

    And you are always manually putting those recipes inside of your menu? It’s a bit of a strange way of doing things. Why not have an overview page where you show all recipes per category?

    Or something like the grid examples here:
    https://demo.wprecipemaker.com/recipe-index/

    Thread Starter nikxs

    (@nikxs)

    I can’t answer, because I don’t write the recipes and she has always added the links manually, now I can also help to create a view as you suggested, but there is no way to rebuild the menu links? saving the permalinks does not work have I already tried!

    Plugin Author Brecht

    (@brechtvds)

    Are the actually gone from the menu on the website as well? I would expect the menu to just use the post ID to link and that ID hasn’t changed.

    Thread Starter nikxs

    (@nikxs)

    they disappeared from the menu! the links to the menu have been inserted manually by selecting the recipe, not pasting the link, if you see the screenshot from error but it is actually correct, opening the menu you see:

    https://prnt.sc/zzcuny

    Plugin Author Brecht

    (@brechtvds)

    I just tested adding a WP Ultimate Recipe recipe to a menu and then importing that recipe and it works fine for me. You did use the “Convert to Posts” option when importing to WP Recipe Maker?

    Thread Starter nikxs

    (@nikxs)

    the answer is yes; I selected “Convert to Posts”. I found the error, after checking everything I deactivated and deleted the old plugin “WP Ultimate Recipe”, this is what breaks the links! Can’t delete the old plugin?

    Plugin Author Brecht

    (@brechtvds)

    Oh right. I forgot to test deactivating WP Ultimate Recipe.

    One way to fix this is to search the wp_postmeta database table to rows where the meta_key is _menu_item_object and the meta_value is recipe.

    For those rows you’d want to replace recipe with post, which should bring those menu items right back.

    Send an email to [email protected] if you’re not sure how to do this.

    Thread Starter nikxs

    (@nikxs)

    Great! I will try to make an update query, thanks for your prompt assistance!

    Thread Starter nikxs

    (@nikxs)

    I hope I did well:
    1. first of all, backup the database!
    2. select query to check how many records:
    SELECT * FROM ma_postmeta WHERE ma_postmeta.meta_key = “_menu_item_object” AND ma_postmeta.meta_value = “recipe”

    3. update query to replace “recipe” with “post”:
    UPDATE ma_postmeta SET meta_value = ‘post’ WHERE ma_postmeta.meta_key = “_menu_item_object”
    AND ma_postmeta.meta_value = “recipe”

    the menu now works fine! thanks for the support!

    Plugin Author Brecht

    (@brechtvds)

    That looks correct, happy to hear that worked! Just let me know if you experience any other issues at all.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Invalid menu after import’ is closed to new replies.