• I looked around and am most likely looking in the wrong area. I would like the main page to only have 5 articles and then I would like to have a section on the sidebar where there would be links to the latest 10 (it would be cool if they weren’t any on the front page). I then would like another link that will take people to an archive page that will show a list of all the titles where they can be clicked on which would take them directly to the articles page.

    Thanks for the help.

    JZ

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can change the front page to only display 5 articles by going to the WordPress administration screen, then navigating to Options → Reading. In the ‘Blog Pages’ section, you can adjust the number to 5 to achieve what you wanted.

    For links to the latest posts on the sidebar, the method of doing this depends on whether your theme is widget-enabled or not. Doing this with WordPress Widgets is trivial, and I don’t even need to explain to you how to do this, but you can only do that if your theme is widget-enabled.

    Otherwise, you can modify /wp-content/themes/your-theme/sidebar.php. If the Codex were online, I could show you some code you can use, but unfortunately, they’re in the midst of some technical issues, so I can’t help you with that right at the moment.

    Thread Starter JohnnyZ

    (@johnnyz)

    Thanks for the Widget info. I installed the widget plug-in and everything works great. Are there any tips to modify the Recent Posts to be a list of the last 10 not including the ones displayed on the main site? And is there a way that all other posts would be located under the archive page.

    Thanks again,
    JZ

    I believe you can edit the number of recent posts on the sidebar by editing the Recent Posts widget in WordPress Widgets.

    But please excuse my telling you that if you can’t do that. For my blog, I use Sidebar Modules (a different Widgets plugin to do basically the same thing), and I haven’t actually used WordPress Widgets for a while. While its user interface is a bit cumbersome, it does have many more features, such as tweaking the number of recent posts displayed.

    My apologies for referring you to WordPress Widgets first, then Sidebar Modules.

    erratik

    (@erratik)

    how do you install the sidebar module? I can’t seem to get it working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links to Posts in the Sidebar’ is closed to new replies.