get_service_name in page template


I’m looking to display the service name (based on the ID) on the front end in a page template. Looking into the plugin code there are functions, such as get_service() and get_service_name() which each take the ID.

These don’t work on within the WP theme. Can we somehow get hold of the service name based on the known ID within theme files?

Many thanks,


p.s. Can I be cheeky and ask for help on this thread too,