Support » Plugin: Front-end Editor » [Plugin: Front-end Editor] Confusion over editable region.

  • Hi,

    Firstly, I love this plugin – it’s so easy to implement and makes editing the site easy for my client.

    I have an issue however with a news page I am setting up using index.php. It is formatted as follows:

    Introduction Text (Pulled from ‘News’ Page)
    List of Blog Posts

    When I want to edit the Intro text using the plugin, once I click edit, it replaces the text with the content from the first displayed post and won’t save changes. The following screenshot should demonstrate what I wish to do:

    I’m hoping it’s something simple to sort out, however this is my first ever wordpress site so I don’t fully understand the workings of PHP. I’d be grateful for any help.

    My code is as follows:

    <?php get_header(); ?> 
    	<div class="darksection">
    	<div class="container">
    	<div class="threecol">
    		if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') && is_home() ) : the_post();
    			$page_for_posts_id = get_option('page_for_posts');
    							<?php the_content(); ?>
    		if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    		<div class="postexcerpt">
    			<img class="posticon" src="<?php bloginfo('template_url'); ?>/images/post.png" alt="Post Icon"/>
    			<div class="posttext">
    			<h1><a>"><?php the_title(); ?></a></h1>
    			<p><?php the_content(); ?></p>
    			<h6><span style="color: grey">Posted on <?php the_time('F j Y'); ?> at <?php the_time('g:i a'); ?>, by <?php the_author() ?>.</span> <span style="color: #23bfe2">Read More.</span></h6>
    		<?php endwhile; endif; ?>
    					<div class="sidebar">
    					<?php if ( !function_exists('dynamic_sidebar')
    					|| !dynamic_sidebar('Sidebar News') ) : ?>
    					<?php endif; ?>
    				<div style="clear:both"></div>
    	<?php get_footer(); ?>

  • The topic ‘[Plugin: Front-end Editor] Confusion over editable region.’ is closed to new replies.