Beskrivning
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)
Skärmdumpar
Block
Detta tillägg tillhandahåller 1 block.
- A2z Links Display a list of post/cpt title initials that link to a list of posts beginning with that initial.
Installation
- 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
Vanliga frågor
None at this time
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”A-2-Z Alphabetical Archive Links” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”A-2-Z Alphabetical Archive Links” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
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