Description of the problem
Using the {exp:channel:category_heading} tag with a category_url_title="" parameter does not work when the url title contains two or more hyphenated words.
How To Reproduce
Does not work:
{exp:channel:category_heading category_url_title="multi-word-category" channel="products"}
Works:
{exp:channel:category_heading category_url_title="multiwordcategory" channel="products"}
Error Messages
None
Screenshots / Videos / Template Code
Snippet in actual use, below. Have tested by hard-coding the category url title (instead of segment_2) with same results. Nothing returned.
{exp:channel:category_heading category_url_title="{segment_2}" channel="products"}
{category_name}
{/exp:channel:category_heading}
Environment Details:
- Version: 7.5.21
- PHP Version 8.4
- MySQL Version 8.2
- OS: Windows
- Web Server: WAMP
Description of the problem
Using the {exp:channel:category_heading} tag with a category_url_title="" parameter does not work when the url title contains two or more hyphenated words.
How To Reproduce
Does not work:
{exp:channel:category_heading category_url_title="multi-word-category" channel="products"}Works:
{exp:channel:category_heading category_url_title="multiwordcategory" channel="products"}Error Messages
None
Screenshots / Videos / Template Code
Snippet in actual use, below. Have tested by hard-coding the category url title (instead of segment_2) with same results. Nothing returned.
Environment Details: