eston
Forum Replies Created
-
Forum: Themes and Templates
In reply to: new theme needs some modifyingginoxy,
In one of your template pages you will have
<div id="navmenu"><a title="" href="https://www.frankom.com">Home</a><a title="About" href="#">About</a><a title="Photos" href="#">Photos</a><a title="Contact" href="#">Contact</a></div><div id="content">
most likely in
header.php
. You can change the links there.As for your IE bug, that is a CSS issue. In
style.css
you have
#side {
float: right;
left: -10px;
margin: 0px -10px 0px 0px;
padding: 0px 0px 0px -50px;
position: relative;
text-align: left;
width: 140px;
}
Try making
width
smaller or changing your margins/padding (but watch out on margins and padding, since this kind of looks like it is done for the IE6 duplicate characters bug.)I think I need some sleep, it is 5:13 here.
Forum: Fixing WordPress
In reply to: How can header footer be used on a non WordPress page?On a default WordPress install, your theme files are located in
wp-content/themes/
. Let’s say, for example, that you have this directory structure:/
/blog/
<– WordPress install
/newsletter/
<– newsletterin your newsletter file, add
<?php include('../blog/wp-content/themes/theme-name/header.php'); ?>
where
theme-name
is the folder in which you have your theme. Same goes forfooter.php
.I know this is just a verbose way of trying to say what podz did, but hey, it may help.
There is a bit of an issue with doing this, though. You’re going to run into crap that uses the WordPress template tags since they’ll no longer be included by default. It may be worthwhile to re-create the header without those template tags in them for the newsletter object. Yeah, it’s not dynamic, but it could be less of a pain if it’s only a small thing.
Forum: Fixing WordPress
In reply to: Loop sortingYou’ll want to use
query_posts
to re-order the loop toASC
(ascending) rather than the defaultDESC
(descending.) Before your Loop, add this line:<?php query_posts('order=asc'); ?>
and the
query_posts
function will re-query the loop to order in ascending order. Here’s an example of a modified version of Kubrick’s index:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php query_posts('order=asc');
while (have_posts()) : the_post(); ?>Forum: Fixing WordPress
In reply to: Importing RSS From Other SiteWhy would you want to do that? Their work is most likely copyrighted, and that’s not only infringement, it’s plagiarism if you make it look like you wrote it.
Forum: Installing WordPress
In reply to: I can’t access the install.phpAre you receiving a 403, or how can you not access it? Make sure you have uploaded it with the proper CHMOD permissions and that you are not restricted somehow in .htaccess.
Forum: Installing WordPress
In reply to: How many users?Jayjay,
If you want multiple people with multiple blogs on the same installation, you want WordPress Multiuser.
Regular WordPress can support multiple users on the same blog- you just add them in the administration panel.
Forum: Plugins
In reply to: Link title to a custom addressHow’s that ticker work? Is it a WordPress plugin, did you build it into the theme, what RSS feed does it index, etc.?
EDIT: Ooh, wait, I see, now, it’s flash. I assume it’s pulling the link from the <link> part of the feed, and that’s what you want to edit out of the feed.
Forum: Themes and Templates
In reply to: CSS glitch-IE problem with templateTry setting p.contentpane to a div to
overflow: auto;
and trashingheight: auto;
and specifyposition: absolute
. That might help figure out what’s up here.That said, I didn’t have a whole lot of time to hack at it. You should make sure that your CSS validates as well.
Forum: Themes and Templates
In reply to: Previous PostsYou’re gonna have to play with The Loop, I think. I’m kinda unsure as to what you’re getting at here. Do you want to display the post title on an entry page, and then a link to the previous 5 posts? Or what? A bit more description would be great because this is pretty vague.
Forum: Themes and Templates
In reply to: Sharp Cut Red Clean Theme (more a site than a blog)No, that’s fine. I don’t have control over where I’m linked, and if he steals my theme, well, he’ll not be in a good position. I can’t stand it when people steal others’ designs (and I don’t think the rest of the WP community is really for it either.) It’s laid out in my copyright info page. I’ll be releasing my current theme open-source in May anyway.
In all honesty, Kubrick shouldn’t get a bad rep. I’ve talked to Michael Heilemann before and Kubrick is well-designed. That doesn’t speak to its ubiquity, but hey, it’s a nice, solid theme that works extremely well.
Thanks for the compliments on Gridlock, btw. I’m already working on a new theme ??
Forum: Everything else WordPress
In reply to: Want to play flash video on actual posts, example inside.Kristian,
What happens, exactly?
Forum: Everything else WordPress
In reply to: “The Best” Hosting, Hands DownPersonally, I really love Dreamhost. I signed up with them in August and they have been absolutely flawless to date.
A lot of people have referrer codes since you get up to $97.00 for every person you refer to dreamhost; technically, they can cut you up to a $97.00 deal on a hosting package, but then they make no money on your referral.
Since you’re a WP user, if you want a month of Dreamhost at something like $22, e-mail me at [email protected] and I’ll hand you my referrer code to get the full $97.00 off. I don’t really care if I make money on my referrals; I think Dreamhost is pretty supportive of WordPress and therefore like moving people to the service.
That said, I’ve really liked TextDrive and MediaTemple as well, but they’re both increasingly pricey.
Forum: Themes and Templates
In reply to: Theme not working in IEraasm:
There are two things that could be at fault here. Most likely, your sidebar is too wide and is breaking somehow; you will need to double-check all of your mathematics. If you’re using percentage widths in the CSS for the widths, sometimes rounding errors can cause the problem: 50% and 50% doesn’t always add up to 100% in a CSS renderer- sometimes it can actually be like 100.2% and cause this problem. Try shifting widths down to 48% and see if that helps. There’s also a really hackjob way of fixing it, and that’s to set overflow on the div to
overflow: hidden;
, but that will only work if the box itself isn’t what’s breaking the width.If widths are seemingly not at fault, and you’re using IE5.x, you’ve probably hit the notorious box model bug. Check out Tantek’s box model hack to fix that.
Forum: Themes and Templates
In reply to: Sharp Cut Red Clean Theme (more a site than a blog)Hello referrer logs: I saw my site linked here, so I guess I should chime in with a reply.
Unless mamboteam has released that template open-source, Dave, you’re probably breaking some copyright laws and stealing a design that isn’t yours. That’s fairly despicable, especially considering the fact that they hired a design firm to make that template for them. We don’t take kindly to those who blatantly rip others off. I will, however, give you the benefit of the doubt and hope that you’ve either asked permission from mamboteam, or this is a free template. Either way, let us know, as it’ll help your reputability if 7milesdown is wrong and you’re not ripping anyone off.
That said, the column I made on my about page is just a <div> that has been styled in CSS and floated left. Here’s the style for it, right out of Gridlock’s stylesheet:
#about_sidebar {
width: 210px;
margin: 0 10px 10px 0;
padding: 10px 5px 10px 5px;
border-top: 3px solid #ccc;
border-bottom: 3px solid #ccc;
background-color: #333;
color: #eee;
font-size: 11px;
float: left;
}
All in all, it’s really simple. What you’ll want to do for that theme is just float the divs that contain the sidebar right and let the content wrap instead of having that massive diagonally-striped sidebar background, which is pretty garish even if it was a design feature.
Also, Dgold, there’s nothing wrong with something appearing “Kubrickish,” IMO. It’s a style thing.
Hope this helps; happy coding!