Bigul,
I was mistaken when I said the first code you gave me was working correctly. It is showing "In", however, it is not expiring after 30 days and "Out" doesn't seem to work at all. "In" always stays on. I tested this by adjusting the post published date as well as modifying the post when it was past the 30 day publishing date.
The second code, doesn't work at all — the slug for my cpt is "directory". Should I be using something different?
Thank you,
Becky