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":8,"date":"2023-07-23T19:26:40","date_gmt":"2023-07-23T18:26:40","guid":{"rendered":"https:\/\/natgardenlife.com\/index.php\/disclosure\/"},"modified":"2023-07-23T19:26:40","modified_gmt":"2023-07-23T18:26:40","slug":"disclosure","status":"publish","type":"page","link":"https:\/\/natgardenlife.com\/disclosure\/","title":{"rendered":"Disclosure"},"content":{"rendered":"

Disclosure<\/h2>\n

This website, Natural Garden Life, found at https:\/\/natgardenlife.com<\/a>, aims to provide information and resources related to gardening and cultivating a natural garden.<\/p>\n

Website Focus<\/h3>\n

The main focus of this website is on “Growing a Garden”. We aim to provide valuable content and resources to help individuals create and maintain beautiful gardens while promoting a natural and sustainable approach to gardening.<\/p>\n

Garden Options<\/h3>\n

Raised Garden Bed<\/h4>\n

One of the main garden options we explore on this website is the concept of a raised garden bed. We provide information, guides, and tips on how to construct and maintain raised garden beds, including the selection of appropriate materials and the best practices for successful gardening in raised beds.<\/p>\n

Best Beginner Garden<\/h4>\n

This website also offers guidance on creating the best beginner garden. We understand that starting a garden can be overwhelming for beginners, so we provide step-by-step guides, useful tips, and recommended plant varieties that are suitable for beginners. Our goal is to make gardening accessible and enjoyable for everyone, regardless of their experience level.<\/p>\n

Please note that the information provided on this website is for educational and informational purposes only. While we strive to provide accurate and up-to-date content, gardening practices may vary depending on different factors such as location and climate. It is always recommended to consult with local gardening experts or professionals for specific advice tailored to your unique gardening needs.<\/p>\n

For any further inquiries or concerns regarding the disclosure, please contact us at contact@natgardenlife.com<\/a>.<\/p>\n

Last updated: [Date]<\/p>\n","protected":false},"excerpt":{"rendered":"

Disclosure This website, Natural Garden Life, found at https:\/\/natgardenlife.com, aims to provide information and resources related to gardening and cultivating a natural garden. Website Focus The main focus of this website is on “Growing a Garden”. We aim to provide valuable content and resources to help individuals create and maintain beautiful gardens while promoting a […]<\/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\/8"}],"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=8"}],"version-history":[{"count":0,"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/natgardenlife.com\/wp-json\/wp\/v2\/media?parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}