eric
Forum Replies Created
-
Forum: Your WordPress
In reply to: Blog combined with static pagesRedneck, Thanks for letting me see your source. With your diligent commenting I think I even understand what’s going on. Kinda the opposite of what I’m doing – whereas you had static pages already existing as html files, my “pseudo-static” content is all created and editable from within WP, it’s only “static” in the sense that it doesn’t look like posts ordered by date, and doesn’t change much. So I always run The Loop, but with a bunch of if statements to generate different markup for static, dynamic, public and hidden categories. Anyway, it’s been educational to see your PHP. Cheers.
Forum: Your WordPress
In reply to: Blog combined with static pagesGreat site! I once did something vaguely similar – large static sections plus bloggy/events-calendar-type pages, here:
https://bdue-berlin.de/
but yours seems much better done. I’d be interested to see your php where it differs from standard WP, maybe I can learn something. Would you show your source files to the world? Or even just me?Forum: Fixing WordPress
In reply to: How to have a script in your post?TG, I gather from your comment that a single function in kses.php is used to strip scripts both out of posts and out of comments. Correct?
Is there a way to apply that filter only to comments but not posts? I think this would solve the problem, as well as the related problem of including php code in a post, which has been discussed on this forum before.
If there is currently no way to do this I’d like to make it a feature request. Or if posts rely on kses.php in some way (to make Quicktags work?), I would advocate having 2 separate functions, kses-posts.php and kses-comments.php or something along those lines.Forum: Fixing WordPress
In reply to: valid xhtmlFirst of all, well done on the validation!
So your footer is overlapping the menu on short pages – a lot of people have had the same thing happen and fixed it, so you can, too!
Have you tried clearing the footer? Add this to your CSS:
.credit { clear:both; }
or something like that.Forum: Your WordPress
In reply to: Finally switched to WP…Welcome! Nice to see a blog with lots of actual content that I actually want to read.
Forum: Installing WordPress
In reply to: how to make a site pretty?ooh nice work podz… i mean it’s garish as hell but a useful resource for sure!
Forum: Installing WordPress
In reply to: how to make a site pretty?Modify the CSS stylesheet? default filename is wp-layout.css
Forum: Fixing WordPress
In reply to: There’s More To Life Than INDEX.PHPeryanv: interesting idea, I’m not sure I really get it though. Would you use .htaccess to make, say, blah.php an alias for index.php, and then define something like:
$templatename = last part of $_SERVER[‘REQUEST_URI’]
(everything after the last slash, I guess some PHP string processing function will do this)
$file = get_settings(‘home’) . ‘/’ . $templatename
That would be more flexible than my method because you could have template names other than index.php and wouldn’t need subdirectories. You would still need to hack functions in wp-includes, though. Am I anywhere near the right track?
aris: I can’t find it either. But that still wouldn’t allow more than one template, right?Forum: Fixing WordPress
In reply to: How to have a script in your post?I’d really like this function too. Judging from the Wiki API page it should not be too hard to impelement this as a filter, applied to comment_author_email and the_author_email. I’m still crap at coding stuff up in PHP though…
Forum: Fixing WordPress
In reply to: re-direct on indexhmm I get a blank page in Firefox. I also notice you don’t have a “body” tag in your html. There may or may not be a causal link between these 2 things, might be worth investigating…
Forum: Fixing WordPress
In reply to: new to it allHa the moose beat me to it! Although I am typing this in Firefox, I need to stick up for Sushubh here and point out two plus points for Opera: resizing includes images, and integrated RSS reader.
Forum: Fixing WordPress
In reply to: new to it allLastly is real but wth is McGyvered? Complete etymology with references please ??
Not sure what you mean about resizing? Looks OK to me…
Browsers: a lot of people here use Firefox (download at mozilla.org) and some use Opera (opera.com)
HTH.Forum: Themes and Templates
In reply to: Content at bottom of page at all times – how?I think vitalis means at the bottom of the viewport, not of the page. The alistapart article quoted by Guvner has some ways to achieve that.
Forum: Fixing WordPress
In reply to: addition of Title / Description / Meta?yes. AFAIK anywhere between <head> and </head> is OK.
Forum: Your WordPress
In reply to: Switched Over From BlogsplatLooking good. Your menu column might look better with a bit of padding.