即使没有安装任何插件,我也可以在默认的二十六个主题中看到以前的-next映像选项。
但是我想使用大蓝色主题而不是默认的主题,而且我无法看到以前的-next图像选项,不管我安装了不同的插件相关的图片库,如图片库、NextGEN图片库、PB SEO友好图片……
需要做些什么才能在“大蓝”或任何其他(不仅是默认的)主题中看到以前的-next图像选项?
谢谢。
//Edited //single.php
<?php
/**
* The template for displaying all single posts.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Big Blue
*/
get_header(); ?>
<header class="entry-header article-header <?php if(has_post_thumbnail()){echo 'featured-image'; } ?>">
<?php the_post_thumbnail( 'single-post-thumbnail', array( 'class' => 'single-post-thumbnail' ) ); ?>
<div class="blue-overlay"></div>
<div class="container">
<div class="entry-detail">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php $tags_list = get_the_tag_list( '', esc_html__( ', ', 'big-blue' ) ); ?>
<div class="entry-meta">
<?php big_blue_posted_on(); ?>
</div><!-- .entry-meta -->
</div>
</div>
</header><!-- .entry-header -->
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div class="inner-wrapper">
<div class="container">
<div class="row">
<div class="col-md-8">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'single');
the_post_navigation();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile; // End of the loop.
?>
</div>
<div class="col-md-4">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();发布于 2017-08-24 02:24:13
在dd_filter文件中添加函数function.php只允许在图库之间导航,而不能在照片本身之间导航。
此外,导航方向在图像的位置,为了查看导航,我需要删除一些图像。
显然,这不是正确的做法。
S0。我发现一些已经安装导航的主题,并使用了这些主题。
其中一个主题是默认主题,这是在最初的文章中提到的。
https://wordpress.stackexchange.com/questions/277763
复制相似问题