_preset_db; //$atmp = json_encode((array) $presetDb); //echo $atmp; //$adminOptions = $this->APL_options_load(); /*var presetArr = ''; *var presetArr = ''; */ function displayParent() { $posts = get_posts('numberposts=-1&post_type=any&orderby=title'); foreach ($posts as $page) { //if this returns some children, show the option if (get_children($page->ID)) { $str = ""; } } return $str; } ?>

Advanced Post List - Settings

by JoKeR

Plugin Page (Main / Wordpress)




Post type:     |     Show count:     |     // // // // // // // // // // Order by: ?> Order by:

Parent:

Categories

Include current post categories
Require all selected categories
term_id; echo(' ' . $catList[$i]->name . '
'); } ?>

Tags

Include current post tags
Require all selected tags
slug; //so retarded that categories run off IDs and tags run off slugs echo(' ' . $tagList[$i]->name . '
'); } ?>

Nothing selected means show everything, including tags or categories not yet created. Checking all will include everything, but will exclude all future categories or tags.



Before list HTML:




List item content:




After list HTML:




Exclude current post from results


  :       show preview

 

Preview will appear here when saved


PHP code - click load on any preset to generate PHP code for use in your theme


> Upon plugin deactivation clean up all database entries. (Save any preset to change this value)



Shortcodes: Use these codes inside the list item content (will throw errors if placed in before or after HTML fields)

* Time shortcodes have an optional format parameter. Format your dates using these possible tokens: m=month, M=text month, F=full text month, d=day, D=short text Day Y=4 digit year, y=2 digit year, H=hour, i=minute, s=seconds. More tokens listed here: http://php.net/manual/en/function.date.php.

Note: these shortcodes only work in the List item content box on this page.