nicomollet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 3.0.1 APC 3.1.4 PHP 5.3.3 == White wp-adnmin pageI have the same problem right now with WP 3.0.1 + APC 3.1.4 + PHP 5.3.3
Did you find a workaround ?
Forum: Fixing WordPress
In reply to: Verve Meta Boxes & Custom Post Type UI, need helpYou are going the wrong way : Custom Post Type UI doesn’t understand verve meta boxes.
You must check “supports: custom-fields” (inside Custom Post Type UI) for Verve Meta Boxes to recognize the custom post type.
Forum: Plugins
In reply to: Custom post types plugins : benchmarkMaybe this plugin will help you adding a thumbnail to taxonomies.
https://www.ads-software.com/extend/plugins/taxonomy-images/
Forum: Plugins
In reply to: Custom post types plugins : benchmarkAdding a custom field to a taxonomy is not a native feature for wordpress.
There may have some plugins enhancing a taxonomy,…Anyway, one alternative way is :
Example, your taxonomy term “The Washigton post” has a slug which should be “the-washington-post”.
Assuming you created an image name “the-washington-post.png” in your : wp-content/themes/yourtheme/newssources/the-washington-post.pngNow in your template “single-news.php”, with :
$terms = wp_get_post_terms( $post->ID , "news_source",""); $first_term_slug = $terms[0]->slug; $first_term_name = $terms[0]->name; echo '<img src="wp-content/themes/yourtheme/newssources/'.$first_term_slug .'.png"/>'.$first_term_name;
I assume it’s not that you wanted because, this way you can’t upload the image with WordPress, and you have to upload it by FTP.
You also loose the thumbnail generation by WP which works great.Forum: Plugins
In reply to: Custom post types hierarchical custom taxonomies and breadcrumbsI wanted this feature too and I added support for hierarchical custom taxonomies, so that I can have both :
Home > Taxonomy > Sub-Taxonomy or Home > Taxonomy > Sub-Taxonomy > Custom Post Type Title
For the 2nd example, the taxonomy in the breadcrumb is the 1st taxonomy of your custom post type.
If you have custom post type “movie”, and have 2 taxonomies : non-hierarchical “actors”, and hierarchical “movie_genre”, then “movie_genre” must the the 1st taxonomy registered in your custom post type “movie”.in yoast-breadcrumbs.php :
Line 168 :
// replace global $wp_query, $post; // by global $wp_query, $post,$wp_post_types;
Line 228, paste :
// BEGIN support taxonomies hierarchy $post_types = $wp_post_types; unset($post_types['post'],$post_types['page'],$post_types['nav_menu_item'],$post_types['revision'],$post_types['attachment']); if((($pn = get_query_var('pagename')) || (($pn = get_query_var('post_type')) && !get_query_var('p') && !get_query_var($pn))) && isset($post_types[$pn])){ echo $post_type_name = $post_types[$pn]->labels->name; }elseif(($post_type = get_query_var('post_type')) && get_query_var($post_type)){ $custom_post_tax = $post_types[$post_type]->taxonomies[0]; $terms = wp_get_post_terms($GLOBALS['wp_query']->get_queried_object_id(), $custom_post_tax); $term_parents[] = array('name'=>$terms[0]->name, 'url'=>get_term_link($terms[0], $custom_post_tax)); $term_parent = $terms[0]->parent; while($term_parent){ $term = get_term($term_parent, $custom_post_tax); $term_parent = $term->parent; $term_parents[] = array('name'=>$term->name, 'url'=>get_term_link((int)$term->term_id, $custom_post_tax)); } if(!empty($term_parents)){ $term_parents = array_reverse($term_parents); foreach($term_parents as $term){ $output .= '<a href="'.$term['url'].'">'.$term['name'].'</a> ' . $opt['sep'].' '; }; } } if(is_tax()){ $term = get_term($GLOBALS['wp_query']->get_queried_object_id(), get_query_var('taxonomy')); $term_name = $term->name; $term_parent = $term->parent; while($term_parent){ $term = get_term($term_parent, get_query_var('taxonomy')); $term_parent = $term->parent; $term_parents[] = array('name'=>$term->name, 'url'=>get_term_link((int)$term->term_id, get_query_var('taxonomy'))); } if(!empty($term_parents)){ $term_parents = array_reverse($term_parents); foreach($term_parents as $term){ $output .= '<a href="'.$term['url'].'">'.$term['name'].'</a> ' . $opt['sep'].' '; }; } } // END support taxonomies hierarchy
Forum: Plugins
In reply to: [Plugin: CMS Press] Custom fields / Meta boxesFor now, the “custom fields” plugins that work with CMS press :
– Verve Meta Boxes
– Simple Fields (buggy dropdown field type)
– Custom Field TemplateAnd the ones that don’t work because the CMS press custom types are not recognized by the plugins :
– Magic Fields
– More FieldsAlso, I benchmarked the plugins that do more or less the same thing than “CMS press” :
See my post :
https://www.ads-software.com/support/topic/414967?replies=5#post-1586539Forum: Plugins
In reply to: Custom post types plugins : benchmarkHere is my benchmark of the following plugins :
https://www.ads-software.com/extend/plugins/easy-post-types/
https://www.ads-software.com/extend/plugins/custom-post-type-ui/
https://www.ads-software.com/extend/plugins/wp-post-type-ui/
https://www.ads-software.com/extend/plugins/cms-press/
https://www.ads-software.com/extend/plugins/gd-taxonomies-tools/I only selected plugins that managed custom post types creation. It means the plugins related to taxonomies or fields only are excluded.
You will see at the bottom of the spreadsheet, compatibility with custom fields / meta boxes plugins.
See the benchmark as a spreadsheet :
https://spreadsheets.google.com/pub?key=0Am1DW8BAAHkZdFlvWjZUZ252U0ttMlM5OUN6U2g3a3c&hl=en&output=htmlThe final word on this benchmark, my personal choice would be Custom post type UI + Verve Meta Boxes.
I think I will benchmark some of the field plugins like Verve Meta Boxes or Magic Fields.
Forum: Plugins
In reply to: Custom post types plugins : benchmarkThanks for your answers.
Forum: Plugins
In reply to: [WP Easy Post Types] [Plugin: WP Easy Post Types] How to display categoriesYou can use the common function wp_list_categories, see the example : Display_Terms_in_a_custom_taxonomy
Since 3.0, there is a new argument “taxonomy”, which is the name of your custom category.
Forum: Plugins
In reply to: [Plugin: CMS Press] Custom fields / Meta boxesThanks for your answer.
I will eventually benchmark the plugins compatibily and post it in this forums.
Forum: Plugins
In reply to: [WP Easy Post Types] [Plugin: WP Easy Post Types] Notes to DeveloperHello
The plugin is the best so far because it can do all we need, with only one plugin.
But other plugins are better than Easy post types, for example, for custom fields.I am trying to create a benchmark of available plugins (https://www.ads-software.com/support/topic/414967), if you, binarybit can help me with that ?
Forum: Plugins
In reply to: [Plugin: UMapper] API Key re-validationOn a fresh install of WordPress 2.9.1, it seems to work fine.
The API is saved in the options page, without any issue.