/** * Rishi functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Rishi */ $rishi_theme_data = wp_get_theme(); if (!defined('RISHI_VERSION')) define('RISHI_VERSION', $rishi_theme_data->get('Version')); // Theme directory constant. defined('RISHI_DIR__') || define('RISHI_DIR__', get_template_directory()); // Customizer Builder assets directory. defined('RISHI_CUSTOMIZER_BUILDER_DIR__') || define('RISHI_CUSTOMIZER_BUILDER_DIR__', RISHI_DIR__ . '/customizer-builder'); /** * Query if Elementor Page Builder plugin is activated */ function rishi_is_elementor_activated() { return class_exists('Elementor\\Plugin') ? true : false; } /** * Query if Rishi pro is activated or not * @return BOOLEAN */ function rishi_is_pro_activated(){ return class_exists('Rishi\Rishi_Pro') ? true : false; } /** * Custom Functions. */ require get_template_directory() . '/inc/custom-functions.php'; /** * Standalone Functions. */ require get_template_directory() . '/inc/extras.php'; /** * Functions which enhance the theme by hooking into WordPress. */ require get_template_directory() . '/inc/template-functions.php'; /** * Widgets */ require get_template_directory() . '/inc/widgets.php'; /** * Notices */ require get_template_directory() . '/inc/notice/notice.php'; /** * Elementor – Header, Footer & Blocks Template compatibility */ if (defined('HFE_VER')) { require get_template_directory() . '/inc/hfe-compatibility.php'; } /** * Load Jetpack compatibility file. */ if (defined('JETPACK__VERSION')) { require get_template_directory() . '/inc/jetpack.php'; } /** * Add theme compatibility function for woocommerce if active */ if (rishi_is_elementor_activated()) { require get_template_directory() . '/inc/elementor-compatibility.php'; } /** * Add theme compatibility function for woocommerce if active */ if (rishi_is_woocommerce_activated()) { require get_template_directory() . '/inc/woocommerce-functions.php'; } /** * Upgrader Class */ require get_template_directory() . '/inc/upgrade/110.php'; /** * Upgrader Class For Conflict of constant on production version */ require get_template_directory() . '/inc/upgrade/112.php'; /** * Theme Updater */ require get_template_directory() . '/updater/theme-updater.php'; /** * TGMPA Plugin Recommendation */ require get_template_directory() . '/inc/tgmpa/recommended-plugins.php';
Warning: include_once(/home3/newhok13/public_html/wp-includes/header.php): Failed to open stream: No such file or directory in /home3/newhok13/public_html/wp-config.php on line 99

Warning: include_once(): Failed opening '/home3/newhok13/public_html/wp-includes/header.php' for inclusion (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in /home3/newhok13/public_html/wp-config.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home3/newhok13/public_html/wp-content/themes/rishi/functions.php:1) in /home3/newhok13/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
1.0New Hope Hospitalhttps://newhopemedicalcentre.comneolysihttps://newhopemedicalcentre.com/author/neolysi/Homerich600338<blockquote class="wp-embedded-content" data-secret="HZsGZUxOWc"><a href="https://newhopemedicalcentre.com/">Home</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://newhopemedicalcentre.com/embed/#?secret=HZsGZUxOWc" width="600" height="338" title="“Home” — New Hope Hospital" data-secret="HZsGZUxOWc" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript"> /* <![CDATA[ */ /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document); /* ]]> */ </script>