Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: IE div issue (I think!)You seem to have some validation errors, which are probably the cause of this.
Peter
Forum: Themes and Templates
In reply to: Page TemplatesYou inspired me to write one..
Read it here (http://www.boosten.org/page-templates-in-wordpress/).
Enjoy.
Peter
Forum: Themes and Templates
In reply to: How to display comments in balloons or bubblesSorry for the delay in answering, but I suppose you followed the codex in that you need to change the way you call wp_list_comments()?
<ul class="commentlist"> <?php wp_list_comments('type=comment&callback=mytheme_comment'); ?> </ul>Peter
Forum: Themes and Templates
In reply to: comment box odd behaviourIs it your browser keeping this information?
I don’t think WordPress is doing this.
Peter
Forum: Themes and Templates
In reply to: Help with coding a new segmentOke, I need to know beforehand: did you code anything in your single.php/page.php for these plugins, or do they work ‘out of the box’ in your theme?
If the latter is the case, then you will have a nice challenge to get it right.
Ideally you want to have some control over the placements of their output, but if a plugin hooks into the_content() by itself, then it will just be underneath the post, with some classes/id’s the writer of the plugin finds appropriate. And that’s not the way you want it to behave.
To get it right, you would have to write something like this (this is hypothetical):
<div class="pluginstuff"> <span class="plugin"><?php the_sharethis_function(); ?></span> <span class="plugin"><?php the_twitter_function(); ?></span> <span class="plugin"><?php the_print_function(); ?></span> </div> <div class="clear"></div>(the spans could be list items, embedded in an unordered list)
and its css:
.plugin { float: left; margin-right: 10px; }but to do so, it would require you to unregister the filter hooks of the plugins.
Not impossible, but I doubt you’ll find a step-by-step tutorial for doing so.
Peter
Forum: Themes and Templates
In reply to: Title and Excerpt on same line?Never done this, but I suspect you need to disable the wpautop.
Peter
Forum: Themes and Templates
In reply to: how to get borders around my postsPlease edit the previous post and remove that large chunk of code again. It’s annoying to scroll down that far. If you want to post them, use pastebin instead.
Having said that: yes, you changed the correct piece of code.
Just checked your xhtml, and apparently you call a stylesheet from your webroot, called style.css (http://www.city17productions.com/style.css), which is so not WordPress like.
That’s the one that needs changing.
Peter
Forum: Themes and Templates
In reply to: problem with footer in custom page templateAccording to the validator it’s #container that hasn’t a closing div tag.
Peter
Forum: Themes and Templates
In reply to: problem with footer in custom page templateMy guess is that you’re missing a closing div (
</div>) somewhere.Peter
Forum: Themes and Templates
In reply to: how to get borders around my postsThe .post class is automatically added by the_content().
If you change your style.css, around line 317, to this, you’ll get the desired effect.
.post { background-color:#999999; margin:24px 0; padding:5px; }The #999999 is just an example, play around with margins and paddings too.
Peter
Forum: Themes and Templates
In reply to: Help with coding a new segmentACK 🙂
I can only see a ‘tweet this’ link, but no print/share. Did you remove/not add yet the other ones?
Peter
Forum: Themes and Templates
In reply to: how to get borders around my postsNot that hard, but needs some changes from you:
For starters, your posts (with class post) are all embedded in a div (class post). The latter should/could be changed to id (
<div id="post">or something else altogether.Next you can apply some code to the class post
.post { margin: 5px; background-color: #999; }that will separate all posts in their own, visible block.
This is the easy way. The example site uses an background image to create the background, but it boils down to the same.
Peter
Forum: Themes and Templates
In reply to: Change title colorLine 10 of your style.css:
a, a:link { color:#104E8B; }Peter
Forum: Themes and Templates
In reply to: Post margin issueI cannot possibly detect what you’re describing here, on both IE8 and FF.
Did you already fix the problem?
I found something though: yo’re positioning the content div with a right margin of 180px, overlapping the left sidebar. Some browsers react a bit unexpected over such a structure.
You’re better of by fixing the width, and float all elements to the left.
Peter
Forum: Themes and Templates
In reply to: My custom theme is breaking wordpress! :(Are their common problems that cause this?
Not that I know of.
So what did you change last? Did you add a plugin? Or wrote a function yourself?
In order to say (ermm write) something meaningful, I would require much more information, for instance about the customization to the theme you have been performing.
Lets start with the URL.
Peter