PED-EU-NET
WordPress plugin for PEDEU.NET supporting PED Database and more
by PED-EU-NET Team · github.com/ped-eu-net/wp-ped-eu-net · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ped-eu-net/wp-ped-eu-net/archive/refs/heads/develop.zipPED-EU-NET WordPress Plugin
Custom WP plugin for PED-EU-NET website
Features
- Rendering PED DB case studies on an interactive map
- Rendering PED DB case studies as tables (overview + detail)
- Rendering PED DB projects as tables (overview + detail)
- Exporting PED DB case studies to CSV and PDF
- Managing and securing forms for new PED DB entries (via Gravity Forms)
- Managing PED DB case studies and projects via quick actions
- Linking PED DB case studies and projects with corresponding form entries (of Gravity Forms)
Shortcodes
pedeu_case_studies_map- rendering an interactive map with all case studies (and filters), where users can open a specific case study (its detail as a table view); it is also possible to compare multiple case studies side-by-sidepedeu_case_studies_table- rendering a table of all case studies (with filters and pagination), where users can open a specific case study (its detail as a table view); it is also possible to compare multiple case studies side-by-sidepedeu_projects_table- rendering a table of all projects (with filters and pagination), where users can open a specific project (its simple detail as a table view)
PED DB Admin
There is page "DB Editor" added to WP Admin interface which allows to send invitations to a project / case study form and then manage these invitations. Non-invited users (without the link containing unique secret code) will not be able to access the form. The entry can be deactivated, (re)activated, or deleted permanently.
Contributing
Structure
includes/admin.php= file containing all functionality (or including it) related to WP Adminbootstrap.php= file for bootstraping the plugin (always loaded as the second one)utils.php= file for generic and shared functions (always loaded as the first one)- (other = other PHP files are named according to their concern and are included in one of the other files or from
ped-eu-net.phpfile
static/= static files containing resources directly loaded by clients (further separated tocss,images, andjs)CHANGELOG.md= history of changesped-eu-net.php= entry file with WP plugin metadata, constants, and includes of other files in a specific orderREADME.md= this file describing the WP plugin, its features and contributing information
Conventions
- All files should be named using kebab-case.
- All source code files should be formatted using PhpStorm's default settings.
- Every function, constant, and class must be documented using comments in the source code.
- There must be no "dead" code or other code smells detected.
- All functions and procedures must be prefixed by
pedeu_for consistency and uniqueness. - Always keep CHANGELOG and README up to date.
License
This project is licensed under the MIT License - see the LICENSE file for more details.