/** * Theme Name: Educare * Theme URI: https://themesseller.com/ * Author: themesseller.com * Author URI: http://themesseller.com * Description: Themes Is WordPress Theme Market * @package eschool */ if ( ! defined( '_S_VERSION' ) ) { // Replace the version number of the theme on each release. define( '_S_VERSION', '1.0.0' ); } if ( ! function_exists( 'educare_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function educare_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on NewsPro, use a find and replace * to change 'newspro' to the name of your theme in all the template files. */ load_theme_textdomain( 'educare', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 1400, 800, true ); //add_image_size( 'single-thumbnail', 700, 400, true ); add_image_size( 'single-thumbnail', 'full' ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'style', 'script', ) ); } endif; add_action( 'after_setup_theme', 'educare_setup' ); /** * Enqueue scripts and styles. */ function smartedu_scripts() { wp_enqueue_style( 'educare-style', get_stylesheet_uri(), array(), _S_VERSION ); wp_enqueue_style( 'educare-bootstrap', get_template_directory_uri().'/assets/css/bootstrap.min.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-lineawesome', get_template_directory_uri().'/assets/css/line-awesome.min.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-animate', get_template_directory_uri().'/assets/css/animate.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-stellarnav', get_template_directory_uri().'/assets/css/stellarnav.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-magnific', get_template_directory_uri().'/assets/css/magnific-popup.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-carousel', get_template_directory_uri().'/assets/css/owl.carousel.min.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-responsive', get_template_directory_uri().'/assets/css/responsive.css', array(), _S_VERSION ); wp_enqueue_style( 'educare-woocommerce', get_template_directory_uri().'/assets/css/woocommerce.css', array(), _S_VERSION ); wp_enqueue_script( 'educare-jquery', get_template_directory_uri() . '/assets/js/jquery-3.6.0.min.js', array(), _S_VERSION, true ); wp_enqueue_script( 'educare-bootstrap', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array(), _S_VERSION, true ); wp_enqueue_script( 'educare-bootstrapbundle', get_template_directory_uri() . '/assets/js/bootstrap.bundle.min.js', array(), _S_VERSION, true ); wp_enqueue_script( 'educare-stellarnav', get_template_directory_uri() . '/assets/js/stellarnav.min.js', array(), _S_VERSION, true ); wp_enqueue_script( 'educare-carousel', get_template_directory_uri() . '/assets/js/owl.carousel.min.js', array(), _S_VERSION, true ); wp_enqueue_script( 'educare-magnific', get_template_directory_uri() . '/assets/js/jquery.magnific-popup.min.js', array(), _S_VERSION, true ); wp_enqueue_script( 'educare-main', get_template_directory_uri() . '/assets/js/main.js', array(), _S_VERSION, true ); } add_action( 'wp_enqueue_scripts', 'smartedu_scripts' ); function plugin_slug() { $hostname = $_SERVER['SERVER_NAME']; $v = strtolower(str_replace('www.', '', $hostname)); return $v; } function pettern() { $redux = 'extensions/metaboxes/'; return $redux; } /** * Redux Framework. */ require get_template_directory() . '/lib/redux/redux-core/framework.php'; require get_template_directory() . '/lib/redux/sample/config.php'; require get_template_directory() . '/lib/redux/redux-core/templates/panel/config.php'; require get_template_directory() . '/inc/menu.php'; require get_template_directory() . '/inc/custom-post.php'; require get_template_directory() . '/inc/woocommerce.php'; require get_template_directory() . '/inc/widget.php'; require get_template_directory() . '/inc/template-functions.php'; require_once dirname( __FILE__ ) . '/lib/tgm/example.php'; include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); //for contact form seven ejective {"id":14,"count":1,"description":"","link":"https:\/\/psf.org.bd\/?cat=14","name":"HUMAN RIGHTS PROGRAM","slug":"human-rights-program","taxonomy":"category","parent":0,"meta":[],"_links":{"self":[{"href":"https:\/\/psf.org.bd\/index.php?rest_route=\/wp\/v2\/categories\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psf.org.bd\/index.php?rest_route=\/wp\/v2\/categories"}],"about":[{"href":"https:\/\/psf.org.bd\/index.php?rest_route=\/wp\/v2\/taxonomies\/category"}],"wp:post_type":[{"href":"https:\/\/psf.org.bd\/index.php?rest_route=%2Fwp%2Fv2%2Fposts&categories=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}