• Hello,

    our school could use your plugin for displaying our study fields and easy updating. We don’t need features like enrollment and quiz. Here are some suggestions for features we would need:

    • hide instructor
    • hide rating
    • hide duration, or allow duration in years
    • hide enrolled student count, or configurable fixed number
    • hide quiz count (or what that number with book icon is for)
    • hide price
    • replace “Start Course” button with “More info” button, which would lead to course details like course image does, would need a custom text in the button
    • hide Curriculum tab in quiz details

    I tried to customize it via CSS, but seems it doesn’t work. Editing plugin code directly works, but then I cannot update the plugin.
    Optionally, custom difficulties would be also nice feature.
    Thank you for your work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter golbinex

    (@golbinex)

    OK, I managed to get CSS working and I’ve solved all of requested features except for “Start Course” button. Href cannot be changed with CSS.

    Plugin Contributor Sanjip Shah

    (@sanjiv-saha)

    Hi @golbinex

    It’s great that you were already able to hide the different fields using custom CSS as you wanted.

    About changing the button text via CSS is actually little complex and not recommended. However, if you want you can use the following custom CSS to change the button text.

    .masteriyo-time-btn a{
    visibility: hidden;
    position: relative;
    }
    .masteriyo-time-btn a::after{
    content: "More Info";
    position: absolute;
    top:0;
    right:0;
    visibility:visible;
    background-color: var(--masteriyo-color-primary);
    border-color: var(--masteriyo-color-primary);
    color: var(--masteriyo-color-white);
    border-radius: 2px;
    padding: 6px 10px;
    }
    .masteriyo-time-btn a:hover:after{
    opacity: 0.9;
    }

    Hope this helps.

    Thread Starter golbinex

    (@golbinex)

    Thank you. Unfortunately I cannot change the href link of the button to course details instead of enrollment. This cannot be done with CSS. I’ve modified enroll-button.php to get desired href link and name, this however breaks plugin updates.

    Also another suggestion I have is to customize how courses are ordered. I inserted Course list as a block in Gutenberg. Courses are however ordered by their date of creation. Would it be possible to make them get ordered by course name?

    Plugin Contributor Sanjip Shah

    (@sanjiv-saha)

    Okay, now I get your point completely. However, the course title also takes you to the course detail page. So, wouldn’t that suffice for your purpose? Maybe you can just hide the Start Course or Buy Now button if you want to.

    About the Course list block, we will take this as a suggestion and will think of adding this filter within the block in our version updates. Thanks.

    Thread Starter golbinex

    (@golbinex)

    I try to make it as intuitive for common users as possible. Hiding button is an option, but it could leave some users confused or they could think there are no more details about the course. However patching enroll-button.php is not that hard, so you can treat that issue as solved.

    Thank you for considering adding sorting option to course block, I didn’t figure out how to sort courses yet.

    Plugin Contributor Sanjip Shah

    (@sanjiv-saha)

    Okay, we have noted your suggestions and will see we can do in coming updates. Thanks.

    Thread Starter golbinex

    (@golbinex)

    Thanks for consideration. I figured out how to sort courses by name. From SVN commits I see that you import updates from Github. Is there any public git repository? It would be easier for me to merge future updates with my patched version from git repository than from SVN one.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Options to hide unnecessary elements’ is closed to new replies.