WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
[resolved] Front end editor not working with custom fields (9 posts)

  1. schmackLab
    Member
    Posted 3 years ago #

    I'm having trouble getting FFE to work with my custom fields.

    Here's the code: http://pastebin.com/rS5p8spr

    The title is editable but non of the custom fields that get echoed out are. Thanks for your help!

  2. Bill Dennen
    Member
    Posted 3 years ago #

    Check out editable_post_meta.

    editable_post_meta($post->ID, ‘my_key’, ‘textarea’);

  3. schmackLab
    Member
    Posted 3 years ago #

    You rock! That seems to work great, thanks!

  4. scottcorgan
    Member
    Posted 3 years ago #

    editable_post_meta isn't letting me make that area editable on the front end. I've used the code you have posted.

    Thanks.

  5. Bill Dennen
    Member
    Posted 3 years ago #

    There were some curly quotes in what I posted. This might help?

    editable_post_meta($post->ID, 'my_key', 'textarea');

    I've had some trouble with line breaks, and this code has worked for me:

    echo wpautop( editable_post_meta(get_the_ID(), 'publications', 'rich', false) );

  6. scottcorgan
    Member
    Posted 3 years ago #

    The problem is that the text is showing up, but it's not editable.

    Does that make sense?
    Thanks.

  7. Bill Dennen
    Member
    Posted 3 years ago #

    In the Front-end Editor settings, you may need to enable:

    Enable or disable editable fields --> Post custom fields

  8. scottcorgan
    Member
    Posted 3 years ago #

    Ok, now I just feel dumb. I did everything but that...

    Don't tell anyone about this... ha

    Works now.

    Thanks so much!

  9. Bill Dennen
    Member
    Posted 3 years ago #

    it can be our secret. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic