Skip Navigation

[Resolved] how do I create an archive page with all my custom contents?

This support ticket is created 4 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Shane 4 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1586811

Tell us what you are trying to do? create an archive page with all my custom contents + posts

Is there any documentation that you are following? haven't found any

Is there a similar example that we can see?

What is the link to your site? vascular.pro

#1587149

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexandre,

Thank you for getting in touch.

In a literal sense you cannot create an archive that is displaying all your Posts and Custom Posts. However you can do this by doing 2 things.

A. If you are using our Blocks Plugin
1. Create a Page that will essentially be your "Archive" page
2. Create your view by adding a View Block to the page. Essentially you will select all the Post types that you want this view to display.
3. Once you've setup your view and how you want to display it then it should list out All the posts from your Default post type and your custom post types

B. If you are using our Views Plugin
1. Create a Page that will essentially be your "Archive" page
2. Go to Toolset -> Views and create a new view. Select all the post type you want to display with that view and then populate your view by using the Loop Wizard.
3. Once you've done this then just add your view to the Archive page using the view block.

Please let me know if this helps.
Thanks,
Shane

#1587253
Captura de Tela 2020-04-15 às 14.16.44.png

I don't know why, but I cannot activate Toolset views. And when following your suggestion, it "crashes" while creating a new view cell.

#1587313

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexandre,

Based on your other ticket about the Views issue, you have blocks enabled.

Using Blocks and Layouts is Not recommended. Given that you have our Blocks plugin enabled I would suggest that you disable the Layouts plugin and follow my previous instructions about using the Blocks plugin to create the view for your items.

If you are still experiencing issues with this please let me know and I will gladly provide any assistance that is needed.

Thanks,
Shane

#1587393
Captura de Tela 2020-04-15 às 16.36.04.png
Captura de Tela 2020-04-15 às 16.36.56.png

i can't edit views!
there is no views option in menu, and when going through a link, i get no permission page

#1587421

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-04-15 at 2.51.56 PM.png

Hi Alexandre,

The reason why you don't have the view option is because you have our blocks plugin enabled.

I mentioned previously 2 instructions based on which plugin you have enabled. Given that you have our Blocks plugin enabled you will need to follow this one below.

A. If you are using our Blocks Plugin

1. Create a Page that will essentially be your "Archive" page
2. Create your view by adding a View Block to the page. Essentially you will select all the Post types that you want this view to display. See Screenshot.
3. Once you've setup your view and how you want to display it then it should list out All the posts from your Default post type and your custom post types

Secondly here is a video documentation on how you can create your view block to display your content.
https://toolset.com/documentation/getting-started-with-toolset/create-and-display-custom-lists-of-content/

Please let me know if this helps. If something is still unclear please let me know and I will be more than happy to clarify the issue for you.

Thanks,
Shane

#1587487
Captura de Tela 2020-04-15 às 17.59.43.png
Captura de Tela 2020-04-15 às 17.59.34.png
Captura de Tela 2020-04-15 às 17.57.34.png

I broke my site, and had to restore it from backup, I must be doing something wrong.
Now i have: toolset block, toolset module manager and toolset types enabled
if I try to activate toolset views, it simply does not activate. I understood the problem was between Layouts and Blocks, not Views.
Now I am trying to create a new page and insert the view as explained, but I can't
I still could not solve the problem

#1587513

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexandre,

This explains the issue a bit clearer for me. Given that you are using the classic editor I will guide you on this.

1. Go to Toolset -> Settings -> Editing experience and enable the option "Show both the legacy and Blocks interface and let me choose which to use for each item I build" this will allow you to have access to the Classic editor for views as well as the Views option in your Toolset menu.

2. Refresh your settings page and then you will now see Toolset -> Views.

3. Create a Page that will essentially be your "Archive" page

4. Go to Toolset -> Views and create a new view. Select all the post type you want to display with that view and then populate your view by using the Loop Wizard.

5. Given that you are using the Classic editor for the Page you will see the Fields and Views button above the page's editor. Click this and then type in the name of your view.

This will allow you to insert the view on the page.

NOTE: The toolset blocks plugin requires that your pages are being edited with the Gutenburg editor to work. If you are using a plugin that disabled the Gutenburg editor then you won't be able to use our Blocks plugin with the Blocks functionality.

Please let me know if you're able to make any progress with the instructions provided.

Thanks,
Shane

#1587537

It worked. Now I have a very rudimentar archive for all page at hidden link
I am trying to figure out how to setup to appear a normal archive page

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop wrap="3" pad="true">
[wpv-item index=1]
<div class="row ">
<div class="col-md-4">[wpv-post-body view_template="loop-item-in-arquivo-de-tudo"]</div>
[wpv-item index=other]
<div class="col-md-4">[wpv-post-body view_template="loop-item-in-arquivo-de-tudo"]</div>
[wpv-item index=3]
<div class="col-md-4">[wpv-post-body view_template="loop-item-in-arquivo-de-tudo"]</div>
</div>
[wpv-item index=pad]
<div class="col-md-4"></div>
[wpv-item index=pad-last]
<div class="col-md-4"></div>
</div>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

New threads created by Shane and linked to this one are listed below:

https://toolset.com/forums/topic/split-how-do-i-create-an-archive-page-with-all-my-custom-contents/

#1587553

for example... pagination. how do I do that?

#1588615

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexandre,

Due to our support forum Policy we only hand 1 issue per thread. I would need to split your second issue into a new thread.

If there are no further issues related to this particular issue I would recommend that we mark this one as resolved and then move to the new thread for the Pagination.

Thanks,
Shane