Changeset 312324
- Timestamp:
- 02/06/2026 12:51:50 PM (9 months ago)
- Location:
- old-age-home/0.2.5
- Files:
-
- 8 edited
- 1 copied
-
. (copied) (copied from old-age-home/0.2.4 )
-
functions.php (modified) (1 diff)
-
includes/color-setting/custom-color-control.php (modified) (1 diff)
-
includes/customizer.php (modified) (1 diff)
-
includes/getstart/getstart.css (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
style.css (modified) (1 diff)
-
template-parts/content-post.php (modified) (1 diff)
-
template-parts/related-posts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
old-age-home/0.2.5/functions.php
r303523 r312324 375 375 } 376 376 377 add_filter( 'woocommerce_single_product_image_thumbnail_html', function( $html ) { 378 return '<div class="product-img">' . $html . '</div>'; 379 }); 380 377 381 /** 378 382 * Change number or products per row to 4 -
old-age-home/0.2.5/includes/color-setting/custom-color-control.php
r310690 r312324 94 94 } 95 95 } 96 97 // Product Featured Image Hover Effect 98 $old_age_home_show_featured = get_theme_mod('old_age_home_featured_image_hide_show', 1); 99 $old_age_home_hover_effect = get_theme_mod('old_age_home_product_featured_image_hover','none'); 100 101 if ( $old_age_home_show_featured && $old_age_home_hover_effect !== 'none' ) { 102 103 $old_age_home_theme_custom_setting_css .= ' 104 .product-img img{ 105 transition: all 0.4s ease; 106 }'; 107 108 if ( $old_age_home_hover_effect === 'zoom-in' ) { 109 $old_age_home_theme_custom_setting_css .= ' 110 .product-img:hover img{ 111 transform: scale(1.2); 112 }'; 113 } 114 115 if ( $old_age_home_hover_effect === 'zoom-out' ) { 116 $old_age_home_theme_custom_setting_css .= ' 117 .product-img img{ transform: scale(1.2); } 118 .product-img:hover img{ transform: scale(1); }'; 119 } 120 121 if ( $old_age_home_hover_effect === 'grayscale' ) { 122 $old_age_home_theme_custom_setting_css .= ' 123 .product-img img{ filter: grayscale(100%); } 124 .product-img:hover img{ filter: grayscale(0); }'; 125 } 126 127 if ( $old_age_home_hover_effect === 'sepia' ) { 128 $old_age_home_theme_custom_setting_css .= ' 129 .product-img:hover img{ filter: sepia(100%); }'; 130 } 131 132 if ( $old_age_home_hover_effect === 'blur' ) { 133 $old_age_home_theme_custom_setting_css .= ' 134 .product-img:hover img{ filter: blur(3px); }'; 135 } 136 137 if ( $old_age_home_hover_effect === 'bright' ) { 138 $old_age_home_theme_custom_setting_css .= ' 139 .product-img:hover img{ filter: brightness(1.3); }'; 140 } 141 142 if ( $old_age_home_hover_effect === 'translate' ) { 143 $old_age_home_theme_custom_setting_css .= ' 144 .product-img:hover img{ transform: translateY(-10px); }'; 145 } 146 147 if ( $old_age_home_hover_effect === 'scale' ) { 148 $old_age_home_theme_custom_setting_css .= ' 149 .product-img:hover img{ transform: scale(1.1); }'; 150 } 151 } -
old-age-home/0.2.5/includes/customizer.php
r310690 r312324 751 751 ] ); 752 752 753 Kirki::add_field( 'theme_config_id', [ 754 'type' => 'custom', 755 'settings' => 'old_age_home_show_product_featured_image_hover_heading', 756 'section' => 'old_age_home_woocommerce_settings', 757 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1;">' . __( 'Product Featured Image Hover Effect', 'old-age-home' ) . '</h3>', 758 'priority' => 20, 759 ] ); 760 761 Kirki::add_field( 'theme_config_id', [ 762 'type' => 'select', 763 'settings' => 'old_age_home_product_featured_image_hover', 764 'label' => esc_html__( 'Product Featured Image Hover Effect', 'old-age-home' ), 765 'section' => 'old_age_home_woocommerce_settings', 766 'default' => 'none', 767 'priority' => 30, 768 'choices' => [ 769 'none' => esc_html__( 'None', 'old-age-home' ), 770 'zoom-in' => esc_html__( 'Zoom In', 'old-age-home' ), 771 'zoom-out' => esc_html__( 'Zoom Out', 'old-age-home' ), 772 'scale' => esc_html__( 'Scale', 'old-age-home' ), 773 'grayscale' => esc_html__( 'Grayscale', 'old-age-home' ), 774 'blur' => esc_html__( 'Blur', 'old-age-home' ), 775 'bright' => esc_html__( 'Bright', 'old-age-home' ), 776 'sepia' => esc_html__( 'Sepia', 'old-age-home' ), 777 'translate' => esc_html__( 'Translate', 'old-age-home' ), 778 ], 779 ] ); 780 753 781 //ADDITIONAL SETTINGS 754 782 -
old-age-home/0.2.5/includes/getstart/getstart.css
r303523 r312324 416 416 background: #ff2c6f; 417 417 } 418 .quick-btn a:hover{ 419 background:#2195af; 420 } 421 .premium-btn a:hover{ 422 background:#2195af; 423 } 424 .demo-btn a:hover{ 425 background:#2195af; 426 } 427 .doc-btn a:hover{ 428 background:#2195af; 429 } 418 430 419 431 .premium-features ul li { … … 591 603 592 604 .old-age-home-recommended-plugins a.button:hover { 593 border: 1px solid # 1E2957;594 background: # 1E2957;605 border: 1px solid #2195af; 606 background: #2195af; 595 607 } 596 608 .old-age-home-recommended-plugins a.button:focus { -
old-age-home/0.2.5/readme.txt
r310690 r312324 2 2 Contributors: wpelemento 3 3 Requires at least: 5.0 4 Stable tag: 0.2. 44 Stable tag: 0.2.5 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.9 … … 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html 9 9 Tags: blog, portfolio, e-commerce, one-column, two-columns, right-sidebar, left-sidebar, grid-layout, three-columns, four-columns, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, editor-style, sticky-post, theme-options, threaded-comments, translation-ready, rtl-language-support, wide-blocks 10 11 10 12 11 == Description == … … 83 82 == Changelog == 84 83 84 = February-4-2026 :: 0.2.5 85 86 * Added hover effect on product featured image. 87 * Added animation on single post. 88 * Added animation on related post. 89 * Hover color on getstarted button. 90 85 91 = January-12-2026 :: 0.2.4 86 92 -
old-age-home/0.2.5/style.css
r310690 r312324 5 5 Theme URI: https://www.wpelemento.com/products/free-senior-care-wordpress-theme 6 6 Author URI: https://www.wpelemento.com/ 7 Version: 0.2. 47 Version: 0.2.5 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.9 -
old-age-home/0.2.5/template-parts/content-post.php
r254518 r312324 17 17 <div id="post-<?php the_ID(); ?>" <?php post_class('post-single mb-4'); ?>> 18 18 <?php if ( has_post_thumbnail() && get_theme_mod( 'old_age_home_single_post_featured_image',true) ) { ?> 19 <div class="post-thumbnail post-img ">19 <div class="post-thumbnail post-img <?php echo esc_attr( get_theme_mod('old_age_home_enable_post_animation', true) ? 'zoomInUp wow' : '' ); ?>"> 20 20 <?php the_post_thumbnail(''); ?> 21 21 </div> -
old-age-home/0.2.5/template-parts/related-posts.php
r266151 r312324 22 22 23 23 if ( $old_age_home_related_posts->have_posts() ) : ?> 24 <div class="related-post ">24 <div class="related-post <?php echo esc_attr( get_theme_mod('old_age_home_enable_post_animation', true) ? 'zoomInUp wow' : '' ); ?>"> 25 25 <h3><?php echo esc_html__('Related Post' ,'old-age-home' );?></h3> 26 26 <div class="row">
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)