128 reputation
7
bio website themer.me
location
age
visits member for 2 years, 9 months
seen 5 hours ago

Feb
18
comment Get multiple roles with get_users
Purrrfect! Thank you!
Feb
5
comment How to check if woocommerce is activated in theme
Yep, And I'm not arguing with you, I'm just posting relevant information, just in case someone decides to redeclare a function if WooCommerce doesn't exist
Jan
30
comment How to check if woocommerce is activated in theme
It would trigger a Fatal Error, "Cannot redeclare function is_woocommerce". Try it.
Jan
29
comment How to check if woocommerce is activated in theme
You can't really load at the "exact moment", you can load 1ms before or after. It's important to pay attention here, because, if you declare some Woo function for a condition where WooCommerce doesn't exist ( like your own is_woocommerce() ), then you will receive a fatal error when trying to activate WooCommerce Plugin, because you will register your function first, and only then WooCommerce is going to try to register their is_woocommerce() function, and that is going to cause a fatal error and prevent WooCommerce plugin from ever activating.
Jan
28
comment How to check if woocommerce is activated in theme
class_exists('WooCommerce') is going to return false, if the code is placed in functions.php while "activating plugin" ( the plugin is going to be activated after you check for WooCommerce class ).
Nov
26
comment Wordpress Rewrite: Ignore Specific Pattern
No, but that looks exactly like what I need. Thanks!
Nov
26
comment Wordpress Rewrite: Ignore Specific Pattern
I have sub-sections that I want to be linkable with html5 push state instead of the regular hashtags on modern browsers. Basically it's a linkable accordion.
Nov
9
comment What are the advantages and disadvantages of Option Tree over the Customization API?
Except that it's been more than a year since WP Theme Customization API Was released, and it is still heavily lacking in the UI. It is nearly impossible for me to document the "controls" (which lack too). Poor separation and easy to clutter the UI. In my opinion the Customization API should only be used for minor theme options, which I think was the intention of the API in general.
Jul
5
comment Restore original WP admin bar after BuddyPress install
Thank you! This helped :)
Jun
16
comment I'm trying to Add a new Buddypress menu tab and it is not showing up
Thank you so much! Took me a while to find this :)