dimanche 30 novembre 2014

Displaying custom post types in front end


I am trying to wrap my head around custom post types. What I am trying to achieve is a simple branch listing. There is a dealers menu that has drop downs with regions. When you click on a region I just want it to list branches within the region. Nothing fancy, no maps, just plain text with branch name and contact details + address. Something like this:


Branch Name

Contact Person

Address

Contact number




Branch Name 2

Contact Person 2

Address 2

Contact number 2


I have used custom post UI plugin and another one that lets me add this data in the backend. I can't for the life of me figure out how to display it in the frontend.


I don't want it to act like a post where it lists everything and you click on it for more detail. It should just display as above when you click on a region from the dropdown. Is there a plugin that would do this or do you have to hard code it?





Aucun commentaire:

Enregistrer un commentaire