Variable listing?
So I've added a simple option to only show Adsense code on non-front-page pages using the following line:
<?php if ( !is_front_page() AND $bfa_ata['postcount'] == 1 ) { ?> Now, my question is, how do I get this to NOT display on static pages like "About" and such? Is there a list somewhere with $bfa_ata variables I can choose from? Thanks guys! |
You need to add more conditions to your if statement like a 'and it is not a page'
note: that is not the proper syntax, just the English equivalant |
Yeah, but is that a variable in wordpress I should lookup, or is it something the theme sets so I can use it?
|
|
Wow, exactly what I needed. Thanks a ton!
|
All times are GMT -6. The time now is 09:33 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.