WordPress.org

Ready to get started?Download WordPress

Forums

passing the $m variable successfully? (2 posts)

  1. amory
    Member
    Posted 9 years ago #

    I've googled the site for any light to this but haven't found much. I'm using elasticdog's faking multiple templates article as my baseline. Everything works great except when I view my monthly archives, I can't get it to differentiate between a yearly archive or monthly archive.

    I can use php, but have little knowledge of it. I tried doing elseif {$m && $year} for the monthly elseif statement but that had no effect.

    My archive section is at bluewebpages.com/archives/ if needed

    Thanks

  2. Steph
    Member
    Posted 9 years ago #

    maybe is_month() and is_yearly() is what you're looking for? (could be is_year() too, not certain).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.