• 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!!

    https://www.ads-software.com/extend/plugins/front-end-editor/

  • The topic ‘Editing theme images’ is closed to new replies.