포트폴리오라는 맞춤 게시물 유형이 있습니다. 플러그인없이 이전 / 다음 링크가 필요합니다. 아무도 해결책이 있습니까?
게시물 예 : http://themeforward.com/demo2/archives/portfolio/boat
<?php get_header(); ?>
<!-- Begin wrap -->
<div class="clear">
<div id="full_container">
<div id="content2">
<div id="content">
<!-- Grab posts -->
<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
<!-- Post title -->
<h1>
<?php the_title(); ?>
</h1>
<!-- The post -->
<?php the_content(); ?>
<!-- Tags -->
<h3 class="tags">
<?php the_tags('Tags ',' / ','<br />'); ?>
</h3>
<!-- End wrap -->
</div>
<!-- Next/Previous Posts -->
<div class="mp_archive2">
<div id="more_posts">
<div class="oe">
<?php previous_post_link('%link', '« Previous post', TRUE); ?>
</div>
<div class="re">
<?php next_post_link('%link', 'Next post »', TRUE); ?>
</div>
</div>
</div>
<?php endwhile; else: ?>
<p>No matching entries found.</p>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>
3
플러그인에 대한 혐오감을 왜?
—
chrisguitarguy
플러그인 인 경우 테마에 내장되어 있지 않기 때문입니다.
—
AndrettiMilas
@Lucas Wynne 내장 플러그인을 사용하려면 플러그인 코드를 테마 functions.php 파일에 복사 / 붙여 넣기하십시오.
—
카이저
@kaiser는 물론 라이센스 및 IP 조건을 유지한다고 가정하고 판매 테마를 제작하는 경우 쉽지 않습니다.
—
힐 힐리