108 reputation
6
bio website themer.me
location
age
visits member for 2 years, 7 months
seen yesterday

1d
comment How to check if woocommerce is activated in theme
It would trigger a Fatal Error, "Cannot redeclare function is_woocommerce". Try it.
2d
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
17
asked Get current topic author in bbpress ?
Jun
27
awarded  Scholar
Jun
27
accepted Why use while over if in single wordpress posts?
Jun
27
asked Why use while over if in single wordpress posts?
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
26
asked Wordpress Rewrite: Ignore Specific Pattern
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.
Sep
10
awarded  Student
Jul
11
awarded  Promoter
Jul
5
comment Restore original WP admin bar after BuddyPress install
Thank you! This helped :)
Jul
2
awarded  Editor
Jun
23
awarded  Tumbleweed
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 :)
Jun
16
awarded  Supporter