Forums

How make 2 divs on one page editable? (3 posts)

  1. vytaulla51
    Member
    Posted 1 year ago #

    Hi:
    I have created a theme for a website that isn't a blog. On some of the pages I want to have information laid out in 2 columns. I have no problem creating the columns in CSS with floating divs. What I don't know how to do is access both columns on the page in the admin.

    I create a custom template - done. I have 2 divs, say, leftcol and rightcol. I want to be able to put text, graphics, links, etc, NONE OF THEM DYNAMIC in each column. I want to be able to open up the page in the WP admin and edit the content in both columns. Basically as though I had a 2 column table with content in each column.

    Is it a matter of having 2 chunks of php, one for each div? I'm not a php person so it's not obvious to me. I'm learning as I go.

    Thanks for any help!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You may not even need a custom page template for this. Just add the markup directly to the page content in Edit Page.

  3. vytaulla51
    Member
    Posted 1 year ago #

    Yes, got it! I hadn't really realized you could do that (WP newbie). Simple solution. Thanks!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags