Skip Navigation

[Resolved] How to use a BeaverThemer layout

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

Problem:
Client is using Beaver Themer to create templates for custom posts but they are not displaying correctly.

Solution:
If you want to use Beaver Themer to create a template for a custom post type then you should
1. not assign a Toolset Layout to that post type
2. not assign a Views Content Template to that post type
3. not design the individual posts with Beaver Builder, which would override the Beaver Themer template.

This support ticket is created 6 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 19 replies, has 2 voices.

Last updated by kjetilF 6 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#622527

UPDATE:
I've made two interesting tests:

1 - I made a new post type (Opplevelse-test-type) and connected the opplevelse-layout to it.
That works (needs some minor adjustments)
hidden link
2 - I made a duplicate of the Opplevelse post type and connected the opplevelse-layout to it.
Same good result:
hidden link

It is most likely "something" with the Opplevelse post type - especially since the duplicate post type isn't really a duplicate: All views are out:
hidden link
I’d much prefere to keep it (the Opplevelser post type) - otherwise I would have to rebuild the custom search, custom field setup and maps, which is tricky.
Do you think removing the Views would solve the problem? (Seems quite logical, that they interfere in a similar way that the Toolset Layouts would have done?)

IF SO:
How can I remove those views from the Opplevelse post type?
And eventually put them back if something goes wrong?
Also: In a post type, how can I add "Post fields to be shown as columns in post type listing in WordPress admin"?

Thanks,
Kj

#622591

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Kjetil

I did some debugging on your online site to track down the fatal errors that were preventing the Familieferie i Italia post from loading fully, and narrowed it down to your use of the betas of Types and Views.

I added the current stable versions of Types and Views and switched to those, and it is now working correctly.

I suggest you continue to use those until the betas are updated to production versions when they should be stable.

#622620

Great - that looks so much better!
Wow :o)

Let me just ask, please - this will help me to finish the work needed on other post types:

1 - Did you check if the Views connected to the Opplevelse post type screwed up things?
hidden link
It looks like they can cause trouble, since all 3 test post types, but not the Opplevelse post type work...?
2 - Could I eventually just remove the Views from the Opplevelse post type? I believe I can pull the Toolset content I need using shortcodes, like displaying maps?
3 - In a post type, how can I add "Post fields to be shown as columns in post type listing in WordPress admin"?

Let me thank you again. You deserve a 5 star rating
Kjetil

#622645

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-03-06 at 16.15.09.png

Hi Kjetil

You keep showing me that screenshot but it doesn't mean anything.

It just says that there is no Content Template assigned to the Opplevelse post type, meaning that such posts will be rendered by your theme's single.php template file and so the Types custom fields added to those posts will not be output.

(Toolset doesn't know that you are using BB Themer to take over from single.php and that your BB Themer Layout may output the Types custom fields.)

So "removing the Views" doesn't make much sense to me.

For 3 when you edit a custom post type at Toolset > Post Types there is a section for what you require (see screenshot with example from a test site of mine).

#622709

Sorry, Nigel, wrong screenshot
hidden link
Anyway, you gave me the answers I needed, and this troublesome site is much, much closer to go on air.
Cheers :o)
Kj