WP Manifestindependent plugin directory
manifest / content / community-sharing

Community Sharing

A plugin to showcase local entrepreneurs and freelancers in the WordPress community with their contact information and community support status.

by Your Name · github.com/alexcu21/community-sharing · 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/alexcu21/community-sharing/archive/refs/heads/main.zip

Community Sharing WordPress Plugin

A powerful WordPress plugin designed to create a comprehensive directory of entrepreneurs and freelancers within the WordPress community.

Features

  • Custom Post Types: Creates "Emprendimientos" (Entrepreneurs) and "Freelancers" post types
  • Custom Fields: Required fields for country, city, website, email, and community support status
  • Beautiful Templates: Responsive templates for single posts and archive pages
  • Admin Management: Easy-to-use admin interface with custom columns
  • Query Loop Compatible: Works seamlessly with WordPress Query Loop blocks
  • Translation Ready: Fully prepared for translation
  • Security Focused: Follows WordPress security best practices

Installation

  1. Upload the plugin files to /wp-content/plugins/community-sharing/
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Navigate to "Emprendimientos" or "Freelancers" in your WordPress admin
  4. Start adding community members!

Custom Fields

Both post types include these required fields:

  • País (Country): Text field
  • Ciudad (City): Text field
  • Sitio Web (Website): URL field
  • Correo Electrónico (Email): Email field
  • Apoyo a la Comunidad (Community Support): Checkbox

Templates

The plugin includes custom templates:

  • single-emprendimientos.php - Single entrepreneur page
  • single-freelancer.php - Single freelancer page
  • archive-emprendimientos.php - Entrepreneurs archive
  • archive-freelancer.php - Freelancers archive

Development

File Structure

community-sharing/
├── community-sharing.php          # Main plugin file
├── readme.txt                     # WordPress.org readme
├── README.md                      # This file
├── assets/
│   └── css/
│       └── style.css             # Plugin styles
├── includes/
│   └── class-activator.php       # Activation/deactivation handler
└── templates/
    ├── single-emprendimientos.php
    ├── single-freelancer.php
    ├── archive-emprendimientos.php
    └── archive-freelancer.php

Coding Standards

This plugin follows:

  • WordPress Coding Standards
  • WordPress Security Best Practices
  • Proper sanitization and validation
  • Nonce implementation for security
  • Proper escaping functions

Hooks and Filters

The plugin provides several hooks for customization:

// Customize post type arguments
add_filter('community_sharing_emprendimientos_args', 'my_custom_args');
add_filter('community_sharing_freelancer_args', 'my_custom_args');

// Customize template paths
add_filter('community_sharing_template_path', 'my_custom_template_path');

Translation

The plugin is translation ready with the text domain community-sharing. To translate:

  1. Use a translation plugin like Loco Translate
  2. Or create translation files in /wp-content/languages/plugins/
  3. Use the .pot file as a template for new translations

Support

For support, feature requests, or bug reports, please visit the plugin's support forum.

License

This plugin is licensed under the GPL v2 or later.

Changelog

1.0.0

  • Initial release
  • Custom post types implementation
  • Custom fields with validation
  • Responsive templates
  • Admin interface improvements
  • Translation ready
  • Query Loop compatibility