carmz23
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [AMP] AMP Scan ErrorsOk great thanks, i’ll give those that you mentioned a try.
Forum: Plugins
In reply to: [AMP] AMP Scan ErrorsThe snippet doesn’t seem to work, so I had a look into the plugins and themes involved, and 12 of them that are needed for my theme seem not to be compatible, which is strange because this particular Amp scan came with the theme to download. That being said, would you be able to suggest other Amp Scans that’ll work with my plugins?
Forum: Plugins
In reply to: [AMP] AMP Scan ErrorsI’m not sure where I’m supposed to place the snippet within the functions.php file. I appreciate the help.
<?php /** * Blossom Floral functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Blossom_Floral */ $blossom_floral_theme_data = wp_get_theme(); if( ! defined( 'BLOSSOM_FLORAL_THEME_VERSION' ) ) define( 'BLOSSOM_FLORAL_THEME_VERSION', $blossom_floral_theme_data->get( 'Version' ) ); if( ! defined( 'BLOSSOM_FLORAL_THEME_NAME' ) ) define( 'BLOSSOM_FLORAL_THEME_NAME', $blossom_floral_theme_data->get( 'Name' ) ); if( ! defined( 'BLOSSOM_FLORAL_THEME_TEXTDOMAIN' ) ) define( 'BLOSSOM_FLORAL_THEME_TEXTDOMAIN', $blossom_floral_theme_data->get( 'TextDomain' ) ); /** * Custom Functions. */ require get_template_directory() . '/inc/custom-functions.php'; /** * Standalone Functions. */ require get_template_directory() . '/inc/extras.php'; /** * Template Functions. */ require get_template_directory() . '/inc/template-functions.php'; /** * Custom functions for selective refresh. */ require get_template_directory() . '/inc/partials.php'; /** * Fontawesome */ require get_template_directory() . '/inc/fontawesome.php'; /** * Custom Controls */ require get_template_directory() . '/inc/custom-controls/custom-control.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer/customizer.php'; /** * Widgets */ require get_template_directory() . '/inc/widgets.php'; /** * Metabox */ require get_template_directory() . '/inc/metabox.php'; /** * Typography Functions */ require get_template_directory() . '/inc/typography.php'; /** * Dynamic Styles */ require get_template_directory() . '/css/style.php'; /** * Plugin Recommendation */ require get_template_directory() . '/inc/tgmpa/recommended-plugins.php'; /** * Getting Started */ require get_template_directory() . '/inc/getting-started/getting-started.php'; /** * Add theme compatibility function for woocommerce if active */ if( blossom_floral_is_woocommerce_activated() ){ require get_template_directory() . '/inc/woocommerce-functions.php'; } /** * Add theme compatibility function for blossom themes newsletter if active */ if( blossom_floral_is_btnw_activated() ){ require get_template_directory() . '/inc/newsletter-functions.php'; } /** * Add theme compatibility function for blossom themes toolkit if active */ if( blossom_floral_is_bttk_activated() ){ require get_template_directory() . '/inc/toolkit-functions.php'; } /** * Implement Local Font Method functions. */ require get_template_directory() . '/inc/class-webfont-loader.php';
Viewing 3 replies - 1 through 3 (of 3 total)