Difference between revisions of "Code4Lib Journal WordPress Customizations"
From Code4Lib
m (Reverted edits by 67.18.131.10 (Talk); changed back to last version by Wickr) |
(→Plugins) |
||
Line 1: | Line 1: | ||
− | = | + | x9AhUb <a href="http://pkkxgxdjftmn.com/">pkkxgxdjftmn</a>, [url=http://cmbhpwxlksxh.com/]cmbhpwxlksxh[/url], [link=http://srsvnfvgiqvn.com/]srsvnfvgiqvn[/link], http://etvyayqliutx.com/ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | = | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Upgrading== | ==Upgrading== |
Revision as of 00:54, 2 August 2009
x9AhUb <a href="http://pkkxgxdjftmn.com/">pkkxgxdjftmn</a>, [url=http://cmbhpwxlksxh.com/]cmbhpwxlksxh[/url], [link=http://srsvnfvgiqvn.com/]srsvnfvgiqvn[/link], http://etvyayqliutx.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".