| Server IP : 74.208.236.52 / Your IP : 216.73.216.240 Web Server : Apache System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64 User : u44043973 ( 5404757) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/18/d194259149/htdocs/osteoporosis/wp-content/themes/omega/ |
Upload File : |
<?php
/* Load Omega theme framework. */
require ( trailingslashit( get_template_directory() ) . 'lib/framework.php' );
new Omega();
/**
* 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 post thumbnails.
*/
function omega_theme_setup() {
//remove_theme_mods();
/* Load omega functions */
require get_template_directory() . '/lib/functions/hooks.php';
add_theme_support( 'title-tag' );
/* Load scripts. */
add_theme_support(
'omega-scripts',
array( 'comment-reply' )
);
add_theme_support( 'post-thumbnails' );
add_theme_support( 'omega-theme-settings' );
add_theme_support( 'omega-content-archives' );
/* implement editor styling, so as to make the editor content match the resulting post output in the theme. */
add_editor_style();
/* Support pagination instead of prev/next links. */
add_theme_support( 'loop-pagination' );
/* Add default posts and comments RSS feed links to <head>. */
add_theme_support( 'automatic-feed-links' );
/* Enable wraps */
add_theme_support( 'omega-wraps' );
/* Enable custom post */
add_theme_support( 'omega-custom-post' );
/* Enable custom css */
add_theme_support( 'omega-custom-css' );
/* Enable custom logo */
add_theme_support( 'omega-custom-logo' );
/* Enable child themes page */
add_theme_support( 'omega-child-page' );
add_theme_support( 'woocommerce' );
/* Handle content width for embeds and images. */
omega_set_content_width( 700 );
}
add_action( 'after_setup_theme', 'omega_theme_setup' );