Make WordPress Themes

Changeset 267177


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

New version of NGO Fundraiser - 0.3.5

Location:
ngo-fundraiser/0.3.5
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ngo-fundraiser/0.3.5/custom-option.php

    r260098 r267177  
    282282        $ngo_fundraiser_theme_css .='}';
    283283    }
     284
     285    /*------------------ Footer CSS -------------------*/
     286    $ngo_fundraiser_footer_bg_color = get_theme_mod( 'ngo_fundraiser_footer_bg_color');
     287    if($ngo_fundraiser_footer_bg_color != '' ){
     288        $ngo_fundraiser_theme_css .='#colophon {';
     289            $ngo_fundraiser_theme_css .='background-color: '.esc_attr($ngo_fundraiser_footer_bg_color).'; ';
     290        $ngo_fundraiser_theme_css .='}';
     291    }
     292
     293    $ngo_fundraiser_footer_content_color = get_theme_mod( 'ngo_fundraiser_footer_content_color');
     294    if($ngo_fundraiser_footer_content_color != ''){
     295        $ngo_fundraiser_theme_css .='#colophon, #colophon a, #colophon h5, #colophon .widget #wp-calendar caption {';
     296            $ngo_fundraiser_theme_css .='color: '.esc_attr($ngo_fundraiser_footer_content_color).';';
     297        $ngo_fundraiser_theme_css .='}';
     298    }
     299
     300    /*------------------ Copyright CSS -------------------*/
     301    $ngo_fundraiser_copyright_text_color = get_theme_mod( 'ngo_fundraiser_copyright_text_color');
     302    if($ngo_fundraiser_copyright_text_color != ''){
     303        $ngo_fundraiser_theme_css .='#colophon .site-info a, #colophon .site-info span {';
     304            $ngo_fundraiser_theme_css .='color: '.esc_attr($ngo_fundraiser_copyright_text_color).';';
     305        $ngo_fundraiser_theme_css .='}';
     306    }
  • ngo-fundraiser/0.3.5/inc/customizer.php

    r263388 r267177  
    10951095        )
    10961096    ));
     1097
     1098    // Page Settings
     1099    $wp_customize->add_section('ngo_fundraiser_page_settings',array(
     1100        'title' => esc_html__('Page Settings','ngo-fundraiser'),
     1101        'priority' => 40,
     1102    ));
     1103
     1104    $wp_customize->add_setting( 'ngo_fundraiser_single_page_sidebar_layout', array(
     1105        'default'           => 'No Sidebar',
     1106        'sanitize_callback' => 'ngo_fundraiser_sanitize_choices'
     1107    ));
     1108    $wp_customize->add_control( 'ngo_fundraiser_single_page_sidebar_layout', array(
     1109        'section' => 'ngo_fundraiser_page_settings',
     1110        'type' => 'select',
     1111        'label' => __( 'Single Page Sidebar Position', 'ngo-fundraiser' ),
     1112        'choices' => array(
     1113            'No Sidebar' => __( 'No Sidebar', 'ngo-fundraiser' ),
     1114            'Right Side' => __( 'Right Side', 'ngo-fundraiser' ),
     1115            'Left Side' => __( 'Left Side', 'ngo-fundraiser' ),
     1116        )
     1117    ));
    10971118   
    10981119    // Footer
     
    11251146    ));
    11261147
     1148    $wp_customize->add_setting( 'ngo_fundraiser_footer_bg_color', array(
     1149        'default' => '',
     1150        'sanitize_callback' => 'sanitize_hex_color'
     1151    ));
     1152    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'ngo_fundraiser_footer_bg_color', array(
     1153        'label' => __('Footer Background Color', 'ngo-fundraiser'),
     1154        'section' => 'ngo_fundraiser_site_footer_section',
     1155        'settings' => 'ngo_fundraiser_footer_bg_color',
     1156    )));
     1157
     1158    $wp_customize->add_setting( 'ngo_fundraiser_footer_content_color', array(
     1159        'default' => '',
     1160        'sanitize_callback' => 'sanitize_hex_color'
     1161    ));
     1162    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'ngo_fundraiser_footer_content_color', array(
     1163        'label' => __('Footer Content Color', 'ngo-fundraiser'),
     1164        'section' => 'ngo_fundraiser_site_footer_section',
     1165        'settings' => 'ngo_fundraiser_footer_content_color',
     1166    )));
     1167
    11271168    $wp_customize->add_setting('ngo_fundraiser_footer_widget_heading_alignment',array(
    11281169        'default' => 'Left',
     
    11911232        ),
    11921233    ) );
     1234
     1235    $wp_customize->add_setting( 'ngo_fundraiser_copyright_text_color', array(
     1236        'default' => '',
     1237        'sanitize_callback' => 'sanitize_hex_color'
     1238    ));
     1239    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'ngo_fundraiser_copyright_text_color', array(
     1240        'label' => __('Copyright Text Color', 'ngo-fundraiser'),
     1241        'section' => 'ngo_fundraiser_site_footer_section',
     1242        'settings' => 'ngo_fundraiser_copyright_text_color',
     1243    )));
    11931244
    11941245    // Pro Version
  • ngo-fundraiser/0.3.5/languages/ngo-fundraiser.pot

    r263388 r267177  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: NGO Fundraiser 0.3.4\n"
     5"Project-Id-Version: NGO Fundraiser 0.3.5\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/ngo-fundraiser\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:40:33+05:30\n"
     12"POT-Creation-Date: 2025-04-11T19:17:35+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    823823#: inc/customizer.php:854
    824824#: inc/customizer.php:916
    825 #: inc/customizer.php:1201
     825#: inc/customizer.php:1252
    826826msgid "Customizer Options"
    827827msgstr ""
     
    965965#: inc/customizer.php:541
    966966#: inc/customizer.php:827
    967 #: inc/customizer.php:1139
    968 #: inc/customizer.php:1155
    969 #: inc/customizer.php:1190
     967#: inc/customizer.php:1180
     968#: inc/customizer.php:1196
     969#: inc/customizer.php:1231
    970970msgid "Right"
    971971msgstr ""
     
    973973#: inc/customizer.php:542
    974974#: inc/customizer.php:825
    975 #: inc/customizer.php:1137
    976 #: inc/customizer.php:1153
    977 #: inc/customizer.php:1188
     975#: inc/customizer.php:1178
     976#: inc/customizer.php:1194
     977#: inc/customizer.php:1229
    978978msgid "Left"
    979979msgstr ""
     
    981981#: inc/customizer.php:543
    982982#: inc/customizer.php:826
    983 #: inc/customizer.php:1138
    984 #: inc/customizer.php:1154
    985 #: inc/customizer.php:1189
     983#: inc/customizer.php:1179
     984#: inc/customizer.php:1195
     985#: inc/customizer.php:1230
    986986msgid "Center"
    987987msgstr ""
     
    12091209#: inc/customizer.php:1024
    12101210#: inc/customizer.php:1093
     1211#: inc/customizer.php:1114
    12111212msgid "Right Side"
    12121213msgstr ""
     
    12141215#: inc/customizer.php:1025
    12151216#: inc/customizer.php:1094
     1217#: inc/customizer.php:1115
    12161218msgid "Left Side"
    12171219msgstr ""
     
    12431245
    12441246#: inc/customizer.php:1100
     1247msgid "Page Settings"
     1248msgstr ""
     1249
     1250#: inc/customizer.php:1111
     1251msgid "Single Page Sidebar Position"
     1252msgstr ""
     1253
     1254#: inc/customizer.php:1113
     1255msgid "No Sidebar"
     1256msgstr ""
     1257
     1258#: inc/customizer.php:1121
    12451259msgid "Footer"
    12461260msgstr ""
    12471261
    1248 #: inc/customizer.php:1108
     1262#: inc/customizer.php:1129
    12491263msgid "Footer Background Image"
    12501264msgstr ""
    12511265
    1252 #: inc/customizer.php:1119
     1266#: inc/customizer.php:1140
    12531267msgid "Footer Background Image Position"
    12541268msgstr ""
    12551269
    1256 #: inc/customizer.php:1121
     1270#: inc/customizer.php:1142
    12571271msgid "fixed"
    12581272msgstr ""
    12591273
    1260 #: inc/customizer.php:1122
     1274#: inc/customizer.php:1143
    12611275msgid "scroll"
    12621276msgstr ""
    12631277
    1264 #: inc/customizer.php:1134
     1278#: inc/customizer.php:1153
     1279msgid "Footer Background Color"
     1280msgstr ""
     1281
     1282#: inc/customizer.php:1163
     1283msgid "Footer Content Color"
     1284msgstr ""
     1285
     1286#: inc/customizer.php:1175
    12651287msgid "Footer Widget Heading Alignment"
    12661288msgstr ""
    12671289
    1268 #: inc/customizer.php:1150
     1290#: inc/customizer.php:1191
    12691291msgid "Footer Widget Content Alignment"
    12701292msgstr ""
    12711293
    1272 #: inc/customizer.php:1165
     1294#: inc/customizer.php:1206
    12731295msgid "Show / Hide Copyright"
    12741296msgstr ""
    12751297
    1276 #: inc/customizer.php:1173
     1298#: inc/customizer.php:1214
    12771299msgid "Replace the footer text"
    12781300msgstr ""
    12791301
    1280 #: inc/customizer.php:1185
     1302#: inc/customizer.php:1226
    12811303msgid "Copyright Content Alignment"
     1304msgstr ""
     1305
     1306#: inc/customizer.php:1240
     1307msgid "Copyright Text Color"
    12821308msgstr ""
    12831309
  • ngo-fundraiser/0.3.5/page.php

    r219665 r267177  
    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('ngo_fundraiser_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('ngo_fundraiser_single_page_sidebar_layout','No Sidebar') == 'Left Side' || get_theme_mod('ngo_fundraiser_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('ngo_fundraiser_single_page_sidebar_layout','No Sidebar') == 'Right Side'){?>
     39                <?php get_sidebar(); ?>
     40            <?php }?>
    3341        </div>
    3442    </div>
  • ngo-fundraiser/0.3.5/readme.txt

    r263388 r267177  
    44Tested up to: 6.6
    55Requires PHP: 7.2
    6 Stable tag: 0.3.4
     6Stable tag: 0.3.5
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    219219* Added show/hide single post tag option in customizer.
    220220* Updated POT file.
     221
     222= 0.3.5
     223
     224* Added footer background color option in customizer.
     225* Added footer content color option in customizer.
     226* Added copyright text color option in customizer.
     227* Added single page sidebar layout option in customizer.
     228* Updated POT file.
  • ngo-fundraiser/0.3.5/style.css

    r263388 r267177  
    66Author URI: https://www.themagnifico.net/
    77Description: NGO Fundraiser is a heartwarming and impactful digital solution designed to support the noble missions of non-profit organizations. With a warm and inviting visual design, this theme creates a virtual space that mirrors the compassion and dedication of the NGOs and charities it serves. At its core, the NGO Fundraiser Theme is a facilitator of generosity and positive change. It provides an accessible platform for NGOs, nonprofits, and charitable foundations to share their stories, projects, and initiatives with the world. Through a well-organized layout, the theme ensures that visitors can easily understand the organization’s mission, values, and the impactful work they do in various social welfare sectors. One of the standout features is its intuitive donation system. The theme simplifies the process of contributing to a cause, making it easy for supporters to donate to the organization’s efforts. Additionally, the seamless integration of donate buttons and forms ensures a hassle-free experience for those who wish to make a difference through fundraising. Multimedia elements are seamlessly incorporated into this theme to amplify the emotional connection. High-quality images, compelling videos, and heartfelt stories can be shared, creating a narrative that resonates with potential donors and supporters. This visual storytelling aspect adds a personal touch, allowing NGOs to effectively communicate the real-world impact of their work, whether it's aiding refugees, supporting community welfare, or driving other social causes. NGO Fundraiser is not just a theme; it’s a powerful tool for non-profit and charity organizations to engage with their audience, encourage volunteer participation, and drive meaningful donations to fuel their missions.
    8 Version: 0.3.4
     8Version: 0.3.5
    99Requires at least: 5.0
    1010Tested up to: 6.6
Note: See TracChangeset for help on using the changeset viewer.