Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter robknox

    (@robknox)

    RE: I removed that whole line and wrote “Sender” as a test

    I’m sorry but you misunderstand me. I wrote in “Sender” in the “From” field. Not in the “To” field. The “From” field does not need the email address.

    I appreciate you trying to help, but you repeating yourself doesn’t help.

    Thread Starter robknox

    (@robknox)

    The contact form on the homepage (https://nakedbettybooking.com) works just fine. But the form on the contact page (https://nakedbettybooking.com/contact) doesn’t go through.

    Thread Starter robknox

    (@robknox)

    I removed that whole line and wrote “Sender” as a test and it still did not work. I have already read the documentation and it didnt help either.

    Thread Starter robknox

    (@robknox)

    Mail

    To: (my email address)
    From: [fname] [lname] <[email]>
    Subject: I’m interested in one/more than one of your artists…
    Additional headers: Reply-To: [fname][lname]
    Use HTML content type (checked)

    Message body:

    <strong>From:</strong> [fname] [lname]
    <strong>Subject:</strong> I'm interested in one/more then one of your artists...
    
    <strong>Contact:</strong>
    <strong>Phone:</strong> [phone]
    <strong>Email:</strong> [email]
    
    <strong>Other Info:</strong>
    <strong>Artist Requested:</strong> [menu-575]
    <strong>Dates Requested:</strong> [date_requested]
    <strong>Compensation Offer:</strong> [comp_offer]
    <strong>Hospitality:</strong> [checkbox-686]
    <strong>Venue Name & Address:</strong> [textarea-36]
    <strong>Position on the bill:</strong> [menu-576]
    
    <strong>Additional Comments:</strong>
    [textarea-37]
    --
    This e-mail was sent from a contact form on Naked Betty Booking.

    Thread Starter robknox

    (@robknox)

    https://nakedbettybooking.com/contact

    <div class="section1"><p>First Name
        [text fname] </p>
    
    <p>Last Name
        [text lname] </p>
    
    <p>Phone Number
         [text phone] </p>
    
    <p>Email Address
         [email email] </p>
    
    <p>Artist Requested
     [select menu-575 include_blank "Astro Zombies" "Graveyard Johnnys" "Hard Fall Hearts" "Kitty in a Casket" "The Kraneos" "Reckless Ones" "The Returners" "The Rocketz" "The Silver Shine" "Stellar Corpses" "The Surf Rats" "Any/Multiple Naked Betty Booking Artists"] </p>
    
    <p>Dates Requested
      [text date_requested] </p>
    
    <p>Compensation Offer
       [text comp_offer]</p>
    
    </div>
    <div class="section2">
    
    <p>Hospitality
     [checkbox checkbox-686 "Sleeping Accommodations" "Meals" "Drinks"] </p>
    
    <p>Venue Name & Address
      [textarea textarea-36 x5]</p>
    
    <p>Position on the Bill
     [select menu-576 include_blank "Headliner" "Direct Support" "Support" "Other"] </p>
    
    <p>Additional Comments
     [textarea textarea-37 x5] </p>
    </div>
    <p>[submit class:submitButton "?"]</p>
    Thread Starter robknox

    (@robknox)

    Nevermind. I got it to work. For others struggling with this issue I copy and pasted this code…

    function wp_strip_header_tags( $excerpt=” ) {

    $raw_excerpt = $excerpt;
    if ( ” == $excerpt ) {
    $excerpt = get_the_content(”);
    $excerpt = strip_shortcodes( $excerpt );
    $excerpt = apply_filters(‘the_content’, $excerpt);
    $excerpt = str_replace(‘]]>’, ‘]]>’, $excerpt);
    }

    $regex = ‘#(<h([1-6])[^>]*>)\s?(.*)?\s?(<\/h\2>)#’;
    $excerpt = preg_replace($regex,”, $excerpt);

    $excerpt_length = apply_filters(‘excerpt_length’, 55);
    $excerpt_more = apply_filters(‘excerpt_more’, ‘ ‘ . ‘[…]’);
    $excerpt = wp_trim_words( $excerpt, $excerpt_length, $excerpt_more );

    return apply_filters(‘wp_trim_excerpt’, preg_replace($regex,”, $excerpt), $raw_excerpt);
    }
    add_filter( ‘get_the_excerpt’, ‘wp_strip_header_tags’, 9);

    …in advanced-post-slider.php and where it says:

    <?php if(in_array(‘content’,$optset[‘advps_content_set’])){
    the_content();
    }
    elseif(in_array(‘excerpt’,$optset[‘advps_content_set’])){
    // the_excerpt();
    wp_strip_header_tags();
    }
    ?>

    i replaced the_excerpt(); with wp_strip_header_tags();
    Thats the function we pasted above.

    Thread Starter robknox

    (@robknox)

    I’m using template one. I want the first line of the blog to show, just not the head tag.

Viewing 7 replies - 1 through 7 (of 7 total)