Changeset 3811757
- Timestamp:
- 11/19/2026 02:30:11 PM (less than one hour ago)
- Location:
- list-child-pages-shortcode
- Files:
-
- 4 edited
- 1 copied
-
tags/1.6.1 (copied) (copied from list-child-pages-shortcode/trunk )
-
tags/1.6.1/dklcp-shortcode.php (modified) (2 diffs)
-
tags/1.6.1/readme.txt (modified) (4 diffs)
-
trunk/dklcp-shortcode.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
list-child-pages-shortcode/tags/1.6.1/dklcp-shortcode.php
r3810475 r3811757 4 4 * Plugin URI: https://martech.zone/wordpress-list-child-pages-plugin/ 5 5 * Description: List a page's child pages anywhere with the [listchildpages] shortcode, with optional featured images, excerpts, ordering, and CSS classes. 6 * Version: 1.6. 06 * Version: 1.6.1 7 7 * Requires at least: 4.6 8 8 * Requires PHP: 7.4 … … 22 22 } 23 23 24 define( 'DKNM_LCP_VERSION', '1.6. 0' );24 define( 'DKNM_LCP_VERSION', '1.6.1' ); 25 25 define( 'DKNM_LCP_SHORTCODE', 'listchildpages' ); 26 26 define( 'DKNM_LCP_SHORTCODE_ALIAS', 'dknm_list_child_pages' ); -
list-child-pages-shortcode/tags/1.6.1/readme.txt
r3810474 r3811757 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.6. 07 Stable tag: 1.6.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 Example 1: Order the child pages by publish date in descending order: 41 `[listchildpages aclass="" ifempty="No child pages" orderby="publish_date" order="desc" displayimage="no"] 42 <h3>Here are our child pages:</h3> 43 [/listchildpages]` 41 42 [listchildpages aclass="" ifempty="No child pages" orderby="publish_date" order="desc" displayimage="no"] 43 <h3>Here are our child pages:</h3> 44 [/listchildpages] 44 45 45 46 Example 2: Order the child pages by title in ascending order with the page's featured image aligned left: 46 `[listchildpages orderby="title" order="asc" displayimage="yes" align="alignleft"] 47 <h3>Here are our child pages:</h3> 48 [/listchildpages]` 47 48 [listchildpages orderby="title" order="asc" displayimage="yes" align="alignleft"] 49 <h3>Here are our child pages:</h3> 50 [/listchildpages] 49 51 50 52 Example 3: Target a specific parent page by ID and use medium-sized images: 51 `[listchildpages parent="123" displayimage="yes" size="medium"] 52 <h3>Resources</h3> 53 [/listchildpages]` 53 54 [listchildpages parent="123" displayimage="yes" size="medium"] 55 <h3>Resources</h3> 56 [/listchildpages] 54 57 55 58 Example 4: Target a parent page by slug and show full-size featured images: 56 `[listchildpages parent="about/company" displayimage="yes" size="full"] 57 <h3>Team Sections</h3> 58 [/listchildpages]` 59 60 [listchildpages parent="about/company" displayimage="yes" size="full"] 61 <h3>Team Sections</h3> 62 [/listchildpages] 59 63 60 64 Example 5: Follow the page order set under Page Attributes: 61 `[listchildpages orderby="menu_order"] 62 <h3>Chapters</h3> 63 [/listchildpages]` 65 66 [listchildpages orderby="menu_order"] 67 <h3>Chapters</h3> 68 [/listchildpages] 64 69 65 70 Example 6: Explicitly set the parent as the current page and use large images: 66 `[listchildpages parent="current" displayimage="yes" size="large"] 67 <h3>Subpages</h3> 68 [/listchildpages]` 71 72 [listchildpages parent="current" displayimage="yes" size="large"] 73 <h3>Subpages</h3> 74 [/listchildpages] 69 75 70 76 = Developer filters = … … 117 123 118 124 == Changelog == 125 126 = 1.6.1 = 127 * Readme: fix code example formatting on WordPress.org. 119 128 120 129 = 1.6.0 = … … 172 181 == Upgrade Notice == 173 182 183 = 1.6.1 = 184 Fixes code example formatting on the WordPress.org plugin page. 185 174 186 = 1.6.0 = 175 187 Fixes menu_order sorting. Existing shortcodes keep working. -
list-child-pages-shortcode/trunk/dklcp-shortcode.php
r3810475 r3811757 4 4 * Plugin URI: https://martech.zone/wordpress-list-child-pages-plugin/ 5 5 * Description: List a page's child pages anywhere with the [listchildpages] shortcode, with optional featured images, excerpts, ordering, and CSS classes. 6 * Version: 1.6. 06 * Version: 1.6.1 7 7 * Requires at least: 4.6 8 8 * Requires PHP: 7.4 … … 22 22 } 23 23 24 define( 'DKNM_LCP_VERSION', '1.6. 0' );24 define( 'DKNM_LCP_VERSION', '1.6.1' ); 25 25 define( 'DKNM_LCP_SHORTCODE', 'listchildpages' ); 26 26 define( 'DKNM_LCP_SHORTCODE_ALIAS', 'dknm_list_child_pages' ); -
list-child-pages-shortcode/trunk/readme.txt
r3810474 r3811757 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.6. 07 Stable tag: 1.6.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 Example 1: Order the child pages by publish date in descending order: 41 `[listchildpages aclass="" ifempty="No child pages" orderby="publish_date" order="desc" displayimage="no"] 42 <h3>Here are our child pages:</h3> 43 [/listchildpages]` 41 42 [listchildpages aclass="" ifempty="No child pages" orderby="publish_date" order="desc" displayimage="no"] 43 <h3>Here are our child pages:</h3> 44 [/listchildpages] 44 45 45 46 Example 2: Order the child pages by title in ascending order with the page's featured image aligned left: 46 `[listchildpages orderby="title" order="asc" displayimage="yes" align="alignleft"] 47 <h3>Here are our child pages:</h3> 48 [/listchildpages]` 47 48 [listchildpages orderby="title" order="asc" displayimage="yes" align="alignleft"] 49 <h3>Here are our child pages:</h3> 50 [/listchildpages] 49 51 50 52 Example 3: Target a specific parent page by ID and use medium-sized images: 51 `[listchildpages parent="123" displayimage="yes" size="medium"] 52 <h3>Resources</h3> 53 [/listchildpages]` 53 54 [listchildpages parent="123" displayimage="yes" size="medium"] 55 <h3>Resources</h3> 56 [/listchildpages] 54 57 55 58 Example 4: Target a parent page by slug and show full-size featured images: 56 `[listchildpages parent="about/company" displayimage="yes" size="full"] 57 <h3>Team Sections</h3> 58 [/listchildpages]` 59 60 [listchildpages parent="about/company" displayimage="yes" size="full"] 61 <h3>Team Sections</h3> 62 [/listchildpages] 59 63 60 64 Example 5: Follow the page order set under Page Attributes: 61 `[listchildpages orderby="menu_order"] 62 <h3>Chapters</h3> 63 [/listchildpages]` 65 66 [listchildpages orderby="menu_order"] 67 <h3>Chapters</h3> 68 [/listchildpages] 64 69 65 70 Example 6: Explicitly set the parent as the current page and use large images: 66 `[listchildpages parent="current" displayimage="yes" size="large"] 67 <h3>Subpages</h3> 68 [/listchildpages]` 71 72 [listchildpages parent="current" displayimage="yes" size="large"] 73 <h3>Subpages</h3> 74 [/listchildpages] 69 75 70 76 = Developer filters = … … 117 123 118 124 == Changelog == 125 126 = 1.6.1 = 127 * Readme: fix code example formatting on WordPress.org. 119 128 120 129 = 1.6.0 = … … 172 181 == Upgrade Notice == 173 182 183 = 1.6.1 = 184 Fixes code example formatting on the WordPress.org plugin page. 185 174 186 = 1.6.0 = 175 187 Fixes menu_order sorting. Existing shortcodes keep working.
Note:
See TracChangeset
for help on using the changeset viewer.