WordPress

If you’re ever locked out of your site backend and need the WordPress version to perform an update, you can echo it via FTP using this code:

echo $wp_version;

 

Read More

In version 4.1 I recently encountered an update (version and plugin) error where the installer was unable to locate the wp-content directory to complete the update.

Read More

Add Excerpt to Pages

WordPress

February 24, 2015

Sometimes it’s handy to utilize the same features that are available within the Posts area, inside of your Pages. Adding the Excerpt to the Pages, provides you with an additional, native field to pull data from and take advantage of when building your WordPress website.

Read More

Login Re-Direct?!

WordPress

November 24, 2014

WordPress keep redirecting me to the login page, even though I’ve entered my username and password correctly, several times. Check the address bar for this information after wp-login:

?redirect_to=http%3A%2F%2Fyourdomainname.ca%2Fmbprospects%2Fwp-admin%2F&reauth=1

Remove it, and press enter. You will still be at the login screen, and yes, will have to login again, but there will no longer be a redirect loop taking place.

Read More

SMTP & WP Mandrill

WordPress

October 24, 2014

Read this article about enabling Mandrill on  your site with

Read More

Place this within the single.php template to grab the Featured Image and format it automatically inline with the content.

the_post_thumbnail('large', array('class' => 'alignright'));

This can also be used in the loop with alongside posts with featured images.

Read More
the_post_thumbnail('medium', array('class' => 'alignright'));

 

Read More

This function, when added to functions.php, will help you add a posts_per_page query to the archive.php and archives.php pages, enabling you to further customize the output. Sourced from here

Read More

It helps in the long run to install WordPress in a sub folder, this will keep multiple domains / folders better organized in your ftp.

Read More

Thematic Archives.php

WordPress

September 11, 2014

The Archives.php and Archive.php templates are setup to pull in certain data within their loops, and these can be difficult to adjust. I found the below template for Thematic here and have used this to style main and monthly archive feeds in the past.

Read More

This is a handy trick if you’re working with ajax or dynamic elements that are using a filter, such as Ultimate WordPress Query Search Filter.

Read More
global $post; 
$slug = get_post( $post )->post_name;

See reference on WordPress support forums here.

Read More

A handy WordPress function to allow you to filter by child pages for great functionality.  Please see reference and author here. Function and simple example usage. Please see website of Kevin Leary for greater functionality and more complex usage.

Read More

Place this code inside of the relevant Div

Read More

Background-Attachment: Fixed does not work in Safari when using multiple background images in Safari.  The images will disappear when the browser is resized, or accessed in mobile device.  Background-Attachment: Fixed will render the images properly in Chrome, and Firefox, but even when coupled with Display: Block, and Overflow: Hidden to force images to appear, will not work properly in Safari.

Read More

Add this code to your functions.php file in order to create Breadcrumbs.

Read More
katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.