PluginProbe
Booktics – Appointment Booking Calendar for Service Businesses / 1.0.10
Booktics – Appointment Booking Calendar for Service Businesses v1.0.10
1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 All 31 releases
booktics / vendor / arraytics / plugin-notice-sdk / src / views / utility-story-template.php

utility-story-template.php in Booktics – Appointment Booking Calendar for Service Businesses 1.0.10, at vendor/arraytics/plugin-notice-sdk/src/views/utility-story-template.php

151 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <style>
2 .utility-stories-str {
3 display: flex;
4 flex-wrap: wrap;
5 width: 100%;
6 margin-bottom: 10px;
7 }
8 .utility-stories-str-thumb {
9 width: 75px;
10 padding-right: 7px;
11 box-sizing: border-box;
12 align-self: flex-start;
13 padding-top: 5px;
14 }
15 .utility-stories-str-thumb img {
16 width: 100%;
17 display: block;
18 min-height: 34px;
19 }
20 .utility-stories-str-desc.with-image {
21 width: calc(100% - 75px);
22 font-weight: 400;
23 line-height: 1.5;
24 font-size: 13px;
25 }
26 .utility-stories-str-desc a {
27 font-weight: 500;
28 color: #0073aa;
29 text-decoration: none;
30 padding-bottom: 5px;
31 display: inline-block;
32 }
33 .utility-stories-str:last-child {
34 margin-bottom: 0;
35 }
36 .utility-stories-str-desc span {
37 display: block;
38 }
39 .utility-bullet-wall {
40 width: 6px;
41 height: 6px;
42 border-radius: 50%;
43 background-color: black;
44 display: inline-block;
45 margin: 0 5px;
46 }
47 .utility-dashboard-widget-block {
48 width: 100%;
49 }
50 .utility-dashboard-widget-block .utility-title-bar a{
51 color: #23282d;
52 font-weight: 400;
53 font-size: 12px;
54 }
55 .utility-dashboard-widget-block .utility-title-bar {
56 display: table;
57 width: 100%;
58 -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.05);
59 box-shadow: 0 5px 8px rgba(0, 0, 0, 0.05);
60 margin: 0 -12px 8px;
61 padding: 0 12px 12px;
62 }
63 .utility-dashboard-widget-block .utility-footer-bar {
64 border-top: 1px solid #eee;
65 padding-top: 1rem;
66 }
67 .utility-dashboard-widget-block .utility-footer-bar a {
68 padding: 0 5px;
69 }
70 .utility-dashboard-widget-block a {
71 text-decoration: none;
72 font-size: 14px;
73 color: #007cba;
74 font-weight: 600;
75 }
76 .utility-stories-str .utility-banner {
77 width: 100%;
78 }
79 .utility-dashboard-widget-block .dashicons {
80 vertical-align: middle;
81 font-size: 17px;
82 }
83 </style>
84
85 <div class="utility-dashboard-widget-block">
86 <div class="utility-title-bar">
87 <?php
88 $plugin_links = apply_filters('wpmet/stories/plugin_links', []);
89 foreach ($plugin_links as $k => $link) {
90 echo '<a target="_blank" href="' . esc_url($link[1]) . '"> ' . esc_html($link[0]) . '</a>';
91 if (isset($plugin_links[$k + 1])) {
92 echo '<div class="utility-bullet-wall"></div>';
93 }
94 }
95 ?>
96 </div>
97 </div>
98
99 <?php
100 foreach ( $this->stories as $story ) :
101 if ( $story['type'] === 'news' || $story['type'] === '' ) :
102 ?>
103 <div class="utility-stories-str <?php echo ( ( isset( $story['story_image'] ) && $story['story_image'] != '' ) ? 'with-image' : '' ); ?>">
104 <?php if ( isset( $story['story_image'] ) && $story['story_image'] != '' ) : ?>
105 <div class="utility-stories-str-thumb">
106 <img src="<?php echo esc_url( $story['story_image'] ); ?>" />
107 </div>
108 <?php endif; ?>
109
110 <div class="utility-stories-str-desc">
111
112 <a target="_blank" href="<?php echo esc_url( $story['story_link'] ); ?>">
113 <?php echo esc_html( $story['title'] ); ?>
114 </a>
115
116 <?php if ( isset( $story['description'] ) && $story['description'] != '' ) : ?>
117 <span><?php echo esc_html( $story['description'] ); ?> </span>
118 <?php endif; ?>
119
120 </div>
121 </div>
122 <?php
123 elseif ( $story['type'] === 'banner' ) :
124 ?>
125 <div class="utility-stories-str">
126 <a target="_blank" href="<?php echo esc_url( $story['story_link'] ); ?>">
127 <img class="utility-banner" src="<?php echo isset( $story['story_image'] ) && $story['story_image'] != '' ? esc_url($story['story_image']) : '#'; ?>" />
128 </a>
129 </div>
130 <?php
131 endif;
132 endforeach;
133 ?>
134
135 <div class="utility-dashboard-widget-block">
136 <div class="utility-footer-bar">
137 <a href="https://wpmet.com/support-ticket" target="_blank">
138 <?php echo esc_html__( 'Need Help?', 'eventin' ); ?>
139 <span aria-hidden="true" class="dashicons dashicons-external"></span>
140 </a>
141 <a href="https://wpmet.com/blog/" target="_blank">
142 <?php echo esc_html__( 'Blog', 'eventin' ); ?>
143 <span aria-hidden="true" class="dashicons dashicons-external"></span>
144 </a>
145 <a href="https://wpmet.com/fb-group" target="_blank" style="color: #27ae60;">
146 <?php echo esc_html__( 'Facebook Community', 'eventin' ); ?>
147 <span aria-hidden="true" class="dashicons dashicons-external"></span>
148 </a>
149 </div>
150 </div>
151