WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] special tags in sidebar (9 posts)

  1. l736k
    Member
    Posted 1 year 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?

    thanks!! :)

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. l736k
    Member
    Posted 1 year ago #

    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?

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    I said it should work if it is inside the loop.

    What do you mean by "object field"?

  5. l736k
    Member
    Posted 1 year ago #

    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?

  6. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    In usual themes, sidebar is outside the loop.

  7. l736k
    Member
    Posted 1 year ago #

    in fact is what i used to know.
    i'm using twenty twelve.
    so there's really nothing i can do?

  8. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  9. l736k
    Member
    Posted 1 year ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic