Changeset 266319
- Timestamp:
- 04/08/2025 06:37:59 AM (8 months ago)
- Location:
- books-printing/0.3
- Files:
-
- 1 added
- 4 edited
- 1 copied
- . (copied) (copied from books-printing/0.2.9)
- includes/customizer.php (modified) (1 diff)
- readme.txt (modified) (2 diffs)
- single.php (modified) (1 diff)
- style.css (modified) (1 diff)
- template-parts/related-posts.php (added)
Legend:
- Unmodified
- Added
- Removed
-
books-printing/0.3/includes/customizer.php
r262463 r266319 1256 1256 ) ); 1257 1257 1258 Kirki::add_field( 'theme_config_id', [ 1259 'type' => 'custom', 1260 'tab' => 'single-post', 1261 'settings' => 'books_printing_show_related_post_heading', 1262 'section' => 'books_printing_blog_post', 1263 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Related post', 'books-printing' ) . '</h3>', 1264 'priority' => 10, 1265 ] ); 1266 1267 Kirki::add_field( 'theme_config_id', [ 1268 'type' => 'toggle', 1269 'tab' => 'single-post', 1270 'settings' => 'books_printing_show_related_post', 1271 'label' => esc_html__( 'Enable or Disable Related post', 'books-printing' ), 1272 'section' => 'books_printing_blog_post', 1273 'default' => true, 1274 'priority' => 10, 1275 ] ); 1276 1258 1277 // No Results Page Settings 1259 1278 -
books-printing/0.3/readme.txt
r262463 r266319 2 2 Contributors: wpelemento 3 3 Requires at least: 5.0 4 Stable tag: 0. 2.94 Stable tag: 0.3 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.7 … … 70 70 71 71 == Changelog == 72 73 = April-7-2025 :: 0.3 74 75 * Added related post. 76 * Added enable / disable related post option. 72 77 73 78 = March-8-2025 :: 0.2.9 -
books-printing/0.3/single.php
r225410 r266319 52 52 53 53 comments_template(); 54 if(get_theme_mod('books_printing_show_related_post', true )== true): 55 get_template_part( 'template-parts/related-posts' ); 56 endif; 54 57 endwhile; 55 58 ?> -
books-printing/0.3/style.css
r262463 r266319 5 5 Theme URI: https://www.wpelemento.com/products/free-books-wordpress-theme 6 6 Author URI: https://www.wpelemento.com/ 7 Version: 0. 2.97 Version: 0.3 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.7
Note: See TracChangeset for help on using the changeset viewer.