• Resolved john0casto

    (@john0casto)


    For some reason, all my pages (not posts) link back to my contact form! go to my “about me” to see what I mean, then when you get to my contact form it’s useless – if you click on the input box it refreshes itself to the contact page again. Help! https://www.actionfitnessinc.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The pages seems to work for me! The “About us” menu link takes me to the “About us” page.

    The contact form is wrongly coded. Each input field is wrapped in an anchor element (<a href=https://www.actionfitnessinc.com/contact> input-fild and more</a>) that will take you back to the contact page whenever you click in an input field.

    A good way to see these problems is looking at the source code (available in most browsers) or getting firefox and the firebug plugin to debug your webbpages.

    Thread Starter john0casto

    (@john0casto)

    Thank you, I’ll make sure to look at the coding on the contact form. However, this isn’t limited to the input fields of the form itself. The reason I mention the About Us page is when you scroll down to the page itself and hover over any of the content, somewhere there’s a link coded in to not only this page but other pages as well where it shouldn’t be by default. Do you see what I’m referring to on the About Us page?

    It looks like it’s because the div with the ID “feature_box” has a bunch of links that aren’t closed with the </a> tag. Contact looks to be the last of those links, so it’s defaulting to linking the entire content of the page. Fix your code in the feature_box div.

    Thread Starter john0casto

    (@john0casto)

    Thanks kionae, that’s fixed it! I appreciate the help, I’ve had experience with basic coding but WordPress is still a learning experience

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Crazy Links! Everything except posts auto link to one page! Help!’ is closed to new replies.