The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
63 views

Using a Multi Site Users Blog ID as a WP Prefix

I'm trying to update a plugin so that the prefix for the defined tables is taken from the ID of the posts authors site This is what I am trying to do at the moment function { global $authordata, ...
0
votes
0answers
26 views

WP_Query For Custom Author and Single CPT Search?

I have created a search page where users can search the site with these options: (1) Keyword (2) Keyword in/from 12 different Custom Post Types (CPT's) (3) Keyword in/by a single Author's posts ...
1
vote
0answers
52 views

How to redirect author subdomain pages to each author pages on www

I need to redirect author subdomain pages, for example: http://www.studionews24.com/author/author-name/ I noticed that if I'm on a specific subdomain URL like ...
0
votes
1answer
25 views

Getting the author name on author archive page

My template not work for author name on author archive. I tried change to get_the_author but nothing changed. Hope someone help me out. Thank in advance.
0
votes
1answer
221 views

Get_the_author doesn't return author name

I insert author box below my post and use get_the_author to return author name but it doesn't working. It also doesn't working with Search post by author. Hope everyone give me solution, thank in ...
0
votes
0answers
12 views

Display authors Whos write in category

i have block that display all category in custom post type of my site like this:- $cat = get_terms( "progamdvideo_c", $args ) ; now in post type i add article, each article have authors, how can ...
0
votes
0answers
66 views

Bizarre behavior of get_author_posts_url()

So I've been developing a site where I list a custom post type associated with a member in their profile page. It was all working fine until I imported about 150 users (at least that's when I ...
0
votes
1answer
122 views

Posts in loop all show the same author when there are many authors

I am iterating through an array of post IDs $ids. All is displayed correctly except for the authors. Every post shows the same author, although the posts are by different authors. I can't seem to get ...
-2
votes
2answers
801 views

Removing Author name

I want to remove the author name from every post. O am using a website in wordpress.org. and I'm using tweenty fourteen theme. How to remove the author name? Do I have to go to the Author template ...
0
votes
0answers
12 views

How can I change the author of the comment from the admin control panel?

How can I change the author of the comment from the admin control panel? A more detailed explanation, how can I change the value of the user_id column (which is located in the wp_comment table) from ...
0
votes
0answers
146 views

How to add the author search in the default wordpress search?

I would like to include the author search in the default WordPress search. Is there any way of doing this? right know it retrieves all the posts with the permalinks and author names. same way i need ...
0
votes
2answers
138 views

How can I show many posts an author has per week?

I've searched around and have had no luck or success in finding a way to show how many posts an author has made in a certain period of time (e.g. - a week) Any ideas on how one would approach this? I ...
0
votes
1answer
168 views

Can change twentytwelve_entry_meta “by-author” links?

In the Twenty twelve theme, the twentytwelve_entry_meta() function shows "by-author" links (i.e., the ones that have the title "View all posts by xxxx") by using user_nicename. So when a "difficult" ...
0
votes
0answers
13 views

How do you display a comment into a mail?

So I want to notify the author (via mail) that his comment have been removed, and which post the comment was related to. // Mail author when their answer is deleted/trashed function ...
0
votes
0answers
23 views

post author changes when editing post

I have the following function which alows me to set a post author, even if they are only a subscriber: add_filter('wp_dropdown_users', 'MySwitchUser'); function MySwitchUser($output) { //global ...
0
votes
2answers
42 views

Creating distinct pages for author profiles and lists of posts by author

The site I'm currently working on includes profile pages for each author plus a method to search for posts by a specific author. So we would have a page at /author/author-name/ that only displays a ...
0
votes
0answers
13 views

Listing authors, discription and rss feed in alist

I'm trying to list my sites authors, their description, and rss feed link on a single page. I have experimented with the author_list functions with scattered results. Can anyone point me in the right ...
0
votes
2answers
19 views

This code won't find authors page?

I am using this code to display current users author page. However if the user has a space in their username it won't find the URL. How can I get the code to place a '-' if there is a space in the ...
1
vote
2answers
510 views

Get current users post URL?

I've been trawling through forums but can't find a solution to this. If anyone can help, it would be greatly appreciated! I'm trying to display a link to current users author page (all users have ...
0
votes
0answers
46 views

Custom Post Type Author limit

It's possible limit creation of custom post type named "ofertas" to 1? Only for authors. I have installed Wordpress 3.8 and plugins don't work (Limit Post Creation 1.4, Bainternet Post Creation ...
0
votes
2answers
64 views

Get author_id in wordpress

I'm having problems to get author_id in this code. Don't show nothing. Some can help me? <?php global $query_string; query_posts( $query_string . '&orderby=rand' ); ?> <?php ...
0
votes
1answer
41 views

Custom post type title of each author in his own post

I have a seriously problem :( maybe someone can help me The users registered in my wordpress page have one post only, and i created custom_post_type named "ofertas". The users can create one oferta ...
0
votes
1answer
369 views

the_author_meta('user_url', $author->ID) not working properly. how can I solve this?

I have 2 authors and an admin on my blog. I am using the following code in my contributors.php function contributors() { global $wpdb; $authors = $wpdb->get_results("SELECT ID, ...
0
votes
0answers
91 views

Permission to change post Author

I am trying to create a "limited admin" but I cannot manage to give this user rights to change the author of posts. The regular administrator can see the dropdown option to change author from both ...
0
votes
1answer
136 views

add capability to author role to be able to delete attachments

I need my authors to have the right to delete any of the attachments they uploaded in case they made some mistake. Currently if the author clicks on any thumbnail in media-library, he gets the ...
1
vote
1answer
37 views

Where is the information about the authors for articles stored?

I have recently been appointed to maintain a Wordpress powered news site. I don't have much experience with wordpress and have been teaching myself as I go. The site I am maintaining was recently ...
1
vote
1answer
80 views

How to create a page for authors? like www.myblog.com/author/

I have author.php and it's working fine for authors separately. eg: if I click author1 and it goes to www.myblog.com/author/author1 and shows his details if I click author2 and it goes to ...
0
votes
2answers
64 views

Show author name not the author ID

I have added the code to get the author, but it displays the author's ID number. How can I get the author's name to show and their gravatar. CODE <?php $product_pages_args = array( 'meta_key' ...
0
votes
1answer
291 views

How to remove “Image Information” and “post date/author” from a media page?

I'm trying to use Wordpress to setup a simple website for my business, and I'm having issues with the gallery page. Once an image is clicked and brought to it's specific page, it includes author and ...
0
votes
2answers
54 views

show count author post today

i want show user count post today or yesterday post in wordpress. example: xxxx = published 2 Posts yyyy = published 40 Posts please help me.
0
votes
1answer
36 views

How can I display other user avatars on an author profile page?

I have an author profile page where I'm displaying a user avatar and information about the author. On this same page, I'm also trying to include posts by other authors with their avatar displayed next ...
1
vote
1answer
142 views

How can I set wp_dropdown_users so that it shows only authors?

I want to list in a drop-down box all users who have role "author" How can i do it? Thank you
0
votes
2answers
46 views

Display the current post author and his url in the post header

I'm making some changes in my theme. I want that when they visit a Post the header should contain the post author and his URL. right now I'm using this: echo '<a ...
0
votes
2answers
103 views

set post author depending on condition via frontend post submit

I allow users to post from frontend. There are three kinds of users. Myself as admin, a junior ( given a role of an author) and anyone from public as non-logged-in user. Currently if any non-logged-in ...
0
votes
1answer
27 views

what file I need to create to work date archive links?

I am using my own theme. my archive.php.. <?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, 'show_post_count' => 1 ) ); ?> <?php wp_list_categories( array ( ...
0
votes
2answers
32 views

Different posttypes for different authors

Now what I need to find a solution of is this issue: I have 8 authors, and a bunch of posts. All authors have there own adsense (or other affiliate), we wish to show the adds belongings to the ...
1
vote
1answer
98 views

edit comments capability for authors

I am using wp site where registered users have authors roles. I want authors to have permissions to edit their own comments. Now only admin user have capability to edit comments and even editors do ...
0
votes
1answer
106 views

Get Author for Single Post in Custom Post Type

I have looked high and low for an answer to this question and all I keep finding is how to make an archive page that list all authors and their post (including cpt's). I've tried to adapt these pages, ...
0
votes
1answer
89 views

How to 'If Author' Comments Check

I would like to add extra markup to a comment made by the site admin/post author. Is there a check for this and how would I add it to my code below? Basically, if the comment is from the post author ...
0
votes
0answers
14 views

Security: How to disallow viewing/browsing by author? [duplicate]

I've already inserted htaccess code to disallow searching for users by numeric id. However, one can still manually input a user name to view/browse by author, e.g. http://mywpsite.com/author/peter/ ...
0
votes
0answers
8 views

Redirect to correct author template based on author role [duplicate]

I have two author templates, one for normal users and one for special users. Special users are those with user role 'special', so when someone wants to view their author page, they need to use the ...
0
votes
1answer
49 views

Custom Post Type Author Array Problem

I am trying to create an author.php page that calls custom post types by the author appearing on that page. My problem is that when using the code below -- which filters for the post type 'video' -- ...
0
votes
1answer
39 views

Author Page List - change to show authors instead of not subscribers

I am trying to change this code in my Authors List page template $all_users = get_users(); $allowed_users = array(); foreach ( $all_users as $user ): $wp_user = new ...
0
votes
1answer
95 views

WP Query get posts by specific author IDs if one of several logged in authors

I have a custom template page where posts are shown from authors 1,2 and 3. <?php $the_query = new WP_Query( 'posts_per_page=-5&author=1,2,3' ); ?> How can I use get current user in this ...
0
votes
0answers
13 views

How to prefill comment-author, -site and -mail inputs when user writes a second comment?

How to prefill comment-author, -site and -mail inputs when user writes a second comment? I think it is saved in a cookie. Are there some functions? THX
0
votes
1answer
87 views

Create a Page Template Which Displays All Posts by Current User

I would like to create a page template that will display all of the posts by the currently logged in user. I managed to find an older thread which contained this code: if ( is_user_logged_in() ): ...
0
votes
0answers
35 views

Wordpress Users not showing posts

I have a fair few authors on a wordpress blog and I'm facing a problem. In the backend I can list all authors and it shows their post counts -> But then when I click into this number it is telling ...
0
votes
3answers
49 views

obtain the author id given the post id

If $a contains the ID of a certain post, how can one obtain the corresponding author ID? I've tried with $b = get_post( $a); $c = $b->post_author; $d = $c->ID; but it does not work.
0
votes
0answers
87 views

Link to Author archive from Navigation Menus in dashboard?

I'd like to display a grid of authors on my site showing the name of the author and their avatar. The tricky part is, I'd like to be able to control this from the Menus page in the dashboard so I have ...
2
votes
1answer
160 views

Limit number of posts a user can make per minute?

So I found the solution to limiting a number of posts a user can make per day but not per minute. Here's an excerpt from the code I found on ...