WordPress.org

Ready to get started?Download WordPress

Forums

Calendar Archives
[resolved] Display a Single Category Only (6 posts)

  1. DaveGogel
    Member
    Posted 1 year ago #

    Hi, I would like to display only one desired category. You provided an answer back in 2011 to another user by providing a sample link. That link is no longer valid.

    Could you please re-post how/where to edit the code to do this?

    Thanks

    http://wordpress.org/extend/plugins/calendar-archives/

  2. Amit Badkas
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dave,

    You don't need to edit any code for this. As mentioned at http://wordpress.org/extend/plugins/calendar-archives/faq/ , you just need to add category=<category-name> to the URL

    For example, http://example.com/wordpress-directory/calendar-archive-page/?calendar_year=2013&category=test

    If you can provide me the URL of your wordpress blog then I will test if it works (or doesn't) for your blog

    Thanks

  3. DaveGogel
    Member
    Posted 1 year ago #

    Okay, got it! I understand now and I'm able to choose and display the desired category.

    Thank you for the quick reply and for your contributions.

  4. agent207
    Member
    Posted 1 year ago #

    I'm not familiar with the pot file. If I have three different pages each showing a different category, would I need three separate pot files? Can you show me what the code in the pot file would look like to diaplay a given category? Any help would be appreciated.

  5. agent207
    Member
    Posted 1 year ago #

    Where do I add the category to the url?

  6. danirdb
    Member
    Posted 1 year ago #

    Hi there
    I'm having trouble with this also... Amit, could you please help?? :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic