Mindshare Labs, Inc.
Forum Replies Created
-
Pretty sure that the “Settings” object is having a naming conflict with another plugin – any change you could rename that to something less generic?
The other plugin is “Shopp” http://shopplugin.net/
Rolling back to version 3.2.5 fixes this so it seems to be a new issue.
Forum: Plugins
In reply to: [WP Most Popular] [Plugin: WP Most Popular] Multiple post types?Actually, I just tested my code and it didn’t work. I had to add in some type casting… here’s the updated code I’m using on my site and it works:
<ul> <?php $documents = wmp_get_popular(array('limit' => 10, 'post_type' => 'document', 'range' => 'all_time')); $opinions = wmp_get_popular(array('limit' => 10, 'post_type' => 'opinion', 'range' => 'all_time')); $articles = wmp_get_popular(array('limit' => 10, 'post_type' => 'article', 'range' => 'all_time')); $videos = wmp_get_popular(array('limit' => 10, 'post_type' => 'video', 'range' => 'all_time')); $audios = wmp_get_popular(array('limit' => 10, 'post_type' => 'audio', 'range' => 'all_time')); $documents = (object) array_merge((array) $documents, (array) $opinions, (array) $articles, (array) $videos, (array) $audios); global $post; if(count($documents) > 0) : foreach($documents as $post) : setup_postdata($post); ?> <li class="<?=get_post_type($post->ID)?>"> <a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a> </li> <?php endforeach; endif; ?> </ul>Forum: Plugins
In reply to: [WP Most Popular] [Plugin: WP Most Popular] Multiple post types?This code <strike>should</strike> doesn’t work for multiple post types – use the code below instead:
<ul> <?php $my_post_type_1 = wmp_get_popular(array('limit' => 10, 'post_type' => 'my_post_type_1 ', 'range' => 'all_time')); $my_post_type_2 = wmp_get_popular(array('limit' => 10, 'post_type' => 'my_post_type_2', 'range' => 'all_time')); $all_types = array_merge($my_post_type_1 , $my_post_type_2); if(count($all_types) > 0) : foreach($all_types as $post) : setup_postdata($post); ?> <li><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li> <?php endforeach; endif; ?> </ul>If it’s not, I’d be willing to take it over or at least help add a few features…
Forum: Plugins
In reply to: [WP Most Popular] [Plugin: WP Most Popular] Multiple post types?I’d like this too.
The only way I could figure out how to accomplish this was to add a new menu item to the top level menu and then copy the values from the submenu, then delete or hide the submenu.
Thanks for the reply. I’ll probably need to go from version to version because there are thousands of relationships between posts in the site. I’ll try to write out the steps I go through and post them here for others. Thanks.
Actually nevermind! It appears the issue has to do with the More Taxononies plugin and not Custom Post Type Archives.
Forum: Plugins
In reply to: [Plugin Test Drive] [Plugin: Plugin Test Drive] Can't save altered optionsSame problem here.
Forum: Plugins
In reply to: [CataBlog] [Plugin: CataBlog] Link to the next item in the same category?Not sure if this is what you are trying to do but I can confirm that the third parameter for next_post_link (“in_same_cat”) does NOT work for Custom Post Types.
This issue is finally fixed! A new version will be available today.
Forum: Fixing WordPress
In reply to: wp_nav_menu sort order?Using this function might be a better method, especially for targeting just one menu: http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items
Forum: Plugins
In reply to: [article2pdf] [Plugin: article2pdf] Temporary files filling up server spaceI’m pretty sure the plugin should do this automatically… Sounds like maybe your permissions are off?
See the FAQ: http://wordpress.org/extend/plugins/article2pdf/faq/
Important: Choose correct paths for the template, cache and temp directory! The directorys MUST be writeable by the webserver, so set the correct owner and directory permissions to the dirs.
Sorry for the delay. If you send a link I can take a look.