Hi there.
I am trying to style archive pages on my site. I have managed to get the basic look that I want (almost) but I am running into issues.
I cannot get the page to show the Archive name ... i.e. "Concrete Tile" ... instead, when I add a heading block outside of the Toolset loop, it only shows the name of the first Product, and not the archive itself.
In the first screenshot (right to left)...
(ignore the blue bar at the top ... that is a theme thing that I am having trouble removing -- tho it shows the correct page title)
you can see that the first product (Capitone) is listed as the page title.
in the next screenshot, you can see my loop selection where I have it restricted to just "Concrete Tile" product type
I am not sure what I am doing wrong ... the page can be viewed on my staging server here: hidden link
If you need access, just let me know
A second question that I have is this.
How can I make the image fill the entire column next to the links.
Right now that column just has an image since you cant add an image background to a grid column (or can you?)
Was curious as to how best to handle that. Would like the page to end up looking like the third screenshot (left most)
Lastly, is it possible to group the returned links by sub-category?
i.e. if the category tree looks like this:
Concrete Tile (primary category)
-- Custom Concrete (secondary category)
can I have Toolset return two blocks of links, the fist being the non-custom products ... and then a second block with the custom ones?
Thx ... I really appreciate all of you folks help while I learn what toolset can accomplish.
Gordon
Hello,
Q1) In the WordPress archive page, you can use shortcode [wpv-archive-title] to display current archive page title, see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-archive-title
Q2) You can add a Toolset Container block into the grid, and setup the Container block background image as dynamic source, see my screenshot background-image.JPG, more help:
https://toolset.com/block-item/container/
Q3) It is possible with nested views, for example:
1) Dashboard-> Toolset-> Settings-> General, in section "Editing experience", enable option "Show both the legacy and Blocks interface and let me choose which to use for each item I build"
2) Dashboard-> Toolset-> Views, setup two taxonomy views:
a) Parent taxonomy view:
- Query terms of category
- Filter by:
a1) Select taxonomy terms whose parent is None.
a2) Taxonomy is set by the current post
- In view's loop, display term's link + below child taxonomy view's shortcode
b) Child taxonomy view
- Query terms of category
- Filter by:
a1) Select taxonomy terms whose parent is the value set by the parent view.
a2) Taxonomy is set by the current post
- In view's loop, display term's link
Then put the Parent taxonomy view's shortcode into single post content:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-view