Support » Plugin: Front-end Editor » Editing theme images

  • Replacing (line95):

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


    <?php editable_image(
    get_bloginfo(‘template_url’) . ‘/images/header_1.jpg’,
    ‘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!!

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