ColdForged
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Archive view shows no linksA very bad solution is to use the_content instead of the_excerpt in your archive template…
That’s the second time today you’ve referred to it as a “bad solution.” There’s nothing wrong with it at all. If you choose to display your excerpt instead of the complete content in your archives, more power to you. It’s a choice. But don’t try to paint it as something defined in holy writ that must be adhered to.
Forum: Fixing WordPress
In reply to: Comments Form not ShowingIt would be hard to know the problem without seeing your templates.
Forum: Fixing WordPress
In reply to: Archive view shows no linksSee this.
Forum: Fixing WordPress
In reply to: How to edit my source code?It would help if we knew what you wanted to change.
Forum: Fixing WordPress
In reply to: How to edit my source code?Thanks, I’m sure mine is the site you’re thinking of since it is obviously a thing of beauty which is admired by all :). Oh, I kill me.
Well, your templates will be different from the resultant HTML generated by WordPress. The templates tell WordPress how to generate the look of your site, so those templates are filled with PHP that won’t show up in the eventual HTML if you view source.
Your calendar will typically be in the
sidebar.phpfile. However, if the person who created your CSS told you to modify how the calendar is created that will be tricky… the calendar — if it’s a typical WP calendar — is generated dynamically inside a function. It’s not static HTML.Forum: Fixing WordPress
In reply to: How to edit my source code?If you’re on WordPress 1.5, go to “Presentation => Theme Editor”. From there you have all of the files in your theme and can edit it right there.
Forum: Fixing WordPress
In reply to: Angle Brackets in Write Post (e.g. < and >)I doubt blogger users have to put up with this very awkward workaround or memorizing html syntax.
No, they don’t, they have a WYSIWYG interface instead of raw HTML in their publish page. But then, if that’s your desire you’re more than welcome to use one of the many WYSIWYG plugins for WordPress.
Forum: Fixing WordPress
In reply to: Image tag in commentsIf you really want to allow images in your comments, add the following line into your
kses.phpfile under, for instance, the'i' => array(),line:'img' => array('src' => array(), 'alt' => array(), 'width' => array(), 'height' => array()),Forum: Fixing WordPress
In reply to: Searching a blog – entire articles appearJoe, without a link or a theme it’s tough to answer definitively, but I’ll give it a general guess: edit your theme’s
search.phpfile and change the line that saysthe_content()to bethe_excerpt().Forum: Fixing WordPress
In reply to: 2 posts on front page – list all in categoriesUse this plugin. Set the “home” per-page value to 2 and set the rest of the archives stuff to whatever you want or -1 to show all of them (though your readers may hate you once you get a fair number of posts).
Forum: Fixing WordPress
In reply to: Legacy URLs — how to handle?You will likely need to create some mod_rewrite rules to silently redirect each of those legacy directories to your new permalink format. Something like the following in .htaccess above your WordPress rewrite rules:
RewriteRule ^articles/?$ /wordpress/$1 [QSA]Forum: Fixing WordPress
In reply to: Added slash to image tags when editing? Page issues?Unsure, Susie. Perhaps it was a browser cache issue. Rest assured, the way you just listed is correct. For instance, on your site now the weather picture for mobile works just fine using that format.
Forum: Fixing WordPress
In reply to: Post IDs gone wild – how to fix the auto_incremented value?try:
ALTER TABLE wp_posts AUTO_INCREMENT = 29Forum: Fixing WordPress
In reply to: Post IDs gone wild – how to fix the auto_incremented value?The post ID is a 20-bit integer field, so it’s doubtful you’ll run out anytime soon. That said, it’s very odd that they’re being auto-incremented in such a fashion. Any goofy plugins?
Forum: Fixing WordPress
In reply to: Added slash to image tags when editing? Page issues?truelight, that’s actually entirely valid XHTML. Since there’s no closing </img> tag, the included closing slash is in the initial tag. The only problem comes when you incorrectly don’t put quotes in around your source.