Sort by Slug
-
This Link Library plugin is showing more promise all the time.
The more I do with it, I see that it can do even more.Is there any way I can sort the order in which the links appear in a table?
Example: The table displays a Title and a URL for each link.
I want to create a code by which to sort.
So, the table would display the links in order by this third element (sortcode, slug, or whatever you might want to call it). The third element should only be used for sorting. It should not be displayed in the table.
Sample Elements:
“callsign”;”sortcode”;”url”;
“W0ABR”;”0ABRW#”;”www.w0abr.com”;
“OE3EJB”;”3EJBOE”;”www.oe3ejb.at”;
“K9JY”;”9JY#K#”;”www.k9jy.com”;The links would appear in the table in alphanumeric order sorted by the ‘sortcode’ element [three link examples shown above] when the user displays the page the link library appears on.
If there is a way to do this, this would help me make great progress.
I have an database with several hundred of these links. I only show three of them to demonstrate the structure of each record (individual link elements).
The page I need help with: [log in to see the link]
- The topic ‘Sort by Slug’ is closed to new replies.