• We are creating a blog to take comments on articles for a magazine. There will be 2 issues per month with 3 articles in each issue that will be blog posts. We want to be able to archive each article (category) for each issue with only one post and corresponding comments. WordPress archives by month and by catagory. We do not want to have the posted article from the begining of the month under the posted article for the middle of the month on the same visual page. We also want to make sure it is easy for everyone to find in the archive by date – 1st and 15th instead of just month. Any suggestions to the code, widgets, etc would be greatly appreciated.

    Thank you
    Luke

Viewing 1 replies (of 1 total)
  • Discussion of archives:
    Don’t be confused by what an archive is–it is just a generated display of your posts at that moment. You don’t do anything to create the archive, that’s an automatic thing WordPress does for you. Usually, archives are date, category, tag, or author, based.

    Access to archives is typically presented via links in a sidebar under an Archive (date based), Category, or Tag Cloud, heading. Widgets, or Template Tags, such as wp_get_archives(), wp_list_categories(), wp_tag_cloud(), and wp_list_authors(), are the constructs used to present links to users to visit your various archives. The process of placing code in your Theme’s Templates is explained in Stepping Into Templates and Stepping Into Template Tags.

    Once a user clicks on a Category link in the sidebar, the display of those posts is controlled by a Category Template. Other Templates, such as Author Templates, and Tag Templates, are available if you set them up. These Templates can be coded via Template Tags such as the_title(), the_content(), or the_excerpt(), to display just a post title, the full content of the post, or just an excerpt of the post.

    Also, it is important to understand the Template Hierarchy, as that is how WordPress determines what Template to use to render the posts for reading by your readers.

    If a user visits a Category archive, then clicks on a given post title in that Category archive, the display of that single post is again presented by another Template, and again, the Template Hierarchy determines what Template displays that singe post. Finally, that single post Template can be coded to display just the title, the full post content, or an excerpt.

    Hope that isn’t too much to digest 😉

Viewing 1 replies (of 1 total)

The topic ‘Archive/Categories’ is closed to new replies.