phogzzz
04-05-2011, 11:29 PM
Hi there,
I'm pretty new to PHP coding and am having the worst time figuring this out.
I am trying to place a Hotels.com search box in a single post - not on every page or in the sidebar or anything like that. Just need to get the box on one page of my site.
I thought it was going to be a simple case of HTML code that is placed in the HTML section of a blog entry, but the code is actually fairly long and it's stumping me a bit.
I know, or at least I think most of the code needs to go into the single.PHP file under the line that reads:
<?php the_content(); ?>
I'm hoping this is correct anyways, but I'm not sure which part I actually place in the HTML section of a post entry.
Would someone please mind taking a look at the code (i will attach it) and let me know if A] I'm correct in thinking to adapt the single.PHP file, and B] what part of the code goes there and what part goes in the actual post itself.
I would GREATLY appreciate it.
Jenna
I'm pretty new to PHP coding and am having the worst time figuring this out.
I am trying to place a Hotels.com search box in a single post - not on every page or in the sidebar or anything like that. Just need to get the box on one page of my site.
I thought it was going to be a simple case of HTML code that is placed in the HTML section of a blog entry, but the code is actually fairly long and it's stumping me a bit.
I know, or at least I think most of the code needs to go into the single.PHP file under the line that reads:
<?php the_content(); ?>
I'm hoping this is correct anyways, but I'm not sure which part I actually place in the HTML section of a post entry.
Would someone please mind taking a look at the code (i will attach it) and let me know if A] I'm correct in thinking to adapt the single.PHP file, and B] what part of the code goes there and what part goes in the actual post itself.
I would GREATLY appreciate it.
Jenna