| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/themes/magazine-pro/ |
Upload File : |
<?php
/**
* Magazine Pro.
*
* This file adds the landing page template to the Magazine Pro Theme.
*
* Template Name: Landing
*
* @package Magazine
* @author StudioPress
* @license GPL-2.0+
* @link http://my.studiopress.com/themes/magazine/
*/
// Add custom body class to the head.
add_filter( 'body_class', 'magazine_add_body_class' );
function magazine_add_body_class( $classes ) {
$classes[] = 'magazine-landing';
return $classes;
}
// Remove Skip Links.
remove_action ( 'genesis_before_header', 'genesis_skip_links', 5 );
// Dequeue Skip Links Script.
add_action( 'wp_enqueue_scripts', 'magazine_dequeue_skip_links' );
function magazine_dequeue_skip_links() {
wp_dequeue_script( 'skip-links' );
}
// Force full width content layout.
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
// Remove navigation.
remove_theme_support( 'genesis-menus' );
// Remove site header elements.
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
// Remove breadcrumbs.
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
// Remove site footer widgets.
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
// Remove site footer elements.
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
// Run the Genesis loop.
genesis();