Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Can you Hide "Content Below the Loop" on Pages? (http://forum.bytesforall.com/showthread.php?t=8814)

NoisyDvL5 Aug 10, 2010 12:26 PM

Can you Hide "Content Below the Loop" on Pages?
 
On my blog, I've got some adsense ads in the 'content below the loop' and they're displaying how I want them on the homepage, single posts, multi-posts, but I'm working on a slightly different layout on my "Pages" and I don't want them down there.

Is there some type of identifier that I can use to tell atahualpa not to load the "below loop" content on the "Pages"?

I'm running Atahualpa 3.4.9 on Wordpress 3.0.

Thanks!

juggledad Aug 10, 2010 03:06 PM

You could put a php if around the whole content like if (!is_page) {........}

NoisyDvL5 Aug 17, 2010 04:16 PM

I've been trying to wrap my head around that, but I'm not sure of how to build it.

Would I need to build separate if it's single, if it's multi, etc, then do it or is there a way to do it where I can tell it place the ads if it's not the page.

These are probably rookie questions, but my php knowledge is still growing.

juggledad Aug 19, 2010 06:51 PM

yes you would have to put in conditions to include or exclude the below the loop for the cases you want. a great reference is http://codex.wordpress.org/Conditional_Tags


All times are GMT -6. The time now is 03:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.