Joshua Sigar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: DreamHost wants me to shut off a queryThat looks like some sort of “latest comment” plugin.
To shut off a particular query, find out the plugin that uses it, and disable it.
I hear so many negative comments about “latest comment” in regard with its burdening the database server. Don’t you guys?
Forum: Installing WordPress
In reply to: Remote themes?Here, check out the following. I never used it, though.
http://scott.sauyet.com/php/wp-plugins/stylesheets/Forum: Installing WordPress
In reply to: Remote themes?How ’bout this
<?php include ( 'http://mysite.com/wp-content/themes/header.php' ); ?>Some hosts prohibit including files thru “http://”, btw. So might want to use something like the following.
<?php include ( /home/username/wp-content/themes/header.php' ); ?>There’s a plugin in this topic, I believe.
Forum: Everything else WordPress
In reply to: Best app for offline composition?Have you search http://sourceforge.net/ or http://freshmeat.net/ for some sort of html editor?
Forum: Plugins
In reply to: Review article for me pleaseModifying WP core files is not encouraged at all, especially when other methods (my-hacks.php, plugin) will work as well.
Oh, I see that you use pop-up comment; I’m not familiar how that works.
Forum: Fixing WordPress
In reply to: I can’t remove any WP-cache files from my directoryYou probably have to write a script to change permission or to remove them.
Forum: Installing WordPress
In reply to: Warning on initial install.If you upgrade from WP 1.2 to 1.5, WP installation will try to convert your old-style theme to WP 1.5’s theme and copy it to “wp-content/themes.” You have to make that directory writeable to make it happen.
You need to call the following function to display the comment stuff.
<?php comments_template(); ?>It goes to single.php if you have one, or index.php
Forum: Plugins
In reply to: Password Protect ENTIRE WordPress SiteJust modify it so that the username is pre-filled-in and hide the input field.
Forum: Installing WordPress
In reply to: images dissapearWhy the image path has backslashes…
http://www.TimothyAllard.com\wordpress\wp-images\my_images\ny5.jpeg..instead of forwardslashes…
http://www.TimothyAllard.com/wordpress/wp-images/my_images/ny5.jpegForum: Fixing WordPress
In reply to: Stretch blog to fit screen sizeset the appropriate element width: 100%;
Forum: Fixing WordPress
In reply to: REQUEST_URI versus is_homeglobal $wp_query->is_home is set automatically when a page is loaded; if you use it, it won’t add an extra (sql) query.
Regarding to the speed, is_home() is a function while your code is inline code. Inline code is variably faster than a function call. But then your code is calling a server’s variable while is_home is already in memory. That may affect the speed ratio between them. And after all, everything I say is wrong until proven otherwise.
Forum: Fixing WordPress
In reply to: php list_cat problemActually, it’s more of CSS issue.
In your CSS file, you have the following.
#sidebar ul li ul li a{
display: block;
height:1%; /* IE WIN */
}If you delete the display: block; you should have the category name and category count on the same line.
Forum: Fixing WordPress
In reply to: Transparency problem in IEProbably because of you have specific width for #rightside (width: 190px ), while h2 doesn’t (width: auto).