Snippet to show Category on Request Block

Hi there,
I have found this thread, but the link that was posted here as a possible solution does not work anymore. Can you post it again or send the snippet to show the category on a request block similar to how it is done on Listings?

Hi,

Please let me know which link you mean, the one for the code samples seems to be ok https://gist.github.com/search?q=user%3Ahivepress+template&ref=searchresults I can provide general dev guidance if needed, unfortunately there’s no ready code snippet for this as this requires creating a new template part.

We also plan to add this feature to future updates.

This one
https://gist.github.com/search?q=user%3Ahivepress+template&ref=searchresults

Yes, the link is correct, it links to the code snippet samples related to template customizations. Unfortunately, there’s no ready-made snippet for adding category links to requests, but it’s possible if you add a custom template part to the request template (via the hivepress/v1/templates/request_view_block hook or by overriding one of the existing template parts like the request title via the child theme).

I appreciate the comment, but the link does not work, as I get to this screen when clicking on it.

Hi,

This is a GitHub-related issue. We recommend either waiting for this window to disappear or simply signing up for a GitHub account.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.