``` 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 49

ExamTonight – Largest MCQs and Forums Website

A. Hazrat Khadija
B. Maria Qibtiyya
C. Hazrat Safia
D. None of the above

A. 1000
B. 510
C. 313
D. None of these

A. Muta Imam Malik
B. Bukhari Sharif
C. Muslim Sharif
D. Ibn-e-Maja

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

A. 8th Hijrah
B. 6th Hijrah
C. 5th Hijrah
D. 9th Hijrah

A. 9 Zil haj
B. 10 Zilhajj
C. 11 Zil haj
D. 12 Zil hajj

A. Rajab
B. Shaban
C. Shawal
D. Zil-hajj

A. Ahzab
B. Uhad
C. Badr
D. Mauta

A. Nabvi
B. Quba
C. Al-Haram
D. Nimra

A. Al Nisa
B. Luqman
C. Bani Israel
D. Al-Tauba