This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------------------- Copyright Block ---------------------- | |
/* | |
PrayTimes.js: Prayer Times Calculator (ver 2.3) | |
Copyright (C) 2007-2011 PrayTimes.org | |
Developer: Hamid Zarrabi-Zadeh | |
License: GNU LGPL v3.0 | |
TERMS OF USE: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Redirect user to a specific URL if logged in from another specific URL | |
* | |
* @param string $redirect_to URL to redirect to. | |
* @param string $request URL the user is coming from. | |
* @param object $user Logged user's data. | |
* @return string | |
* | |
* Author: Rashid - https://w3plus.ca | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ld_display_course_tags ($atts) { | |
$terms = get_the_terms( get_the_ID() , 'ld_course_tags' ); | |
if (!$terms) { | |
// No terms, so just quit. | |
return false; | |
} | |
$tags= ""; | |
foreach ( $terms as $term ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ld_display_course_categories ($atts) { | |
$terms = get_the_terms( get_the_ID() , 'ld_course_category' ); | |
if (!$terms) { | |
// No terms, so just quit. | |
return false; | |
} | |
$categories= ""; | |
foreach ( $terms as $term ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Custom CSS | |
* Added by: LearnDash Customer Support | |
* | |
*/ | |
/* Remove points */ | |
.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:last-child { | |
display: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Custom CSS | |
* Added by: LearnDash Customer Support | |
* | |
*/ | |
.graded-disclaimer { | |
display: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('admin_head', 'my_custom_fonts'); | |
function my_custom_fonts() { | |
echo '<style> | |
.notice-error { | |
display: none; | |
} | |
</style>'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wpProQuiz_user_content tr.categoryTr { | |
display: none; | |
} | |
#wpProQuiz_user_content tr > th, #wpProQuiz_user_content thead th { | |
display:none; | |
} | |
#wpProQuiz_user_content thead th:nth-child(1), #wpProQuiz_user_content thead th:nth-child(2) { | |
display: table-cell; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Displays a user's profile. | |
* | |
* Available Variables: | |
* | |
* $user_id : Current User ID | |
* $current_user : (object) Currently logged in user object | |
* $user_courses : Array of course ID's of the current user | |
* $quiz_attempts : Array of quiz attempts of the current user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Displays a quiz. | |
* | |
* Available Variables: | |
* | |
* $course_id : (int) ID of the course | |
* $course : (object) Post object of the course | |
* $course_settings : (array) Settings specific to current course | |
* $course_status : Course Status |
NewerOlder