Hello, I have read through the x to pro and tested on another site and it all worked well except the site I tested it on was one of our smallest sites and did not employ a child theme. I am going to convert a site with over 800 pages and is an important client. We utilize a x-child theme with css styles and functions php.
Could you look at it and let me know what changes I should make? I think the child theme css is basically a cut and paste from your post instruction page but the functions file is too advanced for me to review for sure.
Thank you!!! James
Child CSS
/*
Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x
*/
Child FunctionsPHP
<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to X in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' ); // Additional Functions // ============================================================================= // Add Social Sharing after the single post content // ============================================================================= function x_add_social_sharing ( $content ) { if ( is_singular('post') ) { echo do_shortcode('[share title="Share this Post" facebook="true" twitter="true" google_plus="true" linkedin="true" pinterest="true" reddit="true" email="true"]'); } } add_action('x_before_the_content_end', 'x_add_social_sharing'); // Youtube Script //============================================================================== function add_defer_script(){ ?> <?php } add_action('wp_footer', 'add_defer_script'); // Heatmap tracking code in your pages // ============================================================================= /**/ function google_webmaster() { ?><meta name="google-site-verification" content="HopYLUoBfOeUsK7hNNp5ZjHReDRt8KVWEmPB5GKgUaI" />
<meta name="msvalidate.01" content="3C7407397D077FC62428CBD02F9ADA0F" />
<?php
}
add_action('wp_head', 'google_webmaster');
function my_custom_head_output() {
if (is_page( 12848 )): ?>