Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Can you Hide "Content Below the Loop" on Pages?


  #1  
Old Aug 10, 2010, 01:26 PM
NoisyDvL5's Avatar
NoisyDvL5
 
27 posts · Jun 2010
Missouri
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!
  #2  
Old Aug 10, 2010, 04:06 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You could put a php if around the whole content like if (!is_page) {........}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Aug 14, 2010 at 05:11 AM.
  #3  
Old Aug 17, 2010, 05:16 PM
NoisyDvL5's Avatar
NoisyDvL5
 
27 posts · Jun 2010
Missouri
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.
  #4  
Old Aug 19, 2010, 07:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Redirect Loop" Issue When Clicking ANY blog link!!?? River2Horses Atahualpa 3 Wordpress theme 5 Sep 29, 2010 03:47 PM
Background color "sub-pages" and "whole menu bar" gxxfy Page & Category Menu Bars 1 Nov 24, 2009 03:46 AM
how do you hide the sidebar on "Not Found" pages/posts w/ incorrect ID in the URL? jonasgrumby Sidebars & Widgets 0 Aug 26, 2009 01:13 PM
Where is the "Excerpt" part of The Loop in Atuhualpa JakeThePeg Excerpts, Read more, Pagination 6 Aug 10, 2009 06:12 AM
How do you make a right side bar on "Page" pages present different content nasu Sidebars & Widgets 4 May 25, 2009 08:11 PM


All times are GMT -6. The time now is 10:28 PM.


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