Menu

Skip to content
  • Home
  • About
  • Projects
  • Articles
  • Contact
  • Contact Form

    Fields marked with a * are required.

Kirsten Cassidy

WordPress, RWD, bits, bats, nibbles and bytes

Quick Tips

Unix Cheatsheet

November 26, 2017May 10, 2019 by Kirsten Cassidy

Here is a list of useful commands that I find myself having to look up fairly often : Move contents of folder one folder up and remove said folder From the subfolder that you no longer need : mv * .[^.]* .. Modifying hosts file (Mac/ Linux) sudo vi /etc/hosts

More about:
  • Quick Tips
Cheat sheets

Installing Theme Unit Test Data with wp-cli

December 5, 2016December 5, 2016 by Kirsten Cassidy

When building custom themes client sites it is important to test as many edge case as possible. Theme Unit Test Data is the way to go here and a minimum requirement for any professionally built WordPress theme (in my opinion anyway) If building a theme for the wordpress.org theme repository this will almost certainly be …Continue reading

More about:
  • Quick Tips
  • WordPress
Cheat sheetswp-cli

Using WP-CLI for database synchronisation

December 28, 2015February 8, 2018 by Kirsten Cassidy

There are a great many tools that duplicate sites and synchronise databases between sites. Some favourites are Duplicator, WP Migrate and WP Migrate Pro, as well as good old phpMyAdmin. However, sometimes all that is needed is to import the database and then do a search and replace. This is easier said than done however …Continue reading

More about:
  • Quick Tips
  • WordPress
wp-cli

CSS Fancy Quotes

November 30, 2015December 21, 2015 by Kirsten Cassidy

There are all sorts of HTML elements that concern quotes and quoting things. I’ll let you sort out the appropriate one here. When it come to styling them you have several choices as well. You can put quotes around the quoted string or you can style the blockquote element. The main difference is whether you …Continue reading

More about:
  • CSS
  • Quick Tips

Unix Command Cheatsheet

November 2, 2015November 25, 2015 by Kirsten Cassidy

This is a conglomeration of several online cheatsheets, the origins of which are noted in the resources section below. It also includes my own notes, any of this is open for discussion. Please feel free to correct any wrong information or to include any which are vital but may have been overlooked.

More about:
  • Basics
  • Quick Tips
Cheat sheets

CSS Properties: object-fit and object-postion

October 25, 2015November 14, 2015 by Kirsten Cassidy

CSS has many obscure properties that can can really make a difference with browsers that support them. Two of these are object-fit and object-position. The benefits of these two properties is that the allow us to determine the portion of an image that will be seen at various widths, so that by using media-queries different …Continue reading

More about:
  • CSS
  • Quick Tips

Per Site Plugins for WordPress Multisite

May 18, 2015May 18, 2015 by Kirsten Cassidy

One of the advantages of using a MultiSite in WordPress is that plugins can be shared between sites and enabled on a per site basis. This makes for easier plugin and theme updates for the whole network. But what about cases when you don’t want the plugin to be available for all sites in the …Continue reading

More about:
  • Quick Tips
  • WordPress
Multisite

Allow HTML code in WordPress tagline

April 27, 2015November 7, 2015 by Kirsten Cassidy

Maybe its just me but I always feel like the site description or WordPress tagline begs for some styling. Here’s an easy one to use as an example*: The Future’s Bright. The Future’s orange   In order to output the Tagline most themes use the get_bloginfo() function, esc_html( get_bloginfo( ‘description’ ) ) or just get_bloginfo( …Continue reading

More about:
  • Quick Tips
  • Tutorial
  • WordPress

Force Download PDF in WordPress

April 20, 2015December 24, 2018 by Kirsten Cassidy

WordPress already enables you to to download PDFs and other file types simply by changing the attachment link in the media library. Like so: But what if you want to force it to download instead of opening it up in another window? This is a quick one now so pay attention. in an .htaccess file: …Continue reading

More about:
  • Quick Tips

Force SSL for WordPress Media Attachments

March 26, 2015September 26, 2015 by Kirsten Cassidy

Case scenario: you have certain pages on your site that force SSL but not all. You notice that the culprits (i.e. pesky buggers that are still being served using http://) are all coming from the uploads folder and are in the media library. https://gist.github.com/d81af526fa6b6f2808f9 Cheers to the anonymous Ludovic who came up with this seemingly …Continue reading

More about:
  • Quick Tips
  • WordPress

Posts navigation

← Older posts

Recent Posts

  • Incorporting Webpack into a WordPress theme (part 3)
  • Unix Cheatsheet
  • Using Font Face Observer to optimise font-loading in a WordPress site
  • Incorporting Webpack into a WordPress theme (part 2)
  • Incorporting Webpack into a WordPress theme (part 1)

Categories

  • Basics
  • CSS
  • Editorial
  • Miscellaneous
  • Quick Tips
  • Resources
  • Tools
  • Tutorial
  • WordPress
  • WPML

Tags

Cheat sheets CSS Grid layout forms Multisite Php Storm Responsive Web Design SVG icons text-editors Webpack WordCamp Europe WordPress 4.6 wp-cli WP-plugins

© 2021 Kirsten Cassidy