Hi,
I have a 'Contact Me' form on a page of my blog. How can I put a link on each page that will bring my visitor to the Contact Form without having a contact Form on each page?
Thanx, Tom
Hi,
I have a 'Contact Me' form on a page of my blog. How can I put a link on each page that will bring my visitor to the Contact Form without having a contact Form on each page?
Thanx, Tom
There is a 'Text' widget that you could put a link in, and add to your sidebar.
Hi Dave-p,
The Text widget you mention, say I name it 'Contact me' and get it into my sidebar, how would I link it to my Contact form. I have the Contact form on my About page. My thinking is that bringing a visitor to the form on my About page might encourage him/her to view the About info too. Suggestions?
Thanx for your input,
Tom
Try adding a link to your About/Contact page immediately after the Loop in your theme's single.php template file.
Hi esmi,
Thank you for the response. Took me awhile to check back...didn't think anyone was interested. But here is esmi, again. But frankly,
I don't understand this: "Try adding a link to your About/Contact page immediately after the Loop in your theme's single.php template file."
Since our last communique, I have advanced, but I have yet to touch the .php files. They look daunting. I have become more comfortable assaulting the css.style I can say. So,
How do I locate this Loop and what would the link say?
Thanx, esmi.
I'd strongly recommend reading the Loop documentation. Once you understand the Loop basics, a lot of other things will start to make sense. But in the meantime, a simple WP Loop starts with:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
and ends further down with:
<?php endwhile; ?>
<?php endif; ?>
So when I mentioned about adding something after the Loop, I meant after the <?php endwhile; ?><?php endif; ?> lines. So look for those 2 lines near the bottom of your single.php file and immediately after <?php endif; ?> add something like:
<p><a href="full_url_to_contact_page">Contact Me</a></p>
Once you add the real url of your contact page, it should place a link to that page at the foot of every single post.
esmi,
The world may be flat, but I didn't fall off. Been workin' on the video post's, haven't been ignoring your suggestion.
So I located <?php endif; ?> When you say add this:
<p>Contact Me</p>
Should it look like this:
<p>Contact Me</p>
Every time I go near the editor I get woozy.
Thanx again.
Tom
What if you manually put the "Contact Me" on each page and made it a link to your About page or where the contact form is located. You need to put the "Contact Me" manually where you want it.
I use this method on my site on a regular basis, I refer to other Posts that have information related to what you are reading or that will help you do the homework (I have a modest safe boating site), I also have a manually built table of contents page that has the title and sometimes more information on a link.
No code and not too fancy but does what I needed done.
esmi,
Sorry for the last message to you it was corrupted when I did paste/copy of the code in your message.
What I was saying is not 'Contact Me' but rather, I input what I thought was the "real url" taken from url bar of my web contact page. I simply wanted to be exact as I haven't done any tweaking with php, yet.
So I'm willing to give it a go if that's what you mean. And by 'immediately after' do you mean No Space between ?> and <p>.....
Thanx, Tom
Hi Saildude,
Thanks for the interest. I might try that method. One of my issues is simply that I don't yet understand how to correctly design a link.
For example, if I want to put a link in the sidebar, my questions are: what does this link look like? How do i place it where I want it? How do I write it so that it points to the place I want it to?
Setting up this WP blog has taken more time than I thought it would but I'd still be closer to the beginning than to the end if many of the features weren't point-clik. Although in my defense, I have learned a bit and have taken some chances in the css.style editor.
Thanx Saildude, Tom
This topic has been closed to new replies.