Skip to content

Commit

Permalink
More tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
deckerweb committed May 9, 2019
1 parent c2e85d2 commit 603df9c
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Composer
vendor/**/.git
vendor/
composer.lock
composer.phar

# Grunt
node_modules/

# macOS
.DS_Store
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Portfolio Content (CPT)

* Contributors: [David Decker](https://github.com/deckerweb), [contributors](https://github.com/deckerweb/portfolio-content/graphs/contributors)
* Tags: portfolio, content, cpt, post type, custom
* Requires at least: 4.7
* Tested up to: 5.2
* Stable tag: master
* Donate link: [https://www.paypal.me/deckerweb](https://www.paypal.me/deckerweb)
* License: GPL-2.0+
* License URI: [http://www.opensource.org/licenses/gpl-license.php](http://www.opensource.org/licenses/gpl-license.php)

Simple Portfolio custom post type for custom content.


## Description:

This plugin is fully translateable by default so it works perfectly for multlingual installs - and multilingual plugins like Polylang.


## Features:

* Simple post type - all that you know and would expect
* Nothing extra -- use custom field plugins like ACF or Pods, please
* Gutenberg enabled by default (in post type parameters)


## Plugin Installation:

**Manual Upload**
* download current .zip archive from master branch here, URL: [https://github.com/deckerweb/portfolio-content/archive/master.zip](https://github.com/deckerweb/portfolio-content/archive/master.zip)
* unzip the package, then **rename the folder to `portfolio-content`**, then upload renamed folder via FTP to your WordPress plugin directory
* activate the plugin

**Via "GitHub Updater" Plugin** *(recommended!)*

* Install & activate the "GitHub Updater" plugin, get from here: [https://github.com/afragen/github-updater](https://github.com/afragen/github-updater)
* Recommended: set your API Token in the plugin's settings
* Go to "Settings > GitHub Updater > Install Plugin"
* Paste the GitHub URL `https://github.com/deckerweb/portfolio-content` in the "Plugin URI" field (branch "master" is pre-set), then hit the "Install Plugin" button there
* Install & activate the plugin

**Updates**
* Are done via the plugin "GitHub Updater" (see above) - leveraging the default WordPress update system!
* Setting your GitHub API Token is recommended! :)
* It's so easy and seamless you won't find any better solution for this ;-)


## Translations:
= Localization & Internationalizaton:

* Used textdomain: `portfolio-content`
* Default `.pot` file included
* German translations included (`de_DE` & `de_DE_formal`)
* Plugin's own path for translations: `wp-content/plugins/portfolio-content/languages/portfolio-content-de_DE.mo`
* *Recommended:* Global WordPress lang dir path for translations: `wp-content/languages/plugins/portfolio-content-de_DE.mo` ---> *NOTE: if this file/path exists it will be loaded at higher priority than the plugin path! This is the recommended path & way to store your translations as it is update-safe and allows for custom translations!*
* Recommended translation tools: *Poedit* (free) OR *Poedit Pro*

Copyright (c) 2019 David Decker - DECKERWEB
22 changes: 22 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "deckerweb/portfolio-content",
"description": "Simple Portfolio custom post type for custom content.",
"keywords": ["portfolio", "content", "cpt", "post type"],
"type": "wordpress-plugin",
"homepage": "https://github.com/deckerweb/portfolio-content",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "David Decker",
"homepage": "https://deckerweb-plugins.com/",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/deckerweb/portfolio-content/issues",
"source": "https://github.com/deckerweb/portfolio-content"
},
"require": {
"php": ">=5.6"
}
}

0 comments on commit 603df9c

Please sign in to comment.