Apraksts
A WordPress plugin to show a series of images as “quick links” with the shortcode [quick_links].
By adding a line in your functions.php file, you can set the size of the images (defaults to 500×300px). See the Installation section for more details.
Advanced
- To include your own stylesheet, add a file named
quick-links-styles.cssin your template folder.
Uzstādīšana
- Install the plugin
- Look for the “Quick Links” item in the admin section and create as many as needed. Choose a featured image to be displayed, as well as entering a URL if it should link somewhere.
- Display it one of two ways:
- Add the
[quick_links]shortcode in the page where you want the buttons to be displayed - Add the following line of code in a theme PHP file
if ( function_exists( ‘home_quick_links’ ) ) { home_quick_links(); }
- Add the
- To change the size of the images, add this line of code in your theme’s
functions.phpfile and edit the dimensions:add_image_size( 'home_quick_link', '500', '300' );
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Ātrās saites” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Ātrās saites” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.7.1
- Fix issue with enqueueing style and script
1.7
- Fix NULL/empty end dates
1.6.3
- Defer check for modernizr until after theme has loaded scripts
1.6.2
- Fix issue where this plugin overwrote post-thumbnail support for all other post types
1.6.1
- Add support for opening links in new windows
1.6
- Make images output more accessible using the slide title
- Simplify spacing rules
- Add some no-flexbox fallbacks
- Bump “tested up to” version
1.5.1
- Display custom image size in featured image metabox
1.5
- Add support for custom thumbnail sizes
1.4.1
- Make image output more accessibility-friendly
1.4
- Add support for ending date
1.3
- Add support for image captions
1.2
- Allow adding via shortcode or function in PHP file
1.1.1
- Check whether or not Modernizr has already been loaded before loading our customized copy
1.1
- Add flexbox support to center items in the parent container
- Add a custom build of Modernizr to detect flexbox support
1.0
- This is the first stable version.