sojweb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 2 functions I cannot findAs far as authors, you could just use a lot of the code from an author template. Have a look at these:
http://codex.wordpress.org/Author_Templates
http://codex.wordpress.org/Template_Tags/wp_list_authorsAnd when you say avatars, I’m assuming you mean gravatars? Once you get their e-mail address, you can generate the gravatar like so:
Forum: Fixing WordPress
In reply to: Custom Field IssueWell, in the Loop,
$postrefers to whichever individual post is being output at the moment. If you’re using it outside the loop on an archive page, it’s probably referring to the first post that’s being listed, which, in your case, may not have that custom field set. To make matters more fun, every time you add a post,$postwill refer to something else.What is it you’re trying to do with the custom field?
Forum: Fixing WordPress
In reply to: WP Creating 2GB error logNo, those are definitely PHP errors. It’s trying to load extensions it can’t find; it has nothing to do with WordPress. Looks like they might have re-configured PHP but used an old
php.inifile.When you e-mail them be sure to include these errors so that they can see what they are.
Forum: Fixing WordPress
In reply to: Please help!! I deleted my self-hosted blog addressTake a look here: http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29
Edit (or create, if they’re not there) those constants in
wp-config.phpto refer to the proper address. That should do it.Forum: Fixing WordPress
In reply to: WP Creating 2GB error logSomething is wrong with your PHP installation or
php.inifile. It’s trying to load extensions that are either not there or are corrupt. I’d alert your hosting provider.Forum: Fixing WordPress
In reply to: embed wordpress blog in websiteIf your site is built using just pages, you could just create custom
index.phpandsingle.phptheme files (or use the existing ones, if they’re fit for use). Then, in the admin, under Settings > Reading, set your posts page to wherever you want the blog to be listed. Then, any time you write a blog post, just make sure it’s a “post” and not a “page.”Forum: Fixing WordPress
In reply to: i have a post that i want to act like a pageI don’t quite understand what you’re trying to do; could you be a little clearer?
Forum: Fixing WordPress
In reply to: How to Hide mysql connect errorsYou could put in a custom message for database connection errors in
wp-db.php(check around line 323 for WP2.7.1). Or, you could do a quick manual test inindex.phpbefore WP loads, and die or redirect if connection fails.Forum: Fixing WordPress
In reply to: Custom Field IssueBy blog page, you mean the page listing multiple posts? The function is probably not being used in the Loop, and $post isn’t referring to what you think it is. Take a look here, if you haven’t already:
http://codex.wordpress.org/Using_Custom_Fields#Getting_Custom_Fields
Forum: Fixing WordPress
In reply to: Editor getting rid of empty paragraph tagsThat sounds like some annoying content filtering that WordPress does. Try this plugin: http://urbangiraffe.com/plugins/disable-wpautop/
Forum: Fixing WordPress
In reply to: How to call Page specific IE6 stylesheet?That function can give you detailed version information about the browser. There’s also a quick and dirty method, like this:
function is_IE() { $pos = strpos($_SERVER['HTTP_USER_AGENT'],' MSIE '); if($pos!==FALSE) return TRUE; return FALSE; }Forum: Fixing WordPress
In reply to: How to call Page specific IE6 stylesheet?Check out the
get_browser()function in php (http://us.php.net/function.get-browser).That can cause a performance hit, though, and if you’re using the super cache plugin, it won’t work anyway. You’re probably better off using the CSS conditionals.
Forum: Fixing WordPress
In reply to: Bandwith exhausted last month… :( Need Hosting Suggestions!If you have CPanel, you should have AWStats available… that’s a great general purpose log analyzer. You can see which files are being transferred the most and the top referring domains.
Forum: Fixing WordPress
In reply to: WP 2.7 and LDAPProbably… I would like to help, but don’t have the time for it. Sorry. Have you tried talking to the authors of the other LDAP plugins?
Forum: Fixing WordPress
In reply to: Bandwith exhausted last month… :( Need Hosting Suggestions!Have you looked at logs to see what’s eating up all the bandwidth? There could be something you could do to cut down on the bandwidth being used; maybe there are some images that aren’t compressed as well as they should be or something.