Results 1 to 2 of 2

Thread: Sidebar Contact Form + Custon field

  1. #1
    Thread Starter
    semlimite's Avatar
    Join Date
    Sep 2012
    Location
    Brazil
    Posts
    91
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Sidebar Contact Form + Custon field

    Hi,

    I created a new custom field, a Email field, and i would like the sidebar contact form send the enquiry to both emails, is possible?
    I try some codes that i found on the forum but none worked.

    There is some code that sends the email to the custom field email? cp_email

    Thats the code
    $mailto = get_the_author_meta( 'user_email', $post->post_author );

    I try something like this

    $mailto = get_post_meta($postID, 'cp_email', true);
    else
    $mailto = get_the_author_meta( 'user_email', $post->post_author );

  2. #2
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [TUTORIAL] replace sidebar contact with contact form 7
    By ridabenharrou in forum ClassiPress General Discussion
    Replies: 2
    Last Post: October 5th, 2015, 06:26 AM
  2. [TUTORIAL] Add some Field in SideBar Form Contact
    By gigihouse in forum ClassiPress General Discussion
    Replies: 2
    Last Post: March 3rd, 2013, 12:56 PM
  3. Sidebar Contact Form
    By rojda in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 23rd, 2011, 07:40 AM
  4. Can I create a new custon field with date format?
    By andrea_s in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: October 28th, 2011, 12:56 AM
  5. Custon Field Question
    By webcrafty in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: September 13th, 2011, 02:51 AM