Older-Posts Navigation on Jonathan Wold Template
-
Hello everybody,
With the help of Jonathan Wold’s WordPress theme creation guide (https://jonathanwold.com/tutorials/wordpress_theme/ and https://www.jonathanwold.com/tutorials/wordpress_theme/preview/), I have created this more-or-less functional website:
However, there is one big problem, or rather two problems:
(1) I can’t figure out how to adjust the number of posts that show up on the main index.php when the site is loaded. There are some long posts on the site, and they just keep piling up on the main page. None of them seem to be hidden behind an “Older Entries/Previous Entries” or “Next Entries” link. I don’t know how such
(2) For that matter, I don’t even know if this theme *has* “Older/Previous Entries” functionality. According to Wold’s instructions on https://jonathanwold.com/tutorials/wordpress_theme/ , I removed these entirely from the index.php:
<div class=”navigation”>
<div class=”alignleft”><?php previous_post_link(‘« %link’) ?></div>
<div class=”alignright”><?php next_post_link(‘%link »’) ?></div>
</div>There doesn’t appear to be any navigation of this sort left in index.php, and the entries keep piling up. (Then again, that may be because I have few entries, but they’re pretty long?) I tried adding these lines back into the index.php, but it doesn’t seem to make any difference.
I assume I’ve garbled up the script and am totally misusing Wold’s original intentions… ?? If anyone has any suggestions, I’d really appreciate it!
after searching manually through the style.css, index and most of the other files (frustratingly,
I hope this isn’t an inappropriate question
- The topic ‘Older-Posts Navigation on Jonathan Wold Template’ is closed to new replies.