This file contains hidden or 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 | |
/** | |
* Product attributes | |
* | |
* Used by list_attributes() in the products class | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 2.1.3 | |
*/ |
This file contains hidden or 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
array(6) { | |
["pa_opacity"]=> | |
array(6) { | |
["name"]=> | |
string(10) "pa_opacity" | |
["value"]=> | |
string(0) "" | |
["position"]=> | |
string(1) "0" | |
["is_visible"]=> |
This file contains hidden or 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 | |
$attributes['attribute_name']['position'] = '1'; | |
$tmp = Array(); | |
foreach( $attributes as $ma ) { | |
$tmp[] = $ma['position']; | |
} | |
array_multisort( $tmp, $attributes ); |
This file contains hidden or 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 | |
/** | |
* Product attributes | |
* | |
* Used by list_attributes() in the products class | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 2.1.3 | |
*/ |
This file contains hidden or 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 | |
/** | |
* Product attributes | |
* | |
* Used by list_attributes() in the products class | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 2.1.3 | |
*/ |
This file contains hidden or 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
add_filter( 'wp_audio_shortcode', 'audio_short_fix', 10, 5 ); | |
function audio_short_fix( $html, $atts, $audio, $post_id, $library ) | |
{ | |
$html = str_replace ( 'visibility: hidden;' ,'' , $html ); | |
return $html; | |
} |
This file contains hidden or 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 | |
/* This is a sample config file. | |
* Edit this file with your own settings and save it as "config.php" | |
* | |
* IMPORTANT: edit and save this file as plain ASCII text, using a text editor, for instance TextEdit on Mac OS or | |
* Notepad on Windows. Make sure there is no character before the opening <?php at the beginning of this file. | |
*/ | |
/* | |
** MySQL settings - You can get this info from your web host |
This file contains hidden or 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 | |
/* This is a sample config file. | |
* Edit this file with your own settings and save it as "config.php" | |
* | |
* IMPORTANT: edit and save this file as plain ASCII text, using a text editor, for instance TextEdit on Mac OS or | |
* Notepad on Windows. Make sure there is no character before the opening <?php at the beginning of this file. | |
*/ | |
/* | |
** MySQL settings - You can get this info from your web host |
This file contains hidden or 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 | |
header('Location:http://yoururl.com/'); | |
?> |
This file contains hidden or 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
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowPublicRead", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", |