Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1184691

    verheldertalent
    Participant

    Dear support,

    I’ve installed WP-Courseware. The units are post-based. So when I’ve completed a unit it looks like a blogpost (With author, date and “Blog” as a pagetitle. Is there anyway to remove this?

    WP-Courseware has a single.php template that the plugin can find. But because X is working with so many different templates (Yeah!) and input / output documents, I don’t think he understands. And me neither :P.

    Thanks for your help!

    Veronique

    #1184718

    Rahul
    Moderator

    Hey Veronique,

    Thanks for writing in!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1184721

    verheldertalent
    Participant
    This reply has been marked as private.
    #1184770

    Rupok
    Member

    Hi there,

    Thanks for writing back. As it’s not English, I am having a bit difficulty to find them on your site. Would you point us the exact URL that you are referring? It would be great if you can add some screenshot pointing what you are trying to remove.

    Cheers!

    #1184799

    verheldertalent
    Participant

    Haha so sorry, it’s in Dutch… The unit you can find here: http://verheldertalent.nl/module-unassigned/wat-is-talent-nu-eigenlijk/

    It’s a courseunit but looks like a blogpost. You see my name, post-date, and the title “Blog”. All of that I want to remove. It have to look like a normal page instead of A post. But only for the units. Not for the regular blogposts.

    It’s possible that you have to be logged in with my acount in order to see it.

    I’m not sure what kind of screenshots you want, I can send you a screenshot of the unit, but you can see all of that with the link ;-).

    WP-Courseware has this info about it: https://flyplugins.com/wp-courseware-custom-post-templates/

    But I don’t get it to work. When I open the single.php it refers to wp-single.php from “Renew”. I think that’s the problem. The template WP-Courseware is talking about is the following:

    `<?php
    /**
    * Unit Template Name: Full-width course unit
    *
    * Be sure to use the “Unit Template Name:” in the header.
    * To display the course unit content, be sure to inclue the loop.
    */

    get_header(); ?>

    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content’, ‘page’ ); ?>
    <?php comments_template( ”, true ); ?>
    <?php endwhile; // end of the loop. ?>

    <?php get_footer(); ?>

    They say the words”Unit Template Name:” is the trigger for WP-Courseware to know where to look. I’ve tried to ad that to the single.php, to the wp-single.php and to add a new template with the code above. Did’nt work at all.. So now I’m lost :P.

    Thanks!

    #1184937

    Rupok
    Member

    Hi there,

    Thanks for pointing that. This template is controlled by the plugin you are using. So if you want to edit them from template, you need to edit the plugin directly. I won’t recommend that because you should not edit theme or plugin directly and if you update the plugin, your changes will be wiped out.

    So here is a solution for you. You can add this under Custom > CSS in the Customizer.

    .single-course_unit .p-meta {
      display: none;
    }

    Hope this helps.

    Cheers!

    #1186344

    verheldertalent
    Participant

    Hi,

    Unfortunately, that didnt do the trick :(. Any other ideas? I already tried adding !important

    Thanks!

    #1186528

    Rupok
    Member

    Hi there,

    Thanks for writing back. I have tested the code when I suggested and the post (https://flyplugins.com/wp-courseware-custom-post-templates/) was custom posts by the plugin. But now I can see they are just single post and not Custom Post type anymore. Did you change them to post?

    Let us know and make sure they are created by the plugin like before.

    Thanks!

    #1186822

    verheldertalent
    Participant

    Hi,

    Uhmmmm I;m not sure what you mean. I have not changed anything, as far as I know.. I have tried different things, also with the tutorial of flyplugins, but because it didn’t work I changed it back. I just made a new unit and that one also still shows the meta info.

    Greetings!

    #1187135

    Jade
    Moderator

    Hi there,

    There is a block of CSS code in the customizer that has a missing closing curly brace. I have already corrected it and it CSS code we have provided works now. Please have a look.

    Thank you.