Skip to content

Commit b01e419

Browse files
1. Remove the Mfn_Builder_Front class and its object.
2. Beautify the code.
1 parent 0625249 commit b01e419

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

templates/single-wp_jobs.php

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?php
2-
get_header();
1+
<?php
2+
get_header();
33
global $post;
44
?>
55

@@ -9,25 +9,23 @@
99
<div class="sections_group">
1010
<?php
1111

12-
if (have_posts()) {
12+
if ( have_posts() ) {
1313

14-
while (have_posts()) {
14+
while ( have_posts() ) {
1515

16-
the_post();
16+
the_post();
1717

18-
$mfn_builder = new Mfn_Builder_Front(get_the_ID());
19-
$mfn_builder->show();
18+
the_content();
2019

21-
}
22-
23-
} else {
20+
}
21+
} else {
2422

25-
// template: default
23+
// template: default
2624

27-
while (have_posts()) {
28-
echo "No job found";
29-
}
25+
while ( have_posts() ) {
26+
echo 'No job found';
3027
}
28+
}
3129

3230
?>
3331
</div>
@@ -37,4 +35,5 @@
3735
</div>
3836
</div>
3937

40-
<?php get_footer();
38+
<?php
39+
get_footer();

0 commit comments

Comments
 (0)