Ming
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: Version – SuggestionHmm, my admin panel shows 2.0.1… Not sure why yours doesn’t (or why mine does!).
Forum: Installing WordPress
In reply to: Resetting page IDHave your tried running permalinks to organize your site? You can turn them on options->permalinks. It’s a much better way to organize (and future-proof) your site than using ID numbers.
If you want to organize using ID numbers you don’t really have any choice but to go into the database and manually change IDs. It’s tricky because you don’t just need to change post IDs but also comments, attachments, custom fields, etc that may be attached to that post.
Forum: Fixing WordPress
In reply to: Blank Post.php but posts correctTry removing http://rpc.pingomatic.com from your options->writing screen and see if that makes a difference. Let us know if that helps.
Forum: Plugins
In reply to: how to hide directory listings without breaking linksIf you don’t want to muck around with .htaccess files just put a blank index.html or index.php file in the directory. The server will load the file preventing a directory listing.
Forum: Fixing WordPress
In reply to: Cannot see summaries on the front page(just full text)I’ve never used that theme but you see the line
require('post.php')? That’s calling a file called post.php and I’ll bet the_content() tags are in there. Replace those with the_excerpt() and you should be good.Forum: Fixing WordPress
In reply to: Need to customize a pageYou need to add a unique element to target that div specifically. So if you have
<div id="content">you could copy the #content property and rename it #contentwide and then use that ID on your custom page.Another way is to add an unique tag to your
<body>element. Like<body id="custom">and then you can add a rule like #custom #content { width: 850px; }. That’ll change the content width only for<body id="custom">pages.Forum: Installing WordPress
In reply to: No Folders in downloadTry re-downloading the zip. There’s 3 directories that should be there (wp-admin, wp-content, wp-includes). I just downloaded the .zip from wordpress.org and the directory structure is intact (315 files is correct though!)
Forum: Themes and Templates
In reply to: Sizing box in drop down catsThe default size of the select box is determined by the width of the longest item it contains. You should be able to use CSS to control it (but I’m not sure if all/what browsers honor this).
In your css file add:
select { width: 40px; }That will change the width of ALL select boxes so you might want to add a class to target a specific select box.
Forum: Fixing WordPress
In reply to: Akismet available to all usersIt looks like Askimet is using the old permission scale (1-10) instead of the new role system. I don’t think you can hook into that so you’ll have to change it manually.
Change the 1 to 10 in the plugin file askimet.php
Line 16 (Askimet config menu):
add_submenu_page('plugins.php', __('Akismet Configuration'), __('Akismet Configuration'), 1, __FILE__, 'akismet_conf');Line 188 (Askimet spam count menu):
add_management_page(__('Akismet Spam'), $count, 1, __FILE__, 'ksd_caught');Forum: Plugins
In reply to: Alternative wp_footer hook?Output to a hook is displayed at the same place that hook is displayed. As long as your wp_footer is called in the template then that’s where your output will go.
Maybe your wp_footer is out of place or maybe your plugin is adding extra html/css that’s breaking your layout?
Forum: Fixing WordPress
In reply to: Adding a “Make poverty history” bannerAdd that code to your header.php file. A good place is right before the line
</head>Forum: Fixing WordPress
In reply to: Difference between Page and Post in databasePages have a post_status of ‘static’. Posts are ‘publish’, ‘draft’, or ‘private’ and uploads are ‘attachment’. There’s also ‘object’ but I’m not 100% sure what that indicates.
There’s talk of adding a new field ‘post_type’ in the next major release but the above is accurate for 2.0.1.
Forum: Fixing WordPress
In reply to: Hooking into the signup functionMark Jaquith is documenting the hooks & filters in WP.
[wphooks.flatearth.org]. If what you need isn’t there try sending a request to the dev’s mailing list. They’re open to new hooks if you can justify the need.
[http://lists.automattic.com/mailman/listinfo/wp-hackers]Forum: Fixing WordPress
In reply to: How do I remove the bottom part from one of my pages,Yup it will, I missed that you were referring to a specific page. Marcy’s suggestion is a good choice. Another option is using conditional tags (codex) to customize your template for specific pages.
I find creating separate templates easier to manage than sorting through a bunch of if/else code. But more templates mean more files to maintain so it’s personal preference.
Forum: Fixing WordPress
In reply to: How do I remove the bottom part from one of my pages,You’ll need to edit your templates and comment out (//) the following tags.
<?php the_author() ?> becomes <?php // the_author() ?>
<?php the_category() ?> becomes <?php // the_category() ?>
<?php edit_post_link() ?> becomes <?php // edit_post_link() ?>You could remove those template tags but there’s no harm with leaving them in because it makes it easier to revert later. You’ll need to make these changes on index.php and possibly other template files like single.php, archive.php and category.php.