Post From Site
Add an interface on your site to write a post (or page, or anything), without having to go into the admin section. Also allows for ‘anonymous’ posting (not logged in users, still asks for name/email) with a recaptcha. This makes Post From Site a perfect plugin for your user reviews, a suggestion box
Add an interface on your site to write a post (or page, or anything), without having to go into the admin section. Also allows for ‘anonymous’ posting (not logged in users, still asks for name/email) with a recaptcha. This makes Post From Site a perfect plugin for your user reviews, a suggestion box, or even a very basic forum site.
After install, you can display a form on your site via a widget, shortcode, or PHP code in your theme. See this page for further documentation .
A closer look.
- 01Unzip pfs.zip
- 02Upload all files to the /wp-content/plugins/post-from-site directory
- 03Activate the plugin through the ‘Plugins’ menu in WordPress
Use your choice of include:
- 04Add a widget in the Widgets section
- 05Add a shortcode to a page/post/CPT Post From Site’s basic shortcode is [post-from-site] . It has three options: popup defines whether the form will show on the site, or only after clicking a link (defaults to false, not a popup). link defines that link’s text (defaults to ‘quick post’). cat restricts the post to a specific category (defaults to none).
- 06Add PHP code to your template files. <?php $pfs = new PostFromSite(); $pfs->form(); ?> will output the form. You can pass the same variables as in the shortcode.
Frequently asked questions.
The popup won’t show up / I’m redirected to a white page on submit
Check that you have the javascript and css files in the plugin’s folder ( post-from-site ). A problem with the first version of this plugin was that the plugin was looking for the files in the wrong directory. For other people it was also a problem with my code assuming a Linux filestructure, so on Windows servers it broke. 2.0.0+ shouldn’t have this problem, as I’m using a different method of calling other files.