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
/* | |
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
// 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">'; |
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
add_action( 'init', ‘cmk_add_excerpts_to_pages' ); | |
function cmk_add_excerpts_to_pages() { | |
add_post_type_support( 'page', 'excerpt' ); | |
} |
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
// Bring back the missing editor for Posts page | |
add_action( 'edit_form_after_title', 'rgc_posts_page_edit_form' ); | |
function rgc_posts_page_edit_form( $post ) { | |
$posts_page = get_option( 'page_for_posts' ); | |
if ( $posts_page === $post->ID ) { | |
add_post_type_support( 'page', 'editor' ); | |
} |
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
// Register Horizontal Opt-in widget area | |
genesis_register_widget_area( | |
array( | |
'id' => 'horizontal-opt-in', | |
'name' => __( 'Horizontal Opt-in', 'my-theme-text-domain' ), | |
'description' => __( 'This is the horizontal opt-in section.', 'my-theme-text-domain' ), | |
) | |
); | |
// Display Horizontal Opt-in widget area below header |
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/ |