Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter AlyseS

    (@alyses)

    Nevermind, I figured it out. For anyone else looking to do this go to:

    public_html/wp-content/plugins/recipe-schema/recipe-schema.php

    Find line 553 – public function create_recipe_post_type()
    Then go to line 586 – ‘thumbnail’
    And change it to: ‘thumbnail’, ‘author’

    That’s it. Then the option/box to select an author within the Recipes Post Type will appear

    You’ve probably moved on by now, but I found a way to fix this. I must admit I’m a novice at coding. I don’t know why or how this worked, but it did.

    The same thing happened to me all of a sudden. My all my child pages started returning 404 error pages (newly created ones and old).

    After searching, I think that it may have been because I changed my permalink structure from /%category%/%postname%/ to /%postname%/. From what I read it seems that just changing the permalinks in general can cause this kind of problem for some reason. I reset the permalinks to the default setting and the problem went away, but obviously that’s not a solution. I also changed the permissions to 666 on my .htaccess file after restoring it from a back up, and that did nothing.

    First
    Try re-saving your permalinks (this didn’t work for me, but it worked for others)

    Second
    Try resetting your permalinks to the default setting and then changing them back to your settings (this didn’t work for me, but it worked for others)

    Third – (this worked for me)

    paste this:
    global $wp_rewrite; $wp_rewrite->flush_rules();

    into your themes functions.php, refresh your website, then delete the code.

    That is what fixed all my child pages.

    I got that from here:

    https://wordpress.stackexchange.com/questions/5858/category-links-suddenly-started-giving-404-errors

    I found a way to fix this, but first, I must admit I’m a novice at coding. I don’t know why or how this worked, but it did.

    The same thing happened to me all of a sudden. My all my child pages started returning 404 error pages (newly created ones and old).

    After searching, I think that it may have been because I changed my permalink structure from /%category%/%postname%/ to /%postname%/. From what I read it seems that just changing the permalinks in general can cause this kind of problem for some reason. I reset the permalinks to the default setting and the problem went away, but obviously that’s not a solution. I also changed the permissions to 666 on my .htaccess file after restoring it from a back up, and that did nothing.

    First
    Try re-saving your permalinks (this didn’t work for me, but it worked for others)

    Second
    Try resetting your permalinks to the default setting and then changing them back to your settings (this didn’t work for me, but it worked for others)

    Third – (this worked for me)

    paste this:
    global $wp_rewrite; $wp_rewrite->flush_rules();

    into your themes functions.php, refresh your website, then delete the code.

    That is what fixed all my child pages.

    I got that from here:

    https://wordpress.stackexchange.com/questions/5858/category-links-suddenly-started-giving-404-errors

Viewing 3 replies - 1 through 3 (of 3 total)