Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › add forum to curriculum
Tagged: curriculum, forum
- This topic has 13 replies, 2 voices, and was last updated 5 years, 9 months ago by logan.
Viewing 14 posts - 1 through 14 (of 14 total)
-
AuthorPosts
-
January 23, 2019 at 3:35 pm #193630MeesterGijsSpectatorI think I read somewhere (at the forum or after updating theme) that you could now add a link to the course forum in the forum curriculum, when in a unit/quiz. Is that true? And how can I accomplish this?January 24, 2019 at 1:25 pm #193735loganMemberHey, please share screenshots where do you want to show the curriculum and please elaborate more. waiting for responseJanuary 24, 2019 at 1:34 pm #193739MeesterGijsSpectatorJanuary 28, 2019 at 11:14 am #194105loganMemberHey there, Please paste this snippets in your wp-admin > plugins > editor > wplms-customizer plugin > wplms-customizer.php add_action('wplms_course_start_after_timeline',function ($course_id,$unit){ $forum = get_post_meta($course_id,'vibe_forum',true); if(!empty($forum)){ echo '<a class="button full" href="'.get_permalink($forum).'">'._x('Course forum','','dsf').'</a>'; } },10,2); **there is code limitations. i could add this button here only. refer: http://prntscr.com/md71poJanuary 28, 2019 at 12:54 pm #194133MeesterGijsSpectatorThanks! That's great. Could you help me with custom css to make sure: - the font is exactly the same - text is translated to GA NAAR FORUM - the heigth and width is the same as the buttons underneath - And that it has the same hover settings? screenshotJanuary 29, 2019 at 10:03 am #194274loganMemberHey, Please goto wp-admin > appearance > customize > custom css > paste & save. .logged-in a.button.full:hover{ background: #ffffff !important; color: #85dfb3 !important; } Regards.January 29, 2019 at 10:19 am #194276MeesterGijsSpectatorGreat. Last thing: How do I get full capital letters? Like the buttons underneath.. ThanksJanuary 29, 2019 at 11:48 am #194298loganMemberohh sorry, I have written that too must be skipped in copy/paste. try this: .logged-in a.button.full:hover{ background: #ffffff !important; color: #85dfb3 !important; text-transform: uppercase; }January 29, 2019 at 12:13 pm #194311MeesterGijsSpectatorThanks. I added the uppercase for not hovering myself. Question: How do I move it up? So that the space between the three green buttons is even? LAST Q: How do I translate the text from 'course forum' to 'NAAR CURSUS FORUM'?January 30, 2019 at 7:19 am #194445loganMemberHey, "Thanks. I added the uppercase for not hovering myself". Well done friend. Use this code: .logged-in .more_course input.review_course.unit_button.full.button {margin-top: 10px !important;} refer: http://prntscr.com/me3k8j
Goto customizer and change the text from there. refer: http://prntscr.com/me3leu
GreetingsJanuary 30, 2019 at 8:04 am #194458MeesterGijsSpectatorBoth worked. Thanks! But what about the height. You can see that the forum buttom has less height than the buttons underneath.. Thanks again, Logan.January 31, 2019 at 7:43 am #194626loganMemberHey, paste this code in custom css. .page-template.page.logged-in section#content a.button.full {height: 50px !important; padding: 16px !important;} Refer: http://prntscr.com/melxmpJanuary 31, 2019 at 7:47 am #194628MeesterGijsSpectatorGreat. You can close this one, Logan. Appreciate the quick responses with immediate code solutions. ThanksFebruary 1, 2019 at 12:56 pm #194830loganMemberHey There, Glad to know your issue is resolved. Cheers ! If I can be of assistance, please do not hesitate to contact me again. Closing this topic. Best regards:) -
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)
- The topic ‘add forum to curriculum’ is closed to new replies.