|
|
|
|
|
|
![]() |
#1 |
old enough to be Grandma Scrotum
|
Get archives in blog header - why?
So, in the header file there's this line
<?php wp_get_archives('type=monthly&format=link'); ?> Once the page is made it translates into a list of archives: <link rel='archives' title='May 2007' href='http://www.msnaughty.com/blog/2007/05/' /> <link rel='archives' title='April 2007' href='http://www.msnaughty.com/blog/2007/04/' /> etc etc This occurs above the <?php wp_head(); ?> bit. Does it need to be there? I've got rid of the archives list in my sidebar coz I'm not that interested in giving people date-based archives anymore. So I've just fiddled with my header and removed the archives bit with no obvious ill-effects. I've also moved the other link=rel and meta tags to under neath the wp_head bit with no ill effects either. I'm doing this so my description and keywords are further up the header. So, do you think this bit of editing will cause problems at some point?
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Shut up brain, or I'll stab you with a Q-tip!
Join Date: Dec 2005
Posts: 118
|
The first reply of the following topic might interest you:
http://wordpress.org/support/topic/115211 ![]() |
![]() |
![]() |
![]() |
#3 |
Oh no, I'm sweating like Roger Ebert
|
nope
|
![]() |
![]() |
![]() |
#4 |
Just because I don't care doesn't mean I don't understand!
|
There are a whole host of possible links which can be inserted in a document's head section. But it is a navigation/accessibility feature which browser developers have so far never latched onto in a big way.
However there are a couple of links which are used, the obvious one being that which tells browsers where to find your stylesheet(s). Another is for the favorite icon, although like the kind of links you mentioned, this too is redundant unless you call it something other than favicon.ico or have it located somewhere other than the root directory. One "arising from" note is that all free WordPress themes (including the ones which come with the script by default) are intended for use by anyone and everyone. I believe I am right in saying that if you want to submit a theme to the official WordPress depository, it is not only considered good form to include all the standard features and functions: it is actually required. But once you are developing a theme for your own site, there are quite a lot of functions you can remove and queries you can replace. Since I mentioned the stylesheet link, it is one: the virtue of having a bit of php is so that you, me and Uncle Tom Cobbley can drop the theme into a site and run it. But if you want to cut back on the queries, you can replace ones like that with a hard-coded path and file-name. |
![]() |
![]() |
![]() |
|
|