Mark Jaquith
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Any Addition HTML markup codes?What other stuff would you like to do? You’re free to put just about anything in…
Here are the ones I would get familiar with:- strong
- em
- del
- blockquote
- img
- a href=
- sup
- ul
- ol
- li
Search on google for usage and more!
Forum: Fixing WordPress
In reply to: How to preventDemote the users to level 1.
http://wiki.wordpress.org/User%20LevelsForum: Fixing WordPress
In reply to: HELP! Sub-sub categories not showing!This is a bug in WordPress 1.2
See here for the solution (it’s also fixed in 1.3 CVS):
http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000048Forum: Fixing WordPress
In reply to: Comment Moderation – Email How To?You could set up the administrator’s e-mail account to delete those e-mails…
Forum: Fixing WordPress
In reply to: Strange behaviour: main category brokenNot positive, but you may be getting bitten by this bug: http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000314
Forum: Fixing WordPress
In reply to: Telling Post Pages from Index Pages?In WordPress 1.3, you can use:
if ( is_single() ) {
// allow indexing
} else {
// deny indexing
}In WordPress 1.2, you should be able to use:
if ( $single ) {
// allow indexing
} else {
// deny indexing
}Forum: Fixing WordPress
In reply to: Getting admin approval before a publishThis exists in WP 1.3, which is currently being developed. You could download a recent nightly build to play with, if you like. How it works right now is that level 1 users can submit posts, but they are not published until they are approved by someone with sufficent user level (sorry, not sure what level is needed).
Forum: Fixing WordPress
In reply to: post nav linkI could be wrong, but that might need to be placed “inside the loop.”
Forum: Fixing WordPress
In reply to: the_authorHm, this doesn’t sound too hard to do. It’d require some change of WP code.
One alternative that doesn’t require any change in code is to use the Category Description field to store the name of the “Information Owner.”
Would that work? It woudln’t be a dropdown list, of course.Forum: Fixing WordPress
In reply to: is_single() noobThis is a new function in WordPress 1.3, and doesn’t really have any documentation that I know of.
But I can give you the quick and dirty version:
is_single() returns TRUE if the current page being shown is an individual entry page.
You can use this in a conditional to display certain stuff only on a “single” page, or to omit certain stuff on a “single” page.
Here are some of the other “is_X” functions:
is_404()
is_archive()
is_author()
is_category()
is_date()
is_day()
is_feed()
is_home()
is_month()
is_new_day()
is_page()
is_search()
is_single()
is_time()
is_year()
If you visit my blog at http://txfx.net/ and browse around, look at the source… down at the very bottom of the source I’ve echoed out the result of each of those.Forum: Fixing WordPress
In reply to: Parse ErrorSometimes an error on line 16 is due to an omission in line 15… paste some of the surrounding code so that we have some context.
Forum: Fixing WordPress
In reply to: Trouble with img src and hyperlinkalt=”Samsung HLN617W 61″ Widescreen Projection HDTV with DLP Technology ”
I’m guessing this is your problem. the “alt” thinks it is being closed right after “61” because of the “inches” symbol, which is a double quote. Use & quot; (no space after that ampersand) instead of that double quote in that alt.
Forum: Fixing WordPress
In reply to: the_authorWhat do you mean by “capture an ID against the category”? I think you’re trying to say that you want the user’s ID married to that category when they create it. I don’t think there is a plugin hook for “add_category” so this would have to be a hack.
You might want to figure out exactly what your boss wants, because it’d be a shame if you went through all this trouble, only to have him give you a whole other list of things he wants it to do, things that may be beyond WordPress’s scope. WP is a great tool, and with some knowhow, it can be modified for some specialized use, but it is still not a full-featured commercial CMS.Forum: Themes and Templates
In reply to: Modifying wp-login.phpin the CSS file,
body {
background: #fff;
color: #000;
margin: 0;
padding: 0;
}
would change it to white… but note that this will change the background throughout the admin interface.Forum: Installing WordPress
In reply to: Up and running, I have one Q.AFAIK, the only downside to the /index.php/ method is the “cruft” of “/index.php/” (meaning that it’ll always be there, and it isn’t relevent to the post).
If you do not mind it, then don’t worry about it!