• I am totally new to using WordPress and still fairly new to using XHTML and CSS. All of my experience with designing and building websites has been done with Microsoft FrontPage from the very beginning, so I know FrontPage good but know that everything is getting away from using FrontPage extensions that allows some of the advanced things on websites.

    Before I decided to upgrade my site and my knowledge on Website building, I had designed a website for my company that had a Contact Us page and a Testimonial page. The contact page of course was fairly simple, once the user hit the submit button the site took them to a page that said their information was successfully submitted and redirected them to the home page within about 5 seconds. The testimonial page was a little different. It was setup that once the visitor hit submit it once again took them to a page saying their information was successfully posted and then within about 5 seconds it took them back to the testimonial page where it showed the information they posted on the testimonial page.

    I am looking for some direction on how I can do this with WordPress. The contact page of course emails me the information they user submitted but also directs them to a confirmation page that redirects back to the home page within a few seconds. And the testimonial page that allows the user to hit submit and it automatically adds the information to the website and presents them with a confirmation page as well that redirects them to the testimonial page within a few seconds.

    I attempted to get the contact page setup and running and it seemed to look ok but once I hit the submit button after a few seconds it displayed this error message in the browser.

    “POP3 connect: Error [0][php_network_getaddresses: getaddrinfo failed: No Such host is known.]

    If someone would like to look at the page I am talking about and experience the problem themselves here is the link to my contact page:

    ComputerRepairDr.com/Contact_us.html

    Can someone please help direct me in the right direction on where to look for the information on how to do this? Any help will be greatly appreciated as I am wanting to get my site completed within the next couple days.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You are sending a request to http://computerrepairdr.com/wp-mail.php. wp-mail.php is not an outgoing mail agent. wp-mail.php is part of the subsystem that allows people to post to the blog via email. You will need to POST to a page of your own creation (it would be easiest if you convert your Contact_us.html into a WordPress page with a custom template), and then use the wp_mail() function to send the email.

    There are lots of ‘contact’ plugins in the plugin repo, also.

    Thread Starter daschmoldt

    (@daschmoldt)

    Okay I see what you are saying about the contact us page but what can I do about the Testimonial page I am wanting to re-create like I had when I was using Front Page Extensions?

    Like I said I am totally new to WordPress and not sure how to even create a page with WordPress. I am trying to learn this as I am sure it is a great way to design and manage websites but some help or directions on how to get started would be great.

    Thanks in advance again.

    Dale

    WordPress ‘pages’ as seen in a browser are made up of two major parts– the theme, and dynamic information from the database. What happens when a page loads is that WordPress locates the active theme and starts echoing it. The theme is basically HTML with a little or a lot of PHP, depending on the theme. The PHP in the theme indicates where the dynamic stuff from the database should be inserted. You are really going to have to learn about Themes, it sounds to me.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Help with which PHP files to use’ is closed to new replies.