40+
January 10, 2012
June 5, 2009
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.
pfs.zip/wp-content/plugins/post-from-site directory[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).<?php $pfs = new PostFromSite(); $pfs->form(); ?> will output the form. You can pass the same variables as in the shortcode.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.
div tag back to an a tag.