Make WordPress Themes

Changeset 267178


Ignore:
Timestamp:
04/12/2025 08:52:34 AM (8 months ago)
Author:
themedropbox
Message:

New version of Pest Control Services - 0.3.2

Location:
pest-control-services/0.3.2
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pest-control-services/0.3.2/custom-option.php

    r260096 r267178  
    272272        $pest_control_services_theme_css .='}';
    273273    }
     274
     275    /*------------------ Footer CSS -------------------*/
     276    $pest_control_services_footer_bg_color = get_theme_mod( 'pest_control_services_footer_bg_color');
     277    if($pest_control_services_footer_bg_color != '' ){
     278        $pest_control_services_theme_css .='#colophon {';
     279            $pest_control_services_theme_css .='background-color: '.esc_attr($pest_control_services_footer_bg_color).'; ';
     280        $pest_control_services_theme_css .='}';
     281    }
     282
     283    $pest_control_services_footer_content_color = get_theme_mod( 'pest_control_services_footer_content_color');
     284    if($pest_control_services_footer_content_color != ''){
     285        $pest_control_services_theme_css .='#colophon, #colophon a, #colophon h5, #colophon .widget #wp-calendar caption {';
     286            $pest_control_services_theme_css .='color: '.esc_attr($pest_control_services_footer_content_color).';';
     287        $pest_control_services_theme_css .='}';
     288    }
     289
     290    /*------------------ Copyright CSS -------------------*/
     291    $pest_control_services_copyright_text_color = get_theme_mod( 'pest_control_services_copyright_text_color');
     292    if($pest_control_services_copyright_text_color != ''){
     293        $pest_control_services_theme_css .='#colophon .site-info a, #colophon .site-info span {';
     294            $pest_control_services_theme_css .='color: '.esc_attr($pest_control_services_copyright_text_color).';';
     295        $pest_control_services_theme_css .='}';
     296    }
  • pest-control-services/0.3.2/inc/customizer.php

    r263387 r267178  
    99
    1010if ( ! defined( 'PEST_CONTROL_SERVICES_URL' ) ) {
    11     define( 'PEST_CONTROL_SERVICES_URL', esc_url( 'https://www.themagnifico.net/products/pest-control-wordpress-theme/', 'pest-control-services') );
     11    define( 'PEST_CONTROL_SERVICES_URL', esc_url( 'https://www.themagnifico.net/products/pest-control-wordpress-theme', 'pest-control-services') );
    1212}
    1313if ( ! defined( 'PEST_CONTROL_SERVICES_TEXT' ) ) {
     
    11401140        )
    11411141    ));
     1142
     1143    // Page Settings
     1144    $wp_customize->add_section('pest_control_services_page_settings',array(
     1145        'title' => esc_html__('Page Settings','pest-control-services'),
     1146        'priority' => 40,
     1147    ));
     1148
     1149    $wp_customize->add_setting( 'pest_control_services_single_page_sidebar_layout', array(
     1150        'default'           => 'No Sidebar',
     1151        'sanitize_callback' => 'pest_control_services_sanitize_choices'
     1152    ));
     1153    $wp_customize->add_control( 'pest_control_services_single_page_sidebar_layout', array(
     1154        'section' => 'pest_control_services_page_settings',
     1155        'type' => 'select',
     1156        'label' => __( 'Single Page Sidebar Position', 'pest-control-services' ),
     1157        'choices' => array(
     1158            'No Sidebar' => __( 'No Sidebar', 'pest-control-services' ),
     1159            'Right Side' => __( 'Right Side', 'pest-control-services' ),
     1160            'Left Side' => __( 'Left Side', 'pest-control-services' ),
     1161        )
     1162    ));
    11421163   
    11431164    // Footer
     
    11691190        'section'=> 'pest_control_services_site_footer_section',
    11701191    ));
     1192
     1193    $wp_customize->add_setting( 'pest_control_services_footer_bg_color', array(
     1194        'default' => '',
     1195        'sanitize_callback' => 'sanitize_hex_color'
     1196    ));
     1197    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'pest_control_services_footer_bg_color', array(
     1198        'label' => __('Footer Background Color', 'pest-control-services'),
     1199        'section' => 'pest_control_services_site_footer_section',
     1200        'settings' => 'pest_control_services_footer_bg_color',
     1201    )));
     1202
     1203    $wp_customize->add_setting( 'pest_control_services_footer_content_color', array(
     1204        'default' => '',
     1205        'sanitize_callback' => 'sanitize_hex_color'
     1206    ));
     1207    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'pest_control_services_footer_content_color', array(
     1208        'label' => __('Footer Content Color', 'pest-control-services'),
     1209        'section' => 'pest_control_services_site_footer_section',
     1210        'settings' => 'pest_control_services_footer_content_color',
     1211    )));
    11711212
    11721213    $wp_customize->add_setting('pest_control_services_footer_widget_heading_alignment',array(
     
    12261267        ),
    12271268    ) );
     1269
     1270    $wp_customize->add_setting( 'pest_control_services_copyright_text_color', array(
     1271        'default' => '',
     1272        'sanitize_callback' => 'sanitize_hex_color'
     1273    ));
     1274    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'pest_control_services_copyright_text_color', array(
     1275        'label' => __('Copyright Text Color', 'pest-control-services'),
     1276        'section' => 'pest_control_services_site_footer_section',
     1277        'settings' => 'pest_control_services_copyright_text_color',
     1278    )));
    12281279
    12291280    // Pro Version
  • pest-control-services/0.3.2/languages/pest-control-services.pot

    r263387 r267178  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Pest Control Services 0.3.1\n"
     5"Project-Id-Version: Pest Control Services 0.3.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/pest-control-services\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-03-09T06:24:02+05:30\n"
     12"POT-Creation-Date: 2025-04-11T18:15:26+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    2222#. Theme URI of the theme
    2323#: style.css
    24 msgid "https://www.themagnifico.net/products/free-pest-control-wordpress-theme/"
     24msgid "https://www.themagnifico.net/products/free-pest-control-wordpress-theme"
    2525msgstr ""
    2626
     
    127127msgstr ""
    128128
    129 #: functions.php:364
     129#: functions.php:369
    130130msgid "https://wordpress.org/support/theme/pest-control-services/"
    131131msgstr ""
    132132
    133 #: functions.php:367
     133#: functions.php:372
    134134msgid "https://wordpress.org/support/theme/pest-control-services/reviews/"
    135135msgstr ""
    136136
    137 #: functions.php:370
     137#: functions.php:375
    138138msgid "https://demo.themagnifico.net/pest-control-services/"
    139139msgstr ""
    140140
    141 #: functions.php:373
     141#: functions.php:378
    142142msgid "https://www.themagnifico.net/products/pest-control-wordpress-theme"
    143143msgstr ""
    144144
    145 #: functions.php:376
     145#: functions.php:381
    146146msgid "https://demo.themagnifico.net/eard/wathiqa/pest-control-services-pro-doc/"
    147147msgstr ""
    148148
    149 #: functions.php:379
     149#: functions.php:384
    150150msgid "https://demo.themagnifico.net/eard/wathiqa/pest-control-services-free-doc/"
    151151msgstr ""
    152152
    153 #: functions.php:387
     153#: functions.php:392
    154154msgid "Theme Options"
    155155msgstr ""
    156156
    157 #: functions.php:387
     157#: functions.php:392
    158158msgid " Theme Options"
    159159msgstr ""
    160160
    161 #: functions.php:397
     161#: functions.php:402
    162162msgid "Welcome To "
    163163msgstr ""
    164164
    165 #: functions.php:402
    166 #: functions.php:405
     165#: functions.php:407
     166#: functions.php:410
    167167msgid "Contact Support"
    168168msgstr ""
    169169
    170 #: functions.php:403
     170#: functions.php:408
    171171msgid "Thank you for trying Pest Control Services , feel free to contact us for any support regarding our theme."
    172172msgstr ""
    173173
    174 #: functions.php:411
     174#: functions.php:416
    175175msgid "Checkout Premium"
    176176msgstr ""
    177177
    178 #: functions.php:412
     178#: functions.php:417
    179179msgid "Our premium theme comes with extended features like demo content import , responsive layouts etc."
    180180msgstr ""
    181181
    182 #: functions.php:414
     182#: functions.php:419
    183183msgid "Get Premium"
    184184msgstr ""
    185185
    186 #: functions.php:420
    187 #: functions.php:423
     186#: functions.php:425
     187#: functions.php:428
    188188msgid "Review"
    189189msgstr ""
    190190
    191 #: functions.php:421
     191#: functions.php:426
    192192msgid "If You love Pest Control Services theme then we would appreciate your review about our theme."
    193193msgstr ""
    194194
    195 #: functions.php:430
    196 #: functions.php:433
     195#: functions.php:435
     196#: functions.php:438
    197197msgid "Free Documentation"
    198198msgstr ""
    199199
    200 #: functions.php:431
     200#: functions.php:436
    201201msgid "Our guide is available if you require any help configuring and setting up the theme. Easy and quick way to setup the theme."
    202202msgstr ""
    203203
    204 #: functions.php:441
     204#: functions.php:446
    205205msgid "Free Vs Premium"
    206206msgstr ""
    207207
    208 #: functions.php:444
     208#: functions.php:449
    209209msgid "Checkout Documentation"
    210210msgstr ""
    211211
    212 #: functions.php:447
     212#: functions.php:452
    213213msgid "View Theme Demo"
    214214msgstr ""
    215215
    216 #: functions.php:455
     216#: functions.php:460
    217217msgid "Theme Feature"
    218218msgstr ""
    219219
    220 #: functions.php:456
     220#: functions.php:461
    221221msgid "Basic Version"
    222222msgstr ""
    223223
    224 #: functions.php:457
     224#: functions.php:462
    225225msgid "Premium Version"
    226226msgstr ""
    227227
    228 #: functions.php:463
     228#: functions.php:468
    229229msgid "Header Background Color"
    230230msgstr ""
    231231
    232 #: functions.php:468
     232#: functions.php:473
    233233msgid "Custom Navigation Logo Or Text"
    234234msgstr ""
    235235
    236 #: functions.php:473
     236#: functions.php:478
    237237msgid "Hide Logo Text"
    238238msgstr ""
    239239
    240 #: functions.php:479
     240#: functions.php:484
    241241msgid "Premium Support"
    242242msgstr ""
    243243
    244 #: functions.php:484
     244#: functions.php:489
    245245msgid "Fully SEO Optimized"
    246246msgstr ""
    247247
    248 #: functions.php:489
     248#: functions.php:494
    249249msgid "Recent Posts Widget"
    250250msgstr ""
    251251
    252 #: functions.php:495
     252#: functions.php:500
    253253msgid "Easy Google Fonts"
    254254msgstr ""
    255255
    256 #: functions.php:500
     256#: functions.php:505
    257257msgid "Pagespeed Plugin"
    258258msgstr ""
    259259
    260 #: functions.php:505
     260#: functions.php:510
    261261msgid "Only Show Header Image On Front Page"
    262262msgstr ""
    263263
    264 #: functions.php:510
     264#: functions.php:515
    265265msgid "Show Header Everywhere"
    266266msgstr ""
    267267
    268 #: functions.php:515
     268#: functions.php:520
    269269msgid "Custom Text On Header Image"
    270270msgstr ""
    271271
    272 #: functions.php:520
     272#: functions.php:525
    273273msgid "Full Width (Hide Sidebar)"
    274274msgstr ""
    275275
    276 #: functions.php:525
     276#: functions.php:530
    277277msgid "Only Show Upper Widgets On Front Page"
    278278msgstr ""
    279279
    280 #: functions.php:530
     280#: functions.php:535
    281281msgid "Replace Copyright Text"
    282282msgstr ""
    283283
    284 #: functions.php:535
     284#: functions.php:540
    285285msgid "Customize Upper Widgets Colors"
    286286msgstr ""
    287287
    288 #: functions.php:540
     288#: functions.php:545
    289289msgid "Customize Navigation Color"
    290290msgstr ""
    291291
    292 #: functions.php:545
     292#: functions.php:550
    293293msgid "Customize Post/Page Color"
    294294msgstr ""
    295295
    296 #: functions.php:550
     296#: functions.php:555
    297297msgid "Customize Blog Feed Color"
    298298msgstr ""
    299299
    300 #: functions.php:555
     300#: functions.php:560
    301301msgid "Customize Footer Color"
    302302msgstr ""
    303303
    304 #: functions.php:560
     304#: functions.php:565
    305305msgid "Customize Sidebar Color"
    306306msgstr ""
    307307
    308 #: functions.php:565
     308#: functions.php:570
    309309msgid "Customize Background Color"
    310310msgstr ""
    311311
    312 #: functions.php:570
     312#: functions.php:575
    313313msgid "Importable Demo Content\t"
    314314msgstr ""
    315315
    316 #: functions.php:578
     316#: functions.php:583
    317317msgid "Go Premium"
    318318msgstr ""
    319319
    320 #: functions.php:606
     320#: functions.php:611
    321321msgid "Thank You For Choosing "
    322322msgstr ""
    323323
    324 #: functions.php:607
     324#: functions.php:612
    325325msgid "Get Started With Theme By Clicking On Getting Started."
    326326msgstr ""
    327327
    328 #: functions.php:608
     328#: functions.php:613
    329329msgid "Get started"
    330330msgstr ""
    331331
    332 #: functions.php:609
     332#: functions.php:614
    333333msgid "Documentation"
    334334msgstr ""
    335335
    336 #: functions.php:612
     336#: functions.php:617
    337337msgid "View Demo"
    338338msgstr ""
     
    778778#: inc/customizer.php:831
    779779#: inc/customizer.php:961
    780 #: inc/customizer.php:1236
     780#: inc/customizer.php:1287
    781781msgid "Customizer Options"
    782782msgstr ""
     
    884884
    885885#: inc/customizer.php:434
    886 #: inc/customizer.php:1184
    887 #: inc/customizer.php:1200
    888886#: inc/customizer.php:1225
     887#: inc/customizer.php:1241
     888#: inc/customizer.php:1266
    889889msgid "Right"
    890890msgstr ""
    891891
    892892#: inc/customizer.php:435
    893 #: inc/customizer.php:1182
    894 #: inc/customizer.php:1198
    895893#: inc/customizer.php:1223
     894#: inc/customizer.php:1239
     895#: inc/customizer.php:1264
    896896msgid "Left"
    897897msgstr ""
    898898
    899899#: inc/customizer.php:436
    900 #: inc/customizer.php:1183
    901 #: inc/customizer.php:1199
    902900#: inc/customizer.php:1224
     901#: inc/customizer.php:1240
     902#: inc/customizer.php:1265
    903903msgid "Center"
    904904msgstr ""
     
    11801180#: inc/customizer.php:1069
    11811181#: inc/customizer.php:1138
     1182#: inc/customizer.php:1159
    11821183msgid "Right Side"
    11831184msgstr ""
     
    11851186#: inc/customizer.php:1070
    11861187#: inc/customizer.php:1139
     1188#: inc/customizer.php:1160
    11871189msgid "Left Side"
    11881190msgstr ""
     
    12141216
    12151217#: inc/customizer.php:1145
     1218msgid "Page Settings"
     1219msgstr ""
     1220
     1221#: inc/customizer.php:1156
     1222msgid "Single Page Sidebar Position"
     1223msgstr ""
     1224
     1225#: inc/customizer.php:1158
     1226msgid "No Sidebar"
     1227msgstr ""
     1228
     1229#: inc/customizer.php:1166
    12161230msgid "Footer"
    12171231msgstr ""
    12181232
    1219 #: inc/customizer.php:1153
     1233#: inc/customizer.php:1174
    12201234msgid "Footer Background Image"
    12211235msgstr ""
    12221236
    1223 #: inc/customizer.php:1164
     1237#: inc/customizer.php:1185
    12241238msgid "Footer Background Image Position"
    12251239msgstr ""
    12261240
    1227 #: inc/customizer.php:1166
     1241#: inc/customizer.php:1187
    12281242msgid "fixed"
    12291243msgstr ""
    12301244
    1231 #: inc/customizer.php:1167
     1245#: inc/customizer.php:1188
    12321246msgid "scroll"
    12331247msgstr ""
    12341248
    1235 #: inc/customizer.php:1179
     1249#: inc/customizer.php:1198
     1250msgid "Footer Background Color"
     1251msgstr ""
     1252
     1253#: inc/customizer.php:1208
     1254msgid "Footer Content Color"
     1255msgstr ""
     1256
     1257#: inc/customizer.php:1220
    12361258msgid "Footer Widget Heading Alignment"
    12371259msgstr ""
    12381260
    1239 #: inc/customizer.php:1195
     1261#: inc/customizer.php:1236
    12401262msgid "Footer Widget Content Alignment"
    12411263msgstr ""
    12421264
    1243 #: inc/customizer.php:1208
     1265#: inc/customizer.php:1249
    12441266msgid "Replace the footer text"
    12451267msgstr ""
    12461268
    1247 #: inc/customizer.php:1220
     1269#: inc/customizer.php:1261
    12481270msgid "Copyright Content Alignment"
     1271msgstr ""
     1272
     1273#: inc/customizer.php:1275
     1274msgid "Copyright Text Color"
    12491275msgstr ""
    12501276
  • pest-control-services/0.3.2/page.php

    r223241 r267178  
    1616
    1717    <div id="skip-content" class="container">
    18         <div id="primary" class="content-area">
    19             <main id="main" class="site-main module-border-wrap mb-4">
    20                 <?php
    21                 while (have_posts()) : the_post();
     18        <div class="row">
     19            <?php if (get_theme_mod('pest_control_services_single_page_sidebar_layout','No Sidebar') == 'Left Side'){?>
     20                <?php get_sidebar(); ?>
     21            <?php }?>
     22            <div id="primary" class="content-area <?php if (get_theme_mod('pest_control_services_single_page_sidebar_layout','No Sidebar') == 'Left Side' || get_theme_mod('pest_control_services_single_page_sidebar_layout','No Sidebar') == 'Right Side'){?> col-lg-9 col-md-8 <?php }?>">
     23                <main id="main" class="site-main module-border-wrap mb-4">
     24                    <?php
     25                    while (have_posts()) : the_post();
    2226
    23                     get_template_part('template-parts/content', 'page');
     27                        get_template_part('template-parts/content', 'page');
    2428
    25                     // If comments are open or we have at least one comment, load up the comment template.
    26                     if (comments_open() || get_comments_number()) :
    27                         comments_template();
    28                     endif;
     29                        // If comments are open or we have at least one comment, load up the comment template.
     30                        if (comments_open() || get_comments_number()) :
     31                            comments_template();
     32                        endif;
    2933
    30                 endwhile; // End of the loop.
    31                 ?>
    32             </main>
     34                    endwhile; // End of the loop.
     35                    ?>
     36                </main>
     37            </div>
     38            <?php if (get_theme_mod('pest_control_services_single_page_sidebar_layout','No Sidebar') == 'Right Side'){?>
     39                <?php get_sidebar(); ?>
     40            <?php }?>
    3341        </div>
    3442    </div>
  • pest-control-services/0.3.2/readme.txt

    r263387 r267178  
    44Tested up to: 6.6
    55Requires PHP: 7.2
    6 Stable tag: 0.3.1
     6Stable tag: 0.3.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    207207* Added show/hide single post tag option in customizer.
    208208* Updated POT file.
     209
     210= 0.3.2
     211
     212* Added footer background color option in customizer.
     213* Added footer content color option in customizer.
     214* Added copyright text color option in customizer.
     215* Added single page sidebar layout option in customizer.
     216* Updated POT file.
  • pest-control-services/0.3.2/style.css

    r263387 r267178  
    33Theme Name: Pest Control Services
    44Author: TheMagnifico52
    5 Theme URI: https://www.themagnifico.net/products/free-pest-control-wordpress-theme/
     5Theme URI: https://www.themagnifico.net/products/free-pest-control-wordpress-theme
    66Author URI: https://www.themagnifico.net/
    77Description: Pest Control Services is a specialized WordPress theme designed specifically for pest control companies, exterminators, and related service providers in the pest control industry. With a clean and professional design, this theme provides an excellent platform to showcase pest control services, highlight expertise, and attract potential customers seeking solutions to pest-related issues, such as bed bugs, bees, cockroaches, rodents, termites, and wildlife. The theme features a user-friendly interface with seamless navigation, making it easy for visitors to access information about pest control services, schedule appointments, or contact the company. Its intuitive layout ensures a positive user experience. Equipped with various customization options, the Pest Control Services WordPress Theme allows businesses to tailor their website to match their brand identity. Customizable color schemes, font choices, and layout options offer flexibility to create a website that reflects the unique personality of the business, whether it focuses on domestic pest control, commercial pest control, or specialized pest services like extermination and pest protection. Optimized for performance and search engine visibility, this theme ensures that the website ranks well in search engine results and attracts organic traffic. With fast loading times and a responsive design, it delivers a seamless experience across all devices, including desktops, tablets, and smartphones.
    8 Version: 0.3.1
     8Version: 0.3.2
    99Requires at least: 5.0
    1010Tested up to: 6.6
Note: See TracChangeset for help on using the changeset viewer.