Author url
-
Hello,
I can’t seem to filter & override the author url in the subscription emails.
It does not appear that get_the_author_meta(‘link’… is being called.
Is there a way to override the author url?
thanks,
arj
-
Since the emails are sent from WordPress.com servers and not from your own WordPress installation, you won’t be able to customize their output.
If you would prefer to have full control over the content of your subscription emails, it might be better to use a plugin like MailPoet:
https://ww.wp.xz.cn/plugins/wysija-newsletters/I can override the author name, the url for the gravatar, the description but not the link by
filtering get_the_author_meta.
I control everything except for the author link which uses the author id which can only be coming from the WordPress site.
So, this information is being sent FROM Jetpack to WordPress.com and logically, I should be able to override it.
I’ve created a more detailed post with a bug report, but this is *not* resolved.
I’m afraid we don’t synchronize the full author link from your Jetpack site. The author link is built manually on WordPress.com, using the Author ID we indeed get from your site. You consequently only have control over the author ID, you won’t be able to change the rest of the link.
I don’t understand why you can’t synchronize the author link when you synchronize all of the other author data from a WordPress site with Jetpack installed on it.
Here is the problem. I have a plugin that overrides all of the author information. Correctly. Using WordPress filters. Everything displays correctly on the post. The blog post gets mailed out to people who subscribe through WordPress.com. The email address and full name sync properly, so the correct gravatar shows up, the full name is correct, but when you click on the author name in the email, the link goes to the id of the person who created the blog post (who is not the author). The actual link may be external to the blog and go to another blog.
Like I said, this all works fine on a blog post.
This, is a bug.
So what I have to tell my users is that Jetpack doesn’t properly filter the author link and they are sorry, but they don’t synchronize the full link. As a WordPress developer I know that this is wrong, (if I were the developer, I would fix it) but there is nothing I or anyone else is going to do about it?
I am pretty certain that this is a bug but if “I’m afraid we don’t do that” is the answer, I will pass that on.
So what I have to tell my users is that Jetpack doesn’t properly filter the author link and they are sorry, but they don’t synchronize the full link.
That’s correct.
While Jetpack synchronizes some of the data associated to your site when you connect it to WordPress.com, we don’t synchronize everything. In some cases, we extrapolate and build elements on WordPress.com based on some of the synchronized information. That’s the case with the author links.
While this is enough for most people, it’s obviously not practical for your use-case.
You’ll be happy to hear that we’re currently working on refactoring the way Jetpack Sync works. We want it to be more reliable, to happen more often, and to include more information so we can keep developing more features relying on the synced data on WordPress.com or in the desktop apps.
Unfortunately, I don’t have an ETA on this at this point. I’m afraid I can only recommend that you keep an eye on the changelog in future Jetpack updates.
Cool, thank you.
This was fixed and working but stopped about a month ago.
Could you give me an example of a site where you run into the issue?
Could you post your site URL here, so I can have a look?
If you want it to remain private, you can also contact us via this contact form:
http://jetpack.com/contact-support/It’s in the email sent to subcsciber. My plugin https://ww.wp.xz.cn/plugins/guest-author-name/ needs to be installed.After subscribing to the site using Jetpack,
Create a post, override the author name and details, especially the URL. When you view the post and click on the author name, it should take you to the author’s url.
Check your email. Click on the link. It does not take you to the author’s url. All of the other filters are working correctly.
Thanks for the extra details. I’ve logged the problem here, and we’ll see if we can synchronize the filtered information with WordPress.com before to send the emails.
I’ll post again here when we make some progress on this.
is it really resolved? how? i seem to have the same issue. the author link in the email sent from subscriptions is bad, leading to a non-existing page. i don’t need the author displayed in the email, so a possibility to not show this link would be great.
or a working link, that really leads to the authors page.this is the link that comes in the email: http://cuddlers.net/?author=2
this would be the working link to the authors page: http://cuddlers.net/de/author/elisaschmidt/
i have polylang installed, but even if i would put the /de/ in the broken link it does not change anything.
should i make a new thread?
@heidihu The problem is not resolved. You can follow our progress on this here:
https://github.com/Automattic/jetpack/issues/5958However, it looks like the problem is a bit different on your site:
- Elisa Schmidt is in fact author 5. Author 2 would be another user on your site.
- None of the default author archive permalinks seem to work.
http://cuddlers.net/?author=5should load Elisa Schmidt’s author page, for example. If it doesn’t that’s an issue with your site’s permalinks, unless you’ve purposefully disabled those shortlinks, or limited access to author pages. This is possible, as I see access to author information in the REST API is also restricted on your site: http://cuddlers.net/wp-json/wp/v2/users/5 Here is the expected result on my personal site for example, where access is allowed: https://jeremy.hu/wp-json/wp/v2/users/1 https://jeremy.hu/?author=1
Do you happen to use the WordFence plugin on your site? If so, could you check if you’ve enabled this option?
https://www.wordfence.com/blog/2016/12/wordfence-blocks-username-harvesting-via-new-rest-api-wp-4-7/Let me know how it goes.
For our site (Elkhorn Hills UMC) the author link in the emails send by subscribe are wrong. The link uses the author ID instead of name. We use the Post Name Permalink.
For example the email has: https://www.elkhornhillsumc.org/?author=15 instead of https://www.elkhornhillsumc.org/author/greggale/.
-
This reply was modified 9 years, 2 months ago by
aglozier.
@aglozier Could you please start your own thread, as per the Forum Welcome?
https://ww.wp.xz.cn/support/plugin/jetpack#new-postThank you!
The topic ‘Author url’ is closed to new replies.