Contact Form 7 wordpress

http: // localhost / ahalia / contact-us / # wpcf7-f606-o1

I am using the contact form plugin 7. when I click the submit button, the url goes as above. What is this #wpcf7-f606-o1? Can anyone tell me?

+4
source share
5 answers

This is an anchor . This causes the browser to go directly to the contact form after the page loads. This is useful if you have a form below a long page, so the user does not need to scroll down to see possible error messages regarding the form.

+2
source

href= "# wpcf7-f606-o1", URL- .

<form action="/contact-us/#wpcf7-f606-o1" method="get" class="wpcf7-form" > 

wpcf7-f606-o1 - .

URL-, .

+1

. , contact-form.php get_unit_tag, . URL-, , PHP , , .

+1

. , wp_head() wp_footer() header.php footer.php .

0

, ,

Contact Form 7 WordPress . WordPress , . ( CSS JavaScript), , .

-, , Google JavaScript, , ( ) , .

, 2 ( JavaScript) , - WordPress . :

/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.4 (stylesheet file) / wp-content / plugins / contact-form-7 / includes / js / scripts. js? ver = 5.1.4 (JavaScript file) Why should I download these files when I'm on the home page of my site? Ideally, these files are needed only when I load my page that has a contact or my user form.

Here is a detailed article about the problem and how to fix it.

0
source

Source: https://habr.com/ru/post/1619153/


All Articles