Ensuring custom post types show up on Wordpress categories & tags archive pages

wordpress-logo-stacked-rgb.pngThe default behaviors built into Wordpress drive me batty sometimes, because they've made certain assumptions that aren't always right. One of these are that the built-in Categories and Tags taxonomies are somehow special. In particular if you create a custom post type, then associate that post type with either Categories and Tags, the category or tag archive pages won't show posts for your custom post type.

Embed an Amazon aStore on Wordpress with a functional URL that accepts ASIN etc arguments

wordpress-logo-stacked-rgb.pngThrough the Amazon affiliate program you can create what's called an Amazon aStore - which is a functional "store" filled with products you specify from the Amazon website, that then earn you affiliate commissions. You curate the products shown on your store, and presumably that'll be what makes your store more valuable is the effort you take to select appropriate products for your audience.

New Wordpress plugin: External links nofollow, open in new tab, favicon

wordpress-logo-stacked-rgb.pngI've just release my first Wordpress plugin - External links nofollow, open in new tab, favicon. It was an interesting process getting to this point.

Using PHP DOMDocument in Wordpress content filter, instead of regexp

wordpress-logo-stacked-rgb.pngIt's been said that solving a software coding problem by adding a regexp (regular expression) you now have two problems. Basically, regular expressions are a cool idea that's really hard to get right, and then really hard to maintain because it's really easy to forget why you concocted that specific regular expression. It's better to not use regexp's, for code maintainability if nothing else, and find other ways to manipulate text.

How to stop your facebook page from posting tweets to twitter

Automated postings to social media accounts - Facebook, Twitter, etc - are a great way to build your presence, and let your audience know what you're doing. Over the years preferred services have come and gone which automate cross posting to social media accounts. Where a few years we would have instructed Facebook to autopost to twitter, we might want to do that in a different way now. For example, I'm finding the dlvr.it service to be much better and offer better control over the format of postings.

Node.js 4.0.0 is out - quick tip for use while testing compatibility

nodejs-dark.pngNode.js v 4.0.0 was just released. This is a long-awaited release representing the healing of the schism in the Node.js community created when the io.js project forked Node.js. That had been done over a disagreement about the policies and maintainership of Node.js. Joyent had been in control of the project (because Ryan Dahl had been employed by Joyent) and not all in the community liked the decisions made by Joyent.

Updating custom Wordpress plugins made simple with WP Pusher

wordpress-logo-stacked-rgb.pngWhat if you've developed a custom Wordpress plugin which you don't want to submit to the Wordpress.org team? The Wordpress dashboard makes it easy to administer plugins, receive notifications about plugin updates, and make those updates. It's just a few clicks of the mouse and the plugin is updated. But, if that plugin is not hosted on Wordpress.org suddenly the administration process is much harder.

How to duplicate a Wordpress site so you can break things without breaking the live site

wordpress-logo-stacked-rgb.pngOne principle of proper software development or website administration is to avoid showing bugs to the end user. When developing software we make test releases, that are used for testing, and which are expected to have bugs and to break horribly. We don't tell our users to use that software because we haven't determined if it's safe, or not, for "production use".

Avoid false spam decisions by Gmail's spam filters, stop losing critical emails in the spam folder

Gmail has done us all a great service by developing an excellent spam filter. I used to get hundreds of spam emails a day, and switching to Gmail reduced the spam rate to a few per week. No longer am I buried by spam. Of course the cost for this is to regularly visit the spam folder and see if Gmail accidentally marked any as spam (a.k.a. false positive for spam). Usually there's only a few and it's easy to click the "Not Spam" button to retrieve those emails back into the regular inbox.

The difference between Node.js require, and Wordpress plugins or Drupal modules

nodejs-dark.pngSomeone experienced with using Wordpress, or Drupal, to build websites are accustomed to "plugins" or "modules". Both are software modules which extend the functionality of Wordpress or Drupal websites, giving more features to the system than what's available out of the box.

Pages

Subscribe to Front page feed