![]() |
I like this hack. Is there anyway to get the Day along with the month to show up there too?
|
Sure. Just change this....
PHP Code:
PHP Code:
Chris |
Thank you CDitty
It worked like a charm |
cditty, what's the problem with that zodiac code? You need to use the numeric form of the month (1), not Jan. :)
|
I was thinking/hoping that code would be a quick down & dirty cut & paste job. But thinking about it, anything I might be able to come up with won't have the actual zodiac signs on it. ie...Capricorn is in Dec and Jan.
Chris |
Why? That function you showed us takes care of that, all you need to do is give it the month and day, it'll return you the sign.
|
With many thanks to FireFly, here is a version for zodiac signs.
Chris |
For the zodiac signs version, when I put "$post['sign']" in the postbit, I'm getting this error.
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in functions.php(304) : eval()'d code on line 14 |
$post[sign], without quoting the index name.
|
Thanks. It works now, but in the instructions, it says
"Place $post['sign'] in someplace in the postbit template where you want it to appear." |
All times are GMT. The time now is 10:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|