Add "class" to the location header output

This topic contains 3 replies, has 1 voice, and was last updated by  Stephen Sherrard 4 years, 10 months ago.

  • Author
  • #1654

    Martin Taylor

    At present, location headers are output as <h3> elements, ahead of the member table. There’s no way to apply styles to these headers, because there’s no class or other way to target them with CSS. Please either add a filter so that we can specify the tag to be used, or add a class=”pta-location-header” to the code in pta-display-directory.php. I’ve had to do this myself in the plugin file, which isn’t ideal.


  • #1655

    Stephen Sherrard

    Yes… good suggestion, and easy enough to add with the next update.

  • #1737

    Martin Taylor

    Thanks for adding this in 1.6.2 … with the useful div wrapper as well.

  • #1739

    Stephen Sherrard

    You’re welcome. Closing this thread so I can keep track of things once this forum gets busier.

The topic ‘Add "class" to the location header output’ is closed to new replies.