Changeset 171837
- Timestamp:
- 07/17/2022 04:06:16 PM (3 years ago)
- Location:
- emart-shop/1.0.1
- Files:
-
- 2 edited
- 1 copied
-
. (copied) (copied from emart-shop/1.0.0)
-
inc/class/class-post-related.php (modified) (1 diff)
-
style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
emart-shop/1.0.1/inc/class/class-post-related.php
r171836 r171837 242 242 $ids = explode( ",", $gallery['ids'] ); 243 243 244 foreach( $ids as $id ) { 245 246 $link = wp_get_attachment_url( $id ); 247 248 $html .= '<div class="item gallery-image"><img src="' . esc_url( $link ) . '" class="img-responsive" alt="' .esc_attr( get_the_title() ). '" title="' .esc_attr( get_the_title() ). '" /></div>'; 249 250 } 244 if( !empty($ids) ): 245 foreach( $ids as $id ) { 246 247 $link = wp_get_attachment_url( $id ); 248 249 $html .= '<div class="item gallery-image"><img src="' . esc_url( $link ) . '" class="img-responsive" alt="' .esc_attr( get_the_title() ). '" title="' .esc_attr( get_the_title() ). '" /></div>'; 250 251 } 252 endif; 251 253 252 254 $html .= '</figure>'; -
emart-shop/1.0.1/style.css
r171836 r171837 8 8 Tested up to: 6.0.0 9 9 Requires PHP: 7.0 10 Version: 1.0. 010 Version: 1.0.1 11 11 License: GPLv3 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 2121 2121 margin-bottom: 20px !important; 2122 2122 } 2123 #commentform [class^="col-"] span.required{ 2124 position: absolute; 2125 right: 20px; 2126 top: 10px; 2127 } 2123 2128 #commentform input[type=checkbox], input[type=radio] { 2124 2129 width: 15px;
Note: See TracChangeset
for help on using the changeset viewer.