File manager - Edit - /home/vblioqus/bingo-patti.cc/wp-content/themes/infopediya/template-parts/content-single.php
Back
<?php /** * Template part for displaying posts * @link https://codex.wordpress.org/Template_Hierarchy * @package Files_Custom_Theme */ $article_type = get_post_meta(get_the_ID(), 'infopediya_meta_file_or_blog', true); $page_header = 'single-header'; if ($article_type == 'Blog article') : $page_header = 'single-blog-header'; endif; ?> <article id="post-<?php the_ID() ?>" <?php post_class() ?>> <?php get_template_part('template-parts/content', $page_header) ?> <div class="entry-content border-0"> <?php the_content(sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __('Continue reading<span class="screen-reader-text"> "%s"</span>', 'infopediya'), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() )); wp_link_pages(array( 'before' => '<div class="page-links">' . esc_html__('Pages:', 'infopediya'), 'after' => '</div>', )); ?> <?php if ( $page_header == 'single-header' && infopediya_show_dl_btn_bottom() ): ?> <div class="py-4 my-5 col-md-12 bg-light d-flex justify-content-center rounded"> <a href="<?php echo get_the_permalink().'/download/'; ?>" class="btn text-white py-2 px-3 gradient border-0"> <img width="16" height="16" src="<?php echo get_template_directory_uri() . '/icons/cloud.svg' ?>" alt="download-icon"> Download </a> </div> <?php endif; ?> </div><!-- .entry-content --> </article>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings