Author Page

Posted in: Newspaper
Post count: 364

Hi, if I create a author page for each author (using visual composer), how can I link to the the author page like done on the newspaper demo? I mean the link if someone clicks the author name enabled on blocks, modules & single post pages.

Post count: 23312

Hello loano1,

In newspaper demo is using only the Visual Composer element for Author, as the example the Author Box feature. If you want to have the link for each post, you have to simply add the author for your post and then, when the post is shown on blocks/modules and click on the name of the author will be direct to the page of the author that are by default set it from WordPress -> http://demo.tagdiv.com/newspaper/author/admin/ -> http://screencast.com/t/t0nffZheh9k5 . If you want to have more options for the author page, you will have to search some plugins with this functionality and see how it works for you.

Hope this helps!

If is not what you mean, please provide more details about what you want to achieve so I will be able to provide a more accurate response.

Thanks.

Post count: 364

Hi Catalin,

Thanks for your information. I just figured out that the author archive is a default function of WordPress and I disabled it as a option in Yoast Seo. This lead to a permanent redirect to the homepage. But what I was really looking for is how to change the author url and redirect it to the team page. This can be achieved by adding the following code to the funktion.php


/* ----------------------------------------------------------------------------
* Redirect author to team page
*/

add_filter( 'author_link', 'my_author_link' );

function my_author_link() {
return home_url( 'team' );
}

Regards, loano1

Post count: 23312

Hello loano1,

Thank you for this solution. Maybe this will be very useful for our clients.

Thanks.

Post count: 39

all great, but if someone has a lot of active users who write articles?

Yoast blocking pages the author’s posts, such as:
https://demo.tagdiv.com/newspaper/author/admin/

I would like that the script does not pass page http://www.mysite.com/team on, respectively:

http://www.mysite.com/author/username1
http://www.mysite.com/author/username2
http://www.mysite.com/author/username3

Post count: 23312

Hello boos11,

Unfortunately, we cannot provide additional customizations because this involves custom work and we cannot provide this type of services, sorry! If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you!

Thanks for the message!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.