Apraksts
This widget will get a list of post/cpt title first character. The list is then displayed as an unordered list of links. The links take the user to an archive page for the specific post type and display the posts where its title begins with the character.
If the title begins with the following words, the first character of the second word will be used:
- A
- An
- And
- The
Examples
- ‘A Cup of Joe’ will be listed under ‘C’
- ‘The Pony’ will be listed under ‘P’
- ‘Android Green is Nice’ will be listed under ‘A’
- ‘The 10 Strangest Foods’ will be places under ‘#’ (number sign)
Ekrānuzņēmumi





Bloki
Šis spraudnis nodrošina 1 bloku.
- A2z Links Display a list of post/cpt title initials that link to a list of posts beginning with that initial.
Uzstādīšana
- Upload the entire ‘a2z-alphabetical-archive-links’ folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to the settings page to activate which post type(s) to have
- Add the ‘A2Z Alphabetical Archive Links’ widget to a widget area or add the A2Z Links block to a block area
BUJ
None at this time
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“A-2-Z Alphabetical Archive Links” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “A-2-Z Alphabetical Archive Links” 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
2.1.1
Added default values for block attributes and added checks to ensure they have values before render
2.1.0
- Added links block to replace legacy widget
- Updated minimum php version to 7.4
- Updated minimum WordPress version to 5.8
- Resolved RegEx issue that incorrectly grouped some titles in the group that begin with numbers.
2.0.2
cleaning up version numbers
2.0.1
fixed bug with earlier versions of php and version checking
2.0.0
- Complete rewrite. In an effort to make the code scale better.
- Removed slow query
- Added minimum WordPress version check
- Added minimum php version check
- Added grouping for titles that have a number as their first character
- Added custom rewrites the handle better archive links
1.0.2
Changed link builder again to account for modified front page settings
1.0.1
- Changed widget option for post type to include only publicly queryable post types ( Pages not an option anymore )
- Fixed links generated when using the post type of Post
1.0
Initial release