Giter Site home page Giter Site logo

cpt-descriptions's Introduction

=== CPT Descriptions ===
Contributors: vanpop
Donate link: http://vanpop.com/
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: cpt, custom post types, description, custom post type description, vanpop
Requires at least: 3.1
Tested up to: 3.5
Stable tag: 0.1

== Description ==

This plugin adds a place to enter a description for your custom post types which you can display anywhere in your theme.

== Installation ==

1. Upload the 'cpt-descriptions' folder to the '/wp-content/plugins/' directory
1. Activate the CPT Descriptions plugin through the 'Plugins' menu in WordPress
1. Use the_cpt_description() or get_cpt_description() to display/use the custom post type description in your theme

== Frequently Asked Questions ==

= How do I display a/the custom post type description? =

You can use the function the_cpt_description() to echo the current custom post type description or you can use get_cpt_description() to return the description for use in code.

If you are not on an archive/single custom post type template you can pass the post type variable to either function (eg. the_cpt_description('books')) to get the description for that post type.

== Screenshots ==

1. Show added admin menu item and custom post type description entry page/field

== Changelog ==

= 0.1 =

* Initial beta release.



This file was modified by JetBrains PhpStorm 5.0.4 for binding GitHub repository

cpt-descriptions's People

Contributors

vanpop avatar mrwweb avatar

Watchers

John Tapp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.