| Server IP : 93.86.61.54 / Your IP : 216.73.216.156 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/tim/wp-content/themes/zita/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying page content in page.php
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Zita
* @since 1.0.0
*/
$zita_disable_title_dyn = get_post_meta($post->ID, 'zita_disable_title_dyn', true );
$zita_disable_feature_image_dyn = get_post_meta($post->ID, 'zita_disable_feature_image_dyn', true );
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('zita-article'); ?>>
<div class="entry-header entry-page">
<?php
zita_page_feature_img_post_meta($zita_disable_feature_image_dyn);
echo esc_attr(zita_page_title_post_meta($zita_disable_title_dyn)); ?>
</div>
<div class="entry-content">
<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'zita' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php if ( get_edit_post_link() ) : ?>
<footer class="entry-footer">
<?php
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', 'zita' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'<span class="edit-link">',
'</span>'
);
?>
</footer><!-- .entry-footer -->
<?php endif; ?>
</article><!-- #post -->