[SOLVED] Footer showup question
if (!is_search() ) {..........}
I tried to wrap footer code in ATA (style and edit center column) to stop showing in search results, but that doesn't work. I am not sure is this really called 'search results' as I am talking about posts/pages that are compiled by tags. (last Atahualpa and WP version) |
(so you are on Atahualpa 3.6.1 and WP 3.0.3?)
|
Atahualpa 3.6.4 WP 3.0.4
|
Could you explain a little more about what you are trying to do?
|
I am trying to disable post/page footer info to show in search/tag results.
When suggested list of posts appears, each has a visible admin, date, comments, social bookmarks etc that are in footer (though pages don't have footer configured, but those info still show). |
add to CSS Inserts
HTML Code:
body.search #footer {display:none;} |
Tried, footer's still there :)
In a meanwhile, I updated my WP, so now it is 3.0.5 |
Works for me, that's all I added. What is your url?
|
|
I don't see a search on your page??
explain, with steps, what you do on the page to get a search. |
The results are compiled referring to tags (see the link http://kteis.com/tag/black/), I don't have any search link on my site.
I am using Simple-tags plugin to configure tags for pages, but they work without that plugin, too. To get the results you need to pull some of the options from the menu in left sidebar. |
so you are not doing a search, you are looking at a tag page. to remove the footer you use the CSS Rule 'display:none;' and just have to put it with a CSS selector.
The selector will be in the format of 'body.xxxxxxx #footer' so you will have HTML Code:
body.xxxxxx #footer {display:none;} Using Firebug with Firefox is a good way to find these things |
oh, great idea - firebug (somehow i always forget about it) :)
many thanks, juggledad! btw, am I supposed to see Gold forums? |
you should be able to see them, click the 'home' link and you will see all the forums
|
Yes, I see that they are existing, but I can't get to read them. :)
|
I looked at the Firebug to find name of the selector, and this is it:
body class=archive tag tag-black logged-in Now, I tried this code: body.archive #footer {display:none;} without result. So, can you pls tell me what am I missing here? Also, I can't read gold forums, says 'private'. |
Reason you couldn't get to the gold forum was you never replied to the email to confirm your registration. I fixed it so try again
|
I don't remember receiving any confirmation e mail, but ok, I see the forum now, thanks.
Do you have any idea on my footer problem? |
Your CSS is incorrect. Did you try exactly what I showed (substutine 'archive' for 'xxxxxx'?
HTML Code:
body.xxxxxx #footer {display:none;} HTML Code:
body.archive/tag #footer {display:none;} HTML Code:
body.archive.tag-yellow #footer {display:none;} |
Ok, thanks, I was just trying different combination as I really don't know much about CSS and html and I hope I can learn something while customizing my site.
|
body.archive.tag-yellow #footer {display:none;}
However, this code isn't working either. |
Sure that code is working, go to the 'color yellow' page and there is no footer.
It's doing what you told it to do, which might not be what you want it to do. |
Yes, the site footer is missing, but I was talking about post/page footer as called in Atahualpa. I don't know how else to name that.
Quote:
|
I'm sorry, I thought you wanted the page footer gone. If you want the post footer's gone on the archive page for tag-yellow use
HTML Code:
body.archive.tag-yellow .post-footer {display:none;} |
YES!
That's it! Thanks, juggledad! |
All times are GMT -6. The time now is 01:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.