WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
Editing theme images (1 post)

  1. webnetimages
    Member
    Posted 1 year ago #

    Replacing (line95):

    <img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" />

    with:

    <?php editable_image(
    'header-1',
    get_bloginfo('template_url') . '/images/header_1.jpg',
    array(
    'width' => 940,
    'height' => 198,
    'alt' => get_bloginfo('name')
    )
    ); ?>

    Works ok, but 2 issues:

    1. If desactivate the pluging, fatal error appears:
    Fatal error: Call to undefined function editable_image() in /home/planbonu/public_html/wp-content/themes/twentyten-frontend/header.php on line 95

    2. Running with the pluging activated, the edit button doesn´t appears in the propper place (on the left side of the image)

    Great plug, I think the best for front end!!

    http://wordpress.org/extend/plugins/front-end-editor/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.