-1
votes
0answers
25 views

Creating a second custom public author page

I'm sorry if this question have already been asked, but I couldn't solve my problem after reading similar issues. I have my author page (www.mysite.com/authorname) that works well and takes the ...
0
votes
0answers
16 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 ...
0
votes
0answers
30 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
1answer
37 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
55 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
38 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
42 views

get post count for related author

I'm trying to use the code below to obtain the number of custom posts the author of a post has published. function count_user_posts_by_type( $userid, $post_type = 'artistblog' ) { global $wpdb; ...
0
votes
1answer
93 views

Show a custom field instead of username in the backend author area

I'm building a new WP site with about 1200 authors(which are actually companies, pulled from my client's existing site), each attached to at least one custom post type. My problem is the admin(our ...
0
votes
0answers
66 views

Custom Post Type supports author

I am using 'author' in 'supports' array for my 'custom post type', that shows a list of all users of the site on add or edit post screen to assign author for the post. But I want to filter that list ...
1
vote
1answer
308 views

Getting a list of custom posts by author

I'm trying to have a page where a user can view all of the custom post types after they click on an author from a previous page, but I'm having no luck with anything I can find in the built-in PHP ...
0
votes
1answer
136 views

Display author box on just certain category posts?

I'm using this code to display a author box after my blog posts. The issue that I'm having is that it is showing up on all custom post types as well which I don't want. What I need is for it to show ...
0
votes
1answer
131 views

Get the terms of a custom taxonomy for a specific author in author template

I am using a custom post type in my website and a custom taxonomy for it. An author selects one or many terms before publishsing its post. My goal is to display authors pages in front end, so I ...
0
votes
1answer
106 views

Author template - separate custom post type by custom taxonomy term for $curauth

Basically I have a post type called photograph, I then have a Taxonomy group called "Subject" and several tax terms i.e. Abstract, freeze frame etc (Approx 18 in total) under that Taxonomy group. I ...
0
votes
1answer
326 views

Display custom post counts for author , not default posts

<?php global $wp_query; $curauth = $wp_query->get_queried_object(); $post_count = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = '" . $curauth->ID . ...
1
vote
0answers
18 views

Author Pages For Custom Post Types [duplicate]

Possible Duplicate: Refine custom posts by author I need a way to display author archive pages for custom post types. I already know how to include custom post types into the default ...
1
vote
1answer
316 views

How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?

I've tried a bunch of things but cannot find a solution that works. I want my site to have the structure: mysite.com/ = homepage mysite.com/blogs/ = blog archive mysite.com/blogs/year/ = blog ...
0
votes
1answer
81 views

Use Author Ids or Names to echo different output inside loop

Is there a way to use the author ids (or names) to echo different output for different authors (in this case author id 7 and author admin? I tried the following but it didn't work. ?php if ...
3
votes
5answers
2k views

the_author_posts_link() for authors of custom post types

I have both regular blog posts and a custom post type in a blog. The page template shows the author posts link. If you click on that link for an author that has authored some posts, that page ...
0
votes
1answer
111 views

Creating an option for writing a post without an author attribution for a group blog on Wordpress

I'm developing a group blog on wordpress (first time working with it) and the client has requested that a 'None' option be added where an item can be posted without a "by" attribution. So basically ...
1
vote
1answer
508 views

Recent comments on author page?

I'm creating an author.php page and I'd like to show comments as well as posts from a custom post type. I already have the list of posts but I'm looking into an efficient way of displaying the most ...
1
vote
4answers
797 views

Adding %author% in custom post type URL structure?

I'm trying to do some WordPress URL rewriting ... Specifically I have custom post type that currently works like this: http://mydomain.com/videos/post-title/ But I would like to have it located at: ...
0
votes
2answers
202 views

Custom Post Type and Labels

I was wondering if there is a way to edit the default field labels on a custom post, for example instead of the author field saying "author" have it say "keynote speaker" I found one solution listed ...
0
votes
1answer
1k views

Showing only posts from the current user who is logged in?

I'm using the following code to get ONLY posts with the post_type question and the current user who is logged in. But if no use is logged in all the posts are displayed anyways. Any suggestions? ...