Michael Fields
Forum Replies Created
-
This plugin should only fire after the content on single post views. I intentionally made it a simple as possible. It is not really capable of displaying terms in other parts of your site.
I’m not really familiar with how the Arras theme displays taxonomies, but if your active theme has widgetized sidebars, you might want to check out this plugin:
http://ww.wp.xz.cn/extend/plugins/taxonomy-widget/
Best wishes,
-MikeForum: Plugins
In reply to: [Taxonomy Images] [Plugin: Taxonomy Images BETA] Include excludeDaiv,
I’m almost done with a rewrite to this plugin that fixes many bugs reported by users . I’ll see if I can work this functionality in.Forum: Plugins
In reply to: [Taxonomy Widget] [Plugin: Taxonomy Widget] CloudNo problem! You help me realize that putting those custom filters in the plugin was a really good idea 🙂
Forum: Plugins
In reply to: [Taxonomy Terms List] [Plugin: Taxonomy Terms List] Change the positionNo problem. Glad I could help 🙂
Forum: Plugins
In reply to: [Taxonomy Terms List] [Plugin: Taxonomy Terms List] Change the positionGlad you got that part sorted! This part should be rather easy. Look gor this code on line 39:
add_filter( 'the_content', 'mfields_taxonomy_terms_list' );and either comment it out or delete it.
If you are directly modifying this plugin it is better to add it’s functions to your theme’s functions.php file or rename it. This way you will not run the risk of accidentally overwriting your updates when I update the plugin.
Forum: Plugins
In reply to: [Taxonomy Widget] [Plugin: Taxonomy Widget] CloudYou should be able to specify arguments to be passed to wp_tag_cloud() using the
'mfields_taxonomy_widget_args_cloud'filter. Something like this should do the trick. Add to your theme’s functions.php:add_filter( 'mfields_taxonomy_widget_args_cloud', 'my_tag_cloud_args' ); function my_tag_cloud_args( $args ) { $args['smallest'] = '1'; $args['largest'] = '3'; $args['unit'] = 'em'; return $args; }Forum: Plugins
In reply to: [Taxonomy Terms List] [Plugin: Taxonomy Terms List] Change the positionThis is out of the scope of what I intended the plugin to do. It looks like you wish to add the terms inside your post_content. If this is true, then you will want to create a custom shortcode to do so.
Forum: Hacks
In reply to: WordPress wpdb INSERTSorry, I was still typing when you made your last post 🙂 Yes this is the proper way to handle Ajax calls. Most likely your problem stems from not having the $wpdb global defined in the original callback script. Using admin-ajax.php should solve this.
Forum: Hacks
In reply to: WordPress wpdb INSERTDoes the WordPress environment exist in Called File? From what you posted, it does not look like it does. Ajax calls are best handled in WordPress using /wp-admin/admin-ajax.php Two really great places to start are:
http://codex.ww.wp.xz.cn/AJAX
http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/Forum: Themes and Templates
In reply to: Centering the DIV menuHave you tried to remove
display:block;from#nav li aand float:left; from#nav li?Forum: Themes and Templates
In reply to: how to get parent page title from secoundry child idYou can look in the
$post->ancestorsarray which should contain the ids of all ancestor pages for the current page.Forum: Hacks
In reply to: WordPress wpdb INSERTIt is possible that the issue stems from a bug in the Ajax implementation. Using the code you posted above, can you write to the table with no Ajax? How do you have your ajax callbacks set up? Please post code to http://wordpress.pastebin.com if it is long.
Forum: Fixing WordPress
In reply to: Not able to include plugin stylsheet in front endWhat action are you hooking init_gallery_scripts() into?
Forum: Hacks
In reply to: WordPress wpdb INSERTI rarely use custom tables, but in one of my last projects it was necessary. One thing that I learned was that you need to register the table with the $wpdb object. Something like this May help you out:
function my_register_custom_database_tables() { global $wpdb; $wpdb->my_table_name = $wpdb->prefix . 'my_table_name'; } add_action( 'init', 'my_register_custom_database_tables' );Forum: Plugins
In reply to: [Taxonomy Terms List] [Plugin: Taxonomy Terms List] Great PluginSure, you can use the get_the_term_list() function.