PHP Classes

Yuri Wordpress Portfolio Plugin: WordPress custom post type to show portfolio pages

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-12-13 (9 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 30 All time: 11,118 This week: 52Up
Version License PHP version Categories
yuri-portfolio-custo 1.0.0Custom (specified...5PHP 5, Content management, Blogs
Description 

Author

This package provides a plugin to implement a WordPress custom post type to show portfolio pages.

It provides a user interface to let freelancers enter their portfolio details so WordPress can display the portfolio on a page.

Currently, it supports:

- Testimonials

- Gallery images for the portfolio

- Freelancer services

Innovation Award
PHP Programming Innovation award nominee
December 2023
Number 7
Many professional developers act as freelancers or employees of other companies.

When they are looking for a new job, it helps to have a page ready to show the portfolio to potential companies that may hire the professional.

This package provides a WordPress plugin that implements a custom post type specifically to generate pages for presenting professional portfolios based on a few details the developer may enter easily using forms on a Web page.

Manuel Lemos
Picture of Eric Jumba
  Performance   Level  
Name: Eric Jumba is available for providing paid consulting. Contact Eric Jumba .
Classes: 8 packages by
Country: United States United States
Age: 35
All time rank: 3832499 in United States United States
Week rank: 29 Up5 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

Instructions

  1. Upload `yuri-portfolio-cpt.php` to the `/wp-content/plugins/` directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place `<?php do_action('plugin_name_hook'); ?>` in your templates

Example

<?php

/**
 * The plugin bootstrap file
 *
 * This file is read by WordPress to generate the plugin information in the plugin
 * admin area. This file also includes all of the dependencies used by the plugin,
 * registers the activation and deactivation functions, and defines a function
 * that starts the plugin.
 *
 * @link https://jumbaeric.co.ke
 * @since 1.0.0
 * @package Yuri_Portfolio_Cpt
 *
 * @wordpress-plugin
 * Plugin Name: Yuri Portfolio Custom Post Type
 * Plugin URI: https://jumbaeric.co.ke/plugins/yuri-portfolio-cpt
 * Description: This plugin adds portfolio, testimonials, services custom post type, and custom meta fields, this enables freelancers to manage their portfolios, add gallery images to portolio, services, and testimonials
 * Version: 1.0.0
 * Author: Eric jumba kedogo
 * Author URI: https://jumbaeric.co.ke
 * License: GPL-2.0+
 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain: yuri-portfolio-cpt
 * Domain Path: /languages
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
    die;
}

/**
 * Currently plugin version.
 * Start at version 1.0.0 and use SemVer - https://semver.org
 * Rename this for your plugin and update it as you release new versions.
 */
define( 'YURI_PORTFOLIO_CPT_VERSION', '1.0.0' );

/**
 * The code that runs during plugin activation.
 * This action is documented in includes/class-yuri-portfolio-cpt-activator.php
 */
function activate_yuri_portfolio_cpt() {
    require_once
plugin_dir_path( __FILE__ ) . 'includes/class-yuri-portfolio-cpt-activator.php';
   
Yuri_Portfolio_Cpt_Activator::activate();
}

/**
 * The code that runs during plugin deactivation.
 * This action is documented in includes/class-yuri-portfolio-cpt-deactivator.php
 */
function deactivate_yuri_portfolio_cpt() {
    require_once
plugin_dir_path( __FILE__ ) . 'includes/class-yuri-portfolio-cpt-deactivator.php';
   
Yuri_Portfolio_Cpt_Deactivator::deactivate();
}

register_activation_hook( __FILE__, 'activate_yuri_portfolio_cpt' );
register_deactivation_hook( __FILE__, 'deactivate_yuri_portfolio_cpt' );

/**
 * The core plugin class that is used to define internationalization,
 * admin-specific hooks, and public-facing site hooks.
 */
require plugin_dir_path( __FILE__ ) . 'includes/class-yuri-portfolio-cpt.php';

/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * @since 1.0.0
 */
function run_yuri_portfolio_cpt() {

   
$plugin = new Yuri_Portfolio_Cpt();
   
$plugin->run();

}
run_yuri_portfolio_cpt();


Details

=== Yuri Portfolio Custom Post Type === Contributors: (this should be a list of wordpress.org userid's) Donate link: https://jumbaeric.co.ke Tags: custom post type, cpt, portfolio, testimonials, gallery Requires at least: 3.0.1 Tested up to: 6.1 Stable tag: 4.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

This plugin adds portfolio, testimonials, services custom post type, and custom meta fields, this enables freelancers to manage their portfolios, add gallery images to portolio, services, and testimonials

== Description ==

This plugin adds portfolio, testimonials, services custom post type, and custom meta fields, this enables freelancers to manage their portfolios, add gallery images to portolio, services, and testimonials

== Installation ==

This section describes how to install the plugin and get it working.

e.g.

  1. Upload `yuri-portfolio-cpt.php` to the `/wp-content/plugins/` directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place `<?php do_action('plugin_name_hook'); ?>` in your templates

  Files folder image Files (26)  
File Role Description
Files folder imageadmin (3 files, 3 directories)
Files folder imageincludes (6 files)
Files folder imagepublic (2 files, 3 directories)
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file README.txt Doc. Documentation
Accessible without login Plain text file uninstall.php Aux. Auxiliary script
Accessible without login Plain text file yuri-portfolio-cpt.php Example Example script

  Files folder image Files (26)  /  admin  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (1 file)
Files folder imagepartials (5 files)
  Plain text file class-yuri-portfolio-cpt-admin.php Class Class source
  Plain text file class-yuri-portfolio-metabox.php Class Class source
  Accessible without login Plain text file index.php Aux. Auxiliary script

  Files folder image Files (26)  /  admin  /  css  
File Role Description
  Accessible without login Plain text file yuri-portfolio-cpt-admin.css Data Auxiliary data

  Files folder image Files (26)  /  admin  /  js  
File Role Description
  Accessible without login Plain text file yuri-portfolio-cpt-admin.js Data Auxiliary data

  Files folder image Files (26)  /  admin  /  partials  
File Role Description
  Accessible without login Plain text file gallery.php Example Example script
  Accessible without login Plain text file portfolio.php Example Example script
  Accessible without login Plain text file service.php Example Example script
  Accessible without login Plain text file testimonial.php Example Example script
  Accessible without login Plain text file yuri-portfolio-cpt-admin-display.php Aux. Auxiliary script

  Files folder image Files (26)  /  includes  
File Role Description
  Plain text file class-yuri-portfolio-cpt-activator.php Class Class source
  Plain text file class-yuri-portfolio-cpt-deactivator.php Class Class source
  Plain text file class-yuri-portfolio-cpt-i18n.php Class Class source
  Plain text file class-yuri-portfolio-cpt-loader.php Class Class source
  Plain text file class-yuri-portfolio-cpt.php Class Class source
  Accessible without login Plain text file index.php Aux. Auxiliary script

  Files folder image Files (26)  /  public  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (1 file)
Files folder imagepartials (1 file)
  Plain text file class-yuri-portfolio-cpt-public.php Class Class source
  Accessible without login Plain text file index.php Aux. Auxiliary script

  Files folder image Files (26)  /  public  /  css  
File Role Description
  Accessible without login Plain text file yuri-portfolio-cpt-public.css Data Auxiliary data

  Files folder image Files (26)  /  public  /  js  
File Role Description
  Accessible without login Plain text file yuri-portfolio-cpt-public.js Data Auxiliary data

  Files folder image Files (26)  /  public  /  partials  
File Role Description
  Accessible without login Plain text file yuri-portfolio-cpt-public-display.php Aux. Auxiliary script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:30
This week:0
All time:11,118
This week:52Up