Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Condition on page preview
Hi folks :)
Is there any way to have a conditional event into pages content for preview?
I have a StatCounter script in my pages and I don’t want to send informations when I’m preview my draft articles.
Thanks by advance for your ideas.
Cheers,
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Offline
Re: Condition on page preview
Hi Jukka ;)
Or maybe a conditional article tag with status=“1” (I’m not sure “1” is for “draft”)?
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Pages: 1