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 - 30+ premade custom header designs for you to choose from: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 Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements: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 Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs: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 Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  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 Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  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.