WordPress.org

Ready to get started?Download WordPress

Forums

P2 Theme: Post Form (Quickpress) Customization (4 posts)

  1. Dennybot
    Member
    Posted 3 years ago #

    Hey all...

    I'm looking to modify the P2 (v 1.2.2) front page post form. I don't have a site to reference as I am developing locally at the moment.

    Along the top of the post form, I'd like my blog's WP categories to appear, starting with the existing "status" post (which would be the default post category) The user could choose to select a "post type" which is actually a category. Each category aside from "status" can use the default 'blog post' icon which is a tack. I'd want to make sure the specific category posts displayed a title field. The status post does not, and does not need to.

    Like so:

    Status | Category 1 | Category 2 | Etc... (I have 7 categories)

    Would anyone be willing to help me out here?

    In a ideal world, these category buttons might be dynamically driven by my actual list of categories, but I'm also up for just manually adding them to post-form.php and any associated theme files.

    I have found my starting place in post-form.php but am just not quite there in my WP familiarity to execute this mod.

    <ul id="post-types">
    			<li><a id="status"<?php if ( $post_type == 'status' ) : ?> class="selected"<?php endif; ?> href="<?php echo site_url( '?p=status' ); ?>" title="<?php _e( 'Status Update', 'p2' ); ?>"><?php _e( 'Status Update', 'p2' ); ?></a></li>
    			<li><a id="post"<?php if ( $post_type == 'post' ) : ?> class="selected"<?php endif; ?> href="<?php echo site_url( '?p=post' ); ?>" title="<?php _e( 'Blog Post', 'p2' ); ?>"><?php _e( 'Blog Post', 'p2' ); ?></a></li>
    		</ul>

    Thanks for looking, I welcome all suggestions, even if that suggestion is to pay a WP professional for this mod. ;)

  2. Marc P Gangmei
    Member
    Posted 3 years ago #

    You can get flexible custom P2 Form here

  3. Marc P Gangmei
    Member
    Posted 3 years ago #

    duplicate removed

  4. Dennybot
    Member
    Posted 3 years ago #

    @weblogian: Thanks for the link, it sounds intriguing.

    I'm honestly not sure what to to do activate and play with it.

    Which folder should I extract the contents of the zip to?

    Is there any additional documentation for this plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic