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 | |
/* | |
* One WordPress wp-config.php to rule them all: Development-, Staging- and Live-Server. | |
*/ | |
// Define Environments | |
$environments = array( | |
'dev' => 'server.dev', | |
'staging' => 'staging.server.com', | |
'live' => 'www.server.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
<?php | |
if (file_exists(dirname(__FILE__) . '/wp-config-local.php')) { | |
// If File exists include Config for Dev-Server Environment | |
include(dirname(__FILE__) . '/wp-config-local.php'); | |
} elseif (file_exists(dirname(__FILE__) . '/wp-config-staging.php')) { | |
// If File exists include Config for Staging-Server Environment | |
include(dirname(__FILE__) . '/wp-config-staging.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
# The following code will not only affect the subdirectory itself but all content within! | |
# Add it to the top of your .htaccess file BEFORE WordPress´ own rules, starting with "# BEGIN WordPress" | |
# Move from "old"-directory to "new" directory | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^old/(.*)$ /new/$1 [R=301,L] | |
</IfModule> | |
# In case you want to move from a subdir to the root-directory just remove the "new" from the second parameter like this: |
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 | |
/** | |
* Custom WordPress configurations on "wp-config.php" file. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more. | |
* For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page. | |
* Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com. | |
* | |
* @package WordPress | |
* @generator GenerateWP.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
<?php | |
/** | |
* The base configuration for WordPress | |
* | |
* The wp-config.php creation script uses this file during the | |
* installation. You don't have to use the web site, you can | |
* copy this file to "wp-config.php" and fill in the values. | |
* | |
* This file contains the following configurations: | |
* |
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 | |
/* | |
* Invert incoming RGB/RGBa CSS-String OR just values to RGBa values | |
* Expects a string in one of the following formats: | |
* 255, 255, 255, 0 // Just parameters with/without Alpha value | |
* rgba(255,255,0) // Full CSS value with/without Alpha value | |
* | |
* Thomas A. Reinert // www.tarthemems.com 2015 | |
*/ |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- An dieser Stelle KÖNNTE eine DTD stehen, wie z.B.: | |
<!DOCTYPE addressbook SYSTEM "addressbook.dtd"> --> | |
<root> | |
<kontakt> | |
<anrede>Herr</anrede> | |
<titel>Professor</titel> | |
<titel>Doktor</titel> | |
<vorname>Otto</vorname> |
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
<?xml version="1.1" encoding="utf-8" ?> | |
<root> | |
<image> | |
<source>bild.tif</source> | |
<subtitle>I am a Subtitle</subtitle> | |
</image> | |
<image source="bild.tif" subtitle="I am a Subtitle" /> | |
</root> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- xml-declaration --> | |
<root> | |
<!-- tag, rootelement --> | |
<container> I´m some content of the container Tag </container> | |
<!-- ^ opening tag ^--> <!-- ^ closing tag ^ --> | |
<!-- the <container> tag is also a child-element for the <root>-tag.. --> | |
<emptytag imanattributeyaknow="someimage.tif" /> | |
<!-- ^ tag ^ --> <!-- ^ attribute ^ --><!-- ^ value ^ --><!-- ^ selfclosing tag ^ --> | |
</root> |
NewerOlder