// MaruGujarat Active Jobs v5 – Code Snippets mein POORA code paste karein (koi line hatani nahi hai)
// Shortcode:
Status aaj ni tarikh mujab automatic badlay che. Arji karta pehla official notification jarur vanchi lo.
Status aaj ni tarikh mujab automatic badlay che. Arji karta pehla official notification jarur vanchi lo.
// Post save karte hi Last Date, Jagyao, Sanstha ane Apply Link post na content mathi automatic bharay che.
if ( ! defined( ‘ABSPATH’ ) ) {
return;
}
function mg_job_fields() {
return array(
‘last_date’ => array( ‘Chhelli Tarikh’, ‘date’ ),
‘last_time’ => array( ‘Samay (jem ke 23:59)’, ‘text’ ),
‘vacancies’ => array( ‘Kul Jagyao’, ‘number’ ),
‘organization’ => array( ‘Sanstha’, ‘text’ ),
‘apply_link’ => array( ‘Apply Link’, ‘url’ ),
);
}
/* ———- Auto-detect from post content ———- */
function mg_job_text( $html ) {
$t = preg_replace( ‘#</t[dh]>\s*<t[dh][^>]>#i’, ‘ : ‘, $html );
$t = preg_replace( ‘#<br[^>]>|</(p|tr|li|h[1-6]|div|figcaption)>#i’, “\n”, $t );
$t = wp_strip_all_tags( $t, false );
$t = html_entity_decode( $t, ENT_QUOTES, ‘UTF-8’ );
$t = str_replace( array( “\xC2\xA0”, ‘|’ ), array( ‘ ‘, ‘:’ ), $t );
return preg_split( ‘/\R/u’, $t );
}
function mg_job_find_date( $s ) {
$mon = array( ‘jan’ => 1, ‘feb’ => 2, ‘mar’ => 3, ‘apr’ => 4, ‘may’ => 5, ‘jun’ => 6, ‘jul’ => 7, ‘aug’ => 8, ‘sep’ => 9, ‘oct’ => 10, ‘nov’ => 11, ‘dec’ => 12 );
if ( preg_match( ‘/(\d{1,2})\s*[./-]\s*(\d{1,2})\s*[./-]\s*(\d{4})/’, $s, $m ) ) {
$d = (int) $m[1]; $mo = (int) $m[2]; $y = (int) $m[3];
} elseif ( preg_match( ‘/(\d{1,2})(?:st|nd|rd|th)?[\s-]+([A-Za-z]{3,9})[\s-,]+(\d{4})/’, $s, $m ) && isset( $mon[ strtolower( substr( $m[2], 0, 3 ) ) ] ) ) {
$d = (int) $m[1]; $mo = $mon[ strtolower( substr( $m[2], 0, 3 ) ) ]; $y = (int) $m[3];
} elseif ( preg_match( ‘/([A-Za-z]{3,9})\s+(\d{1,2})(?:st|nd|rd|th)?,?\s+(\d{4})/’, $s, $m ) && isset( $mon[ strtolower( substr( $m[1], 0, 3 ) ) ] ) ) {
$d = (int) $m[2]; $mo = $mon[ strtolower( substr( $m[1], 0, 3 ) ) ]; $y = (int) $m[3];
} else {
return ”;
}
return checkdate( $mo, $d, $y ) ? sprintf( ‘%04d-%02d-%02d’, $y, $mo, $d ) : ”;
}
function mg_job_detect( $html ) {
$out = array();
$lines = mg_job_text( $html );
foreach ( $lines as $line ) {
$line = trim( preg_replace( ‘/\s+/u’, ‘ ‘, $line ) );
if ( ” === $line ) {
continue;
}
// Last date (fee ni tarikh nahi)
if ( empty( $out[‘last_date’] ) && preg_match( ‘/last\sdate|closing\sdate|end\sdate|chhelli\starikh|છેલ્લી\sતારીખ/iu’, $line ) && ! preg_match( ‘/fee|payment|ફી/iu’, $line ) ) {
$d = mg_job_find_date( $line );
if ( $d ) {
$out[‘last_date’] = $d;
if ( preg_match( ‘/(\d{1,2}[:.]\d{2}\s(?:AM|PM|hrs|hours)?)/i’, preg_replace( ‘/\d{1,2}\s*[./-]\s*\d{1,2}\s*[./-]\s*\d{4}/’, ”, $line ), $tm ) ) {
$out[‘last_time’] = trim( $tm[1] );
}
}
}
// Total vacancies
if ( empty( $out[‘vacancies’] ) && preg_match( ‘/^(?:total\s*(?:no.?\sof\s)?(?:posts?|vacanc\w*|seats?|jagya\w*)|no.?\sof\s(?:posts?|vacanc\w*)|vacanc\w*|કુલ\sજગ્યા\w)\s*[:-–]+\s*(\d[\d,])/iu’, $line, $m ) ) {
$v = (int) str_replace( ‘,’, ”, $m[1] );
if ( $v > 0 ) {
$out[‘vacancies’] = (string) $v;
}
}
// Organization
if ( empty( $out[‘organization’] ) && preg_match( ‘/^(?:organi[sz]ation(?:\sname)?|recruitment\sboard|board\sname|department\sname)\s[:-–]+\s*(.{3,120})$/iu’, $line, $m ) ) {
$out[‘organization’] = trim( $m[1] );
}
}
// Apply link: “Apply” text wali link, nahi to OJAS link
if ( preg_match_all( ‘#<a\s[^>]href=“‘[“‘][^>]>(.*?)#is’, $html, $links, PREG_SET_ORDER ) ) {
foreach ( $links as $l ) {
if ( preg_match( ‘/apply/i’, wp_strip_all_tags( $l[2] ) ) && preg_match( ‘#^https?://#i’, $l[1] ) ) {
$out[‘apply_link’] = $l[1];
break;
}
}
if ( empty( $out[‘apply_link’] ) ) {
foreach ( $links as $l ) {
if ( false !== stripos( $l[1], ‘ojas.gujarat.gov.in’ ) ) {
$out[‘apply_link’] = $l[1];
break;
}
}
}
}
return $out;
}
/* Khali fields j auto bharay che – tame jate bharelu hoy te badlatu nathi */
function mg_job_autofill( $post_id ) {
$post = get_post( $post_id );
if ( ! $post || ‘post’ !== $post->post_type ) {
return;
}
$found = mg_job_detect( $post->post_content );
foreach ( $found as $key => $val ) {
if ( ” === (string) get_post_meta( $post_id, $key, true ) && ” !== (string) $val ) {
if ( ‘apply_link’ === $key ) {
$val = esc_url_raw( $val );
} else {
$val = sanitize_text_field( $val );
}
update_post_meta( $post_id, $key, $val );
}
}
}
/* ———- Post editor box ———- */
add_action( ‘add_meta_boxes’, function () {
add_meta_box( ‘mg_job_info’, ‘Active Job Details’, ‘mg_job_box’, ‘post’, ‘side’, ‘high’ );
} );
function mg_job_box( $post ) {
wp_nonce_field( ‘mg_job_save’, ‘mg_job_nonce’ );
echo ‘
Khali rakhsho to post na content mathi automatic bharashe. Kai khotu aave to ahi sudhari do.’;
foreach ( mg_job_fields() as $key => $f ) {
printf(
‘
%2$s
‘,
esc_attr( $key ),
esc_html( $f[0] ),
esc_attr( $f[1] ),
esc_attr( get_post_meta( $post->ID, $key, true ) )
);
}
}
add_action( ‘save_post_post’, function ( $post_id ) {
if ( ! isset( $_POST[‘mg_job_nonce’] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST[‘mg_job_nonce’] ) ), ‘mg_job_save’ ) ) {
return;
}
if ( ( defined( ‘DOING_AUTOSAVE’ ) && DOING_AUTOSAVE ) || ! current_user_can( ‘edit_post’, $post_id ) ) {
return;
}
foreach ( mg_job_fields() as $key => $f ) {
$raw = isset( $POST[ ‘mg‘ . $key ] ) ? trim( wp_unslash( $POST[ ‘mg‘ . $key ] ) ) : ”;
switch ( $f[1] ) {
case ‘date’:
$val = preg_match( ‘/^\d{4}-\d{2}-\d{2}$/’, $raw ) ? $raw : ”;
break;
case ‘number’:
$val = ( ” === $raw ) ? ” : (string) absint( $raw );
break;
case ‘url’:
$val = esc_url_raw( $raw );
break;
default:
$val = sanitize_text_field( $raw );
}
if ( ” === $val ) {
delete_post_meta( $post_id, $key );
} else {
update_post_meta( $post_id, $key, $val );
}
}
}, 10 );
add_action( ‘save_post_post’, function ( $post_id ) {
if ( ( defined( ‘DOING_AUTOSAVE’ ) && DOING_AUTOSAVE ) || wp_is_post_revision( $post_id ) ) {
return;
}
mg_job_autofill( $post_id );
}, 20 );
/* Juni posts mate ek vaar automatic bharvanu (pehli vaar admin kholo tyare) */
add_action( ‘admin_init’, function () {
if ( get_option( ‘mg_jobs_backfill_v3’ ) || ! current_user_can( ‘edit_posts’ ) ) {
return;
}
update_option( ‘mg_jobs_backfill_v3’, 1, false );
$ids = get_posts( array(
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘category_name’ => ‘latest-job’,
‘posts_per_page’ => 300,
‘date_query’ => array( array( ‘after’ => ‘120 days ago’ ) ),
‘fields’ => ‘ids’,
) );
foreach ( $ids as $id ) {
mg_job_autofill( $id );
}
} );
/* ———- Shortcode
Status aaj ni tarikh mujab automatic badlay che. Arji karta pehla official notification jarur vanchi lo.
add_shortcode( ‘mg_active_jobs’, function ( $atts ) {
$a = shortcode_atts(
array(
‘category’ => ‘latest-job’,
‘expired_days’ => 30,
‘limit’ => 200,
),
$atts
);
$today = current_time( 'Y-m-d' );
$from = gmdate( 'Y-m-d', strtotime( $today . ' -' . absint( $a['expired_days'] ) . ' days' ) );
$args = array(
'post_type' => 'post',
'post_status' => 'publish',
'posts_per_page' => absint( $a['limit'] ),
'ignore_sticky_posts' => true,
'no_found_rows' => true,
'meta_key' => 'last_date',
'orderby' => 'meta_value',
'order' => 'ASC',
'meta_query' => array(
array(
'key' => 'last_date',
'value' => $from,
'compare' => '>=',
'type' => 'DATE',
),
),
);
if ( '' !== trim( $a['category'] ) ) {
$args['category_name'] = sanitize_title( $a['category'] );
}
$q = new WP_Query( $args );
$months = array( 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
$rows = '';
foreach ( $q->posts as $p ) {
$date = get_post_meta( $p->ID, 'last_date', true );
if ( ! preg_match( '/^(\d{4})-(\d{2})-(\d{2})$/', $date, $m ) ) {
continue;
}
$time = get_post_meta( $p->ID, 'last_time', true );
$vac = get_post_meta( $p->ID, 'vacancies', true );
$org = get_post_meta( $p->ID, 'organization', true );
$apply = get_post_meta( $p->ID, 'apply_link', true );
$url = get_permalink( $p );
$title = get_the_title( $p );
$ds = $m[3] . ' ' . $months[ (int) $m[2] - 1 ] . ' ' . $m[1];
$rows .= sprintf(
'<tr data-date="%1$s" data-vac="%2$s" data-s="%3$s">' .
'<td data-l="Bharti"><a class="aj-name" href="%4$s">%5$s</a>%6$s</td>' .
'<td data-l="Total Post">%7$s</td>' .
'<td data-l="Chhelli Tarikh">%8$s%9$s</td>' .
'<td data-l="Status" class="aj-st"></td>' .
'<td data-l="Apply Link" class="aj-act" data-apply="%10$s" data-url="%4$s"></td></tr>',
esc_attr( $date ),
esc_attr( $vac ),
esc_attr( strtolower( $title . ' ' . $org ) ),
esc_url( $url ),
esc_html( $title ),
'',
'' !== $vac ? esc_html( $vac ) : '–',
esc_html( $ds ),
$time ? '<br><small>' . esc_html( $time ) . '</small>' : '',
esc_url( $apply )
);
}
$html = <<<'MGHTML'
0Chalu bharti
07 divas ma puri thashe
0Kul jagyao (chalu)ChaluJaldi puri thashePuri thayeliBadhi
{{MG_ROWS}}
| Bharti | Total Post | Chhelli Tarikh | Status | Apply Link |
|---|
Status aaj ni tarikh mujab automatic badlay che. Arji karta pehla official notification jarur vanchi lo. MGHTML; return str_replace( ‘{{MG_ROWS}}’, $rows, $html ); } );
- GSSSB Sub Accountant Answer Key 2026 Out, Download Provisional Answer Key PDF
- GSSSB Food Safety Officer Recruitment 2026 Notification Released for 90 Posts, Apply Online From 27.10.2026
- GPSSB Gram Sevak Call Letter 2026 Out, Direct Link to Download Hall Ticket
- TAT HS Mains Result 2026 Out: Check Scorecard at sebexam.org
- Gujarat Police Bharti Computer Quiz 01
- GSSSB Female Health Worker Call Letter 2026 Out, Direct Link to Download Hall Ticket
- GRSE Apprentice Recruitment 2026 Notification Released for 211 Posts, Apply Online From 05.12.2026
- GSSSB Food Safety Officer Recruitment 2026 Notification Released for 90 Posts, Apply Online From 27.10.2026
- GRSE Apprentice Recruitment 2026 Notification Released for 211 Posts, Apply Online From 05.12.2026
- Assam Rifles Recruitment 2026 Notification Released for 354 Posts, Apply Online From 15.11.2026
- Gujarat Police Bharti 2026 Notification Released for 12752 Posts, Apply Online From On @ojas.gujarat.gov.in
- GSSSB Assistant Technical Recruitment 2026
- SSC Grade C Stenographer LDCE 2026 Notification Released for 320 Posts, Apply Online From 17.11.2026
- GSSSB CCE Recruitment 2026 Notification Released for 1237 Posts, Apply Online From 05.11.2026
- TAT HS Mains Result 2026 Out: Check Scorecard at sebexam.org
- GSEB SSC Result 2025: Gujarat Board Class 10 result
- GSEB 10th Result 2025 Download At GSEB.org
- COH Staff Nurse Result 2025 Gujarat [ Declared ]Download Merit List PDF Now [email protected]
- India Post GDS Result 2025 Out: Check Merit List, Scorecard, and DV Details
- LRD PSI Physical Test Result 2025 Out At @.lrdgujarat2021.in
- Vidhyasahayak Merit List 2025 PDf [Declare ] At @vsb.dpegujarat.in
- GPSSB Gram Sevak Call Letter 2026 Out, Direct Link to Download Hall Ticket
- GSSSB Female Health Worker Call Letter 2026 Out, Direct Link to Download Hall Ticket
- Gujarat HTAT SCE Call Later 2026 Out, Direct Link to Download Hall Ticket
- GSSSB CCE Mains Call Letter 2026 Out, Direct Link to Download Hall Ticket
- Gujarat Vidhyasahayak Call Letter 2026 Out, Direct Link to Download Hall Ticket
- SMC Clerk & Lab Technician Call Letter 2026 Released
- TAT HS Main Exam Call Letter 2026 Download Link
- GSSSB Sub Accountant Answer Key 2026 Out, Download Provisional Answer Key PDF
- Gujarat Police LRD Constable Answer Key 2026 Released | Download PDF @ojas.gujarat.gov.in
- Gujarat Police LRD Constable Final Answer Key 2025 Released | Download PDF @ojas.gujarat.gov.in
- Biotechnology Questions and Answers for RRB Group D/RRB NTPC
- RRB Group D/RRB NTPC Questions and Answers from The Great Revolt of 1857
- RRB NTPC Mathematical Operations Questions with Answers
- RRB NTPC Geometry Questions with Answers for CBT
MaruGujarat.co :: Maru Gujarat:: OJAS Jobs, Result, Answer Key
Maru Gujarat website provides updates instantly of All Latest Jobs, Results, Maru Gujarat Answer keys, Admit Cards, Previous Papers, Exam Papers, Online form, Offline Form, Syllabus, Exam Pattern, Exam Calendar, Exam Date Notices, Interview Dates, etc about various Govt Job Exams of GPSC,UPSC, SSC, IBPS, Gk, Ojas Jobs, Tet, Tat, Htat, Gpsc, Upsc, Gseb, GSSSB, PI,PSI,Class-1&2,Class-3, etc including the Central Govt Jobs and State Govt Jobs of Gujarat, Govt Jobs Updates immediately join our Telegram Group @marugujarats_in

Ojas Maru Gujarat 2025
As a conclusion, it is reasonable to believe that OJAS is one of the important steps taken by the Gujarat state government in order to eliminate unemployment in the state. Despite this, the website only provides information on government jobs accessible in the state of Gujarat, not the entire country. The other states should follow Gujarat’s lead and learn from the Gujarat government.
Many people also look up Ojas Gujarat or ojas online jaherat news to see what jobs are now being advertised and available in Gujarat. As a solution, you can go to our page for all of that information.
Maru Gujarat Government Jobs and OJAS Recruitment
Looking for the latest Gujarat Government Jobs? Maru Gujarat brings important recruitment updates from Gujarat government departments and other organizations. You can find information about OJAS Recruitment, GPSC Recruitment, GSSSB Recruitment, GPSSB Recruitment, Gujarat Police Bharti, Gujarat High Court Recruitment, Municipal Corporation Recruitment and other government vacancies.
Each recruitment article includes important information about the vacancy, eligibility criteria, important dates and application process. Candidates should always read the official notification carefully before submitting an application.
GPSC and GSSSB Recruitment Updates
GPSC and GSSSB conduct various competitive examinations and recruitment drives in Gujarat. Maru Gujarat provides updates related to GPSC and GSSSB recruitment, examination dates, call letters, answer keys, results, merit lists and other important notifications.
Candidates preparing for Gujarat competitive examinations can regularly check the latest updates to stay informed about upcoming examinations and recruitment opportunities.
Maru Gujarat Result, Admit Card and Answer Key
After applying for a recruitment or examination, candidates need to keep track of Gujarat Results, Admit Cards, Call Letters and Answer Keys.
Maru Gujarat publishes important updates related to government examination results, provisional answer keys, final answer keys, merit lists, cut-off marks and call letters whenever they are officially released.
Gujarat Police Bharti and Other Recruitment
Candidates looking for Gujarat Police Bharti and other government recruitment opportunities can find the latest updates on Maru Gujarat. We also cover recruitment notifications from government departments, boards, universities, courts, municipalities and other organizations.
The recruitment information may include vacancy details, eligibility, application dates, examination information and official notification links.
Gujarat Exam Date and Latest Updates
Knowing the correct Exam Date, Call Letter and Exam Schedule is important for every competitive exam candidate. Maru Gujarat provides the latest examination-related updates so candidates can keep track of important dates and prepare accordingly.
We also publish updates related to previous papers, answer keys, results and other examination information whenever available.
Latest Jobs and Career Updates
Maru Gujarat focuses on providing useful employment and career information for candidates in Gujarat. Along with government jobs, visitors can find updates related to Bank Jobs, Railway Jobs, Defence Jobs, Teaching Jobs, Medical Jobs and other employment opportunities.
Our goal is to make important job and examination information easily accessible in one place.
Why Follow Maru Gujarat?
Maru Gujarat is designed to help Gujarat job seekers and students quickly find the latest employment and examination updates. Our website regularly publishes information about:
- Gujarat Government Jobs
- OJAS Recruitment
- GPSC Recruitment
- GSSSB Recruitment
- GPSSB Recruitment
- Gujarat Police Bharti
- Gujarat Results
- Admit Card
- Call Letter
- Answer Key
- Exam Date
- Exam Schedule
- Merit List
- Previous Papers
- Bank Jobs
- Railway Jobs
- Teaching Jobs
- Private Jobs
For the latest Maru Gujarat Jobs, OJAS Recruitment, Gujarat Results, Admit Cards and Answer Keys, visit our website regularly.
FAQ
What is Maru Gujarat?
Maru Gujarat is an online platform providing Gujarat Government Jobs, OJAS Recruitment, GPSC, GSSSB, Gujarat Police Bharti, Results, Admit Cards, Answer Keys and other employment and education updates.
What information is available on Maru Gujarat?
Maru Gujarat provides updates about government jobs, OJAS recruitment, GPSC, GSSSB, Gujarat Police recruitment, examination dates, results, admit cards, call letters, answer keys and other career-related information.
Where can I find Gujarat Government Jobs?
You can find the latest Gujarat Government Jobs and recruitment updates on Maru Gujarat, including OJAS, GPSC, GSSSB, GPSSB, Gujarat Police and other government recruitment notifications.
Does Maru Gujarat provide OJAS Recruitment updates?
Yes. Maru Gujarat publishes important updates related to OJAS Recruitment, including vacancy details, eligibility, important dates and application information.
Can I find Gujarat Results and Answer Keys on Maru Gujarat?
Yes. Maru Gujarat provides updates about Gujarat government examination Results, Answer Keys, Merit Lists, Cut Offs, Admit Cards and Call Letters whenever they are officially released.