SmartPost is a powerful authoring tool that makes it quick and easy to generate posts on the front-end of your WordPress site.
|Author:||RafiLabs (profile at wordpress.org)|
|WordPress version required:||3.8|
|WordPress version tested:||4.3.1|
|Added to WordPress repository:||06-05-2014|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||2 489|
Click to start download
What is SmartPost?
It is a template builder and authoring tool that is user centered. No programming or coding knowledge required.
Why use SmartPost?
- Create new posts on the front-end, get instant feedback to the look and feel of your post.
- Break up your posts into different sections - i.e. a picture gallery, a video, and richtext sections.
- SmartPost can use ffmpeg to rotate and compress uploaded video files for a better video-streaming experience.
- Extend the capabilities of SmartPost by developing your own post section.
How does SmartPost Work?
Build Templates to be used on the front-end of your WordPress site:
SmartPost enhances WordPress categories by applying templates to them. Users can create new category templates and build them up by dragging and dropping components into the template builder. Once category templates have been setup, users can utilize them on the front end to create new posts. SmartPost also allows you to copy existing templates into new ones.
Authors use pre-defined templates to build rich posts on the front-end of WordPress:
No more going back and forth between the dashboard. Build rich posts one component at a time with immediate feedback on how your post will look like once published. SmartPost utilizes intuitive actions such as dragging and dropping to add pictures and videos to your post.
Note: SmartPost is still in the Beta stage, check out the "Beta Testing" tab for more info!
Build category templates across your taxonomy - each category can have its own template. Posts created using the "SP QuickPost" widget will follow the structure of the template.
SmartPost comes with a wide variety of useful widgets that makes post management easier on the front-end of WordPress.
Drag and drop images, videos, and files from your desktop to create rich posts with videos and picture galleries with immediate feedback. No more jumping back and forth between the dashboard and the front-end of your site.
How a post looks after submitting it via a SmartPost template.
How do I create posts on the front-end like the plugin says it does?
The easiest way to start using the templates is to embed the
[sp-quickpost] shortcode in a post, page, or some place
that is able to parse WordPress shortcodes. The shortcode looks something like
[sp-quickpost template_ids="1"] or
[sp-quickpost template_ids=”1,2,3″]. The
template_ids attribute allows the shortcode to know which template form should be used.
In the SmartPost admin page, the shortcode for each template is provided with the template’s associated ID, however, you can
allow your users to pick from a selection of templates by providing the shortcode with multiple template ids separated by commas as it
is shown in the example above. The IDs in the shortcode have to be associated with SmartPost templates, otherwise the shortcode will
not render properly.
The second way to start create posts on the front end is by adding the “SP QuickPost” widget to one of your widget areas / sidebars.
The widget works better if you have a “category header” widget area where you can place the SP QuickPost widget.
If your theme doesn’t have a “category header” widget area, then generating new posts on the front-end may look broken as the form
itself is squeezed into narrow sidebars.
However, it’s fairly easy to create a category widget-area for you to place your SP QuickPost widget in:
- Create a
sidebar-category.phpfile in your theme file.
- Once you created this file, read up on how to register a new sidebar area here.
- In your
category.phpfile, place the sidebar somewhere under the category title, right before the post loop.
How do I get HTML5 video encoding to work?
Note: SmartPost only supports video encoding on Linux servers! We are hoping to extend support for Windows servers soon.
FFmpeg is required for video encoding to work! The server that your WordPress instance resides on needs to have
ffmpeg and ffprobe executables present in the same directory. If ffmpeg is already installed, these executables usually reside in /usr/local/bin/,
but sometimes not. To find the full path of where ffmpeg lives, you can use the shell command
command -v ffmpeg.
Once you’ve found the full path, then in the WordPress dashboard go to SmartPost -> Settings and click on the “Video” link on the right hand side.
Copy and paste the full path of where the ffmpeg executable resides in the text input (make sure there is a trailing “/” at the end of the path).
Click on the “Test” button to see if SmartPost is able to properly invoke the ffmpeg executable. Note: PHP needs to be configured to allow
SmartPost to use the shell_exec(), exec(), and
system() commands for this work!
If you’re not confident in installing ffmpeg on your server, the easiest thing to do is to download static builds from the ffmpeg website.
In order to download the right build, you will need to know the type of operating system of the server your WordPress site is hosted on. If it’s a Linux server (in most
cases it is), then you will need to know the appropriate kernel version. There are various ways to look up the kernal version, the easiest being via the shell command “uname -r”.
You can also look it up via phpinfo() or use the php_uname() command.
Once you’ve downloaded the appropriate static builds, un-compress them, and upload them to a directory where the “apache” user has permisions to execute them.
A good place might be inside the SmartPost folder under wp-content/plugins/smartpost-templates/components/video/ffmpeg/ (you would have to create the ffmpeg folder).
How do I uninstall SmartPost?
We are currently working on putting in place an uninstall script! If you want to completely purge your WordPress instance of SmartPost, then you will have
to delete the following:
- The tables ‘sp_postComponents’, ‘sp_catComponents’, ‘sp_compTypes’
- The options: ‘sp_categories’, ‘sp_db_version’, ‘sp_defaultCat’, ‘sp_cat_icons’, ‘sp_responseCats’, ‘sp_cat_save_error’ from the wp_options table.
- Fixes mobile UI glitches with video, photo and photo gallery components not allowing to upload files
- Fixes a bug where the SmartPost Components were not being properly installed on activation
- Adds sp_admin_add_submenu_pages action to add submenu items to the SmartPost parent menu item
- Introduced encode_via_ffmpeg() function that single handedly handles video encoding
- Renamed some variables and functions to fit with WordPress conventions
- Fixed a bug with the video player not rendering properly
- Added “button_txt” attribute to the sp-quickpost shortcode
- Better/more hardened SQL statements using wpdb->prepare()
- Fixed an issue with EXIF function reading PNGs
- More renaming of functions to wp-style conventions
- Fixes an error that’s thrown when the plugin is installed
- Fixes other minor problems such as foreach() array checks
- Fixes a compatibility issue with the Relevanssi plugin
- Fixes an issue with video rotation
- Adds .m4v video compatibility to the video component
- Better error handling for video uploads and video conversions
- Fixes a buffer output bug with the SP QuickPost widget
- Removes an include on wp-load.php for the video conversion script
- Fixed an update bug that did not update WPMU sites correctly
- New [sp-quickpost] shortcode allows users to place a SP Template form anywhere on the site!
- Fixed a bug where older versions of required_once() could not resolve relative paths properly
- Fixed bug with exif_read_data() being called on incompatible file formats
- Added extra check for update script from 2.x to 2.3+
- Fixed a bug where updating from v2.2->2.3 would break component icons,
- Moved away from hard-coding component icons
- Updated content component, not using nicEditor anymore
- Updated gallery and photo components to reflect use of magnific-popup
- Removed jQuery UI css – moved over to using thickbox for new template form
- Fixed a shortcode bug where SmartPost would strip all shortcodes from a post
- Added new shortcode called [sp-components] that wraps around all [sp_components] shortcodes
- Add new shortcodes functions to handle shortcode logic
- Modified update logic and design to a more simple design that relies on the version numbers
- Fixed upload bug where apostrophes were not being properly handled
- Fixed bug where .mp4 files were not being properly encoded and uploaded
- Initial release into to the WordPress plugin repository.