hi I'm Solid
  • Home
  • About
Sign in Subscribe
Solid

Solid

I like video games and code.
Canada
https://solid.sh/
Code

Shortcode to translate/format dates to the current locale in Wordpress

We were having issues where using a custom post type with pods would output dates without using date_i18n() so anything displaying months or weekdays would not translate when used in Beaver Builder Themer templates. The code is simple, simply add this to your functions.php of your theme. function
Jul 9, 2018 1 min read
Code

Getting the deepest element in jQuery

function deepest(e) { var $t = $(e).children(); while($t.length) { $t = $t.children(); } return $t.end(); } I had to deal with editing a title from a landing page as you completed a form. Since the page would create a metric ton of wrappers and it would vary every time, it
Jul 7, 2015 1 min read
Page 1 of 1
hi I'm Solid © 2023
Powered by Ghost