Changeset 2543394
- Timestamp:
- 06/07/2021 12:08:47 AM (5 years ago)
- Location:
- also-in-this-series/trunk
- Files:
-
- 1 added
- 1 deleted
- 4 edited
-
also-in-this-series.pot (added)
-
languages (deleted)
-
plugin-core.php (modified) (2 diffs)
-
plugin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
views/serieslisting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
also-in-this-series/trunk/plugin-core.php
r2529462 r2543394 122 122 } 123 123 124 function init_plugin() {125 load_plugin_textdomain( SERIES_SLUG, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );126 }127 128 124 function pre_get_posts( $query ) { 129 125 $sortorder = config( 'archive-sort-order' ); … … 161 157 } 162 158 163 add_action( 'init', __NAMESPACE__ . '\init_plugin' );164 159 add_action( 'init', __NAMESPACE__ . '\plugin_maintenance', 11 ); 165 160 add_action( 'pre_get_posts', __NAMESPACE__ . '\pre_get_posts' ); -
also-in-this-series/trunk/plugin.php
r2529462 r2543394 4 4 Plugin URI: https://planetjon.ca/projects/also-in-this-series/ 5 5 Description: Group related posts in a series with a custom Series taxonomy. and a list of all posts in the series in your content. 6 Version: 1.7. 37 Requires at least: 3.5.06 Version: 1.7.4 7 Requires at least: 4.6 8 8 Requires PHP: 5.4 9 9 Tested up to: 5.7.1 10 10 Author: Jonathan Weatherhead 11 11 Author URI: https://planetjon.ca 12 Text Domain: also-in-this-series13 Domain Path: /languages/14 12 License: GPL2 15 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
also-in-this-series/trunk/readme.txt
r2529462 r2543394 3 3 Donate link: https://planetjon.ca 4 4 Tags: related posts, series, posts, SEO, internal links, widget 5 Requires at least: 3.5.05 Requires at least: 4.6 6 6 Requires PHP: 5.4 7 7 Tested up to: 5.7.1 8 Stable tag: 1.7. 38 Stable tag: 1.7.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
also-in-this-series/trunk/views/serieslisting.php
r2528557 r2543394 1 1 <aside class="also-in-this-series"> 2 <h 3 class="series-title"><?php printf( __( 'Also in %s', 'also-in-this-series' ), $series->name ) ?></h3>2 <h2 class="series-title"><?php printf( __( 'Also in %s', 'also-in-this-series' ), $series->name ) ?></h2> 3 3 <?php if( $series->description ) : ?> 4 4 <p class="series-description"><?php echo esc_html( $series->description ) ?></p>
Note: See TracChangeset
for help on using the changeset viewer.