WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jaspn
    Member
    Posted 6 months 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.

    http://wordpress.org/plugins/multiple-content-blocks/

  2. Trendwerk
    Member
    Plugin Author

    Posted 6 months 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
    Member
    Posted 6 months 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
    Member
    Plugin Author

    Posted 6 months 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
    Member
    Plugin Author

    Posted 4 months ago #

    Closing this.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.