Home Forums WoodMart support forum Theme Settings not save.

Theme Settings not save.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #570435

    qs
    Participant

    <script>
    document.addEventListener(‘DOMContentLoaded’, function() {
    const getQuoteBtn = document.querySelector(‘.get-quote-header’);
    getQuoteBtn.addEventListener(‘click’, function() {
    const contactFormHTML = `
    <div style=”” class=”chaty-outer-forms chaty-contact-form-box chaty-form-0 pos-right active” data-channel=”Contact_Us” id=”chaty-form-0-Contact_Us” data-widget=”0″ data-index=”0″>
    <div class=”chaty-form”>
    <div class=”chaty-form-body”>
    <div role=”button” class=”close-chaty-form”>
    <div class=”chaty-close-button”></div>
    </div>
    <form class=”chaty-ajax-contact-form” id=”chaty-ajax-contact-form-0″ method=”post” data-channel=”Contact_Us” data-widget=”0″ data-token=”5b037adb7b” data-index=””>
    <div class=”chaty-contact-form-body”>
    <div class=”chaty-contact-form-title”>Contact Our Team</div>
    <div class=”chaty-contact-inputs”>
    <div class=”chaty-contact-input”>
    <label class=”chaty-form-label” for=”name-0″>Name</label>
    <input type=”text” class=”chaty-input-field is-required field-name” placeholder=”Enter your name” name=”name” id=”name-0″>
    </div>
    <div class=”chaty-contact-input”>
    <label class=”chaty-form-label” for=”email-0″>Email</label>
    <input type=”email” class=”chaty-input-field is-required field-email” placeholder=”Enter your email address” name=”email” id=”email-0″>
    </div>
    <div class=”chaty-contact-input”>
    <label class=”chaty-form-label” for=”phone-0″>Phone</label>
    <input type=”text” class=”chaty-input-field is-required field-phone” placeholder=”Enter your phone number” name=”phone” id=”phone-0″>
    </div>
    <div class=”chaty-contact-input”>
    <label class=”chaty-form-label” for=”message-0″>Message</label>
    <textarea type=”textarea” class=”chaty-textarea-field is-required field-message” placeholder=”Enter your message” name=”message” id=”message-0″>

    this code is used in theme setting >> custom js. This code is incomplete. but i can’t change or delete it. and kindly share the complete patha of custom js file in file manager.

    I attached the screen shots below so kindly give me solution.

    Attachments:
    You must be logged in to view attached files.
    #570443

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Send us your admin and FTP access so we can check this and help you.

    Kind Regards
    XTemos Studio

    #570499

    qs
    Participant

    I have not FTP access. I have cPanel access.

    #570558

    qs
    Participant

    Kindly check the private content

    #570560

    Artem Temos
    Keymaster

    Try to add the following code to the functions.php file in your child theme. Open your website home page and then remove the code. It should clear the Custom JS field in Theme Settings

    add_action(
    	'init',
    	function() {
    		$xts_woodmart_options              = get_option( 'xts-woodmart-options' );
    		$xts_woodmart_options['custom_js'] = '';
    		$xts_woodmart_options['js_ready']  = '';
    
    		update_option( 'xts-woodmart-options', $xts_woodmart_options );
    	},
    	500
    );
    #570573

    qs
    Participant

    thanks its working

    #570687

    Artem Temos
    Keymaster

    Great, you are welcome! Feel free to contact us if you have any further questions.

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

The topic ‘Theme Settings not save.’ is closed to new replies.