Skip to content

Commit 69a047b

Browse files
author
Mizanur Rahaman
committed
fixed conflict
2 parents 2941710 + 5fb5468 commit 69a047b

File tree

8 files changed

+570
-5
lines changed

8 files changed

+570
-5
lines changed

assets/css/author-posts.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.wcf--author-posts{
2+
3+
}
4+
.wcf--author-posts-box{
5+
6+
}
7+
.wcf--author-posts-image{
8+
img{
9+
width: 70px;
10+
height: 70px;
11+
border-radius: 50%;
12+
object-fit: cover;
13+
}
14+
}
15+
.wcf--author-posts-name{}
16+
.wcf--author-posts-designation{}
17+
.wcf--author-posts-email{}
18+
.wcf--author-posts-phone{}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
.wcf--author-posts-box{
3+
min-width: 410px;
4+
background-color: #FAFAFA;
5+
padding: 40px 30px;
6+
}
7+
.wcf--author-posts-image{
8+
margin-bottom: 10px;
9+
img{
10+
height:70px;
11+
border-radius:50%;
12+
object-fit:cover
13+
}
14+
15+
}
16+
.wcf--author-posts-name{
17+
font-size: 20px;
18+
font-weight: 600;
19+
margin-bottom: 10px;
20+
text-transform: capitalize;
21+
}
22+
.wcf--author-posts-designation{
23+
font-size: 18px;
24+
font-weight: 400;
25+
margin-bottom: 20px;
26+
text-transform: capitalize;
27+
}
28+
.wcf--author-posts-email,.wcf--author-posts-phone{
29+
font-size: 18px;
30+
font-weight: 400;
31+
margin-bottom: 5px;
32+
text-transform: lowercase;
33+
}
34+
.wcf--author-posts-phone{
35+
margin-bottom: 0;
36+
}
37+
.wcf--author-posts-social-title{
38+
font-size: 18px;
39+
font-weight: 400;
40+
margin-bottom: 15px;
41+
margin-top: 20px;
42+
text-transform: capitalize;
43+
}
44+
.wcf--author-posts-social-icons {
45+
display: flex;
46+
gap: 30px;
47+
}
48+
.wcf--social-icon {
49+
display: flex;
50+
align-items: center;
51+
gap: 5px;
52+
a{
53+
line-height: 0;
54+
}
55+
}
56+
57+
/* post layout style */
58+
59+
.wcf--author-posts {
60+
display: grid;
61+
grid-template-columns: 410px 1fr;
62+
}
63+
.wcf--author-posts__posts{
64+
display: grid;
65+
grid-template-columns: repeat(2, 1fr);
66+
border-inline-start: 1px solid #1212121A;
67+
}
68+
.wcf--author-posts__posts__item {
69+
border-style: solid;
70+
border-width: 0px 1px 1px 0px;
71+
border-color: #1212121A;
72+
padding: 0px 25px 20px 25px;
73+
margin: 0px 0px 0px 0px;
74+
text-align: start;
75+
}

assets/css/widgets/testimonial3.min.css

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/widgets/video-box.min.css

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

class-plugin.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,13 @@ public static function get_widget_style() {
445445
'version' => false,
446446
'media' => 'all',
447447
],
448+
'author-posts' => [
449+
'handler' => 'wcf--author-posts',
450+
'src' => 'widgets/author-posts.css',
451+
'dep' => [],
452+
'version' => false,
453+
'media' => 'all',
454+
],
448455
'meta-info' => [
449456
'handler' => 'wcf--meta-info',
450457
'src' => 'widgets/meta-info.min.css',
@@ -612,7 +619,8 @@ private function include_files() {
612619
require_once WCF_ADDONS_PATH . 'inc/ajax-handler.php';
613620
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-post-query.php';
614621
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-button.php';
615-
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-slider.php';
622+
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-slider.php';
623+
include_once WCF_ADDONS_PATH . 'inc/author-posts.php';
616624
//extensions
617625
$this->register_extensions();
618626
}

config.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,22 @@
767767
'youtube_url' => '',
768768
'description' => 'Customize reaction button styles and separator icons to seamlessly fit your website’s design.'
769769
],
770+
'author-posts' => [
771+
'label' => 'Author Posts',
772+
'location' => [
773+
'cTab' => 'all'
774+
],
775+
'is_active' => false,
776+
'is_pro' => false,
777+
'is_extension' => false,
778+
'is_upcoming' => false,
779+
'icon' => "wcf-icon-Post-Meta-Info",
780+
'demo_url' => 'https://animation-addons.com/docs/dynamic-widgets/author-posts/',
781+
'doc_url' => 'https://animation-addons.com/docs/dynamic-widgets/author-posts/',
782+
'youtube_url' => '',
783+
'description' => 'Use author Post to keep your readers informed without cluttering your beautiful layout.'
784+
],
785+
770786
'post-meta-info' => [
771787
'label' => 'Post Meta Info',
772788
'location' => [

0 commit comments

Comments
 (0)