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

Improve product template shortcode options #57

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

DogByteMarketing
Copy link
Contributor

If these changes are approved, we can go through the other templates and sync the changes where appropriate, though it may be a couple weeks before we can get to it.

Added: ids attribute to pull in specific products.
Updated: Shortcode to function more like how WooCommerce does
Removed: extract function as it goes against WordPress Developer Standards
Bugfix: Default order was set to "order" instead of DESC.
Bugfix: Set limit of 12 for default as currently set to no limit
Security: Contributors and up have access to shortcodes, sanitized attributes to prevent malicious behavior.

DogByteMarketing and others added 2 commits October 27, 2023 00:49
Updated: Shortcode to function more like how WooCommerce does
Removed: extract function as it goes against WordPress Developer Standards
Bugfix: Default order was set to "order" instead of DESC.
Bugfix: Set limit of 12 for default as currently set to no limit
Security: Contributors and up have access to shortcodes, sanitized attributes to prevent malicious behavior.
Updated: Spacing of code as it somehow got out of line.
@DogByteMarketing DogByteMarketing changed the title Added: ids attribute to pull in specific products. Update sc-swiper-card-product.php Oct 27, 2023
@crftwrk crftwrk added the documentation Improvements or additions to documentation label Oct 27, 2023
@crftwrk crftwrk changed the title Update sc-swiper-card-product.php Improve product template shortcode options Oct 27, 2023
@crftwrk crftwrk merged commit 3ec56f1 into bootscore:main Oct 30, 2023
@crftwrk
Copy link
Member

crftwrk commented Oct 30, 2023

FYI, replaced ids with id to match all other templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants