Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a class="button " href="<?php echo get_permalink(get_adjacent_post(true, '', false)->ID)?>">Следующий проект</a>
- <?php
- $next_post = get_next_post(true);
- if($next_post) : ?>
- <a class="button " href="<?php the_permalink($next_post)?>">Следующий проект</a>
- <?php endif; ?>
Add Comment
Please, Sign In to add comment