Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

List Posts Alphabetically

Beskrivning

This plugin simply displays posts in alhpabetical order and inserts a jump-to bar the top of the page. Is it used by inserting the shortcode [a-z category=””].

Compatibility

Tested up to WordPress 4.8.1

Skärmdumpar

  • This is what is shown on the front-end
  • Example of the shortcode usage with a custom category used

Installation

  1. Copy the list-posts-alphabetically folder into your wp-content/plugins folder
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Use the shortcode [list-posts-alphabetically] where you want the posts to appear
  4. Use the shortcode [list-posts-alphabetically category=”YOURCATEGORYHERE”] to only pull posts from a certain category.

Vanliga frågor

Installation Instructions
  1. Copy the list-posts-alphabetically folder into your wp-content/plugins folder
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Use the shortcode [list-posts-alphabetically] where you want the posts to appear
  4. Use the shortcode [list-posts-alphabetically category=”YOURCATEGORYHERE”] to only pull posts from a certain category.

Recensioner

20 november 2022
The plugin no longer works. It lists all the posts alphabetically, but every entry is linked to /?post_type=page&p=85
9 maj 2022
These 3 warnings appear as a group each time the plug-in is called. That’s a lot of warnings. PHP Warning: Illegal string offset 'category' in /home/<account>/wp-content/plugins/list-posts-alphabetically/list-posts-alphabetically.php on line 21 PHP Warning: Cannot assign an empty string to a string offset in /home/<account>/wp-content/plugins/list-posts-alphabetically/list-posts-alphabetically.php on line 21 PHP Warning: Illegal string offset 'category' in /home/<account>/wp-content/plugins/list-posts-alphabetically/list-posts-alphabetically.php on line 26 The plug-in works, but this is a problem.
23 november 2021
Plugin is unfinished. Posts are not linked, neither letter on top of it.
20 oktober 2018 1 svar
Writing this to let you know, how to fix that linking issue. To link to the post listed, in line 40 of the list-posts-alphabetically.php use $lpa_az_post instead of $post inside the get_post_permalink()-function. Besides this, its a nice plugin, thanks for sharing.
11 augusti 2018
Works perfectly. Excellent code logic. Thank you! However, it would be very helpful to have the A-Z entries link to their pages in the next update.
Läs alla 6 betyg

Bidragsgivare och utvecklare

”List Posts Alphabetically” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.0

  • Initial Release.