Bobz.co

Tips & Tricks

  1. You are here
  2. Home
  3. Blog
Tips & Tricks, WooCommerce, WordPress / Wednesday, December 11th, 2019.

WooCommerce coupon for logged in user only

Use WooCommerce hook woocommerce_coupon_is_valid to check if coupon is valid. Example shows how to make sure certain coupons are valid for logged in users only. Same example can be use to extend validation, for example …

Continue Reading
Javascript, Tips & Tricks / Wednesday, September 25th, 2019.

Browser dark mode specific favicon

Run this little snippet on document ready, it enables you to define and switch different favicon for users who are visiting your site in browser/os dark mode. Don’t forget to update image icon path.

Continue Reading
Tips & Tricks, WordPress / Thursday, June 6th, 2019.

Change Gravity Forms submit input to button element

There is a filter for that, we all assumed. Read official documentation gform_submit_button filter.

Continue Reading
Tips & Tricks / Monday, February 18th, 2019.

Making Youtube iframe API videos work in carousel / tab

Well, I just spent decent amount of time trying to make Youtube video work inside a carousel. On ‘slide in’ play video if there is one, and pause all others. Did seam like a routine …

Continue Reading
Tips & Tricks, WordPress / Wednesday, January 30th, 2019.

How to remove ‘Category list’ from Quick edit in WordPress admin

This snippet removes category checkbox list from quick edit in WordPress. Third param $view can be added if you want to remove the view for a specific post type only.

Continue Reading
  • 1
  • 2
  • …
  • 6
  • Next

Hi, my name is Vlado.

I’m freelance web developer doing:
– Front end development
– WordPress Themes / Plugins

Skills:
– HTML/5
– S/CSS
– Javscript / jQuery / Vue.js
– PHP, MySQL

Looking for something specifc?

Recent Posts

  • WooCommerce coupon for logged in user only
  • Browser dark mode specific favicon
  • Change Gravity Forms submit input to button element
  • Making Youtube iframe API videos work in carousel / tab
  • How to remove ‘Category list’ from Quick edit in WordPress admin

Copyright Bobz.co 2021. | Made in Croatia