Sitekit Forums

Sitekit Forums

Developer Discussion - A to Z posts format

Steven Howard

Posted on 23 December 2014

Hi Is there a way to include a post under multiple letters in the A-Z listing in a similar way to the old A-Z list by pages? For example, if I want to create a post called podiatry but I also want it to appear under F as footcare. Regards

James Delaney

AdminJames Delaney

Posted on 06 January 2015

Hi Steven,

Although this is not possible using the standard post-based pages interface it is possible to code an alternative A-Z with your own XSL in conjunction with a multiple-select custom field associated with a related category/keyword/grouping post type.

Alternatively you can also look to add additional post items for the alternative names and provide links back to the preferred post type in the item's desciption.

I'll look to follow-up this response with a more detailed answer for you, hopefully with an example, shortly.

Steven Howard

Posted on 08 January 2015

Thanks James. Be good to see an example. My understanding is that if the field type is set to another post type rather than a free text field then its not possible to filter searchposts.aspx by the custom name and you have to use the ID instead, which makes it rather more difficult.

James Delaney

AdminJames Delaney

Posted on 27 April 2015

Hi Steven,

I don't have an example at present. If you've created your own searchposts query you could use the custom_in_x query to test a keyword against a selection. Tied to a "Text" custom field you could query that field for a value within it which you might use for a "keywords" type field.

In terms of out-of-the box functionality I've added this to our development roadmap. In the meantime, if I can get a worked example for you I'll post it up here.

Steven Howard

Posted on 28 April 2015

Thanks James. I have managed to develop a solution that meets our needs.