Mark Jaquith
Forum Replies Created
-
Forum: Installing WordPress
In reply to: wp_terms’ doesn’t exist ERROR upgrading to 2.3Is it possible that you don’t have the CREATE MySQL priv?
Forum: Fixing WordPress
In reply to: Why does Contact post shows up whenver loading the Home page?Hafiz is correct, a Contact page belongs as a Page in WordPress, not a Post. It is intended that all posts show up on your home view. Pages are non-chronological content that will not be displayed in blog views.
Forum: Alpha/Beta/RC
In reply to: 2.3’s homepage,always kept flashing.Define “flashing.” Does this happen with default theme?
Forum: Plugins
In reply to: Subscribe to Comments and Static PagesThe
%2540issue should have been fixed in STC 2.1.1I’ll be looking into the other issue, thanks!
Forum: Installing WordPress
In reply to: permalink not identified correctly (not fully decoded)This is restricted in the MySQL user table (in the
mysqldatabase). You said you restarted the server, so I assume you control it. Try this:mysql> USE mysql; mysql> UPDATE user SET max_questions = '0';And if you’re using iPowerWeb, you need to get a new host. iPowerWeb sets max_questions to 50,000 and will not raise it. Run as fast as you can.
Forum: Plugins
In reply to: Creating new PHP PagePut the other stuff in
separate.phpand then call it from your sidebar with<?php include('separate.php'); ?>Forum: Plugins
In reply to: wp-cache -> keep sidebar dynamic?When you have a WP-Cache/Staticize Reloaded cached hit, WordPress is not loaded. You do not have access to any WordPress functions. That’s why the function is undefined. You can use PHP functions and any functions defined before WP load or within
<!--mclude-->directives, but not WP functions. You’ll have to recode your sidebar to work without WordPress if you want it to be always dynamic.Forum: Fixing WordPress
In reply to: Using PHP GET with custom templateWordPress’ pages (and any of its URLs that don’t contain
.php) are virtual… they don’t correspond to physical directories.You should be able to append
?get=footo a WordPress page URL and then access$_GET['foo']within your custom page template.Note that
sis used by WordPress for WP searches, so you’ll want to choose something else like?flickrsearch=XForum: Fixing WordPress
In reply to: SQL upgrade portion of 2.1 upgrade bombsFatal error: Call to undefined function: populate_roles_210()Otto42 called it (I’m only responding because this has since been bumped to the WP-Advanced forum)
Re-upload
/wp-admin/directory and make sure all files are overwritten.Forum: Fixing WordPress
In reply to: Theme editor does not show all template filesThis issue will be fixed in WP 2.1.1 (first bugfix release for the 2.1 branch… release date TBD).
http://trac.wordpress.org/ticket/3674
The bug is that you need a space after the last character of your template name, which is why koenoezsi’s suggestion works.
Forum: Themes and Templates
In reply to: Changing font in 2.1 Visual EditorMy mistake, it was actually a bug in 2.1 that only affected people on IIS servers.
See here:
http://trac.wordpress.org/ticket/3646
Was already fixed for 2.2, but I committed the fix for 2.1.1 as well.
Forum: Themes and Templates
In reply to: Changing font in 2.1 Visual EditorMake sure you got all the files uploaded. I seem to remember someone having issues with small fonts because a file was missed during the upgrade.
Forum: Plugins
In reply to: Plugin Quest – conditional display based on custom field valUse the API function
get_post_meta($post_id, $key, $single = false)e.g.
<?php if( get_post_meta($post->ID, 'ShowDtag', true) ) { ?>
<script src="http://images.del.icio.us/static/js/blogbadge.js"></script>
<?php } ?>The third param just tells it that you’re expecting a single result… otherwise you get an array of results.
Forum: Fixing WordPress
In reply to: Converting quotations to HTML special characters?This has been happening for as long as I’ve been involved with WordPress.
To deactivate, put a
functions.phpfile in your theme directory that contains:<?php
remove_filter('the_content', 'wptexturize');
?>