By default font selector is hidden. If you want to show WordPress font selector in text editor all you need to do is add…
Latest posts - Page 10
Drupal 8 add JavaScript and CSS to a page
This is how you add Drupal 8 JavaScript and CSS to a certain page in your custom theme instead of the methods we are…
jQuery Select Deselect All Checkboxes
I needed buttons to select and deselect all check boxes in a <fieldset> on a page. This was such a recurring issue that I…
BuddyPress get url to profile page
BuddyPress templates are tricky, I was adding a user icon to a menu bar, and I needed to print a link to the current…
Drupal 8 change image style on user page
I needed to change image style on the user page, and I also needed to theme some fields. I was able to do everything…
Drupal 7 create an iframe from a node for embedding
Drupal 7 create an iframe from a node for embedding Here is the following situation: You have a content type in Drupal 7 that…
Drupal 7 check if page is using panels
In drupal 7 check if page is using panels is just one line of code but comes in handy very often. Some times you…
Drupal 8 add icon to block title based on block title
I needed a way for the the block template to decide whether the title needs an icon or not before it. Here is a…
Linker Digital 7 segment display
I needed a smaller 7 segment display for one of my projects and found a 1 cm Linker Digital 7 segment display at a…
SDA and SCL on Arduino Nano – connecting I2C devices to Arduino Nano
I got some Arduino Nanos at really good price on amazon and wanted to connect a 7 segment LED display with an I2C backpack.