1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, 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 CPT or Project in Divi

Discussion in 'Basic Support Forum' started by Vinci&Partners srl, Jan 15, 2019.

  1. Vinci&Partners srl

    Vinci&Partners srl New Member
    Divi Ultimate Child Theme

    Hi,
    can I use a DU Blog layout with the Custom Post Type?

    I tryed to edit this line
    PHP:
    if ( $divi_ultimate_plugin_blog_post_enable && $post->post_type == 'post' ) {
    in
    PHP:
    if ( $divi_ultimate_plugin_blog_post_enable && $post->post_type == 'post' || $post_type == 'project' ) {
    but it doesn't work.

    Any suggest for me?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade before / after image slider for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

  3. Vinci&Partners srl

    Vinci&Partners srl New Member
    Divi Ultimate Child Theme

    I edited the line #1436 of the "divi-ultimate-plugin.php".
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    I mean try the code that I posted.
     
  5. Vinci&Partners srl

    Vinci&Partners srl New Member
    Divi Ultimate Child Theme

    Sorry, I did not understand the answer.

    I tried ur reply but doesn't work.
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add more varieties for your Divi header (12 premade styles) + menu hover effects:Learn More
  6. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Just tested on my demo site & it works fine. Can you try to replace the line #1436 with the below code again? Also make sure you clear your cache.
    Code:
    Log In or Sign Up to view this code.
     
  7. Vinci&Partners srl

    Vinci&Partners srl New Member
    Divi Ultimate Child Theme

    No, doesn't work.

    This is my link for the "project single" example: http://vincipartnersdemo.com/gp/recipe/linguine-con-alici-e-noci-al-profumo-di-limone/
    and this for the "post single" example: http://vincipartnersdemo.com/gp/disturbi-alimentari-segnali-da-riconoscere/
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade promo bar / notification bar with close button for your Divi site without using any plugins:View Demo
  8. Vinci&Partners srl

    Vinci&Partners srl New Member
    Divi Ultimate Child Theme

  9. Vinci&Partners srl

    Vinci&Partners srl New Member
    Divi Ultimate Child Theme

    It's possible apply this "layout" in divi page?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  10. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Not possible to do that. It only made to work on single post template. In Divi page, you will need to recreate the layout yourself using Divi Builder.