diff --git a/front-page.php b/front-page.php index 9432363..f6eb2e4 100644 --- a/front-page.php +++ b/front-page.php @@ -3,7 +3,9 @@
- +
@@ -33,311 +35,366 @@
- - -
-
- -
-
- - - Icon - - 🏫 - -
-

-

-

-
- -
-
- - - - -
-
-
-
- - - Kepala Sekolah - -
👤Upload Foto Kepala Sekolah
- -
-
-
- ABOUT US -

-

-
- Ketahui Lebih Lanjut -
-
-
- - - - 'milestone', 'posts_per_page' => 4 ) ); - if ( $query_milestone->have_posts() ) : - $m_sub = get_option( 'edukarsa_milestone_subtitle', 'REKAM JEJAK' ); - $m_title = get_option( 'edukarsa_milestone_title', 'Milestone & Prestasi' ); - ?> -
-
- -
- -

-
-
- - -
- have_posts() ) : $query_milestone->the_post(); - ?> -
-

- -

-
- -
-
- -
-
-
- - - - -
-
-
- -

-
-
-
- 'program', 'posts_per_page' => 3 ) ); - if ( $query_program->have_posts() ) : - while ( $query_program->have_posts() ) : $query_program->the_post(); - ?> -
-
- - - -
🏫Gambar Program
- -
-

- -

-
- -
- Lihat Detail -
- -
-
-
- - - - + -
-
-
+ + // RENDER LOOP BERDASARKAN URUTAN ARRAY + foreach ( $sections as $index => $section ) { + $section = trim($section); + + switch ( $section ) { - - -
-
- + + - -
-
-
- -

+ // --- SEKSI TENTANG KAMI / SAMBUTAN --- + case 'about': + if ( get_option('edukarsa_tampil_about', 1) == 1 ) : + ?> +
+
+
+
+ + + Kepala Sekolah + +
👤Upload Foto Kepala Sekolah
+ +
+
+
+ ABOUT US +

+

+
+ Ketahui Lebih Lanjut +
-
- 'keunggulan', 'posts_per_page' => 9 ) ); - if ( $query_keunggulan->have_posts() ) : - $nomor = 1; - while ( $query_keunggulan->have_posts() ) : $query_keunggulan->the_post(); +
+ 'milestone', 'posts_per_page' => 4 ) ); + if ( $query_milestone->have_posts() ) : + $m_sub = get_option( 'edukarsa_milestone_subtitle', 'REKAM JEJAK' ); + $m_title = get_option( 'edukarsa_milestone_title', 'Milestone & Prestasi' ); + ?> +
+
+ +
+ +

+
+
+ + +
+ have_posts() ) : $query_milestone->the_post(); ?> -
-
-
-

-
- +
+

+ +

+
+ +
+
+ +
+
+
+ +
+
+
+ +

+
+
+
+ 'program', 'posts_per_page' => 3 ) ); + if ( $query_program->have_posts() ) : + while ( $query_program->have_posts() ) : $query_program->the_post(); + ?> +
+
+ + + +
🏫Gambar Program
+ +
+

+ +

+
+ +
+ Lihat Detail +
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +

+
+
+ 'keunggulan', 'posts_per_page' => 9 ) ); + if ( $query_keunggulan->have_posts() ) : + $nomor = 1; + while ( $query_keunggulan->have_posts() ) : $query_keunggulan->the_post(); + ?> +
+
+
+

+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+ PENDAFTARAN MAHASISWA BARU +

+
+ +
+
+
+ +
+
+
+

+
+
+
+ 'post', 'posts_per_page' => 6) ); + if ( $query_news->have_posts() ) : + while ( $query_news->have_posts() ) : $query_news->the_post(); + ?> +
+
+ + + +
📰Gambar Berita
+ +
+
+

+
+ Read More +
+
+ +
+
+
+ 'faq', 'posts_per_page' => -1, 'order' => 'ASC' ) ); + if ( $query_faq->have_posts() ) : + $faq_title = get_option( 'edukarsa_faq_title', 'Pertanyaan Umum' ); + ?> +
+
+
+

+
+
+ +
+ have_posts() ) : $query_faq->the_post(); + ?> +
+ +
+
+
-
-
-
- - - - - - - -
-
-
-
- PENDAFTARAN MAHASISWA BARU -

-
- -
-
-
- - - - -
-
-
-

-
-
-
- 'post', 'posts_per_page' => 6) ); - if ( $query_news->have_posts() ) : - while ( $query_news->have_posts() ) : $query_news->the_post(); - ?> -
-
- - - -
📰Gambar Berita
- -
-
-

-
- Read More -
-
- -
-
-
- - - - 'faq', 'posts_per_page' => -1, 'order' => 'ASC' ) ); - if ( $query_faq->have_posts() ) : - $faq_title = get_option( 'edukarsa_faq_title', 'Pertanyaan Umum' ); - ?> -
-
-
-

-
-
- -
- have_posts() ) : $query_faq->the_post(); - ?> -
- -
-
- -
+ ?>
- -
-
-
- +
diff --git a/inc/admin-menu.php b/inc/admin-menu.php index fe48cea..8d1948f 100644 --- a/inc/admin-menu.php +++ b/inc/admin-menu.php @@ -908,3 +908,117 @@ function edukarsa_about_page_html() { edukarsa_t('📊 Statistik (3 Kotak Capaian)', '📊 Statistics Cards'), + 'about' => edukarsa_t('👤 Sambutan & Profil Pimpinan', '👤 Welcome & Leader Profile'), + 'milestone' => edukarsa_t('🏆 Rekam Jejak (Milestones)', '🏆 Milestones History'), + 'program' => edukarsa_t('📚 Program Unggulan / Kurikulum', '📚 Featured Programs'), + 'video' => edukarsa_t('🎬 Video Profil Parallax', '🎬 Parallax Videos'), + 'keunggulan' => edukarsa_t('⭐ Poin Keunggulan (Grid Berurut)', '⭐ Advantages Grid'), + 'cta' => edukarsa_t('📢 Banner Ajakan (CTA) Pendaftaran', '📢 Admission CTA Banner'), + 'news' => edukarsa_t('📰 Berita & Warta Terkini', '📰 Latest News & Updates'), + 'faq' => edukarsa_t('❓ Seksi Tanya Jawab (FAQ)', '❓ Frequently Asked Questions') + ); + ?> +
+ +
+
+

+ +

+

+ +

+
+ +
+ + +
+ 🔒 + +
+ + + +
    + +
  • + + + Draggable +
  • + +
+ +
+ 'border-radius:8px; font-weight:700; padding:8px 30px; font-size: 15px;')); ?> +
+
+
+
+ + + + +