Version Description
- Fix: SVG Icon sizes are HUGE in some WordPress environments.
Download this release
Release Info
Developer | plugins360 |
Plugin | All-in-One Video Gallery |
Version | 2.4.6 |
Comparing to | |
See all releases |
Code changes from version 2.4.5 to 2.4.6
README.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: video player, video gallery, youtube gallery, vimeo gallery, livestream
|
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6.20
|
9 |
-
Stable tag: 2.4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -134,6 +134,10 @@ Yes, it is. However, do not "network-activate" the plugin. Activate it only on t
|
|
134 |
|
135 |
== Changelog ==
|
136 |
|
|
|
|
|
|
|
|
|
137 |
= 2.4.5 =
|
138 |
|
139 |
* New: Option to show/hide video title on the thumbnail galleries.
|
@@ -217,6 +221,6 @@ For the changelog of earlier versions, please refer to the [changelog on plugins
|
|
217 |
|
218 |
== Upgrade Notice ==
|
219 |
|
220 |
-
= 2.4.
|
221 |
|
222 |
-
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6.20
|
9 |
+
Stable tag: 2.4.6
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
134 |
|
135 |
== Changelog ==
|
136 |
|
137 |
+
= 2.4.6 =
|
138 |
+
|
139 |
+
* Fix: SVG Icon sizes are HUGE in some WordPress environments.
|
140 |
+
|
141 |
= 2.4.5 =
|
142 |
|
143 |
* New: Option to show/hide video title on the thumbnail galleries.
|
221 |
|
222 |
== Upgrade Notice ==
|
223 |
|
224 |
+
= 2.4.6 =
|
225 |
|
226 |
+
Fix: SVG Icon sizes are HUGE in some WordPress environments.
|
all-in-one-video-gallery.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
-
* Version: 2.4.
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
@@ -76,7 +76,7 @@ if ( !function_exists( 'aiovg_fs' ) ) {
|
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
-
define( 'AIOVG_PLUGIN_VERSION', '2.4.
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
+
* Version: 2.4.6
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
+
define( 'AIOVG_PLUGIN_VERSION', '2.4.6' );
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
public/templates/category-thumbnail.php
CHANGED
@@ -30,7 +30,7 @@ $image = aiovg_get_image_url( $image_id, 'large' );
|
|
30 |
|
31 |
<?php if ( ! empty( $attributes['show_count'] ) ) : ?>
|
32 |
<div class="aiovg-count aiovg-text-muted">
|
33 |
-
<svg class="aiovg-svg-icon aiovg-svg-icon-videos" viewBox="0 0 32 32">
|
34 |
<path d="M0 4v24h32v-24h-32zM6 26h-4v-4h4v4zM6 18h-4v-4h4v4zM6 10h-4v-4h4v4zM24 26h-16v-20h16v20zM30 26h-4v-4h4v4zM30 18h-4v-4h4v4zM30 10h-4v-4h4v4zM12 10v12l8-6z"></path>
|
35 |
</svg>
|
36 |
<?php
|
30 |
|
31 |
<?php if ( ! empty( $attributes['show_count'] ) ) : ?>
|
32 |
<div class="aiovg-count aiovg-text-muted">
|
33 |
+
<svg class="aiovg-svg-icon aiovg-svg-icon-videos" width="16" height="16" viewBox="0 0 32 32">
|
34 |
<path d="M0 4v24h32v-24h-32zM6 26h-4v-4h4v4zM6 18h-4v-4h4v4zM6 10h-4v-4h4v4zM24 26h-16v-20h16v20zM30 26h-4v-4h4v4zM30 18h-4v-4h4v4zM30 10h-4v-4h4v4zM12 10v12l8-6z"></path>
|
35 |
</svg>
|
36 |
<?php
|
public/templates/single-video.php
CHANGED
@@ -45,7 +45,7 @@
|
|
45 |
$category_url = aiovg_get_category_page_url( $category );
|
46 |
$term_meta[] = sprintf( '<a class="aiovg-link-category" href="%s">%s</a>', esc_url( $category_url ), esc_html( $category->name ) );
|
47 |
}
|
48 |
-
printf( '<div class="aiovg-category"><svg class="aiovg-svg-icon aiovg-svg-icon-categories" viewBox="0 0 32 32"><path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path></svg> %s</div>', implode( ', ', $term_meta ) );
|
49 |
}
|
50 |
|
51 |
// Tag(s)
|
@@ -55,14 +55,14 @@
|
|
55 |
$tag_url = aiovg_get_tag_page_url( $tag );
|
56 |
$term_meta[] = sprintf( '<a class="aiovg-link-tag" href="%s">%s</a>', esc_url( $tag_url ), esc_html( $tag->name ) );
|
57 |
}
|
58 |
-
printf( '<div class="aiovg-tag"><svg class="aiovg-svg-icon aiovg-svg-icon-tags" viewBox="0 0 40 32"><path d="M38.5 0h-12c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l14.879-14.879c0.583-0.583 1.061-1.736 1.061-2.561v-12c0-0.825-0.675-1.5-1.5-1.5zM31 12c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"></path><path d="M4 17l17-17h-2.5c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l0.939-0.939-13-13z"></path></svg> %s</div>', implode( ', ', $term_meta ) );
|
59 |
}
|
60 |
?>
|
61 |
|
62 |
<!-- Views count -->
|
63 |
<?php if ( $attributes['show_views'] ) : ?>
|
64 |
<div class="aiovg-views aiovg-text-muted">
|
65 |
-
<svg class="aiovg-svg-icon aiovg-svg-icon-views" viewBox="0 0 32 32">
|
66 |
<path d="M16 6c-6.979 0-13.028 4.064-16 10 2.972 5.936 9.021 10 16 10s13.027-4.064 16-10c-2.972-5.936-9.021-10-16-10zM23.889 11.303c1.88 1.199 3.473 2.805 4.67 4.697-1.197 1.891-2.79 3.498-4.67 4.697-2.362 1.507-5.090 2.303-7.889 2.303s-5.527-0.796-7.889-2.303c-1.88-1.199-3.473-2.805-4.67-4.697 1.197-1.891 2.79-3.498 4.67-4.697 0.122-0.078 0.246-0.154 0.371-0.228-0.311 0.854-0.482 1.776-0.482 2.737 0 4.418 3.582 8 8 8s8-3.582 8-8c0-0.962-0.17-1.883-0.482-2.737 0.124 0.074 0.248 0.15 0.371 0.228v0zM16 13c0 1.657-1.343 3-3 3s-3-1.343-3-3 1.343-3 3-3 3 1.343 3 3z"></path>
|
67 |
</svg>
|
68 |
<?php
|
45 |
$category_url = aiovg_get_category_page_url( $category );
|
46 |
$term_meta[] = sprintf( '<a class="aiovg-link-category" href="%s">%s</a>', esc_url( $category_url ), esc_html( $category->name ) );
|
47 |
}
|
48 |
+
printf( '<div class="aiovg-category"><svg class="aiovg-svg-icon aiovg-svg-icon-categories" width="16" height="16" viewBox="0 0 32 32"><path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path></svg> %s</div>', implode( ', ', $term_meta ) );
|
49 |
}
|
50 |
|
51 |
// Tag(s)
|
55 |
$tag_url = aiovg_get_tag_page_url( $tag );
|
56 |
$term_meta[] = sprintf( '<a class="aiovg-link-tag" href="%s">%s</a>', esc_url( $tag_url ), esc_html( $tag->name ) );
|
57 |
}
|
58 |
+
printf( '<div class="aiovg-tag"><svg class="aiovg-svg-icon aiovg-svg-icon-tags" width="16" height="16" viewBox="0 0 40 32"><path d="M38.5 0h-12c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l14.879-14.879c0.583-0.583 1.061-1.736 1.061-2.561v-12c0-0.825-0.675-1.5-1.5-1.5zM31 12c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"></path><path d="M4 17l17-17h-2.5c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l0.939-0.939-13-13z"></path></svg> %s</div>', implode( ', ', $term_meta ) );
|
59 |
}
|
60 |
?>
|
61 |
|
62 |
<!-- Views count -->
|
63 |
<?php if ( $attributes['show_views'] ) : ?>
|
64 |
<div class="aiovg-views aiovg-text-muted">
|
65 |
+
<svg class="aiovg-svg-icon aiovg-svg-icon-views" width="16" height="16" viewBox="0 0 32 32">
|
66 |
<path d="M16 6c-6.979 0-13.028 4.064-16 10 2.972 5.936 9.021 10 16 10s13.027-4.064 16-10c-2.972-5.936-9.021-10-16-10zM23.889 11.303c1.88 1.199 3.473 2.805 4.67 4.697-1.197 1.891-2.79 3.498-4.67 4.697-2.362 1.507-5.090 2.303-7.889 2.303s-5.527-0.796-7.889-2.303c-1.88-1.199-3.473-2.805-4.67-4.697 1.197-1.891 2.79-3.498 4.67-4.697 0.122-0.078 0.246-0.154 0.371-0.228-0.311 0.854-0.482 1.776-0.482 2.737 0 4.418 3.582 8 8 8s8-3.582 8-8c0-0.962-0.17-1.883-0.482-2.737 0.124 0.074 0.248 0.15 0.371 0.228v0zM16 13c0 1.657-1.343 3-3 3s-3-1.343-3-3 1.343-3 3-3 3 1.343 3 3z"></path>
|
67 |
</svg>
|
68 |
<?php
|
public/templates/video-thumbnail-image-left.php
CHANGED
@@ -23,7 +23,7 @@ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta
|
|
23 |
<div class="aiovg-duration"><small><?php echo esc_html( $post_meta['duration'][0] ); ?></small></div>
|
24 |
<?php endif; ?>
|
25 |
|
26 |
-
<svg class="aiovg-svg-icon aiovg-svg-icon-play" viewBox="0 0 32 32">
|
27 |
<path d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13-5.82 13-13 13zM12 9l12 7-12 7z"></path>
|
28 |
</svg>
|
29 |
</a>
|
@@ -75,7 +75,7 @@ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta
|
|
75 |
$category_url = aiovg_get_category_page_url( $category );
|
76 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-category">%s</a>', esc_url( $category_url ), esc_html( $category->name ) );
|
77 |
}
|
78 |
-
printf( '<div class="aiovg-category"><svg class="aiovg-svg-icon aiovg-svg-icon-categories" viewBox="0 0 32 32"><path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
79 |
}
|
80 |
}
|
81 |
?>
|
@@ -97,14 +97,14 @@ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta
|
|
97 |
$tag_url = aiovg_get_tag_page_url( $tag );
|
98 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-tag">%s</a>', esc_url( $tag_url ), esc_html( $tag->name ) );
|
99 |
}
|
100 |
-
printf( '<div class="aiovg-tag"><svg class="aiovg-svg-icon aiovg-svg-icon-tags" viewBox="0 0 40 32"><path d="M38.5 0h-12c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l14.879-14.879c0.583-0.583 1.061-1.736 1.061-2.561v-12c0-0.825-0.675-1.5-1.5-1.5zM31 12c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"></path><path d="M4 17l17-17h-2.5c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l0.939-0.939-13-13z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
101 |
}
|
102 |
}
|
103 |
?>
|
104 |
|
105 |
<?php if ( $attributes['show_views'] ) : ?>
|
106 |
<div class="aiovg-views aiovg-text-muted">
|
107 |
-
<svg class="aiovg-svg-icon aiovg-svg-icon-views" viewBox="0 0 32 32">
|
108 |
<path d="M16 6c-6.979 0-13.028 4.064-16 10 2.972 5.936 9.021 10 16 10s13.027-4.064 16-10c-2.972-5.936-9.021-10-16-10zM23.889 11.303c1.88 1.199 3.473 2.805 4.67 4.697-1.197 1.891-2.79 3.498-4.67 4.697-2.362 1.507-5.090 2.303-7.889 2.303s-5.527-0.796-7.889-2.303c-1.88-1.199-3.473-2.805-4.67-4.697 1.197-1.891 2.79-3.498 4.67-4.697 0.122-0.078 0.246-0.154 0.371-0.228-0.311 0.854-0.482 1.776-0.482 2.737 0 4.418 3.582 8 8 8s8-3.582 8-8c0-0.962-0.17-1.883-0.482-2.737 0.124 0.074 0.248 0.15 0.371 0.228v0zM16 13c0 1.657-1.343 3-3 3s-3-1.343-3-3 1.343-3 3-3 3 1.343 3 3z"></path>
|
109 |
</svg>
|
110 |
<?php printf( esc_html__( '%d views', 'all-in-one-video-gallery' ), $post_meta['views'][0] ); ?>
|
23 |
<div class="aiovg-duration"><small><?php echo esc_html( $post_meta['duration'][0] ); ?></small></div>
|
24 |
<?php endif; ?>
|
25 |
|
26 |
+
<svg class="aiovg-svg-icon aiovg-svg-icon-play" width="32" height="32" viewBox="0 0 32 32">
|
27 |
<path d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13-5.82 13-13 13zM12 9l12 7-12 7z"></path>
|
28 |
</svg>
|
29 |
</a>
|
75 |
$category_url = aiovg_get_category_page_url( $category );
|
76 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-category">%s</a>', esc_url( $category_url ), esc_html( $category->name ) );
|
77 |
}
|
78 |
+
printf( '<div class="aiovg-category"><svg class="aiovg-svg-icon aiovg-svg-icon-categories" width="16" height="16" viewBox="0 0 32 32"><path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
79 |
}
|
80 |
}
|
81 |
?>
|
97 |
$tag_url = aiovg_get_tag_page_url( $tag );
|
98 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-tag">%s</a>', esc_url( $tag_url ), esc_html( $tag->name ) );
|
99 |
}
|
100 |
+
printf( '<div class="aiovg-tag"><svg class="aiovg-svg-icon aiovg-svg-icon-tags" width="16" height="16" viewBox="0 0 40 32"><path d="M38.5 0h-12c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l14.879-14.879c0.583-0.583 1.061-1.736 1.061-2.561v-12c0-0.825-0.675-1.5-1.5-1.5zM31 12c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"></path><path d="M4 17l17-17h-2.5c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l0.939-0.939-13-13z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
101 |
}
|
102 |
}
|
103 |
?>
|
104 |
|
105 |
<?php if ( $attributes['show_views'] ) : ?>
|
106 |
<div class="aiovg-views aiovg-text-muted">
|
107 |
+
<svg class="aiovg-svg-icon aiovg-svg-icon-views" width="16" height="16" viewBox="0 0 32 32">
|
108 |
<path d="M16 6c-6.979 0-13.028 4.064-16 10 2.972 5.936 9.021 10 16 10s13.027-4.064 16-10c-2.972-5.936-9.021-10-16-10zM23.889 11.303c1.88 1.199 3.473 2.805 4.67 4.697-1.197 1.891-2.79 3.498-4.67 4.697-2.362 1.507-5.090 2.303-7.889 2.303s-5.527-0.796-7.889-2.303c-1.88-1.199-3.473-2.805-4.67-4.697 1.197-1.891 2.79-3.498 4.67-4.697 0.122-0.078 0.246-0.154 0.371-0.228-0.311 0.854-0.482 1.776-0.482 2.737 0 4.418 3.582 8 8 8s8-3.582 8-8c0-0.962-0.17-1.883-0.482-2.737 0.124 0.074 0.248 0.15 0.371 0.228v0zM16 13c0 1.657-1.343 3-3 3s-3-1.343-3-3 1.343-3 3-3 3 1.343 3 3z"></path>
|
109 |
</svg>
|
110 |
<?php printf( esc_html__( '%d views', 'all-in-one-video-gallery' ), $post_meta['views'][0] ); ?>
|
public/templates/video-thumbnail.php
CHANGED
@@ -21,7 +21,7 @@ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta
|
|
21 |
<div class="aiovg-duration"><small><?php echo esc_html( $post_meta['duration'][0] ); ?></small></div>
|
22 |
<?php endif; ?>
|
23 |
|
24 |
-
<svg class="aiovg-svg-icon aiovg-svg-icon-play" viewBox="0 0 32 32">
|
25 |
<path d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13-5.82 13-13 13zM12 9l12 7-12 7z"></path>
|
26 |
</svg>
|
27 |
</a>
|
@@ -71,7 +71,7 @@ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta
|
|
71 |
$category_url = aiovg_get_category_page_url( $category );
|
72 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-category">%s</a>', esc_url( $category_url ), esc_html( $category->name ) );
|
73 |
}
|
74 |
-
printf( '<div class="aiovg-category"><svg class="aiovg-svg-icon aiovg-svg-icon-categories" viewBox="0 0 32 32"><path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
75 |
}
|
76 |
}
|
77 |
?>
|
@@ -93,14 +93,14 @@ $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta
|
|
93 |
$tag_url = aiovg_get_tag_page_url( $tag );
|
94 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-tag">%s</a>', esc_url( $tag_url ), esc_html( $tag->name ) );
|
95 |
}
|
96 |
-
printf( '<div class="aiovg-tag"><svg class="aiovg-svg-icon aiovg-svg-icon-tags" viewBox="0 0 40 32"><path d="M38.5 0h-12c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l14.879-14.879c0.583-0.583 1.061-1.736 1.061-2.561v-12c0-0.825-0.675-1.5-1.5-1.5zM31 12c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"></path><path d="M4 17l17-17h-2.5c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l0.939-0.939-13-13z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
97 |
}
|
98 |
}
|
99 |
?>
|
100 |
|
101 |
<?php if ( $attributes['show_views'] ) : ?>
|
102 |
<div class="aiovg-views aiovg-text-muted">
|
103 |
-
<svg class="aiovg-svg-icon aiovg-svg-icon-views" viewBox="0 0 32 32">
|
104 |
<path d="M16 6c-6.979 0-13.028 4.064-16 10 2.972 5.936 9.021 10 16 10s13.027-4.064 16-10c-2.972-5.936-9.021-10-16-10zM23.889 11.303c1.88 1.199 3.473 2.805 4.67 4.697-1.197 1.891-2.79 3.498-4.67 4.697-2.362 1.507-5.090 2.303-7.889 2.303s-5.527-0.796-7.889-2.303c-1.88-1.199-3.473-2.805-4.67-4.697 1.197-1.891 2.79-3.498 4.67-4.697 0.122-0.078 0.246-0.154 0.371-0.228-0.311 0.854-0.482 1.776-0.482 2.737 0 4.418 3.582 8 8 8s8-3.582 8-8c0-0.962-0.17-1.883-0.482-2.737 0.124 0.074 0.248 0.15 0.371 0.228v0zM16 13c0 1.657-1.343 3-3 3s-3-1.343-3-3 1.343-3 3-3 3 1.343 3 3z"></path>
|
105 |
</svg>
|
106 |
<?php printf( esc_html__( '%d views', 'all-in-one-video-gallery' ), $post_meta['views'][0] ); ?>
|
21 |
<div class="aiovg-duration"><small><?php echo esc_html( $post_meta['duration'][0] ); ?></small></div>
|
22 |
<?php endif; ?>
|
23 |
|
24 |
+
<svg class="aiovg-svg-icon aiovg-svg-icon-play" width="32" height="32" viewBox="0 0 32 32">
|
25 |
<path d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13-5.82 13-13 13zM12 9l12 7-12 7z"></path>
|
26 |
</svg>
|
27 |
</a>
|
71 |
$category_url = aiovg_get_category_page_url( $category );
|
72 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-category">%s</a>', esc_url( $category_url ), esc_html( $category->name ) );
|
73 |
}
|
74 |
+
printf( '<div class="aiovg-category"><svg class="aiovg-svg-icon aiovg-svg-icon-categories" width="16" height="16" viewBox="0 0 32 32"><path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
75 |
}
|
76 |
}
|
77 |
?>
|
93 |
$tag_url = aiovg_get_tag_page_url( $tag );
|
94 |
$meta[] = sprintf( '<a href="%s" class="aiovg-link-tag">%s</a>', esc_url( $tag_url ), esc_html( $tag->name ) );
|
95 |
}
|
96 |
+
printf( '<div class="aiovg-tag"><svg class="aiovg-svg-icon aiovg-svg-icon-tags" width="16" height="16" viewBox="0 0 40 32"><path d="M38.5 0h-12c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l14.879-14.879c0.583-0.583 1.061-1.736 1.061-2.561v-12c0-0.825-0.675-1.5-1.5-1.5zM31 12c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3z"></path><path d="M4 17l17-17h-2.5c-0.825 0-1.977 0.477-2.561 1.061l-14.879 14.879c-0.583 0.583-0.583 1.538 0 2.121l12.879 12.879c0.583 0.583 1.538 0.583 2.121 0l0.939-0.939-13-13z"></path></svg> %s</div>', implode( ', ', $meta ) );
|
97 |
}
|
98 |
}
|
99 |
?>
|
100 |
|
101 |
<?php if ( $attributes['show_views'] ) : ?>
|
102 |
<div class="aiovg-views aiovg-text-muted">
|
103 |
+
<svg class="aiovg-svg-icon aiovg-svg-icon-views" width="16" height="16" viewBox="0 0 32 32">
|
104 |
<path d="M16 6c-6.979 0-13.028 4.064-16 10 2.972 5.936 9.021 10 16 10s13.027-4.064 16-10c-2.972-5.936-9.021-10-16-10zM23.889 11.303c1.88 1.199 3.473 2.805 4.67 4.697-1.197 1.891-2.79 3.498-4.67 4.697-2.362 1.507-5.090 2.303-7.889 2.303s-5.527-0.796-7.889-2.303c-1.88-1.199-3.473-2.805-4.67-4.697 1.197-1.891 2.79-3.498 4.67-4.697 0.122-0.078 0.246-0.154 0.371-0.228-0.311 0.854-0.482 1.776-0.482 2.737 0 4.418 3.582 8 8 8s8-3.582 8-8c0-0.962-0.17-1.883-0.482-2.737 0.124 0.074 0.248 0.15 0.371 0.228v0zM16 13c0 1.657-1.343 3-3 3s-3-1.343-3-3 1.343-3 3-3 3 1.343 3 3z"></path>
|
105 |
</svg>
|
106 |
<?php printf( esc_html__( '%d views', 'all-in-one-video-gallery' ), $post_meta['views'][0] ); ?>
|