« subscription services | Main | email this entry to a friend »

show things only on certain days or dates

At the top of each day's posts on the veiled4allah page is a little image representing the moon phase. This is made possible by the DateTags plugin. Among other things, this calculates the moon phase for each date. I then downloaded some image files representing the moon phases, named these after the values produced the the MTMoonPhase tag and call them in my template:

<img src="http://www.muhajabah.com/images/<$MTMoonPhase dirify="1"$>.png">

I placed this in the MTDateHeader container in my template so that it only shows up once a day, not with every post.

I also use the MTIfDaysOfWeek tags to print "Jumu'a mubarak" every Friday, and in the past I used the MTIfDateWithin and MTDaysFromNow tags together to produce a countdown to Ramadan, a "Today is the 1st day of Ramadan" type message, and Eid mubarak messages.

This can add a nice touch to your blog and you don't have to remember to post messages on the special day; once you set it up, it will appear automatically on the designated day.

I am looking to make fuller use of this plugin in the future, inshallah. It offers a tremendous amount of functionality.

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2