Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] How the remove the footer from the main page only?


  #1  
Old Jan 26, 2010, 06:24 AM
myinfosecjob
 
12 posts · Jan 2010
Hi there,

I would like to remove the post footers from the front page only. I've gone through several threads here but none of them asks for what i need.

Thanks!

A.
  #2  
Old Jan 26, 2010, 07:06 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
put an if statement in the
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
which is in The LOOP to check if you are on teh front page - check the wordpress codex for the syntax
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 26, 2010, 07:10 AM
myinfosecjob
 
12 posts · Jan 2010
Thanks juggledad, but my coding skills are nil.
Can you be a bit more precise?

Thank you,
A.
  #4  
Old Jan 26, 2010, 12:38 PM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this, replace the existing line with
HTML Code:
<?php if (!is_front_page()) { bfa_post_footer('<div class="post-footer">','</div>'); } ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 28, 2010, 11:02 PM
pakacil
 
20 posts · Jan 2010
on Atahualpa Options :
→ Edit POST/PAGE INFO ITEMS
→ find FOOTER: Homepage
Leave blank to display no footer on posts on the homepage (front page)
  #6  
Old Jan 29, 2010, 07:03 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
pakacil, GOOD point, sometinmes I forget the obvious
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Aug 17, 2010, 09:36 AM
Caryn Inspired Raw
 
28 posts · Jul 2009
I would like to remove the footer on selected pages that I will be using as squeeze pages (I have a duplicate menu in the footer that I wish to remove).

Juggledad, would I use this code?

<?php if (!is_page(1) or !is_page(2) or !is_page(3)) { bfa_post_footer('<div class="post-footer">','</div>'); } ?>

...where 1, 2, and 3 are the page numbers where I do not want the footer to appear?

In what theme file do I make this replacement? Is it index.php that I would download, edit, and upload?

Thanks!
Caryn
  #8  
Old Aug 17, 2010, 10:00 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
You could probably use CSS such as the following Caryn. You would just change the page id to the page in question which you can determine by looking at the page source and searching for body class.
HTML Code:
body.page-id-777 td#footer {
display:none;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Aug 17, 2010, 11:53 AM
Caryn Inspired Raw
 
28 posts · Jul 2009
Quick and elegant solution, Larry! Thanks so much.

This is a great place for me to also recommend Larry to others as a programming partner. I engaged him as part of my work on http://Flow-Dynamix.com and he was fabulous, saving me tons of time and stress for a very reasonable investment. I continue to work with him and just come into the forum when I feel I can get a quick answer on something I'll need to do over and over.

...and no, there was no agreement that he'd answer my question here and I'd post this. He's just being generous to help me here for free rather than through our retainer hours.

Best,
Caryn

Bookmarks

Tags
footer, front page

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove centre column material from pages other than the main page?? adri Header configuration & styling 1 Oct 16, 2009 07:52 AM
All Posts showing on main page. How can I get only certain post on main NoLimit24_FJ Forum How-To 1 Sep 22, 2009 05:18 PM
How to remove header and footer from one page only? evilisa Header configuration & styling 1 Jun 17, 2009 05:00 AM
Remove link for main page in page menu Charlotte Page & Category Menu Bars 11 Apr 1, 2009 11:13 AM
Remove bytesforall.com from footer clothahump Atahualpa 3 Wordpress theme 0 Mar 9, 2009 03:35 PM


All times are GMT -6. The time now is 05:18 AM.


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