Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Build a WordPress website and use features such as posts, pages, widgets and themes Create a WordPress plugin Plugin Create an Job board plugin for your WordPress website. The plugin should meet...

1 answer below »



  • Build a WordPress website and use features such as posts, pages, widgets and themes


  • Create a WordPress plugin




Plugin


Create an Job board plugin for your WordPress website. The plugin should meet the following requirements:





    • The plugin should be located in the standard/pluginsfolder in a subfolder calledjobs-plugin.


    • It should be possible to activate, de-activate and uninstall the plugin.


    • The plugin should allow WordPress to manage and display a list of jobs.


    • A job should have the following fields:




      • Position- the job title (e.g. software developer)



      • Type- one of either full-time, part-time or contract



      • E-mail- the email address to send applications



      • Description- a description of the job (support potentially multiple paragraphs of text, but don't worry about supporting bullets or tables or things like this)



      • Wage- a per hour wage, you can assume it is an integer



      • Posting Date- a ddmmyyyy date for when the job posting was created



    • When the plugin is installed, the admin panel should have a "Jobs" option in the menu. The "Jobs" admin menu should allow an administrator user to create, update, delete and view all jobs. Use some basic form validation for the create and update operations. Use appropriate form elements for the inputs (e.g. a drop-down list in the case of the job type).


    • A shortcode[jobs]should allow a list of the jobs to be displayed when it is used. The jobs in the list should be professionally formatted (use spacing, newlines, italics, bold, etc, to make it look nice, check out other job board plugins for inspiration if you're unsure). Each job in the list should contain all of the fields of a job, except the description, wage and e-mail fields. The job position should be a link that when clicked displays a modal window (
      exampleLinks to an external site.




      ) where all of the job data is displayed, including the job description, wage and e-mail fields.


    • When the jobs shortcode is used with no parameters, all jobs should be displayed in the list. If the job shortcode is used with one parameter with either part, full or contract, like[jobs full]then the job list that is displayed should only include jobs that are either full-time (full), part-time (part) or contract (contract). If the job shortcode is used with one integer parameter, like[jobs 12], then the job list that is displayed should only include jobs that with a per hour wage equal to or greater than the given integer. Finally if the job shortcode contains an integer parameter followed by a parameter with either part, full, or contract, like[jobs 12 contract], then the job list that is displayed should only include jobs with a per hour wage equal to or greater than the given integer AND that are of the given type (full-time, part-time of contract).


    • In the case of the [jobs] shortcode being used with no parameters, full-time jobs in the list of jobs should have a green background color, part-time jobs in the list should have a yellow background color, and contract jobs in the list should have a red background color. In the case of the [jobs] shortcode being used with any parameters, none of the jobs should have a background color.


    • The jobs records should be stored by the plugin in a MySQL table.


    • When the plugin is activated, the jobs MySQL table should be created.


    • When the plugin is deactivated, any jobs in the MySQL table should be deleted.


    • When the plugin is uninstalled, the jobs MySQL table should be deleted.


    • Before submitting your solution, ensure that the plugin is installed, activated and that there are exactly 4 jobs in the table.


    • Create a "Jobs" page on your WordPress website and include an example of all 4 possibilities of the jobs shortcode in terms of parameters, and in all cases at least one job must be displayed. Make your examples usefully illustrative of how the shortcodes filter jobs (i.e. the job shortcode you use to filter for wages should have at least one less job than the shortcode you use to display all jobs).



    • All database interactions should occur using the
      WordPress database API wpdb()Links to an external site.













Answered 2 days After Feb 02, 2023

Solution

Dipansu answered on Feb 04 2023
45 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here