Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jano007

    (@digitalapex)

    I figured this needs to be added manually into, open class-fee.php and add:

    add_post_type_support( ‘xxxx-type name-xxxx’, ‘front-end-editor’ );

    Hi,

    I add :

    add_post_type_support( 'types_recette', 'front-end-editor' );
    add_post_type_support( 'types_livre', 'front-end-editor' );

    but I could not edit this custom post types

    Thanks for any idea.

    A. Philippe

    Jano007, I got this working on my custom posts following your advice. Thank you for sharing! I did spend a few minutes in trail and error because I was attempting:

    add_post_type_support( ‘post customname’, ‘front-end-editor’ );

    then realized I just needed:

    add_post_type_support( ‘customname’, ‘front-end-editor’ );

    Sharing for other newbies like me who might get confused thinking that you need to include a ‘type’ to get this fantastic little piece of code to work.

    Thanks again!

    Thanks for this advice.

    But you should not edit the plugin’s file “class-fee.php” as your changes will get overwritten when updating the plugin.

    Just add these lines to your function.php.

    /* front end editing in custom post-types */
    add_post_type_support( 'mycustomposttype', 'front-end-editor' );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘In page editing on custom post types’ is closed to new replies.