Multiple content blocks
[resolved] Remove (or hide) main content text editor (5 posts)

  1. jaspn
    Posted 2 years ago #

    Hi, great plugin.

    I am using only multiple content blocks to populate page content. I'd like to know how to hide the first text editor that appears on Edit Page, as it serves no purpose, and is confusing to clients. Is there a code hack or CSS style which I can apply to hide or remove it?

    Thank you.


  2. Trendwerk
    Plugin Author

    Posted 2 years ago #

    You mean the normal WordPress editor? Why don't you use that one as your 'first' block?

    You could also use CSS by enqueue-ing your script in the admin panel (http://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts).

  3. jaspn
    Posted 2 years ago #

    Correct, I would like to hide the default editor which appears at the top. I could use it as the first block, but I believe hiding it at least with some CSS would be a better solution. Why? With your plugin I'm able to name each block, which is fantastic, so the client knows exactly what the content is within each block when in Edit Page mode. Since the default editor doesn't have any sort of label/reference, it isn't ideal.

    Thank you for the link. Unfortunately it's out of my scope.

  4. Trendwerk
    Plugin Author

    Posted 2 years ago #

    You're right about usability for the client. By enqueue-ing your scripts (just like you should do in the front-end), you can simply add your own stylesheet to the admin area.

    If you need some more explanation you can look at this: http://wp.tutsplus.com/tutorials/the-ins-and-outs-of-the-enqueue-script-for-wordpress-themes-and-plugins/

  5. Trendwerk
    Plugin Author

    Posted 1 year ago #

    Closing this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple content blocks
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.