Support » Plugin: WP Store Locator » Return primary category for store

  • Is there a way the primary category for a particular store can be returned on the store page – as part of the title/header perhaps?

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Sorry for the late response.

    If your comfortable with code, then you first need to create a custom template. How to include the terms data is explained here. This will however include all terms data, so you will need to limit it to only the parent one if there are child categories as well.

    Line 14 is where you need to include the terms data in combination with the title.

Viewing 1 replies (of 1 total)
  • The topic ‘Return primary category for store’ is closed to new replies.