I want to show the text below on the home page only at www.TopGamblingNews.com - any help would be greatly appreciated! Keep track of the latest changes in the poker world Keep yourself updated on the online poker world . Who are the best players, where are all the best pokerrooms for online play? Answers to this questions can be found at a site called www.pokerlistings.com, they have all the news. Check them out! Here is the entire page code:
Look at bingness dot com - they have a product which you can use to learn about wp theme customization. The product comes with free support on theme customization for your particular theme. Your issue should be easy to do considering that the gurus at bingness have helped a lot of people with much more complex wordpress customization.
The condition you want is something like: <?php global $paged; if(is_home() && $paged == 1) { ?> // Do home page only content here <?php } ?> PHP: You'd probably be best finding a plugin to it as that would be easier to maintain
I checked Wordpress.org and did not figure it out, there was a post on the forum that was similar to what I needed but their solution did not work for me. Here is that thread if it can help anyone help me, I can also offer a free permanent featured link on one of my directories as a way of saying thanks!!!!
Did you try this on the index.php only? It worked here: http://dietandweightlossprograms.com/ Look for test on the left side under the header. In the code I put it between get_header p>test</p div id=content
You mean did I try what they said in the post? Yes, but look at the code I am adding, maybe that is the problem? Can I use the <font> code inside that code? and yes I did it on the index.php file only. This is the error I get when adding the stuff below: Parse error: syntax error, unexpected T_ENDIF in /home/tgamble/public_html/wp-content/themes/Lonely_Lemon/index.php on line 15
I wouldn't use any other html code but your basic code, but play around with it. If you want the font tag to be special. you should add it into the css file. What is the post_post? Try putting the code between the header and content, and align it the way you want, like p align=center.
I added a bit more text to http://dietandweightlossprograms.com/ Go look - I don't want to leave that there forever
Here's a plugin that might work to an extent, but it doesn't do exactly what you want: http://www.richardkmiller.com/blog/wordpress-plugin-what-would-seth-godin-do Alternatively, you can set one page to be the home page, and put your blurb there. You do this by going to Options/Reading, and then selecting Frontpage displays. You could create a specific page for your front page, use that blurb and any thing else you might want to use.
I guess the code does work I just need it tweaked to display my info, could it be the live URL's that is messing the code up?
I just added a link to mine and it worked. Look at the second to last "test." What version of wordpress are you using?
It should. If you want to upload your template somewhere, I'll download it and install it and mess with it on my end. Send me a pm to let me know.
Thanks for the offer, Yiam PM'ed me the code and it worked, for curiousity sake you can take a look at it on topgamblingnews.com, I can't really tell the difference of why it worked.
This is the code you need. <?php if ( is_home()) { ?> // Here goes the content you want to show in the front page. <?php } ?> PHP: