/**
* SuperMag functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Acme Themes
* @subpackage SuperMag
*/
/**
* Default Theme layout options
*
* @since SuperMag 1.0.0
*
* @param null
* @return array $supermag_theme_layout
*
*/
if ( !function_exists('supermag_get_default_theme_options') ) :
function supermag_get_default_theme_options() {
$default_theme_options = array(
/*feature section options*/
'supermag-feature-cat' => 0,
'supermag-feature-post-one' => 0,
'supermag-feature-post-two' => 0,
'supermag-feature-side-display-options' => 'from-recent',
'supermag-feature-side-title-length' => 6,
'supermag-feature-side-from-category' => 0,
'supermag-feature-add-one' => get_template_directory_uri()."/assets/img/supermag-add1-240-172.png",
'supermag-feature-add-one-link' => "https://www.acmethemes.com/",
'supermag-feature-add-two' => get_template_directory_uri()."/assets/img/supermag-add2-240-172.png",
'supermag-feature-add-two-link' => "https://www.acmethemes.com/themes/supermag/",
'supermag-enable-feature' => true,
/*header options*/
'supermag-header-logo' => '',
'supermag-header-id-display-opt' => 'title-and-tagline',
'supermag-show-date' => 1,
'supermag-breaking-news-title' => __( 'Recent posts', 'supermag' ),
'supermag-breaking-news-options' => 'slide',
'supermag-facebook-url' => '',
'supermag-twitter-url' => '',
'supermag-youtube-url' => '',
'supermag-instagram-url' => '',
'supermag-google-plus-url' => '',
'supermag-pinterest-url' => '',
'supermag-enable-social' => 0,
'supermag-header-main-show-banner-ads' => 'image',
'supermag-header-main-banner-ads' => '',
'supermag-header-main-banner-ads-link' => 'https://www.acmethemes.com/themes/supermag/',
'supermag-header-logo-ads-display-position' => 'left-logo-right-ainfo',
'supermag-menu-show-home-icon' => 1,
'supermag-enable-random-post' => 1,
'supermag-enable-sticky-menu' => '',
'supermag-menu-show-search' => 1,
'supermag-menu-search-type' => 'dropdown-search',
'supermag-enable-sticky-sidebar' => 1,
'supermag-header-date-format' => 'default',
'supermag-header-media-position' => 'above-menu',
'supermag-header-media-customizer-link' => '',
'supermag-header-image-link' => esc_url( home_url() ),
'supermag-header-image-link-new-tab' => '',
/*footer options*/
'supermag-footer-copyright' => __( 'Copyright © All rights reserved', 'supermag' ),
/*layout/design options*/
'supermag-default-layout' => 'boxed',
'supermag-enable-box-shadow' => '',
'supermag-sidebar-layout' => 'right-sidebar',
'supermag-front-page-sidebar-layout' => 'right-sidebar',
'supermag-archive-sidebar-layout' => 'right-sidebar',
'supermag-blog-archive-layout' => 'left-image',
'supermag-blog-archive-image-layout' => 'full',
'supermag-disable-image-zoom' => '',
'supermag-blog-archive-more-text' => __( 'Read More', 'supermag' ),
'supermag-blog-archive-category-display-options' => 'default',
'supermag-single-category-display-options' => 'default',
'supermag-primary-color' => '#4db2ec',
'supermag-cat-hover-color' => '#2d2d2d',
'supermag-custom-css' => '',
/*single related post options*/
'supermag-show-related' => 1,
'supermag-related-title' => __( 'Related posts', 'supermag' ),
'supermag-related-post-display-from' => 'cat',
'supermag-single-post-layout' => 'large-image',
'supermag-single-image-layout' => 'full',
/*theme options*/
'supermag-search-placholder' => __( 'Search', 'supermag' ),
'supermag-show-breadcrumb' => 0,
'supermag-side-show-message' => '',
'supermag-image-size-message' => '',
'supermag-side-image-message' => '',
'supermag-hide-front-page-content' => '',
'supermag-you-are-here-text' => __( 'You are here', 'supermag' ),
/*woocommerce*/
'supermag-wc-shop-archive-sidebar-layout' => 'no-sidebar',
'supermag-wc-product-column-number' => 4,
'supermag-wc-shop-archive-total-product' => 16,
'supermag-wc-single-product-sidebar-layout' => 'no-sidebar',
/*Reset*/
'supermag-reset-options' => '0'
);
return apply_filters( 'supermag_default_theme_options', $default_theme_options );
}
endif;
/**
* Get theme options
*
* @since SuperMag 1.0.0
*
* @param null
* @return array supermag_theme_options
*
*/
if ( !function_exists('supermag_get_theme_options') ) :
function supermag_get_theme_options() {
$supermag_default_theme_options = supermag_get_default_theme_options();
$supermag_get_theme_options = get_theme_mod( 'supermag_theme_options');
if( is_array($supermag_get_theme_options )){
return array_merge( $supermag_default_theme_options ,$supermag_get_theme_options );
}
else{
return $supermag_default_theme_options;
}
}
endif;
$supermag_saved_theme_options = supermag_get_theme_options();
$GLOBALS['supermag_customizer_all_values'] = $supermag_saved_theme_options;
/**
* require int.
*/
require_once trailingslashit( get_template_directory() ).'acmethemes/init.php';{"id":1,"name":"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932","url":"https:\/\/uttarakhandpahal.com","description":"","link":"https:\/\/uttarakhandpahal.com\/author\/admin\/","slug":"admin","avatar_urls":{"24":"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=24&d=mm&r=g","48":"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=48&d=mm&r=g","96":"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=96&d=mm&r=g"},"meta":[],"yoast_head":"\n\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932, Author at Uttarakhand Pahal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/uttarakhandpahal.com\/author\/admin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"profile\" \/>\n<meta property=\"og:title\" content=\"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932, Author at Uttarakhand Pahal\" \/>\n<meta property=\"og:url\" content=\"https:\/\/uttarakhandpahal.com\/author\/admin\/\" \/>\n<meta property=\"og:site_name\" content=\"Uttarakhand Pahal\" \/>\n<meta property=\"og:image\" content=\"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=500&d=mm&r=g\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"ProfilePage\",\"@id\":\"https:\/\/uttarakhandpahal.com\/author\/admin\/\",\"url\":\"https:\/\/uttarakhandpahal.com\/author\/admin\/\",\"name\":\"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932, Author at Uttarakhand Pahal\",\"isPartOf\":{\"@id\":\"https:\/\/uttarakhandpahal.com\/#website\"},\"breadcrumb\":{\"@id\":\"https:\/\/uttarakhandpahal.com\/author\/admin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/uttarakhandpahal.com\/author\/admin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/uttarakhandpahal.com\/author\/admin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/uttarakhandpahal.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Archives for \u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/uttarakhandpahal.com\/#website\",\"url\":\"https:\/\/uttarakhandpahal.com\/\",\"name\":\"mookdarshak\",\"description\":\"Uttarakhand Pahal\",\"publisher\":{\"@id\":\"https:\/\/uttarakhandpahal.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/uttarakhandpahal.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/uttarakhandpahal.com\/#organization\",\"name\":\"mookdarshak\",\"url\":\"https:\/\/uttarakhandpahal.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uttarakhandpahal.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/uttarakhandpahal.com\/wp-content\/uploads\/2024\/08\/Pahadi-samvad-logo-new.jpg\",\"contentUrl\":\"https:\/\/uttarakhandpahal.com\/wp-content\/uploads\/2024\/08\/Pahadi-samvad-logo-new.jpg\",\"width\":2085,\"height\":576,\"caption\":\"mookdarshak\"},\"image\":{\"@id\":\"https:\/\/uttarakhandpahal.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/uttarakhandpahal.com\/#\/schema\/person\/5466a1281aa699f70ad6d27cf7f9e1da\",\"name\":\"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uttarakhandpahal.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=96&d=mm&r=g\",\"caption\":\"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932\"},\"sameAs\":[\"https:\/\/uttarakhandpahal.com\"],\"mainEntityOfPage\":{\"@id\":\"https:\/\/uttarakhandpahal.com\/author\/admin\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932, Author at Uttarakhand Pahal","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/uttarakhandpahal.com\/author\/admin\/","og_locale":"en_US","og_type":"profile","og_title":"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932, Author at Uttarakhand Pahal","og_url":"https:\/\/uttarakhandpahal.com\/author\/admin\/","og_site_name":"Uttarakhand Pahal","og_image":[{"url":"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=500&d=mm&r=g"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"ProfilePage","@id":"https:\/\/uttarakhandpahal.com\/author\/admin\/","url":"https:\/\/uttarakhandpahal.com\/author\/admin\/","name":"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932, Author at Uttarakhand Pahal","isPartOf":{"@id":"https:\/\/uttarakhandpahal.com\/#website"},"breadcrumb":{"@id":"https:\/\/uttarakhandpahal.com\/author\/admin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/uttarakhandpahal.com\/author\/admin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/uttarakhandpahal.com\/author\/admin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/uttarakhandpahal.com\/"},{"@type":"ListItem","position":2,"name":"Archives for \u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932"}]},{"@type":"WebSite","@id":"https:\/\/uttarakhandpahal.com\/#website","url":"https:\/\/uttarakhandpahal.com\/","name":"mookdarshak","description":"Uttarakhand Pahal","publisher":{"@id":"https:\/\/uttarakhandpahal.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/uttarakhandpahal.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/uttarakhandpahal.com\/#organization","name":"mookdarshak","url":"https:\/\/uttarakhandpahal.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uttarakhandpahal.com\/#\/schema\/logo\/image\/","url":"https:\/\/uttarakhandpahal.com\/wp-content\/uploads\/2024\/08\/Pahadi-samvad-logo-new.jpg","contentUrl":"https:\/\/uttarakhandpahal.com\/wp-content\/uploads\/2024\/08\/Pahadi-samvad-logo-new.jpg","width":2085,"height":576,"caption":"mookdarshak"},"image":{"@id":"https:\/\/uttarakhandpahal.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/uttarakhandpahal.com\/#\/schema\/person\/5466a1281aa699f70ad6d27cf7f9e1da","name":"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uttarakhandpahal.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6e652c7360710471813d6017167925d7?s=96&d=mm&r=g","caption":"\u0928\u094d\u092f\u0942\u095b \u0921\u0947\u0938\u094d\u0915 \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0902\u0921 \u092a\u0939\u0932"},"sameAs":["https:\/\/uttarakhandpahal.com"],"mainEntityOfPage":{"@id":"https:\/\/uttarakhandpahal.com\/author\/admin\/"}}]}},"_links":{"self":[{"href":"https:\/\/uttarakhandpahal.com\/wp-json\/wp\/v2\/users\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uttarakhandpahal.com\/wp-json\/wp\/v2\/users"}]}}