simplestation
Forum Replies Created
-
Forum: Themes and Templates
In reply to: WordPress YUI = GreatRight now we’re mostly using it for the YUI grids, resets and fonts CSS libraries on the front end. We had implemented a few Javascript things (like a comment box permanently fixed on the right column) but decided to remove them as they exposed bugs in IE6 we didn’t have time to fix.
On the whole using fonts and grids has been great! The resets have saved us a lot of hassle trying to get all browsers to behave the same. We’ve also used YUI Javascript libraries on a number of back-end projects but they don’t have anything to do with WordPress. So I guess at this point it’s mostly just the CSS as far as WordPress is concerned.
Forum: Themes and Templates
In reply to: Including files from outside the TEMPLATEPATHand can you just include it like this….
<?php include('/home/sitename-here/public_html/something.php'); ?>
or is there some other special syntax?
Forum: Themes and Templates
In reply to: Including files from outside the TEMPLATEPATHHow do you do that?
Forum: Fixing WordPress
In reply to: Character Encoding – WordPress Replaces ’ etc.So how do people get around this in wordpress? I mean everyone can’t possibly be using the symbols for inches and feet in the place of quotes and apostrophes. Surely there must be a plugin for this somewhere.
Forum: Fixing WordPress
In reply to: Embed Google Video not workingThanks WP-ExtremeVideo is making it all work just dandy!
Forum: Plugins
In reply to: How do I set the size of thumbnails that wordpress 2.03 makes?Man I can’t believe it took me this long to respond to this. Basically there are a few more lines within inline-uploading.php (lines 237,239, 483, 495, 499) also there are a few lines at the bottom in admin-functions.php that need editing (1881 – 1890). Set all those values to whatever size you want your image thumbnails to be.
Forum: Fixing WordPress
In reply to: Problems with Whitespace around an elementyep thanks!
Forum: Fixing WordPress
In reply to: How can you create an excerpt before a post?Thanks that was just what I was looking for! Cheers!
Forum: Plugins
In reply to: How do I set the size of thumbnails that wordpress 2.03 makes?It’s ok I got it figured out. Thanks much!
Forum: Plugins
In reply to: How do I set the size of thumbnails that wordpress 2.03 makes?OK so I’ve set the size up a bit…. but there is a problem. It seems to generate the thumbnail at the right size when I download it and look at it, but it is statically setting the height and width still to 128×96 in the HTML code… so even though the thumbnail is larger, it is being compressed down again. Any idea where this height and width value is set for the html?
if ( $imagedata[‘width’] * $imagedata[‘height’] < 3 * 1024 * 1024 ) {
if ( $imagedata[‘width’] > 256 && $imagedata[‘width’] >= $imagedata[‘height’] * 4 / 3 )
$thumb = wp_create_thumbnail($file, 256);
elseif ( $imagedata[‘height’] > 192 )
$thumb = wp_create_thumbnail($file, 192);if ( @file_exists($thumb) ) {
$newdata = $imagedata;
$newdata[‘thumb’] = basename($thumb);
update_post_meta($id, ‘_wp_attachment_metadata’, $newdata, $imagedata);
} else {
$error = $thumb;
}