|
|
|
#1

Feb 7, 2011, 01: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, 02:43 PM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
(so you are on Atahualpa 3.6.1 and WP 3.0.3?)
|
|
#3

Feb 7, 2011, 03: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, 06:31 PM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
Could you explain a little more about what you are trying to do?
|
|
#5

Feb 8, 2011, 04: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, 05:05 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
add to CSS Inserts
HTML Code:
body.search #footer {display:none;}
|
|
#7

Feb 8, 2011, 06: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, 06:58 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
Works for me, that's all I added. What is your url?
|
|
#9

Feb 8, 2011, 07:37 AM
|
 |
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
|
|
|
#10

Feb 8, 2011, 07:46 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
I don't see a search on your page??
explain, with steps, what you do on the page to get a search.
|
|
#11

Feb 8, 2011, 08: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, 09:45 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
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
|
|
#13

Feb 8, 2011, 09: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, 09:59 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
you should be able to see them, click the 'home' link and you will see all the forums
|
|
#15

Feb 8, 2011, 10: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, 01: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, 07:58 PM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
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
|
|
#18

Feb 12, 2011, 05: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, 07:11 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
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.
|
|
#20

Feb 12, 2011, 07: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, 07: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, 08:07 AM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
|
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.
|
|
#23

Feb 12, 2011, 08: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 08:15 AM.
|
|
#24

Feb 12, 2011, 02:10 PM
|
 |
|
|
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
|
|
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;}
|
|
#25

Feb 12, 2011, 04:38 PM
|
 |
|
|
92 posts · Jan 2011
WP 3.4.2 Atahualpa 3.7.9
|
|
|
YES!
That's it! Thanks, juggledad!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
|