|
#1
Feb 7, 2011, 02:40 PM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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)
|
#2
Feb 7, 2011, 03:43 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
(so you are on Atahualpa 3.6.1 and WP 3.0.3?)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Feb 7, 2011, 04:53 PM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
Atahualpa 3.6.4 WP 3.0.4
|
#4
Feb 7, 2011, 07:31 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Could you explain a little more about what you are trying to do?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Feb 8, 2011, 05:41 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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).
|
#6
Feb 8, 2011, 06:05 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
add to CSS Inserts
HTML Code:
body.search #footer {display:none;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Feb 8, 2011, 07:55 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
Tried, footer's still there
In a meanwhile, I updated my WP, so now it is 3.0.5
|
#8
Feb 8, 2011, 07:58 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Works for me, that's all I added. What is your url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
Feb 8, 2011, 08:37 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
|
#10
Feb 8, 2011, 08:46 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
I don't see a search on your page??
explain, with steps, what you do on the page to get a search.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#11
Feb 8, 2011, 09:35 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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.
|
#12
Feb 8, 2011, 10:45 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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;}
where xxxxxxx is a class on the <body>. You should go to the page in question and then view the source and find the <body and use an appropriate class to finish the statement.
Using Firebug with Firefox is a good way to find these things
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#13
Feb 8, 2011, 10:48 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
oh, great idea - firebug (somehow i always forget about it)
many thanks, juggledad!
btw, am I supposed to see Gold forums?
|
#14
Feb 8, 2011, 10:59 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
you should be able to see them, click the 'home' link and you will see all the forums
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#15
Feb 8, 2011, 11:46 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
Yes, I see that they are existing, but I can't get to read them.
|
#16
Feb 11, 2011, 02:38 PM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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'.
|
#17
Feb 11, 2011, 08:58 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#18
Feb 12, 2011, 06:51 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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?
|
#19
Feb 12, 2011, 08:11 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Your CSS is incorrect. Did you try exactly what I showed (substutine 'archive' for 'xxxxxx'?
HTML Code:
body.xxxxxx #footer {display:none;}
on your page I see
HTML Code:
body.archive/tag #footer {display:none;}
body.archive tag tag-yellow #footer {display:none;}
the selectors are invalid. If you want the footer to NOT display when you are on a page that has both the classes of 'archive' and 'tag-yellow, you would use
HTML Code:
body.archive.tag-yellow #footer {display:none;}
If you want to get outside the given theme options and customize your site, you must learn CSS and html.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#20
Feb 12, 2011, 08:28 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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.
|
#21
Feb 12, 2011, 08:37 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
body.archive.tag-yellow #footer {display:none;}
However, this code isn't working either.
|
#22
Feb 12, 2011, 09:07 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#23
Feb 12, 2011, 09:12 AM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
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:
Originally Posted by Innocent
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).
|
Last edited by Innocent; Feb 12, 2011 at 09:15 AM.
|
#24
Feb 12, 2011, 03:10 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#25
Feb 12, 2011, 05:38 PM
|
|
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
YES!
That's it! Thanks, juggledad!
|
|