WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. asisrodriguez
    Member
    Posted 8 months 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 7 months 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 7 months ago #

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

  4. Exponential
    Member
    Posted 6 months ago #

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

  5. asisrodriguez
    Member
    Posted 6 months ago #

    :_( sorry... not.
    asis

Reply

You must log in to post.

About this Plugin

About this Topic

Tags