Skip to content

JuniorTak/hypwpcontributors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypwpcontributors

A WordPress plugin to add contributors to post/page, based on rtCamp WordPress-Contributors Plugin assignment.

Usage

  1. Download the plugin .zip file
  2. In the admin-side of your WordPress site, install and activate the plugin
  3. Add some WordPress users
  4. Add a new post or edit an existing one
  5. From the post settings in the editor side panel, scroll down to Contributors section
  6. Check usernames to add post contributors
  7. Click Publish or Update when you finish
  8. In the front-side of your WordPress site, visit the post to see the contributors box right below the post content

Demo

http://hyp4rt.infinityfreeapp.com/2024/05/04/demo-post/

Running Tests

Before running tests, make sure to properly set up the WordPress Testing Suite which requires WP-CLI.

Then, run the following command to install Composer dependencies

  composer install

To run tests, run the following command

  ./vendor/bin/phpunit tests/TestHypContributors.php

If you encounter any issue while setting up PHP Unit Tests, please refer to this guide on fixing common issues while setting up php unit tests for wordpress plugins.

About

A WordPress Contributors Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published