WP User Frontend
[resolved] Remove Description and Tags Boxes (10 posts)

  1. benlind
    Posted 3 years ago #

    Is there a way to have the plugin not display the post content/description box and the tags box? I am mainly using custom fields to drive my user editable posts, so I don't need those boxes. I don't see an option anywhere in the settings, so will I need to dive into the plugin code to do this?


  2. Tareq Hasan
    Plugin Author

    Posted 3 years ago #

    There is option to enable/disable post tags. But removing description box, you need to edit the plugin.

  3. benlind
    Posted 3 years ago #

    Thanks. I ended up just editing the plugin code myself, though usually I try not to.

  4. twelve2395
    Posted 3 years ago #

    hi benlind, can you share how you edited the plugin to do this?


  5. benlind
    Posted 3 years ago #

    twelve95, I have actually stopped using WP User Frontend in favor of another plugin that better covers my needs, but I'll try to give you an idea of how to remove the description box from the plugin.

    1. In the plugin directory, in the wpuf-add-post.php file, comment/remove the code around lines 106-118 — it should be an "li" tag containing the code for the description box. Make sure you don't remove either the preceding wpuf_build_custom_field_form line or the following do_action line.
    2. Find and comment/remove this code:

    if ( empty( $content ) ) {
            $errors[] = __( 'Empty post content', 'wpuf' );
        } else {
            $content = trim( $content );

    It should be around lines 183-188 or so.

    I'm pretty sure that's all I did to remove the content box. Let me know if that works for you.

  6. peterjmag
    Posted 3 years ago #

    Hey benlind,

    What plugin are you using now? I've been looking for something with a bit more flexibility.

  7. luke
    Posted 3 years ago #

    Hi benlind,

    your fix worked fine, thanks a lot!

  8. codynew
    Posted 3 years ago #

    Hey benlind, could I ask what plugin you used instead of WP User Frontend?

  9. benlind
    Posted 3 years ago #

    If I remember correctly, the reason I was using this plugin in the first place was to allow users on my website to ask questions in the FAQ section, so I ended up going with the Q and A plugin. It's working great!

  10. Alfaz
    Posted 2 years ago #

    Is there any option for remove the registration section.
    I have installed the plugin it's work fine but i don't need to registration. If anyone have idea please help me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic