2016-07-01, 02:05:29
I asked this question earlier in the New Manager forum, after doing a bunch more thinking and exploring I would like to reask here, in the correct place, and hopefully a little more intelligently, I think it is obvious I know zero about PHP, but . . .
I have created a posts index page using tags
This page is created with a function from this plugin:
<?php nm_list_recent_by_tag('obits-a', 999); ?>
At first, I believe the posts were listed by the date of publication, but in my application they really want to be alphabetized - http://boundary.idgenweb.org/obituary-index/
After reading a lot about sorting, and keys, and values, I tried this:
I have edited the function in on after line 50 - if (!empty($posts)) {
adding - SORT($posts);
This does seem to change the order of output, but it still isn't alphabetized, but I feel like I am on the right track, but it looks like that "explode" line might be adding keys?, like I said I know nothing about PHP.
Thank you for any help
I have created a posts index page using tags
This page is created with a function from this plugin:
<?php nm_list_recent_by_tag('obits-a', 999); ?>
At first, I believe the posts were listed by the date of publication, but in my application they really want to be alphabetized - http://boundary.idgenweb.org/obituary-index/
After reading a lot about sorting, and keys, and values, I tried this:
I have edited the function in on after line 50 - if (!empty($posts)) {
adding - SORT($posts);
This does seem to change the order of output, but it still isn't alphabetized, but I feel like I am on the right track, but it looks like that "explode" line might be adding keys?, like I said I know nothing about PHP.
Thank you for any help