to output valid HTML5. */ add_theme_support('html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', )); /* * Enable support for Post Formats. * * See: https://codex.wordpress.org/Post_Formats */ add_theme_support('post-formats', array( 'image', 'video', 'gallery', 'audio', )); // Set up the WordPress core custom background feature. add_theme_support('custom-background', apply_filters('advance_blog_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ))); /** * Add theme support for gutenberg block * */ add_theme_support( 'align-wide' ); add_theme_support( 'responsive-embeds' ); add_theme_support( 'wp-block-styles' ); } endif; add_action('after_setup_theme', 'advance_blog_setup'); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function advance_blog_content_width() { $GLOBALS['content_width'] = apply_filters('advance_blog_content_width', 640); } add_action('after_setup_theme', 'advance_blog_content_width', 0); /** * Return early if Custom Logos are not available. * * @todo Remove after WP 4.7 */ function advance_blog_the_custom_logo() { if (!function_exists('the_custom_logo')) { return; } else { the_custom_logo(); } } /** * Enqueue scripts and styles. */ function advance_blog_scripts() { wp_enqueue_style('slick', get_template_directory_uri() . '/assets/lib/slick/css/slick.min.css'); wp_enqueue_style('magnific-popup', get_template_directory_uri().'/assets/lib/magnific-popup/magnific-popup.css'); wp_enqueue_style('advance-blog-style', get_stylesheet_uri()); wp_style_add_data( 'advance-blog-style', 'rtl', 'replace' ); $fonts_url = advance_blog_fonts_url(); if (!empty($fonts_url)) { wp_enqueue_style('advance-blog-google-fonts', $fonts_url, array(), null); } wp_enqueue_script('slick', get_template_directory_uri() . '/assets/lib/slick/js/slick.min.js', array('jquery'), '', 1); wp_enqueue_script('jquery-match-height', get_template_directory_uri() . '/assets/lib/jquery-match-height/jquery.matchHeight.min.js', array('jquery'), '', 1); wp_enqueue_script('magnific-popup', get_template_directory_uri().'/assets/lib/magnific-popup/jquery.magnific-popup.min.js', array('jquery'), '', true); wp_enqueue_script('advance-blog-main', get_template_directory_uri() . '/assets/js/main.js', array('jquery'), '', 1); if (is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } wp_localize_script( 'advance-blog-main', 'advance_blog_main', array( 'next_svg' => advance_blog_the_theme_svg('arrow-right',true), 'prev_svg' => advance_blog_the_theme_svg('arrow-left',true), 'arrow_down' => advance_blog_the_theme_svg('chevron-down',true), ) ); } add_action('wp_enqueue_scripts', 'advance_blog_scripts'); /** * Enqueue admin scripts and styles. */ function advance_blog_admin_scripts() { $current_screen = get_current_screen(); if( $current_screen->id === "widgets" ) { // Enqueue Script Only On Widget Page. wp_enqueue_media(); wp_enqueue_script('advance-blog-widget', get_template_directory_uri() . '/assets/js/widget.js', array('jquery'), '', 1); } wp_enqueue_style('admin-style', get_template_directory_uri() . '/assets/css/admin-style.css'); } add_action('admin_enqueue_scripts', 'advance_blog_admin_scripts'); if ( is_admin() ) { require_once get_template_directory() . '/inc/dashboard/class-dashboard.php'; new Wpinterface_Dashboard(); } require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer/customizer.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php'; /** * Load added-functions file. */ require get_template_directory() . '/inc/added-functions.php'; /** * Load metabox file. */ require get_template_directory() . '/inc/meta-box.php'; /** * Tgmpa plugin activation. */ require get_template_directory().'/assets/lib/tgm/tgm.php'; require get_template_directory() . '/inc/class-svg-icons.php'; require get_template_directory() . '/inc/widgets/widget.php'; {"id":6,"date":"2023-07-23T19:26:07","date_gmt":"2023-07-23T18:26:07","guid":{"rendered":"https:\/\/natgardenlife.com\/index.php\/contact-us\/"},"modified":"2023-07-23T19:26:07","modified_gmt":"2023-07-23T18:26:07","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/natgardenlife.com\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"
Here at Natural Garden Life, we value your feedback, questions, and concerns. Whether you have a gardening query or simply want to chat, we’re here to assist you. Please feel free to reach out to us through any of the following channels:<\/p>\n
At Natural Garden Life, we believe in the transformational power of growing your own garden. With a focus on sustainability and natural processes, we offer a range of garden options to suit all needs and lifestyles. Explore our featured garden options below:<\/p>\n
Our raised garden beds provide the perfect solution for creating a vibrant and bountiful garden space. With elevated planting areas, these beds offer excellent drainage, improved soil quality, and easier access for tending to your plants. Ideal for small space gardening or to personalize your landscape, our raised garden beds are designed to enhance your gardening experience.<\/p>\n
Are you new to gardening and looking for the best way to get started? Look no further! Our best beginner garden package includes everything you need to kickstart your gardening journey. From easy-to-grow plant varieties to expert tips and resources, we make it simple for beginners to create their own thriving garden. Experience the joy of growing your own fruits, vegetables, or vibrant flowers with our beginner-friendly garden options.<\/p>\n
Remember, at Natural Garden Life, we are passionate about helping you create a healthy and sustainable garden environment. Join us in Growing a Garden and reap the rewards of reconnecting with nature.<\/p>\n
We eagerly await your ideas, questions, and feedback. Reach out to us today and let’s embark on our gardening adventure together!<\/p>\n","protected":false},"excerpt":{"rendered":"
Contact Us We’d love to hear from you! Here at Natural Garden Life, we value your feedback, questions, and concerns. Whether you have a gardening query or simply want to chat, we’re here to assist you. Please feel free to reach out to us through any of the following channels: Email: info@natgardenlife.com Phone: 1-800-555-1234 Follow […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/pages\/6"}],"collection":[{"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}