/**
*
*
*
*/
/*
Plugin Name: Andy's List Subpage
Plugin URI: http://barsnesssolutions.com
Description: Just type {list} in each page or post that you want your subpages listed
Author: Andy Stramer
Version: 1.0
Author URI: http://barsnesssolutions.com
*/
add_filter('the_content', 'checkSubs');
function checkSubs($text)
{
global $id;
if(strpos($text, '{list}'))
{
$replace = '
Utilizziamo i cookie per essere sicuri che tu possa avere la migliore esperienza sul nostro sito. Se continui ad utilizzare questo sito noi assumiamo che tu ne sia felice.OkLeggi di più