The Lancaster Beacon

I made this icon for a twitter account I started a while ago, @LancasterBeacon. News, culture & events in and around Lancaster, Pennsylvania. Follow @LancasterBeacon

Published
Categorized as News

Spinners and loading animations built into WooCommerce

WooCommerce is a big plugin that ships with several JavaScript loading animations. There is no reason to roll your own when you need one. This week, I am hacking on WooCommerce to convert “Add to Cart” buttons to prevent redirecting users to different pages. Here’s a great tutorial I used to accomplish this goal. Without… Continue reading Spinners and loading animations built into WooCommerce

Published
Categorized as WordPress

How to find WordPress theme’s stylesheet handle

A few moments ago, I wanted to append an inline style to the theme’s stylesheet from within a plugin. This requires knowing the current theme’s stylesheet handle, so here is a function that finds that string. private function find_theme_stylesheet_handle() { global $wp_styles; foreach( $wp_styles->registered as $handle => $style_obj ) { if( $style_obj->src === get_template_directory_uri() .… Continue reading How to find WordPress theme’s stylesheet handle

Published
Categorized as How to

How to fix WordPress filter robots_txt not working

WordPress provides a filter hook, robots_txt, that dynamically generates robots.txt if the file does not exist. This filter allows developers to create unique robots.txt files for each site in a multisite network, since all the sites in the network share the same root directory (and therefore the same robots.txt file). If this filter is not… Continue reading How to fix WordPress filter robots_txt not working

Published
Categorized as How to

A monogram for my brother

I created this monogram for my older brother, an artist who uses the elements of nature. Aaron Salzano

Published
Categorized as News

How To Market An Event On Twitter

While writing the companion piece, What It’s Like To Co-Organize Your First WordCamp, I realized that I had created a list of Twitter marketing tips that should really live in their own post. Here’s that. I run a number of Twitter accounts, and some people seem to enjoy following them. A few of them, @LititzBeerFest and @WordCampLanc promote… Continue reading How To Market An Event On Twitter

Published
Categorized as How to

Beer can labels for St. Boniface

https://www.instagram.com/p/BN1qDbfD3iQ/?taken-by=stbonifacebrew https://www.instagram.com/p/BNHUst6Df_F/?taken-by=stbonifacebrew St. Boniface Craft Brewing Co. is releasing some very limited 16 ounce cans lately, and they asked me to re-imagine their can label (not designed by me) for these special releases.

Published
Categorized as News