Editorial Process

Yes that’s the default behavior. When an “author” writes a post, he cannot publish it, only an “editor” (or higher) can do the publishing action. As for email notification, there are a couple of plugins for that, here are two : WP Status Notifier WP Pending Post Notifier

Removing “HTTP://” From the_author_meta?

Assuming that the author’s id is $author_id, the following code should work. You can of course use this to create your own function. <?php $url = get_the_author_meta(‘user_url’, $author_id); ?> <a href=”https://wordpress.stackexchange.com/questions/26599/<?php echo $url; ?>”><?php echo str_replace(‘http://’, ”, $url);?></a>

When I use rewind_post() it shows menu items in my loop

I found the problem, this function was causing the problem…. function include_custom_post_types( $query ) { $custom_post_type = get_query_var( ‘post_type’ ); if ( is_archive() ) { if ( empty( $custom_post_type ) ) $query->set( ‘post_type’ , get_post_types() ); } if ( is_search() ) { if ( empty( $custom_post_type ) ) { $query->set( ‘post_type’ , array( ‘post’, ‘page’, … Read more

How to Insert A List of Posts in A Category Written by the Author into the Author Archive

Not the most efficient way but it works, put this in your theme’s functions.php function author_post_breakdown($author_id){ //get all post of this author $n = get_posts(array( ‘author’ => $author_id, ‘posts_per_page’ => -1, ‘fields’ => ‘ids’ ) ); $cats= array(); //loop over all post of this author and get the categories for each post foreach((array)$n as $id){ … Read more

Multiple Authors on a Single Blog

There is no limitation on the amount of users… There are some great plugins that would help you manage permissions and limitation you might want to empose to avoid problems.. Tip: Aritcle writers should a writer user level Email Users Plugin – This would help you send email to all users in one click. WyPiekacz … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)