Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
This is my collection of WordPress, CSS, JS and PHP code

This is my collection of WordPress, CSS, JS and PHP code

July 1, 2014 (6 years ago)
General

This is a personal collection of snippets I use on client sites. Some are original, some highly modified or cobbled together from other sources, and some copied (only from open sources such as this.)

I generally prefer not to use plugins for simple features and functions, especially if my clients don’t need options, which is quite often the case.

Free support for these snippets is probably not an option for your unique applications, due to my work load, but it never hurts to ask.

Copy, share and code on!

Super Simple Floating Button

December 4, 2018 (1 year ago)
General

Fatal error: Uncaught Error: Call to a member function id() on array in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '.button.float{\n...') #3 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('.button.float{\n...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHi in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36