Skip to content

Instantly share code, notes, and snippets.

@aubreypwd
Created March 2, 2014 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aubreypwd/0515320631dfba888c04 to your computer and use it in GitHub Desktop.
Save aubreypwd/0515320631dfba888c04 to your computer and use it in GitHub Desktop.
<?php
/**
* Plugin Name: Test
* Plugin URI:
* Description:
* Version:
* Author:
* Author URI:
* License: GPL2
*/
/* Copyright YEAR PLUGIN_AUTHOR_NAME (email : PLUGIN AUTHOR EMAIL)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
function a(){
?>
<!-- aubreypwd's test -->
<ul id="find_me"><?php wp_list_pages();?></ul>
<?php
}
add_shortcode('a','a');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment