-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added show_excerpt and max_words shortcode attributes #38
Conversation
- Added show_excerpt and max_chars shortcode attributes to allow for the display of excerpts on card layout. - Added some css to card text - Updated readme
Hey Mike! Most of us are going to be out until Monday, so I'm going to set a reminder within our Slack to look this over then. |
Two additional commits have been added that include a new layout for a material card design. Unsure if I should've closed and just resubmitted as a new pull request. Material layout was tested on mobile, tablet, and desktop. Functionally the same as the card layout with excerpts, just a different design. |
- Replaced explode/implode, wp_strip_all_tags, and preg_replace with filters and get_the_excerpt. - Replaced "max_words" with "excerpt_length" for clarity - Updated readme to reflect shortcode changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice set of changes. Cheers!
Description
Motivation and Context
Increases the plugin display flexibility.
How Has This Been Tested?
Types of changes
Checklist: