Skip Navigation

[Resolved] Posts Archive

This support ticket is created 5 years, 6 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 8 replies, has 2 voices.

Last updated by Minesh 5 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1263395

I have a custom term field to add an image to categories, and want to display the image just before the category description.

I have created wordpress archive for posts, but the category title and description are displayed automatically. How do I add the image just before the category description?

Also, although I have created the archive and it's working, on the dashboard it still states "There is no WordPress Archive for Posts. "

#1263643

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - can you please share a few screenshots as well as debug information.

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#1264045

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I see you created two taxonomy archives, the message you see on dashboard "There is no WordPress Archive for Posts." because you do not create the post type archive but taxonomy archive. Once you create the post type archive to display the posts the message will be disappeared.

I have created wordpress archive for posts, but the category title and description are displayed automatically. How do I add the image just before the category description?
=> Well - please check the following Doc for Genesis Toolset integration:
- https://toolset.com/documentation/recommended-themes/layouts-genesis-integration/#controlling-genesis-theme-options-for-templates-and-archives

I see the category description is coming from your theme not from the WordPress archive. So to display the taxonomy term image you need to use the filter:
=> hidden link

#1264169

Well - I see you created two taxonomy archives, the message you see on dashboard "There is no WordPress Archive for Posts." because you do not create the post type archive but taxonomy archive. Once you create the post type archive to display the posts the message will be disappeared.

Actually, I HAD created an archive by clicking on the 'create archive' below that message. I did state that I had created it; it was named 'Posts Archive'. When I saw that message, I trashed that template (even though it was working) and tried again, but the message still remained. If you checked the front end of the site you will have seen that Posts Archive was working.

I do not wish to use your layout editor as I do not like it.

Not really happy that you tell me to go to a paid link that also tells me to add a plugin. The whole point of using Toolset is so that I do not need to install additional plugins! Also, the site is for a non-profit club with no budget and cannot afford the $45 just for a couple of lines of code.

#1264175

I know that English is not your first language, but could I just point out that it can be quite rude to start a sentence using the word well.

#1265181

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)


Actually, I HAD created an archive by clicking on the 'create archive' below that message. I did state that I had created it; it was named 'Posts Archive'. When I saw that message, I trashed that template (even though it was working) and tried again, but the message still remained. If you checked the front end of the site you will have seen that Posts Archive was working.

==>
I got it now, There is an issue with this part and I've escalated it to our Devs and they will fix it as soon as possible. Built-in post types have special treatment where for Posts, the "Loop selection" in the WPA Edit page would be "Home/Blog" but I see its not added automatically and issue is reported to our Devs.

This is the archive for post type "post":
- hidden link

Which you can access at frontend here:
hidden link

To customize it you should format the "Loop Editor" section of above WordPress archive as required.


Not really happy that you tell me to go to a paid link that also tells me to add a plugin. The whole point of using Toolset is so that I do not need to install additional plugins! Also, the site is for a non-profit club with no budget and cannot afford the $45 just for a couple of lines of code.

==>
I would like to know here, are you talking about the category archive?
- hidden link
- hidden link
If you are talking about the above archive, that's a taxonomy (category) archive, if you check the view source of the above taxonomy archive you will notice that the taxonomy title and description is coming from your theme but not from the archive. That is why I asked you to use the Genesis theme hook.

Please confirm first which archive you would like to use in your case.

#1265195

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I also forget to update that once you connect your archive to "Home/Blog", the dashboard is automatically updated once you refresh it. Please check the following screenshot:
=> hidden link

#1265347

hmm, ok I have to say that I have always been confused between category and archive.

So, am I right in saying that a posts archive displays ALL posts, whereas a category archive displays those posts in a specific category?

If so, then I apologise. I never wish to simply display ALL posts, so presume that I am talking about category archives. When I have done these in previous versions of toolset, I simply did the same as I did this time, click on the create archive in the dashboard, and once I had finished creating it it would appear on the dashboard

#1265455

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

hmm, ok I have to say that I have always been confused between category and archive.
==> There are two kind of archives, post type archives and taxonomy archives.

So, am I right in saying that a posts archive displays ALL posts, whereas a category archive displays those posts in a specific category?
==> Yes, correct, as you see with the following taxon*omy (category) archive - it will display all posts belongs to term breed-watch :
- hidden link

If so, then I apologise. I never wish to simply display ALL posts, so presume that I am talking about category archives. When I have done these in previous versions of toolset, I simply did the same as I did this time, click on the create archive in the dashboard, and once I had finished creating it would appear on the dashboard
==> Thats ok, due to your report we found a bug and happy to help you further with your any query 🙂