0

When I create a page I'm suppose to describe the content on the editor of Wordpress. When it's a simple text with some images its ok.

But the problem is: My custom layout has a lot of deep HTML and I want to allow the client to change the dynamic text parts easily, and avoid him from having HTML parts inside the rich text editor.

E.g.

enter image description here

Wordpress has some built-in feature to accomplish that or some plugin maybe?

An similar idea is this plugin that I've found, but not for pages specifically: http://wordpress.org/extend/plugins/text-replace

6
  • What do you mean exactly by static images? Images that are always the same? May 9, 2013 at 17:12
  • It's because I don't want to add complexity. Forget the images.. I want to have spots on the html that user can edit these texts
    – Luccas
    May 9, 2013 at 17:13
  • So you want the user to be able to edit the text of a new page using different editors for different zones? You can use several approaches to this. Have you considered using Custom Fields? If the chunks of text are somewhat limited, this might be the easiest solution for you. May 9, 2013 at 17:18
  • If they are not, perhaps providing some context, example would help me think of the best approach for your problem. May 9, 2013 at 17:18
  • hmmm. Custom fields are the way to go, but seems to limited. I found this wordpress.org/extend/plugins/advanced-custom-fields/… and perhaps do the job more customizable.
    – Luccas
    May 9, 2013 at 18:36

1 Answer 1

1

As @Luccas said himself, adding meta boxes for separate areas of content are a good way of tackling this problem. This can be achieved using add_meta_box().

Although there are a number helpful plugins and libraries for handling meta box registration such as ACF and CMB2, plugin recommendations are off topic here at WordPress StackExchange.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.