Michael Bishop
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress MU Sitewide Tags Pages] Blog titles with linksMy version literally is the same plugin with that one line added. Can you confirm that the posts pushed to your tags blog is getting that post_meta field added with the the site title associated with the post?
I’m not outputting the title in template, rather I’m creating a custom feed where I use the post_meta. If you can confirm the correct title is being added, I’ll double check how I’m outputting the info.
Forum: Plugins
In reply to: [WordPress MU Sitewide Tags Pages] Blog titles with linksI had a similar need, I wound up editing the SWT plugin to grab the title in the global_meta array. I’m still working on a way to do it without modifying the plugin but until then, this might help.
Around line 367 of the SWT plugin I added
$global_meta['blogtitle'] = get_bloginfo('title');and then where ever you want to output the title on your tags site
echo (get_post_meta($post->ID, "blogtitle", true));Forum: Fixing WordPress
In reply to: My site is suddenly painfully slow, please help troubleshoot!I can tell you that page is taking forever to load because it’s loading what looks like more than 100 images, plus all of the other files. Without knowing exactly how the theme is coded, I don’t have a suggestion how to limit the query, but that would be the first place I’d check.
Forum: Hacks
In reply to: The best way (performance wise) to exclude a category from front page?I would recommend using WP_Query.
This recent article does a nice job of going through the different ways to customize the loop.
Forum: Fixing WordPress
In reply to: Keeping Post At TopYou can make the post “sticky” so it stays at the top of your index/home page. In the Publish meta box, click on visibility and an area will drop down with the option to check “stick this post to the front page”. Check that, and update the post.
When you want to remove the post from the top, reverse the order. It will fall back into place relative to it’s publish date.
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersThe $wpdb->base_prefix works only in the sense that it allows the plugin to be network activated, but it does so by sharing a single table with all installs. So if you were to “hide” the options from users in the menu, then that would work. I was able to use the aforementioned multi-site plugin manager plugin to actually activate the plugin across all sites, more like a mass manual activate, rather than network activate.
Wish I had a better solution to offer up. I will continue to work through this as it’s a handy feature to offer users.
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersGotcha. Yeah, using
$wpdb->base_prefixcreates a shared DB so all sites can access it. As I also mentioned, the multisite plugin manager did allow me to activate the plugin across all sites. Not necessarily a plugin I’d want to use all the time, but in a scenario such as this, might be worth turning on to work around such a plugin that won’t network activate.I’ll be investigating this more in the couple of days and will report back anything I figure out.
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersI wasn’t sure what your solution entailed. Glad i wasn’t talking to myself π
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersAnd ignore that last idea. That simply shares a single database with all installs. Shouldn’t be adding things to this forum before getting my morning coffee.
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersYes, I’m talking to myself.
Further testing, I changed
$wpdb->prefixwith$wpdb->base_prefixand that may have resolved the network activation issue. Initial testing on my end seems to be working.Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersInterestingly enough, http://wordpress.org/extend/plugins/multisite-plugin-manager/ will allow you to activate the plugin across all sites in a network. Note it is 3.1+
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersSo yes, the change I suggested would add the blog id to the tables, but it doesn’t address the fact the plugin doesn’t run it’s activation function upon network activation. Tables simply doesn’t get created. Andrea suggested this plugin http://wordpress.org/extend/plugins/proper-network-activation/ but that didn’t help.
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersI may have spoke too soon.
Forum: Plugins
In reply to: [Embedly] [Plugin: Embedly] Missing providersTo work around this, I changed all instances of
$table_name = $wpdb->prefix . "embedly_providers";to
$table_name = $wpdb->prefix . $wpdb->blogid . "embedly_providers";You may need to network deactivate and then then re-network active.
Forum: Fixing WordPress
In reply to: trying to rewrite custom rss feed URLI should add that my_create_feed is the function that actually, well, creates the feed content.