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
| /*For desktop layout*/ | |
| .profile-name { | |
| min-height: 80px; | |
| padding-left: 90px; | |
| } | |
| .profile-avatar { | |
| width: 80px; | |
| height: 80px; | |
| } |
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 | |
| /* | |
| * [contact-form-email] | |
| * Retrieve listing contact email for use in custom elementor contact form | |
| * If listing contact email is not present, the form will send to the listing owner | |
| */ | |
| function contact_form_email_func( $atts ){ | |
| $postID = get_the_ID(); | |
| $job_email = get_post_meta($postID, '_job_email')[0]; | |
| if(!$job_email){ |
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 | |
| //NB: Past events still show in explore cat count, and Listing Feed widget (unless using the 'Explore page query URL' setting) | |
| add_filter( 'get_job_listings_query_args', function( $args ) { | |
| $args['meta_query'][] = [ | |
| 'relation' => 'OR', | |
| array( | |
| 'key' => '_case27_listing_type', | |
| 'value' => 'events', | |
| 'compare' => '!=', |
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 | |
| /* | |
| * | |
| * Change the default text sent to post authors when review/comment submitted | |
| * | |
| */ | |
| function rhq_comment_notification_text( $notify_message, $comment_id ){ | |
| // get the current comment and post data | |
| $comment = get_comment( $comment_id ); | |
| $post = get_post( $comment->comment_post_ID ); |
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 | |
| //Add code to functions.php | |
| //Modify FORM-NAME, MC-API-KEY, MC-LIST-ID, field IDs in json_encode, and acceptance checkbox ID | |
| add_action( 'elementor_pro/forms/new_record', function( $record, $handler ) { | |
| //make sure its our form | |
| $form_name = $record->get_form_settings( 'form_name' ); | |
| if ( 'FORM-NAME' !== $form_name ) { | |
| return; | |
| } |