-
Notifications
You must be signed in to change notification settings - Fork 13
/
blog page list meta copy.html
61 lines (32 loc) · 1.14 KB
/
blog page list meta copy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!--
begin blog page list meta copy
License : < https://tinyurl.com/s872fb68 >
Version : 0.1.0
SS Version : 7.1
Dependencies : jQuery
Notes : the code is comprised of a style and script tags. both are
needed for the full effect to work
By : Thomas Creedon < http://www.tomsWeb.consulting/ >
no user serviceable parts below
-->
<style>
.blog-masonry .blog-meta-section:nth-of-type( 2 ) {
margin-top: 20px;
order : 1;
}
</style>
<script>
$( ( ) => {
const selector = 'collection-type-blog-masonry.view-list .blog-masonry .entry';
$( selector ).each ( function ( ) {
const $this = $( this );
let selector = '.blog-meta-section';
const $metaClone = $( selector, $this )
.clone ( );
selector = '.blog-title';
$( selector, $this )
.after ( $metaClone );
} );
} );
</script>
<!-- end blog page list meta copy -->