office@jbh.org.il JBH123 5333 website '.$userdata->data->user_email.' '.$userdata->data->display_name.' '; $url = 'http://mesereser.com/WS/CustomerServices.asmx'; $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl,CURLOPT_HTTPHEADER,array('Host:mesereser.com', 'Content-Type:text/xml; charset=utf-8', 'SOAPAction:http://mesereser.com/CreateContact', )); curl_setopt($curl, CURLOPT_POSTFIELDS, $xml); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($curl); curl_close($curl); } function fix_password_reset($message) { return preg_replace("/<(.*)>/", "$1", $message); } add_filter('retrieve_password_message', 'fix_password_reset'); add_shortcode('get_jobs_for_iframe','get_jobs_for_iframe'); function get_jobs_for_iframe(){ $args=array( 'post_type' => 'job', 'post_status' => 'publish', 'posts_per_page' => 4, ); $my_query = new WP_Query($args); ob_start(); while($my_query->have_posts()) { $my_query->the_post(); get_template_part('single', 'archive-job'); } $content = ob_get_clean(); wp_reset_query(); return $content; } // Registering custom post status function wpb_custom_post_status(){ register_post_status('old', array( 'label' => 'ישן', 'public' => false, 'exclude_from_search' => true, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true, 'label_count' => _n_noop( 'ישן (%s)', 'ישן (%s)' ), ) ); } add_action( 'init', 'wpb_custom_post_status' ); // Using jQuery to add it to post status dropdown add_action('admin_footer-post.php', 'wpb_append_post_status_list'); function wpb_append_post_status_list(){ global $post; $complete = ''; $label = ''; if($post->post_type == 'job'){ if($post->post_status == 'old'){ $complete = ' selected="selected"'; $label = 'ישן'; } echo ' '; } } add_action('admin_head', 'custom_admin_css'); function custom_admin_css() { echo ''; } if (isset($_GET['test']) && isset($_GET['test']) == 1) { $date = strtotime( '-1 month' ); $args = $args = array( 'post_type' => 'job', 'date_query' => array( array( 'before' => array( 'year' => date('Y', $date), 'month' => date('m', $date), 'day' => date('d', $date), ), 'inclusive' => true, ), ), 'posts_per_page' =>500, ); $posts = new WP_Query( $args ); // The Loop if ( $posts->have_posts() ) { while ( $posts->have_posts() ) { $posts->the_post(); echo '
  • ' . get_the_ID() . '
  • '; wp_update_post(array( 'ID' => get_the_ID(), 'post_status' => 'old' )); } die; /* Restore original Post Data */ wp_reset_postdata(); } else { // no posts found } // $posts = get_posts( $args ); print_r($query); die; } add_action( 'save_post', 'my_save_post_function', 10, 3 ); function my_save_post_function( $post_ID, $post, $update ) { if( get_field( 'employer_name', $post_ID )){ $acf_author = get_field( 'employer_name', $post_ID ); $arg = array( 'ID' => $post_ID, 'post_author' => $acf_author['ID'], ); wp_update_post( $arg ); } } (int) get_field( 'ads_frequency', 'option' ), 'repeat' => get_field( 'ads_repeat', 'option' ), 'repeatCount' => get_field( 'ads_repeat_count', 'option' ) ] ); get_header(); $mainVideoCode = get_field( 'video_code', $wp_query->get_queried_object() ); if ( $mainVideoCode ) { ob_start(); ?>

    להרשמה - לחץ כאן!

    רק מעסיק יכול לפרסם משרה רוצה להפוך למעסיק?
    כן

    כל המשרות

    לא נמצאו משרות. תוכל להפעיל את הסוכן החכם ונודיע לך כשתימצא משרה מתאימה.
    true, 'post_type' => 'job', 'post__in' => $stickiesPosts, 'posts_per_page' => get_field( 'stickies_count_per_page', 'option' ) * 2, 'post_status' => [ 'publish', 'seized' ], ]; query_posts( $queryArgs ); get_template_part( 'part-archive-sticky-jobs' ); } $queryArgs = [ 'stickyJobs' => true, 'post_type' => 'job', 'posts_per_page' => get_field( 'posts_per_page_front_page', 'option' ), 'post_status' => [ 'publish', 'seized' ], ]; query_posts( $queryArgs ); get_template_part( 'part-archive-jobs' ) ?>