Files
roi-theme/wp-content/plugins/thrive-ultimatum/tcb-bridge/editor/head.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

47 lines
1.5 KiB
PHP
Executable File

<?php
/*
* This file has to be included at the beginning of all editor layouts
*/
if ( ! empty( $is_ajax_render ) ) {
/**
* If AJAX-rendering the contents, we need to only output the html part,
* and do not include any of the custom css / fonts etc needed - used in the state manager
*/
return;
}
?>
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>"/>
<meta name="robots" content="noindex, nofollow"/>
<title>
<?php /* Genesis wraps the meta title into another <title> tag using this hook: genesis_doctitle_wrap. the following line makes sure this isn't called */ ?>
<?php /* What if they change the priority at which this hook is registered ? :D */ ?>
<?php remove_filter( 'wp_title', 'genesis_doctitle_wrap', 20 ) ?>
<?php wp_title( '' ); ?>
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<?php wp_head(); ?>
<?php echo tve_ult_editor_output_custom_css( $design, false ); ?>
</head>
<?php
$body_class = ! empty( $_COOKIE['tve_ult_state_collapse'] ) ? 'tl-state-collapse ' : '';
$body_class .= ' ' . $design_body_class;
if ( tve_ult_is_editor_page() ) {
$body_class .= ' tve_editor_page';
}
?>
<body <?php body_class( $body_class ) ?>>
<div class="cnt bSe"></div>