Make WordPress Themes

Changeset 299243


Ignore:
Timestamp:
11/19/2025 01:01:06 PM (11 months ago)
Author:
themedropbox
Message:

New version of Amusement Park - 2.9

Location:
amusement-park/2.9
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • amusement-park/2.9/inc/customizer.php

    r285414 r299243  
    542542        ) );
    543543
     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
    544629         //MENU TYPOGRAPHY
    545630        $wp_customize->add_section( 'amusement_park_menu_typography', array(
  • amusement-park/2.9/readme.txt

    r294239 r299243  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 2.7
     7Stable tag: 2.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    159159    * Changed get started css.
    160160
     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         
    161172== Resources ==
    162173
  • amusement-park/2.9/style.css

    r294239 r299243  
    55Author URI: https://www.themespride.com/
    66Description: 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.7
     7Version: 2.9
    88Tested up to: 6.8
    99Requires PHP: 5.6
  • amusement-park/2.9/template-parts/post/single-post.php

    r278276 r299243  
    1111    <div class="box-info">
    1212        <?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'));
    1414
    1515        foreach ($amusement_park_blog_archive_ordering as $amusement_park_blog_data_order) :
    1616            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>
    1818                <span class="entry-date me-3"><?php echo get_the_date('j F, Y'); ?></span>
    1919            <?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>
    2121                <span class="entry-author me-3"><?php the_author(); ?></span>
    2222            <?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>
    2424                <span class="entry-comments me-3"><?php comments_number(__('0 Comments', 'amusement-park'), __('0 Comments', 'amusement-park'), __('% Comments', 'amusement-park')); ?></span>
    2525            <?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>
    2727                <span class="entry-category me-3"><?php amusement_park_display_post_category_count(); ?></span>
    2828            <?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>
    3030                <span class="entry-time me-3"><?php echo get_the_time('g:i a'); ?></span>
    3131
Note: See TracChangeset for help on using the changeset viewer.