irislines web design
irislines web design

Author Archive

WP Fastest Cache Settings

I had an intense afternoon:

Using Chrome with WP Fastest Cache turned ON,  homepage slide show, email list accordion, and calendar map view all worked.

But,,,  with WP Fastest Cache turned OFF,  these same elements failed in Safari and Firefox.

I finally found that by tweaking the settings of WP Fastest Cache, I could get all working in all 3 browsers.

I turned off option to combine css files and to combine js files.

WP sites not loading after updates

May, 2018.

This turned out to be a problem with the php allocation.

From Liquid Web tech support:

During our conversation, we found that your site was not loading properly due to the memory_limit being lower than what was needed to load the site. I raised it from 64M to 128M, which brought it back into working order.

I did this by adding the following line to public_html/.user.ini:

memory_limit=128M

Category as body class in WordPress

Wanting more handles for CSS styles — to style a widget in different colors for different categories of posts — I found this snippet:


// add post category slug to body class in wordpress
function wcs_add_category_slug_body_class( $classes ) {
global $post;
if ( is_single() ) {
foreach ( get_the_category( $post->ID ) as $category ) {
$classes[] = $category->category_nicename;
}
}
return $classes;
}
add_filter( 'body_class', 'wcs_add_category_slug_body_class' );;

which did the trick!

The site that had the snippet:

Add Post Category Slug to Body Class in WordPress

 

 

New Captcha fails if server clock is not synced

If you are comfortable with WHM this is easy to do via WHM> Server Time> Sync Time With TimeServer.

This has happened a few times — it took lots of research the first time, the second, I called and asked my host company to snyc the clock.

After they fixed it, they let me know this was something I could do myself. I just need to remember!

Voices of Community

Voices of Community

The folks at Sandglass Theater tried something new for their Voices of Community series in 2016: Instead of several residencies throughout the year, they brought everyone together for a week and ran it like a festival or conference. Continue Reading

IrisLines LLC
101 Washington Street
Brattleboro, VT 05301

802 257 7391

info@irislines.com