WordPress.org

Forums

Contact Form 7 Dynamic Text Extension
[resolved] hot to setr categories? (5 posts)

  1. asisrodriguez
    Member
    Posted 1 year ago #

    hello to all,
    please, can you help me with the code for categories?
    i put in the form:
    [dynamichidden post_category "CF7_get_post_var key='post_category'"]
    and in the email:
    [post_category]

    but nothing... :-(
    please, can you help me?
    thanks very much and mery Christmas
    Asis
    http://www.instaladoresdetelecomhoy.com

    http://wordpress.org/plugins/contact-form-7-dynamic-text-extension/

  2. sevenspark
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Asis,

    If you take a look at the definition of post_category, it is no longer used by WordPress

    Note that this will always be 0 (zero) from wordpress 2.1 onwards

    Sounds like you need to write a shortcode for get_the_category

    Best,

    Chris

  3. asisrodriguez
    Member
    Posted 1 year ago #

    Thanks very much, yes i am afraid.
    Merry Christmas.
    Asis

  4. Exponential
    Member
    Posted 1 year ago #

    I need to do the same thing. Did you find a solution Asis?

  5. asisrodriguez
    Member
    Posted 1 year ago #

    :_( sorry... not.
    asis

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Dynamic Text Extension
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags