url syntax for list by category link
-
When I have the core WordPress Categories block in a pattern, and put the pattern in a post, it displays the CategoryName of the post. When viewing the post, if I click on the CategoryName, it displays an All Archives page of only this one category, with all the others filtered away. This is the normal, correct behavior of the Categories block.
For stylish aesthetic reasons, I would like to have an image link to do the same thing. In other words, I want the image to act like a button to list all posts from a single category, just like clicking on the Categories Block itself.
To try to duplicate the behavior, I clicked the CategoryName and copied the URL https://subdomain.rootdomain.com/index.php/category/CategoryName/ from the address bar, pasted it into the image link, and replaced the string ‘CategoryName’ with the string ‘%category%’, like this: https://subdomain.rootdomain.com/index.php/category/%category%/
But when I click on the image expecting the same result as clicking on the CategoryName, it returns a 403 error, saying I haven’t the right to open that page. Can the Post List Designer plugin accomplish this?If so, what is the syntax for that image link, to make it generate the correct URL?
Thanks.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.