This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
** What: | |
* The following pattern should be enough to make the following plugins compatible with each other: | |
* - Aelia Currency Switcher | |
* - Aelia Tax Display by Country | |
* - Klarna Checkout (Krokedil) | |
* - Klarna Shipping (Redlight Media) + their PostNord & Budbee addons | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class Limit_Order_Search_Fields | |
* | |
* Limits WooCommerce order searches to email, phone, order ID, shipping & billing address indexes and name | |
* for admins and shop managers to limit optimize speed in order search. | |
* | |
* Installation: Place this file in the mu-plugins folder. | |
* If you do not have a mu-plugins folder you can create one in the wp-content folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class Redis_Write_Permissions | |
* | |
* This class is responsible for enabling write permissions for the Redis object cache drop-in | |
* when the DISALLOW_FILE_MODS constant is set to true, without having to disable DISALLOW_FILE_MODS. | |
* | |
* Notes: Use with https://wordpress.org/plugins/redis-cache/ (Redis Object Cache by Till Krüss) | |
* By default, the Redis Object Cache drop-in is not writeable when DISALLOW_FILE_MODS is set to true. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Example on how to set class="active" on active navigation links --> | |
<!-- These links will always be visible --> | |
<li class="{{ URI::is( 'home') ? 'active' : '' }}"> | |
<a href="{{ URL::to( 'home') }}"> | |
Home | |
</a> | |
</li> | |
<li class="{{ URI::is( 'gallery') ? 'active' : '' }}"> |