Changeset 299243
- Timestamp:
- 11/19/2025 01:01:06 PM (11 months ago)
- Location:
- amusement-park/2.9
- Files:
-
- 4 edited
- 1 copied
-
. (copied) (copied from amusement-park/2.7 )
-
inc/customizer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
-
template-parts/post/single-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
amusement-park/2.9/inc/customizer.php
r285414 r299243 542 542 ) ); 543 543 544 //TP Single Blog Option 545 $wp_customize->add_section('amusement_park_single_blog_option',array( 546 'title' => __('Single Post Option', 'amusement-park'), 547 'priority' => 1, 548 'panel' => 'amusement_park_panel_id' 549 ) ); 550 551 /** Meta Order */ 552 $wp_customize->add_setting('amusement_park_single_blog_meta_order', array( 553 'default' => array('date', 'author', 'comment','category', 'time'), 554 'sanitize_callback' => 'amusement_park_sanitize_sortable', 555 )); 556 $wp_customize->add_control(new amusement_park_Control_Sortable($wp_customize, 'amusement_park_single_blog_meta_order', array( 557 'label' => esc_html__('Meta Order', 'amusement-park'), 558 'description' => __('Drag & Drop post items to re-arrange the order and also hide and show items as per the need by clicking on the eye icon.', 'amusement-park') , 559 'section' => 'amusement_park_single_blog_option', 560 'choices' => array( 561 'date' => __('date', 'amusement-park') , 562 'author' => __('author', 'amusement-park') , 563 'comment' => __('comment', 'amusement-park') , 564 'category' => __('category', 'amusement-park') , 565 'time' => __('time', 'amusement-park') , 566 ) , 567 ))); 568 569 $wp_customize->add_setting('amusement_park_single_post_date_icon',array( 570 'default' => 'far fa-calendar-alt', 571 'sanitize_callback' => 'sanitize_text_field' 572 )); 573 $wp_customize->add_control(new Amusement_Park_Icon_Changer( 574 $wp_customize,'amusement_park_single_post_date_icon',array( 575 'label' => __('Change Date Icon','amusement-park'), 576 'transport' => 'refresh', 577 'section' => 'amusement_park_single_blog_option', 578 'type' => 'amusement-park-icon' 579 ))); 580 581 $wp_customize->add_setting('amusement_park_single_post_author_icon',array( 582 'default' => 'fas fa-user', 583 'sanitize_callback' => 'sanitize_text_field' 584 )); 585 $wp_customize->add_control(new Amusement_Park_Icon_Changer( 586 $wp_customize,'amusement_park_single_post_author_icon',array( 587 'label' => __('Change Author Icon','amusement-park'), 588 'transport' => 'refresh', 589 'section' => 'amusement_park_single_blog_option', 590 'type' => 'amusement-park-icon' 591 ))); 592 593 $wp_customize->add_setting('amusement_park_single_post_comment_icon',array( 594 'default' => 'fas fa-comments', 595 'sanitize_callback' => 'sanitize_text_field' 596 )); 597 $wp_customize->add_control(new Amusement_Park_Icon_Changer( 598 $wp_customize,'amusement_park_single_post_comment_icon',array( 599 'label' => __('Change Comment Icon','amusement-park'), 600 'transport' => 'refresh', 601 'section' => 'amusement_park_single_blog_option', 602 'type' => 'amusement-park-icon' 603 ))); 604 605 $wp_customize->add_setting('amusement_park_single_post_category_icon',array( 606 'default' => 'fas fa-list', 607 'sanitize_callback' => 'sanitize_text_field' 608 )); 609 $wp_customize->add_control(new Amusement_Park_Icon_Changer( 610 $wp_customize,'amusement_park_single_post_category_icon',array( 611 'label' => __('Change Category Icon','amusement-park'), 612 'transport' => 'refresh', 613 'section' => 'amusement_park_single_blog_option', 614 'type' => 'amusement-park-icon' 615 ))); 616 617 $wp_customize->add_setting('amusement_park_single_post_time_icon',array( 618 'default' => 'fas fa-clock', 619 'sanitize_callback' => 'sanitize_text_field' 620 )); 621 $wp_customize->add_control(new Amusement_Park_Icon_Changer( 622 $wp_customize,'amusement_park_single_post_time_icon',array( 623 'label' => __('Change Time Icon','amusement-park'), 624 'transport' => 'refresh', 625 'section' => 'amusement_park_single_blog_option', 626 'type' => 'amusement-park-icon' 627 ))); 628 544 629 //MENU TYPOGRAPHY 545 630 $wp_customize->add_section( 'amusement_park_menu_typography', array( -
amusement-park/2.9/readme.txt
r294239 r299243 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 2. 77 Stable tag: 2.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 159 159 * Changed get started css. 160 160 161 = 2.8 = 162 * Resolved theme css errors. 163 164 = 2.9 = 165 * Added post meta order option for single post display. 166 * Added option to customize the date icon in single posts. 167 * Added option to customize the author icon in single posts. 168 * Added option to customize the comment icon in single posts. 169 * Added option to customize the category icon in single posts. 170 * Added option to customize the time icon in single posts. 171 161 172 == Resources == 162 173 -
amusement-park/2.9/style.css
r294239 r299243 5 5 Author URI: https://www.themespride.com/ 6 6 Description: Amusement Park is the perfect WordPress theme for showcasing your theme park, funfair, or family entertainment center. Designed with vibrant visuals and user-friendly features, it highlights the excitement and adventure of your attractions like roller coasters, ferris wheels, and merry-go-rounds. Whether you manage a water park, carnival, or amusement center, Water slides, Family entertainment center, Amusement rides, Funfair games, Roller coasters, Wave pool, Indoor water park this theme captures the joy and thrill rides that visitors love. Imagine a website that brings the adrenaline rush of your amusement park to life online. With dedicated sections for each attraction, from thrilling adventure rides to the relaxing picnic spots, it’s easy for visitors to explore what your park offers. The theme’s layout emphasizes family fun, leisure activities, and recreational pursuits, making it a delightful experience for users. One of the standout features is the focus on family entertainment and fun activities. Parents can find information about the kids’ zone, interactive experiences, and play areas, ensuring there’s something for everyone. The theme’s design promotes enjoyment, amusement, and a joyful atmosphere, reflecting the essence of your entertainment venue. Moreover, the Amusement Park WordPress Theme supports easy navigation and detailed descriptions of rides and attractions. It’s perfect for highlighting your park’s unique features like carnival games, entertainment complexes, and leisure centers. 7 Version: 2. 77 Version: 2.9 8 8 Tested up to: 6.8 9 9 Requires PHP: 5.6 -
amusement-park/2.9/template-parts/post/single-post.php
r278276 r299243 11 11 <div class="box-info"> 12 12 <?php 13 $amusement_park_blog_archive_ordering = get_theme_mod(' blog_meta_order', array('date', 'author', 'comment', 'category'));13 $amusement_park_blog_archive_ordering = get_theme_mod('amusement_park_single_blog_meta_order', array('date', 'author', 'comment', 'category')); 14 14 15 15 foreach ($amusement_park_blog_archive_ordering as $amusement_park_blog_data_order) : 16 16 if ('date' === $amusement_park_blog_data_order) : ?> 17 <i class=" far fa-calendar-alt mb-1 me-2"></i>17 <i class="<?php echo esc_attr(get_theme_mod('amusement_park_single_post_date_icon','far fa-calendar-alt mb-1 me-2')); ?>"></i> 18 18 <span class="entry-date me-3"><?php echo get_the_date('j F, Y'); ?></span> 19 19 <?php elseif ('author' === $amusement_park_blog_data_order) : ?> 20 <i class=" fas fa-user mb-1 me-2"></i>20 <i class="<?php echo esc_attr(get_theme_mod('amusement_park_single_post_author_icon','fas fa-user mb-1 me-2')); ?>"></i> 21 21 <span class="entry-author me-3"><?php the_author(); ?></span> 22 22 <?php elseif ('comment' === $amusement_park_blog_data_order) : ?> 23 <i class=" fas fa-comments mb-1 me-2"></i>23 <i class="<?php echo esc_attr(get_theme_mod('amusement_park_single_post_comment_icon','fas fa-comments mb-1 me-2')); ?>"></i> 24 24 <span class="entry-comments me-3"><?php comments_number(__('0 Comments', 'amusement-park'), __('0 Comments', 'amusement-park'), __('% Comments', 'amusement-park')); ?></span> 25 25 <?php elseif ('category' === $amusement_park_blog_data_order) : ?> 26 <i class=" fas fa-list mb-1 me-2"></i>26 <i class="<?php echo esc_attr(get_theme_mod('amusement_park_single_post_category_icon','fas fa-list mb-1 me-2')); ?>"></i> 27 27 <span class="entry-category me-3"><?php amusement_park_display_post_category_count(); ?></span> 28 28 <?php elseif ('time' === $amusement_park_blog_data_order) : ?> 29 <i class=" fas fa-clock mb-1 me-2"></i>29 <i class="<?php echo esc_attr(get_theme_mod('amusement_park_single_post_time_icon','fas fa-clock mb-1 me-2')); ?>"></i> 30 30 <span class="entry-time me-3"><?php echo get_the_time('g:i a'); ?></span> 31 31
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)