View docker
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
#zjištění názvu kontejneru | |
docker stack ls | grep zdrave | |
#debugování wordpress - do docker-compose.yml dopiš řádek ke konfiguraci db_user, db_password, ... : | |
- WORDPRESS_DEBUG=0|1 | |
# změna konfigurace kontejneru | |
docker stack ls | grep zdrave | |
# zdravepoostravecz | |
docker stack deploy -c /etc/docker/compose/zdravepoostrave.cz/docker-compose.yml zdravepoostravecz |
View shortcode.php
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 | |
add_shortcode( 'shellers-top-category', 'shellers_top_category' ); | |
/** | |
* Show parent categories | |
* | |
* @author Radomir Panna | |
* @version 1.0.0 | |
* @param array $attr | |
* @return $output | |
*/ |
View wp-config-part-1-show.php
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
define( 'WP_DEBUG', true ); | |
define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true ); |
View dabblet.css
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |