Skip Navigation

[Resolved] Views shortcode in Elementor – Astra Theme

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

Problem:

The issue here is that the user wanted to know if it was possible to use the view shortcode in the Astra Theme.

Solution:

Yes it is possible to use our Views shortcode when you have the astra theme installed.

This support ticket is created 6 years, 2 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 – 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)

This topic contains 24 replies, has 2 voices.

Last updated by SteveG9252 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1096338

Shane
Supporter

Languages: English (English )

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

Hi Steve,

Why not separate the Agendas into different CPT. The way you have it now is that its in 1 CPT . Separating them into individual CPT and then using Layouts to setup how you want the items to be displayed.

Also I see that the Layout itself is holding the information, which is actually not recommend because the post that you created is empty.

You should add your data to the Post and then use the Layout to customize this.

Please let me know if this helps.
Thanks,
Shane

#1096340

Ok - let's see what I come up with!

Thanks for your help - let's keep this thread open.

Would I need a one-to-one relationship between the 2 CPTs then - and / or could I merge these into a 2 column view?

Ideally, I want to display 2 columns of information - the Agenda and Minutes and control the # of rows.

#1096358

Shane
Supporter

Languages: English (English )

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

Hi Steve,

Yes you can do this with a one to one relationship so that you can relate your Agenda to the Minutes.

This thread will remain open.

#1096399

Shane,

I think I can make this work - by binding the 2 cpts in a 1:1 relationship and then bind each post.

The workflow for the user then becomes quite tedious.

They will need to -:

1) Create a new post for each CPT
2) For each CPT they will need to bind them to form a relationship.

So let me ask you this ...

The limit - as you say - works at the Post level. Is there any way, I can direct the query to look at each row level of Post Data?

That way, I can remain at one CPT - and there is only one action that is needed - that is adding a row of Post level data.

Appreciated,

Steve

#1096974

Shane
Supporter

Languages: English (English )

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

Hi Steve,

I'm really not sure what you mean.

Could you perhaps provide a visual example so I know exactly what you are try to achieve?

Thanks,
Shane

#1099635

Shane,

Consider this a low priority - as I am exploring options.

Current site -:

hidden link ( Dreamweaver ) - redesigning in w/press.

No issues creating this page - but ultimately, I wanting to show a limited number of Agendas / Minutes ( if available - there will always be some delay in posting the minutes with the agenda ) on the home page.

I want the workflow for the user to be easy and simple. So, it seems that creating a separate CPT for Agenda and Minutes might be the way to go - that forces a relationship to be created between the two - that seems too complex a solution for the user.

As I say again - I am exploring options here ...

#1099697

Shane
Supporter

Languages: English (English )

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

Hi Steve,

There are other options as you can use a taxonomy or a custom field for the Agenda.

You can pretty much use anything to represent one or the other but it has to be in a way that its filterable.

However I think the Parent/Child relationship is the best way to go, but I must admit the workflow may not be the clearest one to follow.

Thanks,
Shane

#1099701

Shane,

Duly noted and thanks for your input. I'll plug away at this - I am thinking about adding more "types" of Agendas / Minutes as there are a number of these.

But I completely get what you mean by them being filterable.

Again - let's keep this open for the time being and I will update to close when I am done.

Good work Shane - you've been a ton of help.

#1099702

Shane
Supporter

Languages: English (English )

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

Hi Steve,

This ticket can remain open if you update me at least once a week so the system doesn't auto close it.

No need to respond after this but please update me at least once a week until we get this one resolved.

Thanks,
Shane

#1101377

Shane,

I have solved my issue ...

To recap.

1) I wanted to show Agendas / Minutes as a 2 column structure within the same CPT
2) Different views - where on one page ( Agenda / Minutes Page ) - I would show all. Also, limited set of rows on landing Page
3) Preferably, I would just show Agenda / Minutes as a custom field, which could itself link to a PDF
4) Also, there are a number of different types of Agendas / Minutes - different departments if you like - search filter if possible
5) Easy workflow for the client

So ...

1) Created one CPT ( Agenda / Minutes )
2a) Within that, create each Agenda / Minutes for the different departments. Create Berry agenda / minutes
2b) Create repeatable custom fields; Berry Agenda Text, Berry Agenda URL ( pointing to a PDF ), Berry Minutes Text, Berry Minutes URL
2c) Create a taxonomy Group - Berry's would be Berry ...
3a) Create a view using Repeatable Groups
3b) Create a Query filter "Select posts in Any relationship that are related to the Post where this View is shown"
3c) Will create a select filter ( need to test this )
3d) Create a table in Loop wizard - add in table head tags for column titles
3e) - Custom fields ... Berry Agenda Text needs to link Berry Agenda URL and Berry Minute Text needs to link to Berry Minute URL. Managed to find a solution in the forum to do just that.

<td> [types field='berry-agenda-text'][/types]</td>
<td> [types field='berry-minutes-text'][/types]</td>
4) Tested limits - works great!
5) Now, for the Agenda Page - all will be shows, groupings allow for filterable search ...
6) Client just needs to create additional repeatable group entries - and done!

So, Repeatable Groups was my answer.

By the way, in my travels, I was deleting views, repeatable groups, CPTs and I noticed that when I am in the view - I see some "orphaned" repeatable groups.

Before I found a solution - I actually deleted the plugins, deleted data in the d/base and re-installed the plugins - still I see those repeatable groups ( slug-names ) that should not be showing. They also do not show in the post field control either - it would be nice to delete these repeatable groups.