I have created a CPT called document manager. In the posts is a custom upload field where a document is loaded.
I would like for all posts in that specific category to be displayed in a listed view containing only the "post Title" and "Link (download button)".
Do when a category is clicked, it should show the title and download button for each post underneath each other - simialer to this: hidden link
Basically need to know how to edit ti view/layout for a archive page.
Hello, you can design category archives in the Block Editor using Toolset's WordPress Archives feature. It is similar to the View feature in that it produces lists of posts, but these designs are assigned to archive pages. Go to Toolset > WordPress Archives and create a new archive, then assign the archive to the desired taxonomy like Category, Tag, or a custom taxonomy you create with Toolset. The design you create will be displayed at all term archives in this taxonomy. You can also create multiple WordPress Archives and assign them to be displayed for only specific terms. See the screenshot here, this example shows an archive I created for the WooCommerce Product Category taxonomy. I could click "Select specific terms" to assign this archive to one or more specific terms, and then assign a different WordPress Archive to display at all other Product Category term archives.
Does this answer your question, or have I misunderstood what you want to accomplish?
Please ignore above post. I have in the interim managed to get the custom doc name and link to display and loop for each post in within th archive. I am however unsure about the following:
1. "No items found" below each loop item
2. The <span></span> bracket around the category heading
I did a bit of checking and it appears that the <span> issue in the header is being caused by the theme itself. Unfortunately i'm not able to have a quick look at the theme files to see why the archive.php is adding the span in the archive title as the editor for the themes has been disabled.
Secondly I wasn't able to see the No Results found issue as mentioned in your previous ticket.
The archive that was looked at was the one below. hidden link