Support » Theme: P2 » [Theme: P2] post_formats and categories and set post categories

  • valuser

    (@valuser)


    Prior to p2 1.4 it was possible to have another input tab (say “Alarms”) so that the input choices were “Status Update – Blog Post – Quote – Link- Alarms”

    This could be achieved by adding

    <li><a id="alarms"<?php if ( $post_type == 'alarms' ) : ?> class="selected"<?php endif; ?> href="<?php echo site_url( '?p=alarms' ); ?>" title="<?php esc_attr_e( 'Alarms', 'p2' ); ?>"><?php _e( 'Alarms', 'p2' ); ?></a></li>

    to <div id=”postbox”> in post.php

    and adding “alarms” to the $accepted_post_cats in ajax.php

    so if somebody clicked Alarms and inputed something in the input box it was recorded in Category Alarms.

    I appreciate that post_formats is the way to go But how can I incorporate the above functionality (kind of front-end category setting – set post categories??) in p2 v 1.4.?

    Any ideas very welcome

    http://wordpress.org/extend/themes/p2/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: P2] post_formats and categories and set post categories’ is closed to new replies.