GithubHelp home page GithubHelp logo

wpplugins / post-notes Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 76 KB

This is a mirror of the svn repo: https://plugins.svn.wordpress.org/post-notes/, the master is always the latest release.

Home Page: http://wpplugins.it

CSS 2.58% JavaScript 32.51% PHP 64.91%

post-notes's Introduction

=== Post Notes ===
Contributors: jchristopher
Tags: post, posts, notes, wysiwyg
Requires at least: 2.7
Tested up to: 2.7
Stable tag: 1.0

Provides ability to add any number of WYSIWYG formatted notes to each post

== Description ==

Provides ability to add any number of WYSIWYG formatted notes to each post.

View more details as well as a screencast at [the official Plugin page](http://mondaybynoon.com/wordpress-post-notes/ "WordPress Post Notes Official plugin page")

Compatible with WordPress 2.7

== Installation ==

1. Download the plugin and unzip it into your /wp-content/plugins/ directory.
2. Activate the plugin through the 'Plugins' admin menu in WordPress

To retrieve an associative array containing all Notes for a post, use the following within The Loop:	

`<?php $post_notes = post_notes_get_notes(); ?>`

You will be provided an associative array with which to work in your template:

`<?php $total_notes = sizeof($post_notes); ?>
<?php if($total_notes>0) : ?>
	<?php for ($i = 0; $i < $total_notes; $i++) : ?>
		<div class="post-note">
			<div><?php echo $total_notes[$i]['text']; ?></div>
		</div>
	<?php endfor ?>
<?php endif ?>`

== Screenshots ==

1. Post Note

post-notes's People

Contributors

wppluginsbot avatar

Watchers

James Cloos avatar  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.