sort a index page alphabetically.
-
How can i do to sort only my index page (https://cnocs14.wordpress.com/index/) alphabetically.
Is there a extension can I import?Here, below, is the code I have on my page:
——————–[archives]
——————-
but my artcles are sorted by date, not alphabetically, which would be better for an index.
Thank you
The blog I need help with is: (visible only to logged in users)
-
Hi, this can be done using the [display-posts] shortcode with some fine tuning. Copy the below shortcode and paste into a page. It will display your posts alphabetically from A-Z. I used this for reference: https://en.support.wordpress.com/display-posts-shortcode/
Here’s the short code:
[display-posts order="ASC" orderby="title" posts_per_page="100"]
-
Brilliant . Thank’s a lot.
I’ve got one more question.
Why does it displays only the posts from A to C and not all the posts ?
Sorry but I am new informatics -
I noticed that. For some reason the code has a limit of 100 posts it can display. https://en.support.wordpress.com/display-posts-shortcode/#limits (at bottom)
-
Since the limit is a maximum of 100 post, is it possible to insert this code in order to list all my post only beginning with the letter A, then insert it again to do list, as a result, my post beginning with the letter B, and so on for all the letters of the alphabet?
What changes should I make to the code?
Thank you beforehand.
- The topic ‘sort a index page alphabetically.’ is closed to new replies.