This topic has 14 replies, 2 voices, and was last updated 10 years by Linde.

  • Author
  • #35694
     Linde
    Participant

    Hello,

    kleo it’s the best theme ever thank you 🙂 I’m looking for to create a custom post type with all kleo features. Can you explain me how can I create this one?

    kind regards
    Andre

    #35706
     sharmstr
    Moderator

    Just so happens I explained that today. You’re probably only interested in #1 here: https://archived.seventhqueen.com/forums/topic/custom-post-type-view-for-main-page

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36025
     Linde
    Participant

    Hej,

    i have test it but it does work for me. I have now modified the mataboxes.php in the kleo/lib folder. overall i have paste my cpt `$meta_boxes[] = array(
    ‘id’ => ‘general_settings’,
    ‘title’ => ‘Theme General settings’,
    ‘pages’ => array( ‘post’,’page’,<strong>’cpt'</strong> ), // Post type`

    but it does work. I see now the attributs with default layout (Default, with ridth sidebar, left sidebar etc.) but the visual composer does work and all vc shortcodes don’t work.

    I need a complete copy of the page post type with my cpt name and categories.

    hope you can help me again 🙂

    kind regards
    Linde

    Attachments:
    You must be logged in to view attached files.
    #36051
     sharmstr
    Moderator

    You didnt mention Visual Composer, so I only showed you how to add the Kleo options.

    You can turn of VC for your custom post type by enabling it. WP Admin – Settings – Visual Composer

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36061
     Linde
    Participant

    Hej scharmstr,

    sorry that I don’t have mention Visual Composer. The CPT is enabled under the settings and it fon’t work 🙁 have you another idea?

    kind regards
    Linde

    #36063
     sharmstr
    Moderator

    reply privately with credentials and a link to your site. I’ll have a look at it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36067
     Linde
    Participant
    This reply has been set as private.
    #36070
     sharmstr
    Moderator

    Hi Linde, I logged in and your CPT was NOT enabled in Settings – Visual Composer. Only pages were. Should be good to go now. Let me know.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36083
     Linde
    Participant
    This reply has been set as private.
    #36086
     sharmstr
    Moderator

    Can you explain what’s wrong with it? I’m not saying nothings wrong, but I dont know what you’re expecting to see. Also, get out of the posts so I can look at it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36087
     Linde
    Participant
    This reply has been set as private.
    #36096
     sharmstr
    Moderator

    I still need you to explain what is wrong with it? I see your attached screenshot, but I have no idea what you were hoping it would look like. Maybe because I dont speak German 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36100
     Linde
    Participant

    No problem 🙂

    with firebug i can found this section

    COPY CODE
    <div class="article-meta">
    <span class="post-meta">
    <span class="edit-link">
    </div>
    

    you can see it in the screenshot 🙂

    Attachments:
    You must be logged in to view attached files.
    #36104
     sharmstr
    Moderator

    Okay. That’s happening because its a post and not a page. Posts have the meta data section. You can turn that off site-wide in theme options, or if you just want to hide it on your cpt, then you can use this css

    COPY CODE
    
    
    .type-anbieter .article-meta {
    display: none;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #36105
     Linde
    Participant

    ah ok,

    thanks a lot i will try it now

    kind regards
    Linde

Viewing 15 posts - 1 through 15 (of 15 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?