• Dana

    (@danaparkinson)


    I have the mail tags for everything I need except the category name. I have tried every configuration I can find but it doesn’t yield the category. I know the outside brackets need to be in place. All else works except category because I don’t know which short code to use.

    [hidden hidden-592 id:Date “_date”]
    [hidden hidden-977 id:Time “_time”]
    [hidden hidden-710 id:Posttitle “_post_title”]
    [hidden hidden-711 id:Postauthorusername “_post_author”]
    [hidden hidden-712 id:PostURL “_url”]
    [hidden hidden-713 id:SenderIP “wpcf7.remote_ip”]
    [hidden hidden-714 id:PostCategory “_site_category”]

    Yields (in different order, but I’ve used this to test all my codes):
    Post title: test post by Superman
    Category title: [_site_category]
    Post author username: Superman
    Post author email address: superman@gmail.com
    Post URL: http://www.myblog.com/mycategory/test-post-by-superman/

    Any thoughts?

  • The topic ‘[Plugin: Contact Form 7] Category mail tag in Contact Form7 – any suggestions?’ is closed to new replies.