[Plugin: WP User Frontend] Select Post Format
I was wondering if it is possible for users to select the post format for which the post is created? Or to force the new post into a custom post format?
I would like to know about this too as it’s one of the main reasons I’m not choosing to use this plugin right now.
Cosmo Themes has interesting front end posting I’d like to replicate and their post-format handling is gorgeous.
I’m assuming you mean post type? If so for Add Post use post_type shortcode option. If not please elaborate.
* Shortcode examples::
* [wpuf_addpost close=”false”]
* [wpuf_addpost close=”false” redirect=”none”]
* Shortcode options:
* post_type: post | <otherPostType>
* post: (default)
* <otherPostType>: other post types
If your talking about post formats such as “gallery” and “aside” these are not implemented. These are really a taxonomy (post_format) and might be implemented with the custom taxonomy feature that Tareq has been working on. In any case it might be nice to have this as an option to emulate the normal wordpress add post page.
I did mean formats such as “gallery” and “aside” as they allow for different post templates to be used.
Could you point me to Tareq’s project?
Alternatively I was thinking of using custom fields to then have conditional statements in my template. It’s a bit of a work-around though and I would start with the right logic from the get go.
Tareq is the author of WP User Frontend. The taxonomy code is already in Frontend but is incomplete and commented out.
However I have started to implement this in my development fork. It should be tested and released by the end of next week.
Meanwhile it might be worth trying the development fork as is to see if it is what you need otherwise and works in your situation.
I’ll take a look at the commented code and see how I can make it work for me. Thank you so much for pointing that out.
Also your fork looks interesting, I might play around with it. Kudos for working so hard on that!
Here’s a link to the preliminary update to the development fork with Post Format included. You will have tick the “Allow post format” option in the “Frontend Posting” options tab for it to show.
It would be appreciated if you can email me feedback at [ redacted ] as follows so I can confirm its operation on a number of platforms.
error messages (if any)
Platform (IBM PC/MAC etc)
error messages (if any)
Outline of any errors that occurred plus steps to repeat it.
If you can test it on Internet Explorer 9 and 10 that would be great.
I’ll give that a try on a testing environment first and send you my feedback.
When activating your version of the plugin I got the following error:
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(/home4/adaldesi/public_html/tribechestapp/wp-content/plugins/wp-user-frontend/lib/class.settings-api.php) [function.require-once]: failed to open stream: No such file or directory in /home4/adaldesi/public_html/tribechestapp/wp-content/plugins/wp-user-frontend/wpuf.php on line 38
Fatal error: require_once() [function.require]: Failed opening required ‘/home4/adaldesi/public_html/tribechestapp/wp-content/plugins/wp-user-frontend/lib/class.settings-api.php’ (include_path=’.:/usr/lib64/php:/usr/lib/php:/usr/share/pear’) in /home4/adaldesi/public_html/tribechestapp/wp-content/plugins/wp-user-frontend/wpuf.php on line 38
I was able to add a drop down that determines post format using the hooks provided by Tareq. The exact code is in this other forum post.
In regards to the error you reported above how did you install the plugin?
(1) Did you copy the files to the directories of the original frontend installation?
(2) Or did you install it as a new frontend installation (ie it’s own directory). This way would probably result in the error you saw.
It’s meant to be installed over the original frontend installation as in (1).
Hey Professor, sorry for the late reply, I’m in Thailand.
I deleted all files before placing yours…
Also I have being working hard on making the plugin mine. I might release an alternative version when I’m done but won’t be fore a while.
I have also problem with activation this plugin,
anybody knows how to active it?
Please see this link. I really need this plugin 🙂
@professor I have installed yours but it says “Plugin file does not exist.”
- The topic ‘[Plugin: WP User Frontend] Select Post Format’ is closed to new replies.