Adding a "top post style Grid" on taxonomy.php

Posted in: Newspaper
Post count: 17

Hello.
I’ve created a child theme for Newspaper. I don’t have custom post types, but do I have custom taxonomies for posts.
I’d like to add a “top post style Grid” to taxonomy.php, archive.php, tag.php and author.php so that all archives have a consistent look. Please check the screenshot to clarify:
https://drive.google.com/a/webgalaxy.pro/file/d/1lfD0bXgP50ZI63RuEYdWJURnE-Q2vxrN/view?usp=drivesdk
I don’t need the “top post style Grid” to be selectable in the backend (like you have for post categories). All I want is to add grid 5 (or 7 – I haven’t decided yet) in taxonomy.php, archive.php, tag.php and author.php over the “ARTICLE DISPLAY VIEW” by adding some code there.
What code do I need?
Thank you

Post count: 35449

Hi,

I think that you can do that more easy using some templates from tagDiv Cloud Library -> https://www.screencast.com/t/1hSPVLs1 all you need to do is to import those templates, edit them with tagDiv Composer to look how you want save theme, and set them in theme panel
-> https://www.screencast.com/t/yymaEeS9Fxt
-> https://www.screencast.com/t/DWS7nSC4gf4
-> https://www.screencast.com/t/m4jzwIwDUxg1

Thank you for your understanding!

Post count: 17

Thank you. When I try to do that I get a “Create Page” button, not a “Create Template” button as you can see at
https://drive.google.com/a/webgalaxy.pro/file/d/1milnhINTShta38rkQmk-7mLDBUsjQYG6/view?usp=drivesdk
Also in the “General Author Template” dropdown, I don’t see the existing Cloud Templates:
https://drive.google.com/file/d/1Pa1dLJfWej9ZHoRNdBsHy0t7olT8IDlx/view
although there are already 3 there:
https://drive.google.com/a/webgalaxy.pro/file/d/1cE2DQLxIHkn1XKchqL-Uibofb7RXbt4s/view?usp=drivesdk
Why is this?

Post count: 17

I managed to create a category template (it seems that not everything can become a template), but how can I make it available for custom taxonomies, authors, tags and archives? Please check to see what I mean:
https://drive.google.com/a/webgalaxy.pro/file/d/1HxOo9pxzanaMEk2VTUbKILleaB6S51xq/view?usp=drivesdk

Post count: 35449

Hi,

Unfortunately you can set the templates only on those type that are in tagDiv Cloud Library -> https://www.screencast.com/t/QWh87DBF6

For taxonomy please check this documentation -> https://forum.tagdiv.com/custom-post-type-support/

Thank you for your understanding!

Post count: 17

Hmm… I’m not sure I understood.
Are you saying that what you said initially is correct for authors and tags but is incorrect for custom taxonomies?
Are you saying that for custom taxonomies we CAN’T use templates from tagDiv Cloud Library?
So is the only option to edit taxonomy.php?

Post count: 35449

Hi,

Yes, you can use tagDiv Cloud Library for tag, author, category and all type that are in cloud, but not for taxonomy, for taxonomy you’ll need to use our guide in order to make some changes/create a template.

Thank you for your understanding!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.