January 27th, 2010 §
Secure File Copy or “scp” is one of those handy tool’s I use from time to time when ssh’d into another server or computer. It’s also one of those I don’t use enough to remember and always have to look up. So, I figured I might as well put it out there in a location I know I can remember (besides Google).
Ok, so on my “terminal” window (I’m on a mac, but pretty sure it’s the same for any other *nix machine, with maybe just a few variances in syntax), I type the following:
» Read the rest of this entry «
December 28th, 2009 §
Ok, for WordPress & WPMU, let me preface this post with saying standard WordPress tables can be found by using the $wpdb object (paste the below code and you might be surprised on what’s available to you).
echo "<pre>"; print_r($wpdb); echo "</pre>";
But, let’s say the plugin you’re working with in WordPress isn’t in the $wpdb object & you still need to grab a list of non-standard tables, I’ve been using the below code to grab the information I need. » Read the rest of this entry «
December 21st, 2009 §
One plugin that comes in real handy for a lot of the campaigns we work on is called WP-CMS Post Control. It’s not a power house plugin that changes a core functionality of WordPress, but one that makes working with WordPress defaults a little less annoying.
For us, the two most common settings we change are found right under the General Settings sub-heading; uploader type and post/page autosave. For many of you that work with WordPress day in & day out, you can imagine how handy this may be, but for others who don’t know, I’ll explain a little further. » Read the rest of this entry «
December 18th, 2009 §
This is a handy feature that took a little while to figure out, but’s nice when WordPress is throwing you a blank page and you can’t figure out why.
To enable WordPress debugging on either MU or the standard version open up the wp-config.php file. » Read the rest of this entry «
May 7th, 2009 §
This last month has seemed to be themed “Whaaaatt, that made it through QA?!?!?!?!” And by QA I mean Quality Assurance. Currently at work, I’m writing up a bunch of verbal QA scripts, later to be ran through either by a QA tester and/or handled automatically through some scripts. » Read the rest of this entry «
April 14th, 2009 §
Ok, I’ve run into this problem a few times and keep forgetting what the solution is, so here’s a good reference post for myself and the rest of you wondering.
Let’s say you have in your WordPress install 5 or more categories, but to the general public, there’s only two categories you want to show (such as the case with http://www.midmarketinnovators.com/). In this blog there’s multipule categories, some of them for a public post / Q&A section and the other for the author blog posts and still, some more for the sidebar featured products section. Well, to the general public, they don’t need to see the Featured Products or the Q&A section in the general feed, but rather just the blog posts, from the various authors partisipating. So let’s say they post to the category ID’s 22 & 23, well in your link tag in the header place the following tag.
<link rel="alternate" type="application/rss+xml"
title="<?php bloginfo('name'); ?> RSS Feed"
href="<?php bloginfo('rss2_url'); ?>?cat=22,23" />
Which outputs in html as
<link rel="alternate" type="application/rss+xml"
title="Mid Market Innovators RSS Feed"
href="http://www.midmarketinnovators.com/feed/?cat=22,23" />
In the case of Mid Market Innovators, the feed was placed into a feedburner plugin, which redirects the http://www.midmarketinnovators.com/feed to the feedburner link. But, this should still work if you’re not using feedburner. If you run into any troubles, post a comment.
February 2nd, 2009 §
Hey everyone,
I’ve come across a problem when building out a template where we need to display one post one the home page, but it needs to be a single view (so that it displays comments on that post) but cannot impact the query that shows a list of blog posts below. So, here’s a solution: » Read the rest of this entry «
December 23rd, 2008 §
Ok, for all of you that like to laugh, here’s a new scam (or an old one, repackaged). As many of you know, I’m all mac now, at home and at work. I also set up Google Alerts for my work and church (and a few other things too). Well, spammers (or a new breed) are now setting up plain sites that have business names in it, there’s no text, just a really long title, with all of the business names. » Read the rest of this entry «