Adding Author Box Meta Links with Co-Authors

These are outside of the foreach loop: $twitter = get_the_author_meta(‘twitter’, $author_id); $facebook = get_the_author_meta(‘facebook’, $author_id); $googleplus = get_the_author_meta(‘googleplus’, $author_id); $linkedin = get_the_author_meta(‘linkedin’, $author_id); $instagram = get_the_author_meta(‘instagram’, $author_id); $youtube = get_the_author_meta(‘youtube’, $author_id); $email = get_the_author_meta(’email’, $author_id); So (remove that, and) try using $coauthor->ID with get_the_author_meta() like this: <div class=”author-box-social-icons”> <?php if( $email = get_the_author_meta( ’email’, $coauthor->ID … Read more

how to connect the author profile with google webmaster tools in multiuser blog?

Author info is two steps: Link pages on your site to the Author’s Google+ Profile, the easiest way being a rel=”author” <link /> tag in the <head> section. Authors link the the site on their Google+ profile, the “contributes to” section (or whatever that happens to be called. Step 1 has to do with WordPress. … Read more

Allow users to create post without logging in?

the easiest way is to use this plugin: http://wordpress.org/plugins/guest-posts/ Offer your blog guests or unregistered blog readers an opportunity to post on your WordPress blog without registering themselves. Guest Posts will help you to create a strong interaction and engagement with your blog readers. This plugin will create a form where your guests can submit … Read more

How to add an inline word after post author commenter name?

Just wanted to mention some alternatives: Alternative #1 You say you don’t want to edit the comments.php file in the current theme directory. If we need to change how the wp_list_comments() works, we can always modify it through the wp_list_comments_args filter. For example to add our own callback: add_filter( ‘wp_list_comments_args’, function( $r ) { if( … Read more

Can multiple authors be assigned on a single custom post?

Easy way: use this plugin https://wordpress.org/plugins/user-role-editor/ More complicated way: You can use functions.php to add all of the custom capabilities to a specific roles. But ofc you need a name of these capabilities. This code is usefull if you want to add X same capabilities to X roles. Add to functions.php function wphm_add_custom_capabilities_to_roles($roles, $capabilities) { … Read more