Support » Plugins and Hacks » Contact Form 7 » [Resolved] special tags in sidebar
3 years, 9 months ago
hi everyone…i know special tags doesn’t work if form is in the sidebar…but is there any way to get them work in there?
Special Mail Tags
As written in the documentation, not all special mail tags are not available outside post contents.
More accurately, [_post_*] tags are available inside the loop even if the forms are in the sidebar.
hi takayuki and thanks for your quick reply.
so you say [_post_title] should work in the sidebar right? but i tried using using it in the object field and it didn’t work (i get “[_post_title]” as object instead of the post title).
is there something to check?
I said it should work if it is inside the loop.
What do you mean by “object field”?
object field is the subject field sorry.
unfortunately it doesn’t work then…how can i check if it’s inside the loop or not? if it’s in the sidebar i thing it’s outside the loop…no?
In usual themes, sidebar is outside the loop.
in fact is what i used to know.
i’m using twenty twelve.
so there’s really nothing i can do?
You can edit the template file to add the loop part in it, but I’d advise against it unless you have enough knowledge of WordPress template.
i don’t know if it’s somethin i can do…what i should do to add it? i have a well management of the templates but i don’t know if it’s enough…