WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
Select Post Format (14 posts)

  1. MeRuud
    Member
    Posted 1 year ago #

    Hi,

    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?

    Thanks,
    Ruud

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. adaldesign
    Member
    Posted 1 year ago #

    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.

  3. professor99
    Member
    Posted 1 year ago #

    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]
    * [wpuf_addpost close="false"]
    * [wpuf_addpost close="false" redirect="none"]
    *
    * Shortcode options:
    *
    * post_type: post | <otherPostType>
    * post: (default)
    * <otherPostType>: other post types

  4. professor99
    Member
    Posted 1 year ago #

    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.

  5. adaldesign
    Member
    Posted 1 year ago #

    Hey professor,

    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.

  6. professor99
    Member
    Posted 1 year ago #

    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.

  7. adaldesign
    Member
    Posted 1 year ago #

    Professor.

    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!

  8. professor99
    Member
    Posted 1 year ago #

    Hi adaldesign,

    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.

    Server
    -------
    WordPress Version
    PHP Version
    error messages (if any)

    Client
    --------
    Platform (IBM PC/MAC etc)
    Browser Version
    error messages (if any)

    All
    ---
    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.

    Thanks
    TheProfessor

  9. adaldesign
    Member
    Posted 1 year ago #

    Thanks professor,

    I'll give that a try on a testing environment first and send you my feedback.

    Adal

  10. adaldesign
    Member
    Posted 1 year ago #

    Hey Professor,

    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

  11. adaldesign
    Member
    Posted 1 year ago #

    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.

  12. professor99
    Member
    Posted 1 year ago #

    Hi adaldesign,

    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).

  13. adaldesign
    Member
    Posted 1 year ago #

    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.

    Cheers,
    Adal

  14. freeace00
    Member
    Posted 1 year ago #

    I have also problem with activation this plugin,

    anybody knows how to active it?

    http://wordpress.org/support/topic/multi-site-active-error-saying-memory-size-error?replies=2

    Please see this link. I really need this plugin :)

    @professor I have installed yours but it says "Plugin file does not exist."

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.