Plugin Directory

Changeset 2707910


Ignore:
Timestamp:
04/11/2022 09:12:36 AM (4 years ago)
Author:
unibirdtech
Message:

Updates & Fixes (corposet)

Location:
pluglab/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • pluglab/trunk/includes/theme/corposet/class-pl-theme-corposet-customizer.php

    r2706791 r2707910  
    3232            'homepage_template_settings',
    3333            array(
    34                 'title'       => __( 'Homepage Sections Setting' ),
     34                'title'       => __( 'Homepage Template' ),
    3535                'description' => 'Template sections setting to manage like hide/show, etc.', // Include html tags such as <p>.
    3636//              'priority'    => 1, // Mixed with top-level-section hierarchy.
     
    4040            'corposet_template_settings',
    4141            array(
    42                 'title'       => __( 'Template Settings', 'corposet' ),
     42                'title'       => __( 'Other Templates', 'corposet' ),
    4343                // 'description' => 'Template sections setting to manage like hide/show, etc.', // Include html tags such as <p>.
    4444                // 'priority'    => 50,
     
    7878
    7979        $wp_customize->add_section(
     80            'service_section',
     81            array(
     82                'title'       => __( 'Service', 'pluglab' ),
     83                'description' => esc_html__( 'Manage service section', 'pluglab' ),
     84                'panel'       => 'homepage_template_settings',
     85            )
     86        );
     87
     88        $wp_customize->add_section(
    8089                        'portfolio_section',
    8190                        array(
     
    8796
    8897        $wp_customize->add_section(
    89             'service_section',
    90             array(
    91                 'title'       => __( 'Service', 'pluglab' ),
    92                 'description' => esc_html__( 'Manage service section', 'pluglab' ),
    93                 'panel'       => 'homepage_template_settings',
    94             )
    95         );
    96 
    97        
    98 
    99         $wp_customize->add_section(
    10098            'cta_section',
    10199            array(
     
    259257            'top_phone_icon',
    260258            array(
    261                 'default'           => 'fa-send-o',
     259                'default'           => 'fa-phone',
    262260                'sanitize_callback' => 'sanitize_text_field',
    263261                'capability'        => 'edit_theme_options',
  • pluglab/trunk/includes/theme/corposet/class-pl-theme-corposet-layout.php

    r2706791 r2707910  
    88    }
    99
    10     public function top_header() {
     10    public function top_header($width='container') {
    1111        if (
    1212            (bool) get_theme_mod( 'hide_show_top_details', '1' )
     
    1616
    1717            <div class="topbar">
    18                 <div class="container">
     18            <div class="<?php echo (!$width) ? 'container' : $width; ?>">
    1919                    <div class="row align-items-center">
    2020                        <div class="col-md-6">
     
    8181            $slider_content     = json_decode( $slider_content_raw );
    8282            ?>
    83             <div class="sliderhome owl-carousel owl-theme">
     83            <div class="sliderhome owl-carousel owl-theme" id="slider-section">
    8484                <?php
    8585                foreach ( $slider_content as $item ) {
     
    154154            ?>
    155155
    156             <div class="container section features  tp-80 mb-40">
     156            <div class="container section features  tp-80 mb-40" id="callout-section">
    157157                <div class="row align-items-center">
    158158                    <div class="col-lg-4 col-md-6 col-sm-6 ">
     
    225225            ?>
    226226
    227             <section class="section testimonials">
     227            <section class="section testimonials" id="testimonial-section">
    228228                <div class="container">
    229229                    <div class="section-heading text-center">
     
    287287            ?>
    288288            <!--section blog-->
    289             <div class="section bg-grey blog-home">
     289            <div class="section bg-grey blog-home" id="blog-section">
    290290                <div class="container">
    291291                    <div class="section-heading text-center">
  • pluglab/trunk/includes/theme/corposet/class-pl-theme-corposet-load.php

    r2650753 r2707910  
    4646         * LayOut
    4747         */
    48         add_action( 'corposet_header_layouts', array( $this, 'top_header' ), 1 );
     48        add_action( 'corposet_header_layouts', array( $this, 'top_header' ), 1 , 1 );
    4949        add_action( 'corposet_hometemplate_layouts', array( $this, 'slider' ), 2 );
    5050        add_action('corposet_hometemplate_layouts', [$this, 'callout'], 3);
  • pluglab/trunk/includes/theme/corposet/class-pl-theme-corposet-portfolio-section.php

    r2648171 r2707910  
    5454?>
    5555
    56         <div class="section bg-grey project-section">
     56        <div class="section bg-grey project-section" id="portfolio-section">
    5757            <div class='container'>
    5858                <?php
  • pluglab/trunk/includes/theme/corposet/class-pl-theme-corposet-service-section.php

    r2648171 r2707910  
    4646        ?>
    4747
    48         <section class="section services bg-size-cover" style="background-image: url(<?php echo $service_bg; ?>);">
     48        <section class="section services bg-size-cover" style="background-image: url(<?php echo $service_bg; ?>);" id="service-section">
    4949            <div class="container">
    5050                <div class="section-heading text-center">
  • pluglab/trunk/includes/theme/corposet/class-pl-theme-corposet-slider.php

    r2648171 r2707910  
    2424        $slider_content_raw = get_theme_mod( 'slider_repeater', slider_default_json() );
    2525        $slider_content     = json_decode( $slider_content_raw );
    26         ?><div class="sliderhome owl-carousel owl-theme wow fadeInUpBig" data-wow-delay="0ms" data-wow-duration="1500ms">
     26        ?><div class="sliderhome owl-carousel owl-theme wow fadeInUpBig" data-wow-delay="0ms" data-wow-duration="1500ms" id="slider-section">
    2727        <?php
    2828        foreach ( $slider_content as $item ) {
  • pluglab/trunk/includes/theme/corposet/pl-default-functions.php

    r2648171 r2707910  
    88                array(
    99                    'image_url'                  => PL_PLUGIN_URL . 'assets/images/corposet/slide1.jpg',
    10                     'title'                      => __( 'Exceeding Your Expectations', 'pluglab' ),
    11                     'subtitle'                   => __( 'Business we operate in is like an intricate game of strategy and chess, where every move counts and you keep score with money', 'pluglab' ),
     10                    'title'                      => __( 'Lorem Ipsum', 'pluglab' ),
     11                    'subtitle'                   => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer aliquet venenatis sagittis.', 'pluglab' ),
    1212                    'text'                       => 'Curabitur',
    1313                    'text2' => 'Phasellus',
     
    1919                array(
    2020                    'image_url'  => PL_PLUGIN_URL . 'assets/images/corposet/slide2.jpg',
    21                     'title'      => __( 'Future Is Bright In Corporet', 'pluglab' ),
     21                    'title'      => __( 'Lorem Ipsum Lorem Ipsum', 'pluglab' ),
    2222                    'subtitle'   => __( 'Business we operate in is like an intricate game of strategy and chess, where every move counts and you keep score with money.', 'pluglab' ),
    2323                    'text'       => 'Curabitur',
     
    3030                array(
    3131                    'image_url'  => PL_PLUGIN_URL . 'assets/images/corposet/slide3.jpg',
    32                     'title'      => __( 'A collection of textile samples', 'pluglab' ),
    33                     'subtitle'   => __( 'He lay on his armour-like back, and if he lifted his head a little he could see his brown belly.', 'pluglab' ),
     32                    'title'      => __( 'Lorem Ipsum', 'pluglab' ),
     33                    'subtitle'   => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer aliquet venenatis sagittis.', 'pluglab' ),
    3434                    'text'       => 'Curabitur',
    3535                    'text2' => 'Phasellus',
  • pluglab/trunk/pluglab.php

    r2706791 r2707910  
    55  Plugin URI:
    66  Description: Pluglab contain all features which are required to create a complete website. Main motive behind this plugin is to boost up functionality of Unibird themes.
    7   Version: 0.2.0
     7  Version: 0.2.1
    88  Author: UnibirdTech
    99  Text Domain: pluglab
     
    1313
    1414if ( ! defined( 'PL_PLUGIN_VERSION' ) ) {
    15     define( 'PL_PLUGIN_VERSION', '0.2.0' );
     15    define( 'PL_PLUGIN_VERSION', '0.2.1' );
    1616}
    1717
  • pluglab/trunk/readme.txt

    r2706791 r2707910  
    44Tags: customizer, logo,header, Testimonial, callout, service
    55Tested up to: 5.8.1
    6 Stable tag: 0.2.0
     6Stable tag: 0.2.1
    77License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
    88
     
    8585* Added Bizstrait layouts
    8686* Other fixes
     87
     88= 0.2.1 =
     89* Updates & Fixes (corposet)
Note: See TracChangeset for help on using the changeset viewer.