Changeset 312325
- Timestamp:
- 02/06/2026 12:52:02 PM (9 months ago)
- Location:
- museum-artifact/0.2.3
- Files:
-
- 8 edited
- 1 copied
-
. (copied) (copied from museum-artifact/0.2.2 )
-
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) (2 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
-
museum-artifact/0.2.3/functions.php
r303524 r312325 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 -
museum-artifact/0.2.3/includes/color-setting/custom-color-control.php
r310691 r312325 94 94 } 95 95 } 96 97 // Product Featured Image Hover Effect 98 $museum_artifact_show_featured = get_theme_mod('museum_artifact_featured_image_hide_show', 1); 99 $museum_artifact_hover_effect = get_theme_mod('museum_artifact_product_featured_image_hover','none'); 100 101 if ( $museum_artifact_show_featured && $museum_artifact_hover_effect !== 'none' ) { 102 103 $museum_artifact_theme_custom_setting_css .= ' 104 .product-img img{ 105 transition: all 0.4s ease; 106 }'; 107 108 if ( $museum_artifact_hover_effect === 'zoom-in' ) { 109 $museum_artifact_theme_custom_setting_css .= ' 110 .product-img:hover img{ 111 transform: scale(1.2); 112 }'; 113 } 114 115 if ( $museum_artifact_hover_effect === 'zoom-out' ) { 116 $museum_artifact_theme_custom_setting_css .= ' 117 .product-img img{ transform: scale(1.2); } 118 .product-img:hover img{ transform: scale(1); }'; 119 } 120 121 if ( $museum_artifact_hover_effect === 'grayscale' ) { 122 $museum_artifact_theme_custom_setting_css .= ' 123 .product-img img{ filter: grayscale(100%); } 124 .product-img:hover img{ filter: grayscale(0); }'; 125 } 126 127 if ( $museum_artifact_hover_effect === 'sepia' ) { 128 $museum_artifact_theme_custom_setting_css .= ' 129 .product-img:hover img{ filter: sepia(100%); }'; 130 } 131 132 if ( $museum_artifact_hover_effect === 'blur' ) { 133 $museum_artifact_theme_custom_setting_css .= ' 134 .product-img:hover img{ filter: blur(3px); }'; 135 } 136 137 if ( $museum_artifact_hover_effect === 'bright' ) { 138 $museum_artifact_theme_custom_setting_css .= ' 139 .product-img:hover img{ filter: brightness(1.3); }'; 140 } 141 142 if ( $museum_artifact_hover_effect === 'translate' ) { 143 $museum_artifact_theme_custom_setting_css .= ' 144 .product-img:hover img{ transform: translateY(-10px); }'; 145 } 146 147 if ( $museum_artifact_hover_effect === 'scale' ) { 148 $museum_artifact_theme_custom_setting_css .= ' 149 .product-img:hover img{ transform: scale(1.1); }'; 150 } 151 } -
museum-artifact/0.2.3/includes/customizer.php
r310691 r312325 741 741 'priority' => 10, 742 742 ] ); 743 744 Kirki::add_field( 'theme_config_id', [ 745 'type' => 'custom', 746 'settings' => 'museum_artifact_show_product_featured_image_hover_heading', 747 'section' => 'museum_artifact_woocommerce_settings', 748 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1;">' . __( 'Product Featured Image Hover Effect', 'museum-artifact' ) . '</h3>', 749 'priority' => 20, 750 ] ); 751 752 Kirki::add_field( 'theme_config_id', [ 753 'type' => 'select', 754 'settings' => 'museum_artifact_product_featured_image_hover', 755 'label' => esc_html__( 'Product Featured Image Hover Effect', 'museum-artifact' ), 756 'section' => 'museum_artifact_woocommerce_settings', 757 'default' => 'none', 758 'priority' => 30, 759 'choices' => [ 760 'none' => esc_html__( 'None', 'museum-artifact' ), 761 'zoom-in' => esc_html__( 'Zoom In', 'museum-artifact' ), 762 'zoom-out' => esc_html__( 'Zoom Out', 'museum-artifact' ), 763 'scale' => esc_html__( 'Scale', 'museum-artifact' ), 764 'grayscale' => esc_html__( 'Grayscale', 'museum-artifact' ), 765 'blur' => esc_html__( 'Blur', 'museum-artifact' ), 766 'bright' => esc_html__( 'Bright', 'museum-artifact' ), 767 'sepia' => esc_html__( 'Sepia', 'museum-artifact' ), 768 'translate' => esc_html__( 'Translate', 'museum-artifact' ), 769 ], 770 ] ); 743 771 744 772 //ADDITIONAL SETTINGS -
museum-artifact/0.2.3/includes/getstart/getstart.css
r303524 r312325 417 417 } 418 418 419 .quick-btn a:hover{ 420 background:#2195af; 421 } 422 .premium-btn a:hover{ 423 background:#2195af; 424 } 425 .demo-btn a:hover{ 426 background:#2195af; 427 } 428 .doc-btn a:hover{ 429 background:#2195af; 430 } 431 419 432 .premium-features ul li { 420 433 margin-bottom: 10px; … … 591 604 592 605 .museum-artifact-recommended-plugins a.button:hover { 593 border: 1px solid # 1E2957;594 background: # 1E2957;606 border: 1px solid #2195af; 607 background: #2195af; 595 608 } 596 609 .museum-artifact-recommended-plugins a.button:focus { -
museum-artifact/0.2.3/readme.txt
r310691 r312325 2 2 Contributors: wpelemento 3 3 Requires at least: 5.0 4 Stable tag: 0.2. 24 Stable tag: 0.2.3 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.9 … … 76 76 77 77 == Changelog == 78 79 = February-4-2026 :: 0.2.3 80 81 * Added hover effect on product featured image. 82 * Added animation on single post. 83 * Added animation on related post. 84 * Hover color on getstarted button. 78 85 79 86 = January-12-2026 :: 0.2.2 -
museum-artifact/0.2.3/style.css
r310691 r312325 5 5 Theme URI: https://www.wpelemento.com/products/free-art-gallery-wordpress-theme 6 6 Author URI: https://www.wpelemento.com/ 7 Version: 0.2. 27 Version: 0.2.3 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.9 -
museum-artifact/0.2.3/template-parts/content-post.php
r254519 r312325 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( 'museum_artifact_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('museum_artifact_enable_post_animation', true) ? 'zoomInUp wow' : '' ); ?>"> 20 20 <?php the_post_thumbnail(''); ?> 21 21 </div> -
museum-artifact/0.2.3/template-parts/related-posts.php
r266150 r312325 22 22 23 23 if ( $museum_artifact_related_posts->have_posts() ) : ?> 24 <div class="related-post ">24 <div class="related-post <?php echo esc_attr( get_theme_mod('museum_artifact_enable_post_animation', true) ? 'zoomInUp wow' : '' ); ?>"> 25 25 <h3><?php echo esc_html__('Related Post' ,'museum-artifact' );?></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)