Skip Navigation

[Resolved] Hi,

This thread is resolved. Here is a description of the problem and solution.

Problem:
I am using the [wpv-taxonomy-archive info="name"] shortcode in my layout to generate the page heading, and it works fine for my category and tag archive pages , but it does not return anything for the month archives or the actual Blog page.
What code can I use for these other pages?
Solution:
[wpv-taxonomy-archive] This shortcode displays information about the current taxonomy:
https://toolset.com/documentation/views-shortcodes/#wpv-taxonomy-archive
In your case, I suggest you try with another shortcode: [wpv-archive-title]
This shortcode displays the title of the WordPress archive page.
Relevant Documentation:
https://toolset.com/documentation/views-shortcodes/#wpv-archive-title

This support ticket is created 7 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by tomA-4 7 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#413535
capture_008_05072016_160504.jpg
capture_007_05072016_160336.jpg

I am trying to:use a layout to style the tag and category archive pages

I visited this URL:hidden link

I expected to see: a page that is styled with a layout that will look similar to the page at:
hidden link

Both pages are set to use the same layout. But for some reason the layout will not be applied to tag and category archive pages. I use a similar arrangement with another layout for my product tag archives and it works fine.

#413590

i see that the problem only exists in the theme I am using. I am using a child theme of the WordPress twentytwelve theme. I am using the "WordPress Twitter Bootstrap CSS" plugin to make it work with layouts.
i see that twentytwelve has a tag.php file, as well as a category.php file. If I remove them I almost get the layout to take over, but it still is using some theme file to put in a heading.
how do I make it so the tag archive pages do not call any template file other than the layout template from toolset?

#413669

Dear Tom,

Since you are using a custom theme, you will need to follow our document to integrate the Layouts plugin into your theme, see our document:
https://toolset.com/documentation/user-guides/layouts-theme-integration/

#413772
capture_009_06072016_074119.jpg

Thanks Luo,
I had integrated the theme so long ago that I forgot about the process. As it turns out the twentytwelve theme has a couple additional files to integrate that are not on the list in the article. (tag.php and category.php)

One last problem to solve:
I am using the [wpv-taxonomy-archive info="name"] shortcode in my layout to generate the page heading, and it works fine for my category and tag archive pages , but it does not return anything for the month archives or the actual Blog page.
What code can I use for these other pages?

tom a

#413969

[wpv-taxonomy-archive] This shortcode displays information about the current taxonomy:
https://toolset.com/documentation/views-shortcodes/#wpv-taxonomy-archive
In your case, I suggest you try with another shortcode: [wpv-archive-title]
This shortcode displays the title of the WordPress archive page.
https://toolset.com/documentation/views-shortcodes/#wpv-archive-title

#414148

Thanks for your help Luo

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.