Ming
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: changing wordpress design to tableshttp://codex.wordpress.org/Theme_Development
That pages gives you an overview of themes in WP and it’s a good starting point. There’s lots of good theme related information on the Codex.
There’s actually no WP code in the CSS file, it’s all typical webpage layout and styling. All WordPress code is in the template files (index.php, etc). You should take a look at the default template. If you feel confident duplicating the ‘loop’ and template tags in your own design then you should have no troubles. Codex has more info on template tags and the loop.
Forum: Fixing WordPress
In reply to: Sidebar ConfusionGlad you got it figured out, the page looks good.
Forum: Themes and Templates
In reply to: Changing ‘blogrolling’ to another name‘Blogroll’ is the link category name. You can change it in Links->Link Categories
Forum: Everything else WordPress
In reply to: WordPress 1.21 causing high loads?Caching is also vastly improved. Like, vastly vastly.
Forum: Themes and Templates
In reply to: 800×600 SupportMezzoblue had an interesting article the other day on something similar to this. What StyleGala has done is especially worth reading if you’re not afraid of a little extra work.
Forum: Fixing WordPress
In reply to: changing wordpress design to tablesabsolutely, fair enough.
Forum: Fixing WordPress
In reply to: Sidebar ConfusionThe code got a little messed up there but it’s the last section in your sidebar.php file. Let me know if it’s still not clear.
Forum: Fixing WordPress
In reply to: Sidebar ConfusionThanks for the link. It looks like that’s all your problem is so it’s easy to fix. Here’s the code in the default template’s sidebar.php
(I’ve shortened a few lines).
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>- <h2>Meta</h2>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- ... validate link ...
- ... xfn link ...
- ... wordpress link ...
... Yahoo link ...
<?php wp_meta(); ?><?php } ?>
You see how the very first line says
if ( is_home() || is_page() ) {?. So that’s saying ‘if we’re viewing the home page or we’re viewing a ‘page’ (ie something you made under write->pages) then show this section. And the section goes from the ‘{‘ at the end of that line to the ‘}’ at the end. Since your Yahoo link is in that section, it will only show on the home page or a ‘page’ you made. It can be a little confusing but it also makes per page customization quite powerful.Anyway, the short story? Just move your yahoo link after the last } and it will then show on any page.
Forum: Fixing WordPress
In reply to: Sidebar ConfusionWordPress has conditional statements like ‘is_home’ (are we viewing the home page?) or is_single (are we viewing a single entry?). In most templates the sidebar is full of conditionals like this. I suspect you put your ‘home’ and ‘yahoo’ links under different conditionals.
Forum: Fixing WordPress
In reply to: changing wordpress design to tablesWithout asking why you want to change to tables (but i’m really really wondering…) this will be a pretty big task. All template files in the default themes use CSS for layout and presentation. More importantly, they don’t just use divs for layout but also h1-h6, ul, and more. Trying to convert will be time consuming, you might find it easier to just start from scratch adding in template tags as you go.
Maybe you can find a theme that’s already been rebuilt with tables and modify that? But honestly, I don’t think I’ve run across a WordPress table theme for download.
Forum: Fixing WordPress
In reply to: How do I list older posts by just title and date?lol, yeah I’ve been there before… Well, at least it had a happy ending.
I sent an email today.
Forum: Fixing WordPress
In reply to: .htpasswdTrue, but it’s really an easyPHP/Apache question vs WordPress. Obviously we’ll help if we can but you’ll have a better chance finding an answer with an Apache forum.
Have you tried putting your username in quotes?
AuthName "Motdepasse"Forum: Themes and Templates
In reply to: Emhphasis on CommentsYou can style the comments in any template. By default, comments are displayed in a file called comments.php.
Forum: Installing WordPress
In reply to: Error message on wp-db.php line 304?This appears to be an error message gone wrong in 1.5.1. Here’s the thread where this is being discussed in more detail.
Forum: Fixing WordPress
In reply to: How do I list older posts by just title and date?After
<?php $i = 0; ?>add
<?php $displayed = 'no'; ?>Then after the
<?php } else { ?>add
<?php if ($displayed == 'no') { ?>
<h4>Older Entries:</h4>
<?php $displayed = 'yes'; ?>
<?php } ?>
The first time through the older posts the $displayed variable will equal ‘no’ and so it will display the header. Then it sets $displayed to ‘yes’ so there’s no match and header isn’t displayed again.