Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Custom feilds in wordpress

  • 08-09-2011 04:20PM
    #1
    Registered Users, Registered Users 2 Posts: 5


    Hi I am building a site for a client in WP. I would like to make the updating of this site as easy as possible for the client without them having to go near any html what so ever. The site is a static site with no blog. WP only seems to offer you one wysiwyg input field. To make it easier for my client to update different sections of the page I would like to have more than one wsyiwyg editor for each section of the page. IE I would like #column1 to have its own input wysiwig and #column2 to have its own. And also to have a separate one for an image at the top of the page. Is this possible at all?


Comments

  • Registered Users, Registered Users 2 Posts: 4,946 ✭✭✭red_ice


    very possible. the most basic way to code it would be to just take the text area, copy it, create a new one under it for the second column or what ever.

    create a div for each column, open it before the text in box 1, close it after box 1, open it for box 2, close it after box 2. Add them together as the one entry to the database. That way your client only sees the editor, but the code behind it will go into the same database field and be displayed in the seperate div tags.

    im sure there are other ways to do it using plugins etc, but im only playing with wp a day or so.


Advertisement