• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)

searchform.php not working in WordPress 3.6

Last updated on August 20, 2013 by Sal Ferrarello

This problem arises from a difference in how WordPress 3.5.2 and 3.6 handle the case where there is both a searchform.php template AND a filter on the hook get_search_form. In WordPress 3.5.2 in the presence of a searchform.php template, any filters on the hook get_search_form were ignored. With the upgrade to 3.6, filters on get_search_form are now […]

Filed Under: Programming Tagged With: WordPress

Spice Dealer’s Convertible

Last updated on August 12, 2013 by Sal Ferrarello

Did you hear about the spice dealer whose mother liked his convertible? He lent the cardamom.

Filed Under: Funny Tagged With: original joke

Stop Emails WordPress Plugin

Last updated on June 14, 2016 by Sal Ferrarello

Stops outgoing emails. Any outgoing emails will fail silently (i.e. WordPress will operate as if the email was sent successfully but no email will actually be sent). Why I’ve found when doing development work, sometimes I want to work on a site (often locally) but I don’t want it sending out any emails. Now with […]

Filed Under: Programming Tagged With: WordPress, WordPress Plugin

Contractor Bag Window Shade

Last updated on August 8, 2013 by Sal Ferrarello

It is tough enough to convince a one-year-old to take a nap on vacation, without the added disadvantage of a bright room. This year we took a contractor bag and painter’s tape with us on vacation. It made a perfect blackout shade. I could have developed film in that room. I’ve already added these items […]

Filed Under: Parenting Tagged With: lifehack, macgyver

VIM fix line-breaks

Last updated on April 23, 2018 by Sal Ferrarello

When your line-breaks are WONKY, try this. :%s/\r//g Definition of “WONKY” Some (or all) of the lines have ^M at the end of them.  This is a product of mixed line endings (DOS and UNIX).

Filed Under: Computing Tagged With: vim

  • «Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 38
  • Go to page 39
  • Go to page 40

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in