security_man
Forum Replies Created
-
Forum: Hacks
In reply to: Loop for custom taxonomytry get_posts instead
$myposts = get_posts('post_type=portfolio&genres=atomic-war-1'); foreach($myposts as $post) : setup_postdata($post); do your loop stuff here endforeach;Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Problems after WP upgrade to 3.1well, its just a popup similar to the javascript alert function. all it says is “undefined” as soon as you load the edit page or edit post pages in the admin
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Problems after WP upgrade to 3.1undefined error is still popping up on multiple browsers, but the buttons in IE7 have been fixed.
Really great plugin btw, dont wanna poop on the whole thing 🙂
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Problems after WP upgrade to 3.1i am having the same problem. the version is 1.6.5.4 and wordpress 3.1 the undefined error (i think) is a javascript error and it is across all browsers (ie, firefox, chrome) and operating systems (windows xp, 7)
and yes, with all other plugins turned off it still has the undefined error popup
also i assume you know that in IE the buttons on each of the thumbnails at the bottom do not show up, but that was a problem before the undefined thing happened.
Forum: Alpha/Beta/RC
In reply to: Custom post type permalink rewriteI can confirm that IckataNET’s solution doesn’t work for me. I still get a 404 after saving the permalinks anew.
I am pretty sure this has something to do with 3.04 as when i was using 3.0? previously it worked fine.
The really odd thing is that one of my custom post types is working fine and the other is not.
This is the register post type for the one that works:
function my_custom_init() { $labels = array( 'name' => _x('Websites', 'post type general name'), 'singular_name' => _x('Website', 'post type singular name'), 'add_new' => _x('Add New', 'website'), 'add_new_item' => __('Add New Website'), 'edit_item' => __('Edit Website'), 'new_item' => __('New Website'), 'view_item' => __('View Website'), 'search_items' => __('Search Websites'), 'not_found' => __('No Websites found'), 'not_found_in_trash' => __('No Websites found in Trash'), 'parent_item_colon' => '' ); $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'query_var' => true, 'rewrite' => true, 'capability_type' => 'post', 'hierarchical' => false, 'menu_position' => null, 'taxonomies' => array( 'types','features'), 'menu_position'=>5, 'supports' => array('title','editor') ); register_post_type('website',$args); }and this is the one that doesnt work
function create_qa_post_types() { $labels = array( 'name' => _x( 'FAQ Categories', 'taxonomy general name' ), 'singular_name' => _x( 'FAQ Category', 'taxonomy singular name' ), 'search_items' => __( 'Search FAQ Categories' ), 'all_items' => __( 'All FAQ Categories' ), 'parent_item' => __( 'Parent FAQ Category' ), 'parent_item_colon' => __( 'Parent FAQ Category:' ), 'edit_item' => __( 'Edit FAQ Category' ), 'update_item' => __( 'Update FAQ Category' ), 'add_new_item' => __( 'Add New FAQ Category' ), 'new_item_name' => __( 'New FAQ Category Name' ), ); register_taxonomy('faq_category',array('qa_faqs'), array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'query_var' => true, 'rewrite' => array( 'slug' => 'faq-category' ), )); register_post_type( 'qa_faqs', array( 'labels' => array( 'name' => __( 'FAQs' ), 'singular_name' => __( 'FAQ' ), 'edit_item' => __( 'Edit FAQ'), 'add_new_item' => __( 'Add FAQ') ), 'public' => true, 'show_ui' => true, 'capability_type' => 'post', //... 'rewrite' => true, //... 'taxonomies' => array( 'FAQs '), 'supports' => array('title','editor') ) ); }Even if i make them identical one will work and the other does not. this is truly odd and frustrating.
Forum: Networking WordPress
In reply to: replacement for get_blog_list?hmmm… any way to get a dynamic list of the blogs in a mu install of 3.0.1?
Forum: Plugins
In reply to: Show random comment?in wp-includes.php around line 216 comment out the following
$orderby = 'comment_date_gmt'; // Hard code for nowIF your sql version allows for the RAND argument then itll work when you pass $orderby=rand in the get_comments function.
Forum: Fixing WordPress
In reply to: cant remove image from gallery without deleting it entirely?no other suggestions on this?
Forum: Fixing WordPress
In reply to: cant remove image from gallery without deleting it entirely?ugh… i hope that isnt the only solution
Forum: Fixing WordPress
In reply to: cant remove image from gallery without deleting it entirely?well – its actually the opposite that i need.
look at this page: http://www.midlothianchamber.org/chamber-info/leadership.html
see the logo as the first image? i do not want it to be part of the gallery, but i do want it at the bottom of the page as just an image in the post… am i missing something easy here or is this not possible?
Forum: Fixing WordPress
In reply to: future posts in calendarbump?
Forum: Themes and Templates
In reply to: Page template in WP 2.3.2the problem i was having was identical to what yurbelvn was describing… i am very experienced in wordpress and have never run into this problem before after installing many many instances through multiple versions.
the problem occurs when the style sheet (style.css) is missing from the theme. Return the stylesheet, even if you dont call it in the theme you are using, and the problem will be resolved… i assume it is because of all the commented text at the top of the css file, but dont quote me on that… all i know is that it works 🙂