itsjohn
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [P2] [Theme: P2] media button – frontendYeah, it is the only file upload capabilities that I want. I looked into the plugins, but I’d like it to be packaged with the theme.
I’ll definitely look into the wp_editor; thanks!
Forum: Themes and Templates
In reply to: [P2] [Theme: P2] media button – frontendi want to use my own theme, a customized theme; however I would like to add a feature to it like the p2 theme, the ability to have the upload media capabilities in the front end-they used the backends media upload functionality. the code above is what p2 theme uses, but again, i’m not sure how they got it to work.
thanks. i hope i was clearer there.
Forum: Themes and Templates
In reply to: [P2] [Theme: P2] media button – frontendNo one can help me?
Forum: Themes and Templates
In reply to: buttons in postsit’s something similar to buddy press’s favorite ability for each post in the forum etc…
Forum: Fixing WordPress
In reply to: wordpress gallerymy method is probably not the right one, but i just copied that entire function from the core and pasted in the theme’s functions.php and changed whatever it is i needed to change.
this worked for me for the time being,
remove_shortcode('gallery', 'gallery_shortcode'); add_shortcode('gallery', 'my_gallery_shortcode');
then
function mjn_gallery_shortcode($attr) {
copy everything from media.php within the gallery_shortcode function in here
}
Forum: Fixing WordPress
In reply to: wordpress galleryhmm i thought i was on to something here,
add_filter( 'post_gallery', 'new_gallery_shortcode', 10, 3 ); function new_gallery_shortcode( $output, $attr ) { // Allow plugins/themes to override the default gallery template. $output = apply_filters('post_gallery', '', $attr); if ( $output != '' ) return $output; extract(shortcode_atts(array( 'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' => $post->ID, 'itemtag' => 'dl', 'icontag' => 'dt', 'captiontag' => 'dd', 'columns' => 3, 'size' => 'medium', 'include' => '', 'exclude' => '' ), $attr)); }
Forum: Fixing WordPress
In reply to: FTP Connection Informationmust use multi-processing module if running multiple virtual hosts and users.
Forum: Hacks
In reply to: sql queriesawesome, thanks man!