Today I will show you how you can add exam results feature to a WordPress website for releasing exam results on your college or school’s website.
With the help of this tutorial, you will be able to add students’ results at the backend of your college or schools WordPress website and then the student will be able to search the results at the frontend of the website using their roll no like this –
You can manually enter the students’ results in the backend or you can upload a CSV file to the WordPress site and upload all results at once. Okay now, let’s see how we can do that.
Enable Construction Mode [OPTIONAL]
As we will be installing and adding a plugin and also entering data that is not supposed to be available to students before the results date, we will enable construction mode which will make your website unavailable to users until the release of the results.
To begin you will need to first log in to your WordPress website, after logging in go to your WordPress website go to Plugins > Add New. In the search bar search for “Under Construction”.
Install the “Under Construction” plugin by the developer WebFactory. Install the Plugin and activate it.
After activating the plugin you can enable construction mode by going to Settings > UnderConstruction. Go to the Main tab and enable Under Construction Mode, scroll down, and in Automatic End Date & Time you can set a time when Construction mode will end.
After setting up the settings click on Save Changes to enable Construction mode on your website. Now only the admins of the WordPress website will be able to access it until the time finishes.
Install Easy Student Result Plugin
The plugin that we are going to use for our WordPress website to add the feature of uploading students’ results and searching the results by roll or registration no is called “Easy Student Result”.
To Install the plugin first Log in to your WordPress website, then go to Plugins > Add New. Search for “Easy Student Result”, install and activate the plugin created by – Nurul Umbhiya.
You can also install the plugin by downloading it from https://downloads.wordpress.org/plugin/easy-student-results.2.2.8.zip, after downloading the plugin go to Plugins > Add new. Upload the plugin and activate it.
NOTE: You might get an error saying “The plugin generated X characters of unexpected output during activation”, Don’t worry, that’s not a fatal error. Your website will be fine.
Setup Easy Student Result Plugin
After installing the plugin you will need to now set up the plugin. I will show you all the things that you will need to do to add a student’s results and show the result on the front end of your WordPress website.
You can access the Plugin From the admin menu on the left side, it will be named “Student Results”.
In the Easy Student Result Plugin, you can add Department, Batch, Courses, grade, exams, and Results of students. This is an all-in-one Plugin for Schools and colleges to maintain and publish students’ results.
Add Department / Class
To add a department you will need to first go to Student Results > Department from the admin menu.
Here first you will need to add the department name in short uppercase word without any space, like Mathematics will be “MATHS”, Biology will be “BIO”.
After that in department slug you will need to add the url-friendly version of the name of the department, this should be always in lowercase and should not contain space or any symbol. For example – For the Mathematics department the url should be “mathematics”, no Uppercase.
Scroll down, in “Full Name” Enter the full name of the subject. After that you can add a description to the subject, after that in Total Credit you can add the amount of credit someone needs to pass that exam, credits are time that a student has spent in the classroom. You can keep it blank if your college/school doesn’t have a credit system.
Once all the things are added, click on “Add new department” to add the department.
To add a semester to any department you will need to first go to Student Results > Department, here on the right side of the departments you will see an option “Configure Semester”, click on the configure option on whatever department you want to add a semester
In Name enter the Semester name, like if you are adding a semester in Mathematics department then enter like “1st Semester Maths”. After that, in slug enter the semester name in a URL-friendly way, no uppercase, no number, and no symbol.
Once done click on Add New semester to add a new semester to the department you selected to configure.
Now to add different batches of classes you will need to go to Student Results > Batch. Click on Add New to add a new batch, like – 1st SEM MATHS / 2019 or something.
In Batch/Year, enter the batch name and the batch year, below in Department select the department that the batch belongs to from the dropdown, after that in Session, select the time when that batch took the admission and click on Add New Batch to add the batch.
Now you will need to add courses / Subjects, you can add courses by going to Student Results > Courses, click on Add Course to add a new course.
First enter your course name, after that enter the course code, in Department / Class select the department from the dropdown, in Semester / Section select the semester from the dropdown.
In Course Detailed Information first enter the total marks of the subject. In credits enter the credits required to pass that subject. Select the course type from the dropdown, like if it’s a theory subject or practical, enter the Prerequisite Subject & Related subject if any, and click on Publish.
To add different grades like “A,B,C,D or A+,B+,C+,D+”. you will need to first go to Student Results > Grade, here, by default there will be some grades already created, you can delete them by hovering over on the top of the grade.
After deleting the default grades you can add new grades by clicking on Add new.
Now in Alphabetic grade enter the grade in alphabets like “A, B, C”. In marks enter the marks required for a student to get that grade, like 80 – 100 for A Grade. After that, if your school/college uses grade points then you can add them.
In Grade Classification enter the description of that grade, like you can give Excellent for A Grade, Average for B Grade, etc. click on Add new Grade to add the grade.
To add exams you will need to first go to Student Results > Exams, there click on Add new to add a new exam.
Name the exam with a unique name, like “Maths-1st-SEM-2019-January”. After that select the date when the exam was held and click on Add New Exam to add a new exam.
Now to add the main thing, which is students you will need to go to Student Results > Students and click on Add Students to add a new student.
First, enter the name of the student at the very top, after that enter the registration no and roll no of the student, do note that the registration no & roll no cannot be zero ( It should be greater than zero ).
After that select the Department/Class, Batch/Year, Semester/Section from the dropdowns. Once done scroll down and fill up all the personal details of the student and click on Publish to Add the student.
Now the final thing that you will need to add is of course the results. To add the results and assign marks to different students you will need to first go to Student Results > Results. Click on Add new.
After that, you will need to add a new exam record, here first select the exam from the dropdown, after that select the Department/Class, Batch/Year, Semester/Section.
Once done, now select all the students that appeared in the exam and select the courses/subjects they appeared in by selecting them using your mouse. If some students did not appear in any exam then just uncheck them.
After that click on Add New Exam Record to add a new record.
Add Marks to Results
Now to add Marks to the results you will need to click on the Add Marks option at the Results Record tab after adding any exam records.
Here again, click on Add marks on the right side of the student that you want to give the marks to. You can now add the marks a student got in different subjects, just enter the marks someone got in the Marks obtained section and select the grade that the user got.
After filling up all the required things, click on Update to assign the exam marks to the student.
Display Results in Frontend using Shortcode
After adding all the results of students in the backend of your WordPress website, you can now add the search form in the frontend of the website from where students will be able to search their exam results using their roll no.
To do that you can use the shortcodes –
- [esr_results] for Searching results using only roll no.
- [esr_results2] for Searching results using both roll no & Registration no.
- [esr_students] for displaying all students’ results without searching.
To add the shortcodes you can just create a new page and add the shortcode in the page using a shortcode block. Publish the page and after that, your students will be able to search their results by providing the required info.
Edit the Robots.txt
There is one problem with the Easy Student Result plugin that is, it creates lots of 404 URLs that will cause lots of problems for you as google will crawl those pages and get tons of 404 errors which is not something good.
To fix that, you can prevent Google from crawling the pages automatically created by the plugin, just add the code line given below to the robots.txt file of your WordPress website and it should fix the problem.
User-agent: * Disallow: /rps_result_student/
After editing the robots.txt file, clear the cache of your WordPress website if you are using a caching plugin.
Adding Additional Features
If you would like to make the process of adding students’ results to the backend of your WordPress website in the Easy Student Results plugin easier, then you can just purchase the premium add-ons provided by the app developer.
Go to the Student Results > Premium Addons from the admin menu and buy the addon that you would like to add to your plugin. Premium addons like CSV import results search by students name, Hiding students results from each other are some of the premium features of the plugin.
NOTE: The plugin hasn’t been updated in almost 2 years, which means that the plugin developer might or might not be still active, so be careful when purchasing any premium addon as if you get into any problem then there will be no one to help you.
How to add different subjects in the Easy Student Results plugin?
You can add different subjects in the Easy Students Results by going to Student Results > Courses. Just click on add course and add the subject that you would like to add.
Is the Easy Students Results plugin safe to use?
The Easy Students Results plugin is safe to use, but as the plugin hasn’t been updated in almost 2years you might get conflicts with other plugins or themes installed on your WordPress website.
Always make a new backup of your website before installing any plugin, you can use VaultPress or UpDraft Backups for backing up your WordPress website for free with just a few steps.
That is how you can Add Exam Results Feature to a WordPress website. If you are facing any problem while installing the plugin or setting up anything like adding courses, exams, etc then you can always contact me by mail at – [email protected]. I will try to reply as soon as I can to fix your problem. Thank you.