WordPress.org

Ready to get started?Download WordPress

Forums

Bainternet Posts Creation Limits
[resolved] How does frontposting work (6 posts)

  1. nims
    Member
    Posted 2 years ago #

    In your plugin description under main features you mention
    - Shortcode to limit front end post creation (NEW).

    Can you kindly help to explain how can we setup members to post from front end. Do we need a seperate plugin for that ?

    http://wordpress.org/extend/plugins/bainternet-posts-creation-limits/

  2. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    in short the plugin can block content on the front end using the same rules for post types, so if you have another plugin,theme,code that has a post creation form you can wrap in this plugins shortcode to limit the creation.

    So yes you need a separate plugin for that.

  3. Sim2K
    Member
    Posted 1 year ago #

    How do I do that?

    I have a website that has a user front end for creating posts. At the moment your plugin isn't working and the user can create lots of post from the front end. How and where do I put the short code to limit how many custom posts they can make from the custom front end?

    Can you tell me the short code and the PHP code as well pls.

  4. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    @Sim4K read the plugin FAQ section!

  5. Sim2K
    Member
    Posted 1 year ago #

    Hi Bainternet

    I read the FAQ's. I can see how you implement the shortcode but I have a PHP page with a form on it. I need to put code on the page to stop the form showing if they have too many post of a certain kind (estate). I know how to use the shortcode but unsure how to add PHP yo the page to use your plugin. If you know, any help would be very much appreciated. Thanks.

  6. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    Then Basically you need your form as a variable, try adding this before your form code:

    ob_start();

    then after your form add:

    $form = ob_get_clean();
    echo do_shortcode('[IN_LIMIT] ' .$form. ' [/IN_LIMIT]');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic