Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to add my logo to my headerYou could replace the current logo (in themes/scarlet/images/) logo.jpg with your own.
Peter
Forum: Themes and Templates
In reply to: How to add an image to a postAh, that part you mean (I had to disable noscript to be actually able to see it).
It looks like these are generated automatically by your theme through a script called timthumb.php.
Did you consider asking the writer of the theme (Scarlet?)?
Peter
Forum: Themes and Templates
In reply to: How to add an image to a postDid you mean those little, ermm, sprites next to author, date and add comments?
That’s not so hard to do, just read your style.css and look for instance for .author.
Peter
Forum: Themes and Templates
In reply to: the_excerpt() text colorWhat’s the url to your site?
Peter
Forum: Themes and Templates
In reply to: Combine multiple css stylesheetsIf you’re loading all those stylesheets on every page, then yes it’s better in 1 file..
I wonder… wouldn’t those stylesheets not be cached on your local drive? Furthermore, in a corporate environment, it’s more likely that small files get cached in a proxy server, while larger files wouldn’t (squid for instance has a default maximum cache size of 4Kb).
You might want to consider the overhead of setting up tcp sessions for every request your browser has to do to the web server, however since http/1.1 persistent connections are default, saving the session setup overhead.
OTOH: having one stylesheet keeps administration of it a bit easier, since you don’t have to search for the right file to make changes.
I would go for one file (unless the stylesheet is used for different purposes – screen vs print) 🙂
Peter
Forum: Themes and Templates
In reply to: Add the category (as a dropdown) to the top menu barI suspect your navigation bar to be an unordered list (like in most cases – but I don’t know you theme).
There’s nothing preventing you from adding another list item to the current ul, like this:
<ul> <li><a href="/">home</a></li> <?php wp_list_pages('title_li='); ?> <!-- this is a guess --> <li>Categories</li> <ul> <?php wp_list_categories('title_li='); ?> </ul> </ul>Peter
Forum: Themes and Templates
In reply to: Tagline, ExcerptOke, especially for you I wrote a small (no rocket science) plugin that automatically adds a ‘read more’ link to your excerpts.
You can download it here.
Save it as wp-excerpt-more.php, put it into your plugin directory and activate it. It’ll show ‘Read more’, with a link to the full article. It’s customizable through a class called ‘wpexcerptmore’.
No license at all, just use and modify as needed.
Enjoy.
Peter
Forum: Themes and Templates
In reply to: Combine multiple css stylesheetsI cannot think of any reason why it would be better to have one stylesheet instead of several.
Maybe someone can shed some light on this?
Anyhow: the styles closest to your xhtml are leading in case of a conflict, so when you decide to put everything in one stylesheet, make sure it has the same order as it is in your current
<head></head>.Peter
Forum: Themes and Templates
In reply to: .corrent on main blog page?Ah, now I see:
there’s a function called
is_home(), maybe that’s what you’re looking for?Peter
Forum: Themes and Templates
In reply to: .corrent on main blog page?IIRC this was your question:
how can i check and see if am in the index page?
Peter
Forum: Themes and Templates
In reply to: .corrent on main blog page?Add some comments and view the source
<!-- this is the index page -->Peter
Forum: Themes and Templates
In reply to: WP doesn’t recognize single.phpdid this just show up, or after for instance a theme change or maybe a specific post?
Peter
Forum: Themes and Templates
In reply to: Tagline, ExcerptYou have two options:
- either you print the excerpt, but without the more link
- or you put the ‘more’ separator in your post
There’s actually another one: rewrite the excerpt function (by creating an own hook).
Peter
Forum: Themes and Templates
In reply to: Sidebar breaking but CSS looks OKour structure is like this:
<div id=content> <div id=post></div> <div id=sidebar></div> </div(left the quotes)
your content div is 690px, and your post div inside the content div is also 690px, so there’s no room left for the sidebar div.
I think you made a type: 690px vs 960px.
Peter
Forum: Themes and Templates
In reply to: Firefox ok, IE not so okz-indexes will only work on elements that are positioned other than the default static. Try adding
position: relative;to the elements your trying to ‘z-index’.Peter