Support » Plugin: Front-end Editor » [Plugin: Front-end Editor] Ho to Add a Custom Editable Text Area

  • Resolved iSimone

    (@isimone)


    Hey Scribu, I was wondering if you could point me in the right direction here? I am trying to get one editable field done, but I’m not entirely getting the dev page you set up yet.

    Let me give you an example, I’d like to edit this little snippet from the frontend:

    <p>A slick WordPress tumblog with a quickpress dashboard widget to easily publish content. You can edit this module in the theme options. <a title="Read More" href=""></a></p>

    What do I need to do?

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

    (@scribu)

    With the stable version (1.9.1), you can do this:

    <p><?php editable_option( 'give_it_a_name', true, 'textarea' ) ?></p>

    In the next version (2.0), you will be able to do this:

    <p><?php editable_option( array(
      'key' => 'give_it_a_name',
      'type' => 'textarea',
      'default' => 'A slick WordPress tumblog with a quickpress dashboard widget to easily publish content. You can edit this module in the theme options. <a title="Read More" href=""></a>'
    ) ) ?></p>

    Sweet thanks Scribu, I’ve seen you already tagged something 2.0.0pre so it won’t be too long before the second option.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Front-end Editor] Ho to Add a Custom Editable Text Area’ is closed to new replies.