Skip Navigation

[Resolved] Loop does not work with (Custom Post archives) in Home / Block

This support ticket is created 5 years, 3 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 3 replies, has 2 voices.

Last updated by Minesh 5 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1527517

I am trying to:
I want to show the post_type of recipes in the home loop

Link to a page where the issue can be seen:
hidden link

I expected to see:
That the post_types that I just published in the (WordPress / Archives) loop (Home / Blog) will be displayed

Instead, I got:
the post_type of recipes are not shown in the loop (Home / Blog)

#1528479

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Do you mean that you have created the archive for the default standard WordPress archive Home/Blog and you want to display the posts you created with the post type Recipes on the home/blog archive?

#1529477

Yes, I want to show the post_types of recipes at home and also the normal post

#1530565

Minesh
Supporter

Languages: English (English )

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

The home/blog archive will work as per the standard WordPress blog archive.

I see you want to add "Recipes" post type posts to that archive. I do not see the Edit button that is available that actually uses to control the post types you want to include while displaying the archive which is available when you create an archive using the classic views mode.

Can you please try to build your archive using the classic view and confirm you able to control the post types?

To enable the Archive building using the classic mode:
- Go to the Toolset → Settings page and scroll to the Editing experience section.
- Select the option: "Show both the legacy and Blocks interface and let me choose which to use for each item I build "
- Further with the section "Editor to use for WordPress Archives" select the option "Classic Editor" and then try to build your archive.

When you create archive using classic views - you will see the "Edit" button where you can control the post types to include with this archive. Please check the following screenshot:
=> hidden link