WordPress.org

Support

Support » Plugins and Hacks » Bainternet Posts Creation Limits » [Resolved] [Plugin: Bainternet Posts Creation Limits] How does frontposting work

[Resolved] [Plugin: Bainternet Posts Creation Limits] How does frontposting work

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bainternet

    @bainternet

    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.

    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.

    Plugin Author Bainternet

    @bainternet

    @Sim4K read the plugin FAQ section!

    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.

    Plugin Author Bainternet

    @bainternet

    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]');

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Bainternet Posts Creation Limits] How does frontposting work’ is closed to new replies.
Skip to toolbar