How to change the lead form

Discussion in 'Local Business WordPress Theme' started by cgmx, Jun 3, 2013.

  1. cgmx

    cgmx New Member

    Joined:
    May 13, 2013
    Messages:
    4
    Likes Received:
    0
    Hello,
    I want to change the default terms within the lead form ("Your Name", etc.) to another language, so I read in different threads about the topic. I tried to make those changes within my child theme of the Local business theme to protect customisations from future theme updates. I copied both the front-page.php file and the localbusiness-leads-form.php into my child theme directory.

    But the front-page.php file didn´t contain the specific lines as described in other threads. The relevant lines I found instead in the leads-form.php. There I changed according to my requirements and saved it. But no changes were visible in the form. What went wrong?

    Which php-file(s) do I have to transfere to my child theme? And where do I have to make the changes?
    Thanks for your help./Christopher
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to front-page.php present in your theme directory and follow the instruction as shown in image given below

    [​IMG]
     
  3. cgmx

    cgmx New Member

    Joined:
    May 13, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks Gourav! I did those changes you mentioned within the file "localbusiness-leads-form.php" (as I said it´s this file in my directory that contains the lines you mentioned above. My "front-page.php" has got info about other aspects of the front page such as sliders etc.).

    Anyway, the changes are now visible, but as I did them within the directory of my parent theme I wonder if those will be overwritten at a possible future update. Shouldn´t I create an identical "localbusiness-leads-form.php" within my child theme and change there to avoid overwriting? Or is that bit of information in the parent theme immune to theme updates? Thanks./Christopher
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160

Share This Page