2016-07-25, 02:47:55
(2016-07-12, 01:20:59)Carlos Wrote: (Sorry for late response, a bit busy lately.)
Here's a modified version ofnm_list_recent_by_tag
, with posts sorted by title instead of recent date. You could add it to NM Addons, but I suggest you paste ir in your theme's functions.php file (create it if it doesn't exist).
Call it in your template or component with<?php nm_custom_list_alpha_by_tag('your-tag', 999); ?>
Hi Again Carlos,
We finally got moved and have internet!
I tried your solution and it doesn't seem to be working, but maybe it is me. I set up a temp page to show the behavior.
http://boundary.idgenweb.org/obituaries/...y-index-1/
It makes it thru the loop for A and alphabatizes great but seems to hang on B.
This is the code I have in the component I am calling:
Code:
<div class="news-letters">
<h4>Obituaries - surnames beginning with A</h4>
<?php nmclone1_custom_list_alpha_by_tag('obits-a', 999); ?>
</div>
<div class="news-letters">
<h4>Obituaries - surnames beginning with B</h4>
<?php nmclone1_custom_list_alpha_by_tag('obits-b', 999); ?>
</div>
<div class="news-letters">
<h4>Obituaries - surnames beginning with C</h4>
<?php nmclone1_custom_list_alpha_by_tag('obits-c', 999); ?>
</div>
<div class="news-letters">
<h4>Obituaries - surnames beginning with D</h4>
<?php nmclone1_custom_list_alpha_by_tag('obits-d', 999); ?>
</div>
Am I missing something?