WordPress.org

Ready to get started?Download WordPress

Forums

More than 1 Editible Area in a Page? (6 posts)

  1. JaymeNYC
    Member
    Posted 4 years ago #

    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?

  2. krembo99
    Member
    Posted 4 years ago #

    If you will not post the URL, how do we suppose to help ?

  3. JaymeNYC
    Member
    Posted 4 years ago #

    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..

  4. krembo99
    Member
    Posted 4 years ago #

    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 .

  5. JaymeNYC
    Member
    Posted 4 years ago #

    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>
    <div id="aboutright" class="span-8 last"
    </div>

    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

  6. krembo99
    Member
    Posted 4 years ago #

    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 .

Topic Closed

This topic has been closed to new replies.

About this Topic