The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
9 views

How to get the Author type Label Language

I am working on a plugin and I need to have the word 'Author' appear in whatever language is set in the wordpress settings. I have achieved this for the words: Posts and Pages using this code: ...
0
votes
1answer
20 views

If post author ID is..show that

i would like to display a custom adrotate Group everytime if a user ID matches the script. So i created: if (is_author('1')) { echo adrotate_group(8); } elseif (is_author('70')) { echo ...
1
vote
0answers
14 views

How to make an author archive only for certain user role and show related CPT

Scenario I made a CPT where I'm taking the stakeholder's ID as a custom field. All the stakeholders are actually a WordPress' Registered User with a different role stakeholders - because at some ...
0
votes
1answer
15 views

ACF Relationship - Exclude pages not created by author

I have pages that I would like to exclude in a ACF relationship field. My field name is products and the following code excludes the pages with id 9, 10 or 11. ...
0
votes
1answer
23 views

Prevent author role from editing all posts in custom post type?

I thought the Author role was only allowed to edit posts created by that author. That works in Posts and Pages, but I created a custom post type and the author can edit ALL posts in that post type. Do ...
1
vote
1answer
18 views

Programatically change post author

Given a user id, $user_id, and post id, $post_id, how can I programatically update a wordpress post author? Note: these posts are already created and the author cannot be set upon creation. Another ...
1
vote
1answer
29 views

Custom loop for custom post type for current author

I need to edit the below code to only display posts for the current logged-in user/author. It is currently within a Wordpress theme page template file and works well. Any help would be appreciated as ...
0
votes
2answers
14 views

Show author on every sub-page

Is it possible to display the author on all pages (not blog-entries) who created it? Every plugin I find is for blog-posts.
0
votes
0answers
22 views

%author% permalink for woocommerce

I have a multi-vendor website. I need to have the products permalinks set to, something like this: /author/product or /vendor/product Wordpress already has inbuilt code for /%author%/ but sadly this ...
0
votes
1answer
13 views

Sticky post of current viewing author?

How to show sticky post of current browsing author on author.php template? $sticky = get_option( 'sticky_posts' ); rsort( $sticky ); $sticky = array_slice( $sticky, 0, 5000 ); query_posts( array( ...
0
votes
2answers
20 views

Different values for get_author_posts_url and get_the_author (posts 2 posts)

Caveat- I'm not a programmer, I'm a designer that has taught myself basic php/wordpress theming. This is a very specific question, I realize, but I'm hoping the experts can help me find some ...
0
votes
1answer
27 views

Redirect Every Instance of The Author Template Pages to Custom Author Pages

What I'm looking to do is actually a simple redirect, but for the EVERY page contained in the /author/ slug. The working slug I want to redirect to is /team/. For example, if someone were to type ...
0
votes
1answer
22 views

Change author permalink to external URL

There are several questions here on wordpress.SE that explain how you can change the author slug in the author permalink URL, e.g. from http://your.blog.tld/author/author_slug/ to ...
0
votes
0answers
27 views

Allow users to change author of post

I want to allow people to ghost-write for other people. This is why I've made a custom taxononomy in my custom post types called Author filled with all the author names. Now I realize it's probably ...
0
votes
2answers
33 views

Give Author users the right to embed

I'm trying to allow "author" users to embed in posts. I (the administrator) can iframe, embed, etc...., but authors can not. Can someone show me to give authors 'just' the ability to embed and ...
0
votes
2answers
18 views

Display Authors avatars when more than one author

On a blog, i'm using the following to display the post authors avatars: <a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>" style="color:#ffffff;"><?php echo ...
0
votes
0answers
26 views

Search Authors, Filter by custom taxonomies in their posts?

I have a website where users will post their past jobs (custom post type) and choose attributes (custom taxonomies) to describe the type of job and responsibilities. I would like to be able to search ...
0
votes
0answers
28 views

Show author box of custom post type

I have installed a plugin to create ads listing but in the single ads page there is not the metabox author. What I want is to show below any single ad listing a box with listing's author info. I ...
0
votes
1answer
60 views

Removing /author/ slug from URL gives 404

After hours of searching and trying different functions, I've finally successfully removed the /author/ from all of our users profile URLs. So its just /username/ However, when new users register ...
0
votes
1answer
144 views

Making Wordpress author follow button, need missing ingredient

So i'm trying to make a follow button in wordpress where users can press a button that allows them to follow an author they like. (No, i'm not interested in buddypress) What i've done so far is use ...
0
votes
1answer
24 views

show latest authors blog post

how do you display the latest authors blog post? I have the below code: <?php $author = get_the_author(); $args = array( 'numberposts' => '1', 'author'=>$author ); $recent_posts = ...
-1
votes
1answer
62 views

problem in the author permalink

1 - register like this http://ahmed.d.pr/19Poz 2 - register a new user like this http://ahmed.d.pr/1eExL 3 - choose permalink >> Post name >> /%postname%/ 4 - the link in the browser must be like ...
0
votes
1answer
124 views

Displaying custom post types in author.php

I am trying to modify my author.php page so that it includes the custom post types which the author has added. The below is what I have where it first displays the normal posts, and then displays the ...
1
vote
1answer
126 views

Change Comment Author Display Name

I am trying to change the comment author name (or more specifically, the review author in WooCommerce) to be First name Last Initial (e.g., "John D." for "John Doe"). I got most of the way there with ...
3
votes
3answers
155 views

Query posts distinct authors

I am trying to get post from a category ordered random, but making sure that the author does not repeat itself. So I have this query which works as intended, but there is the chance that the author ...
0
votes
0answers
22 views

Search results for author account pages

I'm looking to find out if there are any plugins / code out there for Wordpress search to return results for user author accounts. NOT posts from authors. NOT pages that authors have created, but the ...
0
votes
0answers
46 views

How to show featured image block in custom post type for Author?

I made a custom post type "Dream". Here is the code: //Add custom post type by Akash add_action( 'init', 'create_post_type'); function create_post_type() { register_post_type( ...
0
votes
1answer
29 views

Authors divided alphabetically

I'd like to create a page on my site listing all of the site's contributors with info like their bio, URL, etc.. I found this code which is perfectly suited for my needs. However, what I'd like to ...
1
vote
1answer
65 views

How to create a profile page for specfic / custom user role members?

I am trying to create a profile page for every user if his / her role is a custom role. Ive created a custom role in my site. Now this is the default role is assigned to the members when they ...
0
votes
2answers
52 views

How to get all possible arguments for a wordpress function

I'm trying to get all arguments for function get_the_author_meta() or the_author_meta() because I have custom profile fields such as "parent name" and so, not only the normal arguments which is in ...
0
votes
1answer
115 views

Guest Author - How to display posts on /author/ archive page

I have used the Advanced Custom Fields plugin to create all the data elements for a company leadership directory page and management bio pages. On the site blog, management will not be posting ...
1
vote
2answers
69 views

Add admin bar link to edit author

I am trying to allow my editors and admins to click to "Edit Author" as they would "Edit Post" or "Edit [Custom Post Type]" from the admin bar when they are on a page like /authors/jdoe (Note: I do ...
0
votes
0answers
19 views

Wordpress Blog Author picture by image URL

I want to use image url for wordpress blog author picture. By default it will allow me to browse and select image from my local system. It will be helpful if it can be implemented without any ...
1
vote
2answers
109 views

How can I show a custom post type for users in the authors.php file?

Here is the code I have. It is showing 100 custom post known as campaigns. I need it to only show the current users. So author/joe should only show joe's campaigns. <?php ...
1
vote
1answer
58 views

Authors in menu, template list post by author

Can i get a specific author in main menu and when you click on it to see all the post buy this author. Also i need to see all posts ordered by authors too in the menu. In what template should it ...
0
votes
1answer
97 views

Author posts url… way to get display name to be url instead of user's ID?

I'm trying to get my authors blog post byline content to link to their archive page of posts. I've got everything working, but would rather the author post link be: ...
0
votes
0answers
21 views

Author navigation : navigation between all authors of website

I have setup a custom author page in a wordpress website. The thing I am looking for is quite a bit difficult (I think) I am trying to make previous - next links for authors pages. How can I achieve ...
0
votes
2answers
65 views

How can I set a maximum allowed post size and number of posts submitted?

How can limit the size of posts that authors can create on my WordPress site and the number of posts they can create?
0
votes
1answer
35 views

Author list based on recently active

My list of authors is now based on post count and I would like it to be based on recently active user. My idea was trying changing the orderby to post_date but it has no effect. Any suggestions to how ...
0
votes
1answer
92 views

How to have a static category/author page?

I'm using a static front page with my theme and it's convenient and just nice. I'd like to do the same for the category and author pages as well. I can't find this asked yet... My reasons are... • I ...
0
votes
0answers
72 views

Hook function on click of Button “Pages” in the WP Admin Panel / Not Activate Plugin

I need a hook which I can use for add_action('TheHookINeed', 'add_hooks_for_advanced_page_manager'); I need the function add_hooks_for_advanced_page_manager() executed before the page overview site ...
4
votes
2answers
127 views

Check If comment author is registered

It should be simple, but I tried some codes, none does the trick. Searched on Google, nothing there either. Simply check if the comment author is a registered user (so I can add some code for it), ...
1
vote
1answer
52 views

Link to post author but exclude administrator (on single.php)

How to exclude administrators from the code below? So if the current post author has the role of administrator, nothing will show. <a href="<?php echo get_author_posts_url( ...
0
votes
1answer
38 views

Find custom post type url by author

In my blog (multi authors) I have posts and a custom post type named (listing_type). In the site an author can have only 1 listing and many blog posts, and I need to find the listing url published by ...
0
votes
1answer
30 views

Problem displaying replies as part of author's latest comments on author page

I've based a lot of my method on this thread here I can currently display 5 latest comments on an author template page. I want to display the latest 3 replies from any user for each 'main' comment ...
0
votes
1answer
47 views

Get x recent posts by author?

So I have ten authors on my site, and I want to designate a section where it shows the ten authors and their 5 latest posts in the form of the post title linking to the post. I tried using the ...
0
votes
0answers
55 views

Author page update to be reviewed by admin before publishing

I have used the capability manager enhanced plugin to extend the capabilities of an Author to allow them to edit the content on a page that they (and only they) have authored. When they make a change ...
0
votes
0answers
22 views

Multi Language permalink for author page in wordpress

I want to have 2 different permalinks in 2 different language for author page. Is there any way to make a different author template except using author.php because I am using author.php for the main ...
1
vote
1answer
34 views

Commenter should see only his comments in wordpress

I'm building a site for a research and my participants will be all logged in to use the site. I would like to make these participants able to see only their own comments, so other users' comments will ...
1
vote
1answer
39 views

What do you put in child themes author tag?

What is the common practice in authoring child themes ? I mean, if I make child theme of some free theme should I put myself as author or should I keep the name of the original themes author ? I ...