1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Tab module to display post content

Discussion in 'Free Divi Community Forum' started by Alfred Balles, Apr 14, 2024.

  1. Alfred Balles

    Alfred Balles New Member

    I am making a template for a custom post type called Courses and I need to display the post content on the tab module as the Description tab. However, there is no option in the tab module to display the actual post content. It only have other post details but not the post content. Post excerpt also is different from the post content so I cannot use it. Please help me
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Ultimate Child Theme - Tons of premade layouts & section designs + functionalities for your Divi site:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Just a thought, not sure if it will work.

    Try to install this shortcode plugin: https://wordpress.org/plugins/shortcodes-for-divi/

    Then go to your Theme Builder page & add a new post content module & save it to Divi Library. Then from Divi Library, grab the shortcode & paste it as content in the tab content.
     
  3. Alfred Balles

    Alfred Balles New Member

    Thanks for the help but it didn't work. There is no option for the Post Content module to be saved to the library.
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    I see. For that case, the only way is to use jQuery to shift the post content location.

    In your Divi Theme Builder, add a tab module & go to the Tab module settings > Advanced > CSS Class & add dh-tab-post-content

    Then add a post content module below it.

    Then add a code module & paste the below jQuery code:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo