Results 1 to 5 of 5

Thread: add_post_meta() during creation of new ad

  1. #1
    Thread Starter
    Rookie tmendorf's Avatar
    Join Date
    Oct 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question add_post_meta() during creation of new ad

    Hi

    I am trying to add a WP custom field to newly created CP ads, but it somehow does not work.

    I have put a call to add_post_meta( $post_id, 'tp_language', $language_code, true) inside step-functions.php, just after the foreach() which
    adds "all the custom fields into WP post meta fields"

    But if I check the ad post via Dashboard, my meta/custom field does not appear there.

    Could anybody point me to the right direction? I need this for making Classipress multilangual.

    Thanks for your thoughts.
    Thomas

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Rookie tmendorf's Avatar
    Join Date
    Oct 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Rookie tmendorf's Avatar
    Join Date
    Oct 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creation of a new color of theme
    By bruce21130 in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: October 3rd, 2011, 08:31 AM
  2. 3.0.5.1 Ad creation with 3 images problem
    By techsonit in forum Report ClassiPress Bugs
    Replies: 18
    Last Post: November 19th, 2010, 05:04 PM
  3. Allowing the creation of posts
    By jean5774 in forum Help Using ClassiPress
    Replies: 5
    Last Post: June 17th, 2010, 12:11 PM
  4. Logo Creation
    By dbronco27 in forum Help Using ClassiPress
    Replies: 2
    Last Post: June 6th, 2010, 06:58 PM