Skip Navigation

[Resolved] how to separate two part to display different content with divi theme

This support ticket is created 6 years, 4 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 1 reply, has 2 voices.

Last updated by Nigel 6 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1100853
2018-09-06 05-58-02 的屏幕截图.png

hi i'm use divi theme and try to create courses site, first of all the custom post type and custom flied are work perfect
but the problem is when i try to design a taxonomic archive
as the image show i wanna separate two part on my website
the left site is called course, where to display the CPT what i'm called courses
the right part, i wanna insert the teacher info who create this course taxonomy and the post ( it's mean author who will create the course on front-end forms)
it's easy way to using with layout plugins, but i have no idea for the divi themes now
i don't know if it's possible to display two part view content on one divi page, but the layout doing it great
and also how to make divi become full width on archive page when i disable the sidebar
thanks so much

#1101578

Nigel
Supporter

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

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

Screen Shot 2018-09-06 at 14.05.46.png

Modifying the archive page in such a way is a little tricky if you want to use anything other than Layouts.

With Layouts you can assign a Layout to an archive, include a WordPress Archive Cell (that displays the actual corresponding posts) somewhere in that Layout template, and also include whatever other content you want to appear on the archive page in the template.

When you stop using Layouts then you customise the archive using Views, creating a custom archive at Toolset > WordPress Archives.

The list of posts for this custom archive replaces the content area of the theme template. You can't assign a custom Divi template to the archive like you would with Layouts, and then put the archive wherever you want in the template, in addition to other content.

You must start with the Views custom archive, and design the linked template (for each individual post) with Divi if you so choose.

Your only option, I think, is to edit the markup for Loop section of the custom archive, and make your own columns.

In the screenshot you can see I have added Bootstrap columns to show the archive results in the left column, and some other content in a right column.

Note that this is for illustration.

I expect that if you are using Divi you have Bootstrap disabled, so you will need to use your own solution for creating columns (you could check the classnames Divi uses and apply those).

If you have Layouts disabled, then when editing the archive template with Divi you should see

Regarding the sidebar, I double-checked and I don't think Divi has the option for no sidebar, it has options for left or right sidebar only, so I think you would need to edit the child theme template used for the archive and remove it directly.