WordPress.org

Ready to get started?Download WordPress

Forums

Biznez Lite
[resolved] changing Contact Form fields (5 posts)

  1. chinkchink
    Member
    Posted 12 months ago #

    would like to know if it is possible to customize the form fields in the Contact Form that came as a template in Biznez-Lite. If so, please advice on how to do the following:

    (1)Add "Company Name" text field (not a require field)
    (2)Make all fields "non-required", except for EMail field.

    Thank you in advance

  2. Tikendra Maitry
    Member
    Theme Author

    Posted 12 months ago #

    Hi,

    Yes it is possible to customize the form fields in the contact form template in BizNez-Lite. You need to manipulate two file contact-page.php and sketch-functions.php to achieve it.
    If you need our assistance regarding that you can contact us using our Live Chat Support.

    Best,
    Tikendra

  3. chinkchink
    Member
    Posted 12 months ago #

    Thanks for your reply.

    I am creating a child theme, and hope to avoid doing edit directly on any of the original files, so the site will be ready for any theme update.

    So far I was able to make all the changes I need on the form by creating a contact-page.php file inside my child-theme folder.

    But when I made a copy of the original "SketchBoard" folder and put it inside my child-theme folder, the contact page is still pulling sketch-functions.php from the one within "biznez-lite", not the one in my child-theme...

    Any suggestion on how to use make changes to the skt_contact_verify() function without having to touch the original sketch-functions.php file?

  4. chinkchink
    Member
    Posted 11 months ago #

    Never mind, got it to work!
    Copied the main function.php file found in "biznez-lite" folder into my child-theme folder, got rid of all the code in it except for the portion that called the files within the "SketchBoard" folder... and followed the instruction found on function.php to updated the directory call... and everything working now!

    Thanks!

  5. Tikendra Maitry
    Member
    Theme Author

    Posted 11 months ago #

    Hi Chink,

    Apologies for replying back late. You are doing it right way. It is always recommended to create a child theme whenever you are requiring some customization in actual theme. As when there is any theme update available and you get your theme updated with the new version of theme you'll loose all the customization you have done in your theme. It is really a good practice to have a child theme of any WordPress theme your going to customize.

    And regarding skt_contact_verify() function, it really sounds great that you had have made it working. It will be very helpful for other users who are doing it that way.

    Thanks for sharing your views and solution for it.
    Cheers :)

    Best,
    Tikendra

Reply

You must log in to post.

About this Theme

About this Topic