All Projects → azeemhassni → Raskoh

azeemhassni / Raskoh

Licence: other
Raskoh - easy and object oriented way to interact with WordPress custom post types and taxonomies.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Raskoh

pytaxonkit
Python bindings for the TaxonKit library
Stars: ✭ 15 (+25%)
Mutual labels:  taxonomy
rfishbase
R interface to the fishbase.org database
Stars: ✭ 79 (+558.33%)
Mutual labels:  taxonomy
vrt-ruby
Ruby library for interacting with Bugcrowd's VRT
Stars: ✭ 15 (+25%)
Mutual labels:  taxonomy
general
The Catalogue of Life
Stars: ✭ 39 (+225%)
Mutual labels:  taxonomy
TEAM
The Taxonomy for ETL Automation Metadata (TEAM) is a metadata management tool for data warehouse automation. It is part of the ecosystem for data warehouse automation, alongside the Virtual Data Warehouse pattern manager and the generic schema for Data Warehouse Automation.
Stars: ✭ 27 (+125%)
Mutual labels:  taxonomy
worrms
World Register of Marine Species R client
Stars: ✭ 13 (+8.33%)
Mutual labels:  taxonomy
Sitegeist.Taxonomy
Manage vocabularies and taxonomies as separate node-hierarchy.
Stars: ✭ 14 (+16.67%)
Mutual labels:  taxonomy
flora-on-server
Work collaboratively in IUCN Red List assessments and manage online biodiversity databases, including a graph-based taxonomy system, species traits and habitats, and species occurrences.
Stars: ✭ 13 (+8.33%)
Mutual labels:  taxonomy
taxonomy-term-image
Example plugin for adding an image upload field to taxonomy terms in WordPress
Stars: ✭ 50 (+316.67%)
Mutual labels:  taxonomy
metacoder
Parsing, Manipulation, and Visualization of Metabarcoding/Taxonomic data
Stars: ✭ 120 (+900%)
Mutual labels:  taxonomy
grav-plugin-taxonomylist
Grav TaxonomyList Plugin
Stars: ✭ 19 (+58.33%)
Mutual labels:  taxonomy
taxid-changelog
NCBI taxonomic identifier (taxid) changelog, including taxids deletion, new adding, merge, reuse, and rank/name changes.
Stars: ✭ 13 (+8.33%)
Mutual labels:  taxonomy
wikitaxa
taxonomy data from Wikipedia/Wikidata/Wikispecies
Stars: ✭ 16 (+33.33%)
Mutual labels:  taxonomy
wp-term-meta-ui
A base UI class for a term metadata user interface
Stars: ✭ 23 (+91.67%)
Mutual labels:  taxonomy
bio
A lightweight and high-performance bioinformatics package in Golang
Stars: ✭ 80 (+566.67%)
Mutual labels:  taxonomy
kraken-biom
Create BIOM-format tables (http://biom-format.org) from Kraken output (http://ccb.jhu.edu/software/kraken/, https://github.com/DerrickWood/kraken).
Stars: ✭ 35 (+191.67%)
Mutual labels:  taxonomy
eBay-node-client
Ebay NodeJS Wrapper
Stars: ✭ 50 (+316.67%)
Mutual labels:  taxonomy
pytaxize
python port of taxize (taxonomy toolbelt) for R
Stars: ✭ 29 (+141.67%)
Mutual labels:  taxonomy
ncbitax2lin
🐞 Convert NCBI taxonomy dump into lineages
Stars: ✭ 113 (+841.67%)
Mutual labels:  taxonomy
react-taxonomypicker
A Taxonomy Picker control built with TypeScript for React. Built for use in Office 365 / SharePoint
Stars: ✭ 23 (+91.67%)
Mutual labels:  taxonomy

Raskoh - WP PostType and Taxonomies

Registring custom post types and taxonomies in wordpress is not a headache anymore. Raskoh will make your life simpler.

Usage in theme functions.php

Install

You can insall Raskoh as a wordpress plugin by downloading the package and pulling it in wp-content/plugins folder or using composer.

Paste this in composer.json file

{
   "require" : {
        "azi/raskoh" : "1.*"
   }
}

or just run this command in your project. $ composer require azi/raskoh

include composers autoloader in your theme's functions.php

require_once "vendor/autoloader.php";

Usage

Register a Post Type

to register a post type

$music = new Raskoh\PostType("Music");
$music->register();
Add a Taxonomy

register a taxonomy along with post type

$music = Raskoh\PostType::getInstance("Music");
$music->taxonomy('Singer')->register();
Restrict Posts by Term

if you want to add Terms dropdown on WordPress admin interface to restrict posts by terms. just pass a second boolean to php PostType::taxonomy($name, $filters = false) method.

$music = Raskoh\PostType::getInstance("Music");
$music->taxonomy('Singer', true)->register();
Register Multiple Taxonomies
$music = Raskoh\PostType::getInstance("Music");
$music->taxonomy(['singer','genre'])->register();
Set Icons

you can also set icons to your post type

$music = Raskoh\PostType::getInstance("Music");
$music->taxonomy('Singer')->setIcon('dashicons-format-audioy')->register();

you can pass all other arguments listed at Codex for wp_register_post_type() like this

$CPT = Raskoh\PostType::getInstance();
$CPT->set{ArgumentName}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].