Custom pack of shortcodes for the Classic Editor, including a shortcode generator.
Grid Shortcode
Post Slider Shortcode
Post Block Shortcode
Pricing Table Shortcode
Slide Graph Shortcode
Tabs Shortcode
Toggle Shortcode
Icon Shortcode
安装:
Upload mtphr-shortcodes directory to the /wp-content/plugins/ directory
Activate the plugin through the 'Plugins' menu in WordPress
屏幕截图:
升级注意事项:
Resolved javascript errors with WP 5.5
常见问题:
Where is the documentation
Documentation is coming soon!
更新日志:
2.4
Resolved javascript errors with WP 5.5
2.3.1
Resolved font-awesome css loading bug
2.3
Added Font Awesome to icon list
CSS Updates
General code enhancements
2.2.8
Added backup for $wp_filesystem failure on icon import
2.2.7
Added author parameter to post_slider & post_block shortcodes
2.2.6
Updated touchSwipe.js
Fixed inactive links on mobile using touchSwipe
2.2.5
Fixed add_query_arg() and remove_query_arg() usage
2.2.4
Added strip_shortcodes to post block & post slider excerpts
2.2.3
Added RTL support
Modified Post Slider & Post Blocks to display custom excerpts
2.2.2
Add the following attributes to the post slider shortcode: 'post_parent', 'post_parent__in', 'post_parent__not_in', 'post__in', 'post__not_in'
2.2.1
Bug fixes
Shortcode generator updates
2.2.0
Complete overhaul of shortcode generator
Added post slider easing option on settings page
Added slide_speed, slide_ease, and id attributes to post slider shortcode
Fixed and modified tabs shortcode,
Added tab_speed, tab_ease, and id attributes to tabs shortcode
2.1.5
Modified post slider js to show/hide navigation dynamically depending on browser width
2.1.4
Added plugin to GitHub
2.1.3
Fixed excerpt output of post blocks
2.1.2
Added additional filters to the Metaphor Grid shortcode
2.1.1
Moved custom class attribute for the icon shortcode from tag to the outermost wrapper of the icon display
Added tax_query argument to post slider for multiple taxonomy filters
Modified excerpt creation for Post Blocks & Post Sliders
Added class to Post Block & Post Slider excerpts
Added class to Post Block & Post Slider excerpt more links
Added filter for the Post Block & Post Slider excerpt more links
Added custom class filter
Converted to new icon font
Added social icons to icon shortcode
Added "mtphr_icon_display" filter to metaphor icons
Added "prefix" argument for metaphor icon classes
2.1.0
Fixed excerpt more links in post slider & post blocks
Modified grid shortcode to allow for multiple levels of grid structure. I have added: mtphr_grid, mtphr_grid_2, mtphr_grid_3, mtphr_grid_4, or mtphr_grid_5. You must use a different shortcode for each level in order to render correctly.
You can now hide the pricing table button by passing "null" as the button attribute
Added code to make sure the same post block doesn't show up when displaying multiple randomly ordered post blocks
Set a delay on showing initial tabbed content to render correctly in Firefox
2.0.10
Tabs shorcode bug fix
Updated Italian translation
Added French translation
2.0.9
Fixed post slider issue with small screens
Adjusted slide graph label to work with longer strings
Fixed issue with large images not fitting in tabs content
Fixed post_block ID="undefined" issue with shortcode generator
2.0.8
Added taxonomy query args to filter post slider
2.0.7
Updated localization text
Added default .mtphr-post-block class to post blocks
Modified excerpt functionality
2.0.6
Icon CSS adjustments.
Changed .clearfix class to .mtphr-clearfix
Changed + to + in the mtphr_toggle shortcode due to IE errors