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

get_next_post() Not Working in WordPress

Last updated on March 19, 2014 by Sal Ferrarello

Why is get_next_post() Not Working in WordPress We’ve got a WordPress instance setup with lots of posts being created as Drafts.  Then using the Bulk Actions, we change the status of the posts to Published.  Everything seems great until it becomes evident the get_next_post() and get_previous_post() functions are not returning anything. Why Isn’t this Working It turns out […]

Filed Under: Programming Tagged With: WordPress

HTML Comments within Comments

Last updated on October 9, 2013 by Sal Ferrarello

Everyone once in a while I find myself in need of nested HTML comments (i.e. HTML comments within comments).  Unfortunately, HTML does not support nested comments.  When you put HTML comments within comments, some of your content ends up uncommented. PHP Since it is rare that I’m working on a straight HTML site, usually there […]

Filed Under: Programming

Airline Bagels

Last updated on September 29, 2013 by Sal Ferrarello

What kind of bagels do they serve on airlines? Plain Bagels (plane bagels) In truth, this is not my original joke but my 5 year old son’s; however, since he is my son and the joke is his, could this still be my joke by the transitive property? photo credit: Campobello Island via photopin cc

Filed Under: Funny Tagged With: original joke

jQuery filter Array Method

Last updated on September 29, 2013 by Sal Ferrarello

I really enjoyed Josh Clanton’s article Filtering Arrays with Array.filter on using the JavaScript filter method(). As he points out, Because the filter method is part of the ECMAScript 5 specification, it isn’t available in older browsers like IE8. Josh then lists a couple of options to bring this functionality into older browsers (i.e. IE < 9) […]

Filed Under: Programming Tagged With: JavaScript, jQuery

Find Your Local IP Address

Last updated on November 13, 2013 by Sal Ferrarello

Find Your Local IP Address on Your Mac ipconfig getifaddr en0 (primary) or ipconfig getifaddr en1 (secondary) How do I know which to use? It is common for Mac laptops to have one (wireless only) or two (wired and wireless) network connections.  When a wired connection is present, it is the primary connection (with wireless […]

Filed Under: Computing Tagged With: network

JPG will not display in IE8

Last updated on September 20, 2013 by Sal Ferrarello

I had a client contact me with the problem that on his site a jpg will not display in IE8, but is showing up in other browsers. After checking the code and viewing the image in multiple browsers, including IE8 mode (using IE10’s web developer tools), I was convinced it was a problem with the […]

Filed Under: Computing Tagged With: troubleshoot

Vim Visual Mode Search for Selection

Last updated on May 2, 2019 by Sal Ferrarello

Sometimes you want to search for a long string in Vim. When using a GUI interface you may be able to get away with CTRL+c, CTRL+v but when you are in a terminal, it is a little trickier to use Vim Visual Mode search for a selection. Here is how to search in Vim using […]

Filed Under: Computing Tagged With: vim

I’m a Buttercup

Last updated on August 27, 2013 by Sal Ferrarello

A little girl says to her father, “Look at me Daddy, I’m a buttercup.” He replies, “Don’t be ranunculus.” And thus ends my segment of jokes for horticulturists. Relevant link (Wikipedia Ranunculus).

Filed Under: Funny Tagged With: original joke

Stop Annoying Mac Updates Available

Last updated on December 13, 2013 by Sal Ferrarello

UPDATE: This wonderful ability to ignore updates has been removed in Mavericks ( OS X 10.9 ). https://discussions.apple.com/thread/5509820 Mac Updates Available has been an annoying reoccurring message for me ever since we got a new printer replacing the HP model we had previously. With the old printer gone there is no reason to install updates to […]

Filed Under: Computing, Happy Tagged With: happy, mac

French Fries in July

Last updated on August 21, 2013 by Sal Ferrarello

What does a gymnast put on her french fries in July? somersault (summer salt)

Filed Under: Funny Tagged With: original joke

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

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