This file contains 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
Icons: | |
- https://www.iconfinder.com/iconsets/logos-and-brands | |
- https://www.iconfinder.com/icons/4026421/device_electronic_launch_machine_rocket_technology_icon | |
Photos: | |
- https://www.freepik.com/premium-photo/full-length-smiling-bearded-business-man-black-suit-with-hands-pockets_16461218.htm | |
- https://www.freepik.com/premium-photo/full-length-handsome-bearded-business-man-black-suit-holding-laptop_16461286.htm | |
- https://www.freepik.com/premium-photo/full-length-smiling-bearded-business-man-suit-moves-with-tablet-computer_16461261.htm | |
- https://www.freepik.com/free-photo/confident-young-businessman-suit-standing-with-arms-folded_8080750.htm | |
- https://www.pexels.com/photo/man-in-black-leather-jacket-3748221/ |
This file contains 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
/* | |
* Description: JavaScript code for advanced ecommerce website tutorial by WP Academy. | |
* Author: WP Academy | |
* Author URL: https://wpacademy.pk | |
* Usage Info: | |
Use appropirate jQuery code inside an HTML widget (Elementor) in appropirate sections/templates. | |
Don't forget to wrap your code inside '<script>YOUR CODE</script>' tags. | |
*/ | |
// Desktop Header Mega Menu Toggle. |
This file contains 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 | |
/* | |
* Function to check if given user is enrolled into any course. | |
*/ | |
function wpac_check_enrolled_user($user_id){ | |
if (is_numeric($user_id)) { | |
//Global WordPress DB object | |
global $wpdb; |
This file contains 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 wpac_add_query_vars_filter( $vars ){ | |
$vars[] = "order_id"; | |
return $vars; | |
} | |
add_filter( 'query_vars', 'wpac_add_query_vars_filter' ); | |
function wpac_order_status() { | |
if(is_page(1141)){ | |
$id = get_query_var('order_id'); | |
$id = intval($id); |
This file contains 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
/********************************** | |
* LearnPress Courses Grid | |
* By WP Academy.PK | |
**********************************/ | |
.wpac-learnpress-grid .widget-body { | |
text-align: center; | |
display: flex; | |
} | |
.wpac-learnpress-grid .widget-body .course-entry { | |
text-align: center; |
This file contains 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
.wpac-custom-form ul.tml-links { | |
display: none; | |
} | |
.wpac-custom-login .elementor-section-wrap { | |
text-align: center; | |
} | |
.wpac-custom-form .tml .tml-field { | |
border: none; | |
border-bottom: 3px solid #dddddd; | |
background: transparent; |
This file contains 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
selector .elementor-swiper-button-prev { | |
top: -10px; | |
right: 60px; | |
left: auto; | |
} | |
selector .elementor-swiper-button-next { | |
top: -10px; | |
right:0px; | |
left: auto; | |
} |
This file contains 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 code for PSD to WordPress Tutorial by WP Academy | |
* Author Name: WP Academy | |
* Author URL: https://wpacademy.pk | |
**/ | |
.wpac-service-box { | |
transition: 0.5s all; | |
} | |
.wpac-service-box:hover { | |
transform: scale(1.05); |
This file contains 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
/*********************************** | |
* For: SaaS Website Design Tutorial | |
* By: WPAcademy.PK | |
* Info: Please use appropirate class names into the sections or widget. | |
You can change the names, just make sure you are uaing correct class name | |
in the section or widget after changing the names. | |
**********************************/ | |
.elementor-text-editor p { | |
margin-bottom: 0 !important; | |
} |