can you make ethiopia job , international job and scholarship in three different page in…
- User
can you make ethiopia job , international job and scholarship in three different page in the main header menu then when i post the job in the home page the card goes to eaither of it and some one clik view more in home page it go detail part that exist in either of this pages .when some one click in that page example on ethiopia job someone get one job card when click view more part it goes detail that in that page it self and the other job cards go t bottom part of that page and someone can scroll and get it
Assistant
To achieve what you're describing — a WordPress-style setup with three main menu items (Ethiopia Jobs, International Jobs, Scholarships), where:
- Each post (job or scholarship) appears as a card on the homepage.
- Clicking "View More" on a card takes the user to a detailed view on the correct category page (Ethiopia Jobs, International Jobs, or Scholarships).
- On each category page, the full detail of the selected job/scholarship is shown at the top, and other related cards are shown below for scrolling.
Here’s how you can structure this:
✅ 1. Create Custom Post Types (CPTs)
Use a plugin like Custom Post Type UI or code it manually in
functions.php.Create three CPTs:
ethiopia_jobsinternational_jobsscholarships
Each CPT should support:
- Title
- Content (for job/scholarship details)
- Featured image
- Custom fields (location, deadline, etc.)
✅ 2. Create Three Category Pages
Create three separate page templates or use archive templates:
archive-ethiopia_jobs.phparchive-international_jobs.phparchive-scholarships.php
Each page will:
- Display the selected job/scholarship in full detail at the top (based on a query parameter like
?job_id=123) - Show other job/scholarship cards below it (excluding the one already shown)
✅ 3. Homepage Cards
On the homepage (
front-page.phporhome.php), display cards from all three CPTs.Each card should:
- Show a summary (title, excerpt, image)
- Have a "View More" button linking to:
or/ethiopia-jobs/?job_id=123
etc./international-jobs/?job_id=456
✅ 4. Category Page Logic
In each archive template (e.g.,
archive-ethiopia_jobs.php):<?php $selected_id = isset($_GET['job_id']) ? intval($_GET['job_id']) : 0; if ($selected_id) { $selected_post = get_post($selected_id); if ($selected_post && $selected_post->post_type === 'ethiopia_jobs') { // Display full detail echo '<div class="job-detail">'; echo '<h1>' . get_the_title($selected_post) . '</h1>'; echo '<div>' . apply_filters('the_content', $selected_post->post_content) . '</div>'; echo '</div>'; } } // Now show other jobs below $args = [ 'post_type' => 'ethiopia_jobs', 'post__not_in' => [$selected_id], 'posts_per_page' => -1, ]; $query = new WP_Query($args); if ($query->have_posts()) { echo '<div class="job-cards">'; while ($query->have_posts()) { $query->the_post(); // Display card echo '<div class="job-card">'; echo '<h3>' . get_the_title() . '</h3>'; echo '<a href="' . get_permalink() . '?job_id=' . get_the_ID() . '">View More</a>'; echo '</div>'; } echo '</div>'; wp_reset_postdata(); } ?>
✅ 5. Menu Setup
In your WordPress dashboard:
- Go to Appearance > Menus
- Add three custom links:
- Ethiopia Jobs →
/ethiopia-jobs/ - International Jobs →
/international-jobs/ - Scholarships →
/scholarships/
- Ethiopia Jobs →
✅ 6. Optional Enhancements
- Use pretty URLs with rewrite rules to make
/ethiopia-jobs/job-name/work instead of?job_id=123 - Add AJAX filtering or load more for better UX
- Use ACF (Advanced Custom Fields) for structured job/scholarship data
Would you like a starter plugin or code snippet to generate the CPTs and templates?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.