Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link modal suggestion: wp-admin, Dashboard, author, author archive and other unique WP links #40155

Open
paaljoachim opened this issue Apr 7, 2022 · 2 comments
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Apr 7, 2022

What problem does this address?

Let's say that I want to link to wp-admin dashboard, author, author archive or other unique WordPress links.
Currently I do not know how we can do so.

Example from the lastet call for testing. https://make.wordpress.org/test/2022/03/31/fse-program-testing-call-13-authoring-an-author-template/ Number 15.
@annezazu mentioned this:
"You can find the author page by going to yoursiteurl.com/author/[username]."
I am glad she added the link as I would not know how to find the correct link.

What is your proposed solution?

In regards to finding the author page link. One could then write the author name in the link modal and notice the author link show up.

Another use case suggestion.
1- Create an Author box.
2- Add View All Posts By -author name- Paragraph block
3- Select the text and open the link modal and write author archive and notice the unique link suggestion show up and select it. View All Post By - author name - would then be added to the regular text link.

Screenshot 2022-04-07 at 16 24 42

Connected to:
This comment made by @carolinan #40076 (comment)
"The pattern do look a bit sparse without the "view all posts by", but I could not find a way to create a link to the author archive, with the post author name, inside a paragraph. Since we can't put other blocks inline in paragraphs."

@c4rl0sbr4v0 @getdave

@paaljoachim paaljoachim added [Type] Enhancement A suggestion for improvement. [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) labels Apr 7, 2022
@paaljoachim
Copy link
Contributor Author

paaljoachim commented Apr 15, 2022

Actually @kjellr also. suggested something similar in this comment:
#24952 (comment)

"I'm not sure that we need a "View all posts by" block, but it might make sense to suggest author archive pages in the links panel"

@annezazu
Copy link
Contributor

👋🏼 Thanks for starting this convo. IMO, this is already nicely covered in other issues you linked to. As a result, I'd focus this issue around finding ways to connect how a new template that's created can be viewed. Currently, after someone creates an author template or date template, they would have to know the relative link for their site and it would be great to connect the dots a bit more in the interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants