Code4Lib Journal WordPress Customizations
From Code4Lib
Beautiful Site, <a href="Order viagra online without prescription in our licensed pharmacy http://mug.union.rpi.edu/wiki/index.php/User:Drsmitz">order viagra online</a>, [url="Order viagra online without prescription in our licensed pharmacy http://mug.union.rpi.edu/wiki/index.php/User:Drsmitz"]order viagra online[/url], Order viagra online without prescription in our licensed pharmacy http://mug.union.rpi.edu/wiki/index.php/User:Drsmitz order viagra online, :[,
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".