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
ssh-keyscan -t rsa itm20.siteground.biz >> ~/.ssh/known_hosts | |
cd ~/.ssh/ | |
nano [your-private-key] | |
chmod 600 [your-private-key] | |
ssh-add -K ~/.ssh/[your-private-key] | |
# Poner la frase privada que da SG-Git | |
git clone ssh://[url] |
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
#Wordpress | |
htaccess.txt | |
index.php | |
licencia.txt | |
license.txt | |
readme.html | |
robots.txt | |
wp-activate.php | |
wp-blog-header.php | |
wp-comments-post.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
.ftpquota | |
.gitignore |
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
[git-ftp] | |
url = ftp://ftp.url.com:21/www/ | |
user = username | |
password = "pass" |
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
//*Grid Posts | |
if(is_archive() ){ | |
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); | |
} | |
add_action( 'genesis_before_entry', 'cmk_grid_posts' ); | |
function cmk_grid_posts() { | |
global $wp_query; | |
if ( is_singular() || is_post_type_archive() ) { | |
return; |
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
image: savjee/docker-s3website-git-ftp-deploy | |
pipelines: | |
default: | |
- step: | |
script: | |
- git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://s1.closemarketing.net/domains/domain.com/public_html/ |
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
/* | |
Site Header | |
---------------------------------------------------------------------------------------------------- */ | |
/* This is where the magic happens. You need | |
* to assign a fixed position in order for | |
* everything else to work correctly. | |
--------------------------------------------- */ | |
.site-header { | |
position: fixed; | |
top: 0; |
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
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript | |
</IfModule> | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "access 1 year" | |
ExpiresByType image/jpeg "access 1 year" | |
ExpiresByType image/gif "access 1 year" | |
ExpiresByType image/png "access 1 year" |
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
// Remove WooCommerce Updater | |
remove_action('admin_notices', 'woothemes_updater_notice'); |
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
//* Adds featured image in home | |
add_image_size( 'destacada_pagina', 1440, 470, true ); | |
add_action('genesis_after_header','cmk_home_img'); | |
function cmk_home_img() { | |
if ( has_post_thumbnail() && !is_singular() && !is_home() && !is_front_page()) { | |
echo '<div class="miniatura text-center">'; | |
the_post_thumbnail('destacada_pagina'); | |
echo '</div>'; | |
} elseif (is_home() || is_front_page()) { | |
echo '<section id="slider">'; |