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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^(www.)?example.com$ | |
RewriteCond %{REQUEST_URI} !^/web/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /web/$1 | |
RewriteCond %{HTTP_HOST} ^(www.)?example.com$ | |
RewriteRule ^(/)?$ index.php [L] |
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 | |
function ses_add_select_to_contact_form ( $tag, $unused ) { | |
global $post; | |
//deklarujemy nazwę selecta dla którego mają być zaciągnięte dodatkowe wartości | |
if( $tag['name'] == 'wymiary'){ | |
//nazwa taxonomii | |
$taxonomy = 'wymiary'; | |
//nazwy dla pierwszego option w select - tego domyślnego | |
$tag['raw_values'][] = ''; |
NewerOlder