PluginProbe
Page-list / 6.2
Page-list v6.2
6.3 6.1 6.2 6.0 trunk 1.0.0 1.2.0 1.3.0 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 All 47 releases
page-list / page-list.php

page-list.php in Page-list 6.2, at page-list.php

59 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Page-list
4 Plugin URI: http://wordpress.org/plugins/page-list/
5 Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6 Version: 6.2
7 Author: webvitaly
8 Author URI: http://web-profile.net/wordpress/plugins/
9 License: GPLv3
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) { exit; }
13
14 define('PAGE_LIST_PLUGIN_VERSION', '6.2');
15 define('PAGE_LIST_PLUGIN_FILE', __FILE__);
16
17 $pagelist_unq_settings = array(
18 'version' => PAGE_LIST_PLUGIN_VERSION,
19 'powered_by' => "\n".'<!-- Page-list plugin v.'.PAGE_LIST_PLUGIN_VERSION.' wordpress.org/plugins/page-list/ -->'."\n",
20 'page_list_defaults' => array(
21 'depth' => '0',
22 'child_of' => '0',
23 'exclude' => '0',
24 'exclude_tree' => '',
25 'include' => '0',
26 'title_li' => '',
27 'number' => '',
28 'offset' => '',
29 'meta_key' => '',
30 'meta_value' => '',
31 'show_date' => '',
32 'date_format' => get_option('date_format'),
33 'authors' => '',
34 'sort_column' => 'menu_order, post_title',
35 'sort_order' => 'ASC',
36 'link_before' => '',
37 'link_after' => '',
38 'post_type' => 'page',
39 'post_status' => 'publish',
40 'class' => ''
41 )
42 );
43
44
45 if ( !function_exists('pagelist_unqprfx_add_stylesheet') ) {
46 function pagelist_unqprfx_add_stylesheet() {
47 wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, PAGE_LIST_PLUGIN_VERSION, 'all' );
48 }
49 add_action('wp_enqueue_scripts', 'pagelist_unqprfx_add_stylesheet');
50 }
51
52
53 require_once __DIR__ . '/inc/helpers.php';
54 require_once __DIR__ . '/inc/shortcode-pagelist.php';
55 require_once __DIR__ . '/inc/shortcode-subpages.php';
56 require_once __DIR__ . '/inc/shortcode-siblings.php';
57 require_once __DIR__ . '/inc/shortcode-pagelist-ext.php';
58 require_once __DIR__ . '/inc/plugin-meta.php';
59