``` 5. Click **Update File** to save changes ### Method B: Using Custom Plugin (Recommended) 1. Go to **Plugins > Add New** 2. Search for "Code Snippets" or install it 3. Activate the plugin 4. Go to **Snippets > Add New** 5. Paste the code above 6. Set "Run snippet everywhere" 7. Click **Save** ## Step 3: Create Custom Post Types You need to create MCQ, Test, and Job post types. Add this to your functions.php: ```php // Create Custom Post Types function create_custom_post_types() { // MCQs register_post_type('mcq', array( 'labels' => array( 'name' => 'MCQs', 'singular_name' => 'MCQ' ), 'public' => true, 'has_archive' => true, 'supports' => array('title', 'editor', 'custom-fields'), 'menu_icon' => 'dashicons-clipboard' )); // Tests register_post_type('test', array( 'labels' => array( 'name' => 'Tests', 'singular_name' => 'Test' ), 'public' => true, 'has_archive' => true, 'supports' => array('title', 'editor', 'custom-fields'), 'menu_icon' => 'dashicons-clock' )); // Jobs register_post_type('job', array( 'labels' => array( 'name' => 'Jobs', 'singular_name' => 'Job' ), 'public' => true, 'has_archive' => true, 'supports' => array('title', 'editor', 'custom-fields'), 'menu_icon' => 'dashicons-building' )); } add_action('init', 'create_custom_post_types'); Lecturer Islamic Studies - ExamTonight - Largest MCQs and Forums Website - Page 45

ExamTonight – Largest MCQs and Forums Website

A. Hazrat Suleman (AS)
B. Hazrat Daud (AS)
C. Hazrat Musa (AS)
D. Hazrat Eisa (AS)

A. Surah Ahzab
B. Surah Mominoon
C. Surah Muhammad (pbuh)
D. Surah Baqra

A. Palestine
B. Iraq
C. Iran
D. Egypt

A. Banu Qais
B. Banu Hashim
C. Banu Atfaa’n
D. None

A. Surah Nahal
B. Surah Namal
C. Surah Ankaboot
D. None

A. Ahzaab
B. Muhammad
C. Fateh
D. Aal-e-Imran

A. Anfal
B. Muhammad
C. Yaaseen
D. Aal-e-Imran

A. 3
B. 4
C. 5
D. 6

A. Ahzaab
B. Muhammad
C. Yaaseen
D. Aal-e-Imran