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

Working with custom slotfills #146

Closed
bph opened this issue Jul 6, 2023 Discussed in #140 · 14 comments
Closed

Working with custom slotfills #146

bph opened this issue Jul 6, 2023 Discussed in #140 · 14 comments
Assignees
Labels

Comments

@bph
Copy link
Collaborator

bph commented Jul 6, 2023

Discussed in #140

Originally posted by ryanwelcher July 4, 2023
This would be a follow up article to How to extend WordPress via the SlotFill system where we would show how to create a custom SlotFill and use it in an existing codebase.

@ryanwelcher
Copy link

I wanted to add my draft here if anyone is looking to see where I am so far. It's still VERY rough and incomplete but I am moving it forward

@ryanwelcher
Copy link

My first draft is ready for review!

@justintadlock
Copy link

@ryanwelcher - First review in. I'm out of the doc now and will leave the rest to our pro copyeditors. ;)

@ryanwelcher
Copy link

@justintadlock changes implemented. If anyone else has the time, I'd love more eyes on it. cc @marybaum

@marybaum
Copy link
Member

I can probably get to it later this afternoon!

@ryanwelcher
Copy link

I can probably get to it later this afternoon!

Sounds great! I've started moving it into the post draft but would be happy to get feedback and finish that process off tomorrow. Thank you :)

@marybaum
Copy link
Member

You are most welcome!

@marybaum
Copy link
Member

I'm about half done. Now some dinner! If you'd like to finish, the main thing I'm doing is converting the passive verbs —

"in the example below, the SlotFill component is created ..."

to active verbs —

"Now make a new SlotFill component ..."

I think it's important to use active verbs because we are teaching people to do things themselves, with their own two hands. Passive verbs imply that maybe they aren't going to be quite that responsible, as if someone else is going to come in and do it for them. I don't think that's the case! 😀 So active verbs will light a fire under their glutei maximi ...

@ryanwelcher
Copy link

Thanks @marybaum! I'm going to start making the changes in in the draft post. I want to publish this by EOW if possible.

@ryanwelcher
Copy link

I have move the post into draft - https://developer.wordpress.org/news/?p=2502&preview=1&_ppp=376857845f

@ironnysh
Copy link

Hi team! I can do the second review of the draft over the weekend (if it's not too late).
Just assign me if that timeframe works for you, so I'll get a notification.

Happy holiday :-)

@ryanwelcher
Copy link

@ironnysh thanks for the offer but I have already received a review and aim to publish today.

@juanmaguitar
Copy link
Contributor

LGTM! ✅

@ryanwelcher
Copy link

Published here - https://developer.wordpress.org/news/2023/12/22/extending-plugins-using-custom-slotfills/

Social Copy:

Learn how SlotFills can be used to create extension points in your plugin that can be used both internally and by other plugins.

https://developer.wordpress.org/news/2023/12/22/extending-plugins-using-custom-slotfills/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Published (Done)
Development

No branches or pull requests

6 participants