将文件夹放在wordpress中

时间:2015-03-13 12:27:17

标签: wordpress placeholder

我在Wordpress Onetone主题中的占位符有问题。当我将placehoder标签中的文本更改为我喜欢的文本时,它会起作用,直到我再次按下该字段然后文本重新显示它的旧文本。例如,我将“电子邮件”更改为单词“what”,保存,转到网站,在输入区域显示“what”字样,当我用鼠标按下该区域然后在其他地方按下时,它会重置为“电子邮件”。我怎么能把我的占位符文本永久化?

<div class="contact-area">
          <form class="contact-form" method="post" action="">
           <input type="text" name="name" id="name" value="" placeholder="Name" size="22" tabindex="1" aria-required="true">
           <input type="text" name="email" id="email" value="" placeholder="Email" size="22" tabindex="2" aria-required="true"> 
           <textarea name="message" id="message" cols="39" rows="7" tabindex="4" placeholder="Message"></textarea>
           <p class="noticefailed"></p>
           <input type="hidden" name="sendto" id="sendto" value="tomas@bandymasvienas.esy.es">
           <input type="button" name="submit" id="submit" value="Post">
          </form>
         </div>

1 个答案:

答案 0 :(得分:0)

我发现了一个问题。如果您希望文本始终相同,则需要找到具有所需功能的.js文件并在其中编辑文本,占位符将显示您想要的文本。

相关问题