Skip to content

Fixed #5414 where Category heading tag with no channel parameter doesn't work - #5425

Open
Yulyaswan wants to merge 1 commit into
7.devfrom
bug/7.x/category-heading-tag-improvement-5414
Open

Yulyaswan wants to merge 1 commit into
7.devfrom
bug/7.x/category-heading-tag-improvement-5414

Conversation

@Yulyaswan

Copy link
Copy Markdown
Collaborator

Fixed #5414 where Category heading tag with no channel parameter doesn't work

Category headings can now be resolved by URL title using a category group, without assigning that group to a channel.

{exp:channel:category_heading
    category_group="7"
    category_url_title="{segment_3}"
}
    <h1>{category_name}</h1>
    <p>{category_description}</p>
{/exp:channel:category_heading}

When “Category URL->Titles” is enabled, the shorter automatic form also works with URLs such as /category/manuals:

{exp:channel:category_heading category_group="7"}
    <h1>{category_name}</h1>
{/exp:channel:category_heading}
Screenshot 2026-10-16 at 12 41 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Category heading tag with no channel parameter doesn't work

1 participant