File manager - Edit - /home2/ajansonline/public_html/wp-content/themes/mokko/template-parts/page/page-content.php
Back
<?php /** * @author: MadSparrow * @version: 1.0 */ // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } if ( MOKKO_WOOCOMMERCE ) { if ( is_woocommerce() || is_cart() ) { $content = 'ms-default-page container'; } else { $content = 'ms-default-page container entry-content'; } } else { $content = 'ms-default-page container entry-content'; } ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="ms-sp--header container"> <?php if ( is_singular() ) : ?> <?php the_title( '<h1 class="ms-sp--title">', '</h1>' ); ?> <?php else : ?> <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> <?php endif; ?> </header> <div class="<?php echo mokko_sanitize_class($content); ?>"> <?php the_content(); ?> <div class="clearfix"></div> <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'mokko' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'mokko' ) . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>', ) ); ?> </div> <?php if ( comments_open() || get_comments_number() ) : ?> <?php comments_template(); ?> <?php endif; ?> </article>
| ver. 1.4 |
Github
|
.
| PHP 8.1.30 | Generation time: 0.13 |
proxy
|
phpinfo
|
Settings