first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
/**
* Template Name: Blank Template
*/
if (!defined('ABSPATH')) {
die('Direct access forbidden.');
}
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php
if ( ! current_theme_supports( 'title-tag' ) ) {
echo '<title>' . wp_get_document_title() . '</title>';
}
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<?php
do_action( 'wp_body_open' );
if ( is_category() || is_archive() || is_tag() || is_404() || is_search() || is_home() ) {
do_action( 'brizy_template_content' );
} else {
while ( have_posts() ) { the_post();
if ( post_password_required() ) {
echo get_the_password_form();
} else {
the_content();
}
}
}
wp_footer();
?>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<?php defined( 'ABSPATH' ) or die();
get_header();
if ( is_category() || is_archive() || is_tag() || is_404() || is_search() || is_home() ) {
do_action( 'brizy_template_content' );
} else {
while ( have_posts() ) { the_post();
if ( post_password_required() ) {
echo get_the_password_form();
} else {
the_content();
}
}
}
get_footer();