Skip to content
New issue

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

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

Already on GitHub? # to your account

Add ordering to social_icons shortcode #294

Closed
danimalweb opened this issue Apr 1, 2021 · 1 comment · Fixed by #295
Closed

Add ordering to social_icons shortcode #294

danimalweb opened this issue Apr 1, 2021 · 1 comment · Fixed by #295
Assignees
Milestone

Comments

@danimalweb
Copy link
Contributor

We need a way to custom order the icons whenever we call the shortcode.

Maybe passing in the keys in an array for the order would work.

@danimalweb danimalweb self-assigned this Apr 1, 2021
@danimalweb
Copy link
Contributor Author

@BrandonH676 This will be available in the next version of Tofino. The order will be as per the platform order passed into the shortcode.

echo do_shortcode('[social_icons platforms="soundcloud,twitter,facebook,pinterest"]');

@danimalweb danimalweb added this to the v3.1.0 milestone Apr 2, 2021
@danimalweb danimalweb mentioned this issue Apr 4, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant