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
<VirtualHost *:80> | |
ServerName local.%PROJECT% | |
ServerAlias local.%PROJECT% | |
DocumentRoot %DOCROOT% | |
<Directory "%DOCROOT%/"> | |
Options Indexes FollowSymLinks |
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 | |
$settings = array( | |
'DB_HOST' => 'localhost', | |
'DB_NAME' => '%DBNAME%', | |
'DB_USER' => '%DBUSER%', | |
'DB_PASSWORD' => '%DBPASS%', | |
'DOMAIN_CURRENT_SITE' => '%SITEURL%', | |
'WP_DEBUG' => TRUE, | |
'ENVIRONMENT' => 'dev', | |
'ACF_REPEATER' => "", |
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
#!/bin/bash | |
# | |
# This script has been adapted from the drush wrapper script | |
# and all credit should go to the authors of that project: | |
# http://drupal.org/project/drush | |
# Get the absolute path of this executable | |
ORIGDIR=$(pwd) | |
SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH=$SELF_PATH/$(basename -- "$0") |
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 | |
/* Template Name: News Archive */ | |
?> | |
<?php | |
include('archive.php'); | |
?> | |
<?php | |
/* don't forget to put these in your functions.php */ |
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
$s_title = single_cat_title('', false); | |
$s_title = str_replace(' @en', '', $title); |
NewerOlder