Support » Themes and Templates » More than 1 Editible Area in a Page?

  • On my “About” page I have 2 columns of text. Instead of one “edit” link for the whole page I would like 2 so its easier for people to edit the content without altering the appearance of the page.. how do I do this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you will not post the URL, how do we suppose to help ?

    u have to be logged in to see the “Edit” links so whats posting the url going to do? on a page there is 1 “Edit” link.. is there a way I can add another “Edit” link to the other column of text..

    If you will post the URL , you will see..

    And if you still think it won=t, Then maybe you should explain yourself better..
    You started the post with

    ..On my “About” page

    So I assumed that you are talking about one of your pages (rendered)..
    Now I can understand that you are not talking about YOUR about page, and about “users” , but about the ADMINISTRATION area.
    IF you are talking about a rendered XHTML , so I will ask again for the URL. (And if you still do not understand, I will say that in this way, I can identify the DIV and tell you where to put the right code..)
    IF you are talking about the admin area, than I do not understand why you would need 2 edit links .

    Ill post the code below..

    <div id="content" class="span-24 clearfix">
    <div id="aboutleft" class="span-16">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php edit_post_link('Edit This.', '<span>', '</span>'); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php endwhile; endif; ?>
    <div id="aboutright" class="span-8 last"

    This is everything between my header and footer..
    the “aboutleft” div has a small description thats where the content is so so its editable.. the “aboutright” div is where i would like to add a picture but I would want it to be editable with new pictures.. thats y I would want 2 places to edit links

    This is not enough to get an EXACT location (becasue I can not see the sidebar) nor can it be everything between the header and footer.
    but since you are insisting on not posting the URL, or the code for that matter, I will just say the obvious.

    take this

    <?php edit_post_link(‘Edit This.’, ‘<span>’, ‘</span>’); ?>

    and put it where you want.
    (Note that it has to be inside the loop, which means your sidebar maybe should be moved and css corrected – but with no URL, you will have to do it yourself…)
    hope you can find where and how .

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘More than 1 Editible Area in a Page?’ is closed to new replies.