• Hi everyone, I’m a fairly new web dev and my work asks me to convert old websites to wordpress. One client has a one pager with a lot of blocks with only text that he wants to be able to put in himself.

    I make my own wordpress themes with css,html and php so the new website looks exactly like the old one and I don’t use any plug-ins or widgets.

    How do I make it so every block has the styling I want and the client can only put in the text he wants? Do I create text-areas the client can access via the customize tab where he fills in the text himself?
    or
    Can I make it so every block is a post and display all those posts on the same page? This way the client just edits posts.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    A common solution is to use a custom fields plugin. Setup their page to take input in multiple fields, one field for each block. If the user lacks the “unfiltered_html” capability, they will be limited to what HTML they can use, so any alternative formatting they can introduce into a field will be very limited.

    Also setup a special template for this page that fetches each field in turn and outputs the content into HTML containers defined on the template which you use for specific styling.

Viewing 1 replies (of 1 total)

The topic ‘Text blocks’ is closed to new replies.