Difference between revisions of "Code4Lib Journal WordPress Customizations"
From Code4Lib
m (Reverted edits by 94.229.65.171 (Talk); changed back to last version by Wickr) |
(→Plugins) |
||
Line 1: | Line 1: | ||
− | = | + | yAuGWX <a href="http://ycmqzzvzhgaw.com/">ycmqzzvzhgaw</a>, [url=http://nczudbklaumj.com/]nczudbklaumj[/url], [link=http://pqydtrprdvxv.com/]pqydtrprdvxv[/link], http://pqkoutdbteaa.com/ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | = | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Upgrading== | ==Upgrading== |
Revision as of 00:53, 15 June 2009
yAuGWX <a href="http://ycmqzzvzhgaw.com/">ycmqzzvzhgaw</a>, [url=http://nczudbklaumj.com/]nczudbklaumj[/url], [link=http://pqydtrprdvxv.com/]pqydtrprdvxv[/link], http://pqkoutdbteaa.com/
Contents
Upgrading
These fixes were necessary for WP < 2.5, but should not be needed any longer.
Save the <div>s
Edit wp-includes/js/tinymce/tiny_mce_config.php, around line 25.
$valid_elements = '-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';
"Submit for Review"
Edit wp-admin/includes/post.php. After line 71 (in version 2.3.3) add:
// START FIX if ('publish' == $_POST['post_status'] && !current_user_can( 'publish_posts' )) { $post =& get_post( $post_ID ); if ('publish' != $post->post_status) $_POST['post_status'] = 'pending'; } // END FIX
Issue Manager Plugin
To Publish an Issue
- Assign timestamps to the articles in the order you want them to appear on the page (newest timestamps go at the top of the page)
- Go to the Issue Manager page in the "Manage" tab.
- Click "Publish" next to the category for the issue you want to publish.
- All "Pending Review" articles with the given category (that don't also have an "unpublished" category) will be published, with the timestamps updated to about now, retaining the order established earlier.
To Prevent Early Publication of Articles
- Go to the Issue Manager page in the "Manage" tab.
- Click "Unpublish" next to the category for the issue you want to keep unpublished.
- Any published articles with that category will revert to "Pending Review" status. Any new articles you attempt to publish will instead be set to "Pending Review".