Custom Author Loop
Looks like you’ll want to use get_users and you might want to take a look at the source code behind wp_list_authors to info on how to use it.
Looks like you’ll want to use get_users and you might want to take a look at the source code behind wp_list_authors to info on how to use it.
take a look at Change the Author Slug from Username to Nickname more specifically at Jan’s answer.
You can deactivate the buttons on tinymce and html-editor, but the user can than also create html-tags. Then is is also possible you filter the_content and replace the font-tags with empty fields.
If you know the ID of the author you can use wp_insert_post specifying the ID and the author ID to it. $id = $post->ID; // change this to whathever $user_id = ‘4’; // change this too $the_post = array(); $the_post[‘ID’] = $id; $the_post[‘post_author’] = $user_id; wp_insert_post( $the_post ); The trick is to specify the ID … Read more
Authors are rather simple content objects in WordPress. They have roles and capabilities, some basic meta data and their own edit screens. That’s it pretty much. If you want to add a custom taxonomy to authors you have to mirror each user with a (hidden) custom post type because the author object doesn’t support taxonomies … … Read more
WordPress has a great little function built in for handling selections. <option <?php selected(‘value1’, ‘value2′);?> value=”foo”>Bar</option> You can also check out these form handling functions: checked() http://codex.wordpress.org/Function_Reference/checked disabled() http://codex.wordpress.org/Function_Reference/disabled Your HTML syntax is wrong as well. Per W3C, ‘value’ is not an attribute of the select tag. The value of a select is defined in … Read more
Create an author.php template by copying your themes archive template to start with. Then you can modify it as you wish. WordPress will use this author template for every author on your site automatically As an example visit damien.co/author/damiensaunders Note you may have to change your authors names as Damien (space) Saunders doesn’t become damien%20saunders … Read more
From quick look at code the likely permissions check for that is edit_comment capability in edit_comment() function. Your options to remove that capability roughly are: customize the role with plugin, for example Members customize role with code, probably using remove cap functionality filter thiungs around map_meta_cap or user_has_cap if you need to achieve more elaborate … Read more
A bit like a team/contributors page. You could look at the contributors page template included in the Twenty Fourteen default theme for WordPress as an excellent example. May be a challenge to use it with another theme depending on your skill level. Another option which i have coded myself for Genesis, is a widgetized page … Read more
Have you checked the database for User’s url. Maybe that’s what they used for registering. What about this scenario – For admin, the default value of url is the blog url. User ID 2 used a url when registering. User ID 3 kept the url field blank when registering. You should fist check their url … Read more