Version Description
Download this release
Release Info
Developer | MyThemeShop |
Plugin | WP Review |
Version | 5.0.0 |
Comparing to | |
See all releases |
Code changes from version 4.0.17 to 5.0.0
- admin/activation.php +1 -1
- admin/admin.php +572 -87
- admin/assets/css/admin.css +343 -0
- admin/assets/css/jquery-ui.min.css +360 -0
- admin/assets/css/select2.min.css +1 -0
- admin/assets/images/loading.svg +17 -0
- admin/assets/images/wp-review-pro.jpg +0 -0
- admin/assets/js/admin.import.js +33 -0
- admin/assets/js/admin.js +799 -0
- admin/assets/js/editor-plugin.js +372 -0
- admin/assets/js/rating-inputs.js +234 -0
- admin/assets/js/review-items.js +235 -0
- admin/assets/js/select2.min.js +1 -0
- {assets → admin/assets}/js/wp-review-tab-widget-admin.js +39 -34
- admin/class-wp-review-form-field.php +53 -0
- admin/class-wp-review-options.php +200 -0
- admin/demo-importer.php +52 -0
- admin/demo-importer/class-wp-import.php +1198 -0
- admin/demo-importer/class-wp-review-demo-importer.php +35 -0
- admin/demo-importer/parsers.php +698 -0
- admin/font-awesome-icons.php +685 -0
- admin/import.php +46 -0
- admin/metaboxes.php +1220 -499
- admin/options.php +0 -348
- admin/options/facebook.php +45 -0
- admin/options/google.php +30 -0
- admin/options/hello-bar.php +227 -0
- admin/options/help.php +31 -0
- admin/options/import.php +79 -0
- admin/options/multisite.php +313 -0
- admin/options/popup.php +270 -0
- admin/options/review.php +962 -0
- admin/options/role-manager.php +42 -0
- admin/options/yelp.php +31 -0
- admin/review-options-meta-box.php +230 -0
- assets/css/admin.css +0 -208
- assets/css/wp-review-ie7.css +0 -14
- assets/css/wp-review-tab-widget.css +0 -191
- assets/css/wp-review.css +0 -605
- assets/images/largethumb.png +0 -0
- assets/images/smallthumb.png +0 -0
- assets/images/wp-review-pro.jpg +0 -0
- assets/js/admin.js +0 -325
- assets/js/main.js +0 -101
- box-templates/aqua.php +471 -0
- box-templates/default.php +234 -153
- box-templates/global/partials/review-links.php +26 -0
- box-templates/global/partials/review-schema.php +69 -0
- box-templates/global/partials/schema-link.php +8 -0
- box-templates/global/review-items.php +48 -0
- box-templates/shortcodes/comparison-table.php +83 -0
- comments/comments.php +69 -0
- filter-list.php +543 -132
- includes/ajax.php +408 -0
- includes/comments.php +1153 -0
- includes/demo/demo-content.xml +2906 -0
admin/activation.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php // SILENCE IS GOLDEN.
|
1 |
+
<?php // SILENCE IS GOLDEN.
|
admin/admin.php
CHANGED
@@ -1,87 +1,572 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin functions for this plugin.
|
4 |
-
*
|
5 |
-
* @since 1.0
|
6 |
-
* @copyright Copyright (c) 2013, MyThemesShop
|
7 |
-
* @author MyThemesShop
|
8 |
-
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
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 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin functions for this plugin.
|
4 |
+
*
|
5 |
+
* @since 1.0
|
6 |
+
* @copyright Copyright (c) 2013, MyThemesShop
|
7 |
+
* @author MyThemesShop
|
8 |
+
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
9 |
+
* @package WP_Review
|
10 |
+
*/
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Register custom style for the meta box.
|
14 |
+
*
|
15 |
+
* @since 1.0
|
16 |
+
* @since 3.0.0 Add select2
|
17 |
+
*
|
18 |
+
* @param string $hook_suffix Admin page hook suffix.
|
19 |
+
*/
|
20 |
+
function wp_review_admin_style( $hook_suffix ) {
|
21 |
+
if ( ! in_array( $hook_suffix, array( 'post-new.php', 'edit-comments.php', 'post.php', 'edit.php', 'widgets.php', 'settings_page_wp-review/admin/options' ) ) ) {
|
22 |
+
return;
|
23 |
+
}
|
24 |
+
|
25 |
+
wp_enqueue_style( 'fontawesome', WP_REVIEW_ASSETS . 'css/font-awesome.min.css', array(), '4.7.0' );
|
26 |
+
|
27 |
+
wp_register_script( 'jquery-knob', trailingslashit( WP_REVIEW_ASSETS ) . 'js/jquery.knob.min.js', array( 'jquery' ), '1.1', true );
|
28 |
+
|
29 |
+
wp_enqueue_script( 'select2', WP_REVIEW_URI . 'admin/assets/js/select2.min.js', array( 'jquery' ), '4.0.4', true );
|
30 |
+
wp_enqueue_style( 'select2', WP_REVIEW_URI . 'admin/assets/css/select2.min.css', array(), '4.0.4' );
|
31 |
+
|
32 |
+
wp_enqueue_style( 'wp_review-style', trailingslashit( WP_REVIEW_ASSETS ) . 'css/wp-review.css', array(), WP_REVIEW_PLUGIN_VERSION, 'all' );
|
33 |
+
|
34 |
+
wp_enqueue_style( 'wp-review-admin-style', WP_REVIEW_URI . 'admin/assets/css/admin.css', array( 'wp-color-picker' ) );
|
35 |
+
|
36 |
+
wp_enqueue_style( 'magnificPopup', WP_REVIEW_ASSETS . 'css/magnific-popup.css', array(), '1.1.0' );
|
37 |
+
wp_enqueue_script( 'magnificPopup', WP_REVIEW_ASSETS . 'js/jquery.magnific-popup.min.js', array( 'jquery' ), '1.1.0', true );
|
38 |
+
|
39 |
+
wp_enqueue_media();
|
40 |
+
add_thickbox();
|
41 |
+
|
42 |
+
wp_enqueue_script( 'jquery-knob', WP_REVIEW_ASSETS . 'js/jquery.knob.min.js', array( 'jquery' ), '1.2.12', true );
|
43 |
+
|
44 |
+
wp_register_script( 'js-cookie', WP_REVIEW_ASSETS . 'js/js.cookie.min.js', array(), '2.1.4', true );
|
45 |
+
|
46 |
+
wp_enqueue_script(
|
47 |
+
'wp-review-rating-inputs',
|
48 |
+
WP_REVIEW_URI . 'admin/assets/js/rating-inputs.js',
|
49 |
+
array( 'jquery-knob', 'jquery-ui-slider' ),
|
50 |
+
'3.0.0',
|
51 |
+
true
|
52 |
+
);
|
53 |
+
|
54 |
+
wp_enqueue_script(
|
55 |
+
'wp-review-admin-script',
|
56 |
+
WP_REVIEW_URI . 'admin/assets/js/admin.js',
|
57 |
+
array(
|
58 |
+
'wp-color-picker',
|
59 |
+
'jquery',
|
60 |
+
'jquery-ui-core',
|
61 |
+
'jquery-ui-slider',
|
62 |
+
'jquery-ui-sortable',
|
63 |
+
'jquery-ui-datepicker',
|
64 |
+
'wp-util',
|
65 |
+
'wp-review-rating-inputs',
|
66 |
+
'js-cookie',
|
67 |
+
'magnificPopup',
|
68 |
+
'imagesloaded',
|
69 |
+
),
|
70 |
+
'3.0.0',
|
71 |
+
true
|
72 |
+
);
|
73 |
+
|
74 |
+
wp_enqueue_script(
|
75 |
+
'wp-review-admin-import',
|
76 |
+
WP_REVIEW_URI . 'admin/assets/js/admin.import.js',
|
77 |
+
array( 'jquery', 'wp-util' ),
|
78 |
+
'3.0.0',
|
79 |
+
true
|
80 |
+
);
|
81 |
+
|
82 |
+
wp_enqueue_script(
|
83 |
+
'wp-review-review-items',
|
84 |
+
WP_REVIEW_URI . 'admin/assets/js/review-items.js',
|
85 |
+
array( 'backbone', 'wp-review-admin-script', 'jquery-ui-sortable' ),
|
86 |
+
'3.0.6',
|
87 |
+
true
|
88 |
+
);
|
89 |
+
|
90 |
+
wp_localize_script(
|
91 |
+
'wp-review-admin-script',
|
92 |
+
'wprVars',
|
93 |
+
array(
|
94 |
+
'ratingPermissionsCommentOnly' => WP_REVIEW_REVIEW_COMMENT_ONLY,
|
95 |
+
'ratingPermissionsBoth' => WP_REVIEW_REVIEW_ALLOW_BOTH,
|
96 |
+
'imgframe_title' => __( 'Select Image', 'wp-review' ),
|
97 |
+
'imgbutton_title' => __( 'Insert Image', 'wp-review' ),
|
98 |
+
'imgremove_title' => __( 'Remove Image', 'wp-review' ),
|
99 |
+
'title' => __( 'Title', 'wp-review' ),
|
100 |
+
'searchTerm' => __( 'Search term', 'wp-review' ),
|
101 |
+
'searchLocation' => __( 'Search location', 'wp-review' ),
|
102 |
+
'limit' => __( 'Limit', 'wp-review' ),
|
103 |
+
'searchRadius' => __( 'Radius', 'wp-review' ),
|
104 |
+
'searchCategories' => __( 'Categories', 'wp-review' ),
|
105 |
+
'searchLocale' => __( 'Locale', 'wp-review' ),
|
106 |
+
'searchOffset' => __( 'Offset', 'wp-review' ),
|
107 |
+
'sort_by' => __( 'SortBy', 'wp-review' ),
|
108 |
+
'searchPrice' => __( 'Price range', 'wp-review' ),
|
109 |
+
'open_now' => __( 'Open now', 'wp-review' ),
|
110 |
+
'attributes' => __( 'Attributes', 'wp-review' ),
|
111 |
+
'businessId' => __( 'Business ID', 'wp-review' ),
|
112 |
+
'locationLookup' => __( 'Location lookup', 'wp-review' ),
|
113 |
+
'placeId' => __( 'Place ID', 'wp-review' ),
|
114 |
+
'placeType' => __( 'Place type', 'wp-review' ),
|
115 |
+
'all' => __( 'All', 'wp-review' ),
|
116 |
+
'establishments' => __( 'Establishments', 'wp-review' ),
|
117 |
+
'addresses' => __( 'Addresses', 'wp-review' ),
|
118 |
+
'geocodes' => __( 'Geocodes', 'wp-review' ),
|
119 |
+
'pageId' => __( 'Page ID', 'wp-review' ),
|
120 |
+
'generateToken' => __( 'Generate token', 'wp-review' ),
|
121 |
+
'comparisonTable' => __( 'Comparison table', 'wp-review' ),
|
122 |
+
'reviewIds' => __( 'Review IDs (separate by commas)', 'wp-review' ),
|
123 |
+
'reviewPosts' => __( 'Review posts', 'wp-review' ),
|
124 |
+
'queryType' => __( 'Query type', 'wp-review' ),
|
125 |
+
'recentReviews' => __( 'Recent reviews', 'wp-review' ),
|
126 |
+
'topRated' => __( 'Top rated', 'wp-review' ),
|
127 |
+
'mostVoted' => __( 'Most voted', 'wp-review' ),
|
128 |
+
'categoryReviews' => __( 'Category reviews', 'wp-review' ),
|
129 |
+
'reviewTypesText' => __( 'Review types', 'wp-review' ),
|
130 |
+
'separateByCommas' => __( 'separate by commas', 'wp-review' ),
|
131 |
+
'categoryIds' => __( 'Category IDs', 'wp-review' ),
|
132 |
+
'allowPagination' => __( 'Allow pagination', 'wp-review' ),
|
133 |
+
'numberOfReviews' => __( 'Number of reviews', 'wp-review' ),
|
134 |
+
'titleLength' => __( 'Title length (words)', 'wp-review' ),
|
135 |
+
'thumbSize' => __( 'Thumb size', 'wp-review' ),
|
136 |
+
'small' => __( 'Small', 'wp-review' ),
|
137 |
+
'large' => __( 'Large', 'wp-review' ),
|
138 |
+
'showDate' => __( 'Show date', 'wp-review' ),
|
139 |
+
'reviewBox' => __( 'Review box', 'wp-review' ),
|
140 |
+
'reviewTotal' => __( 'Review total', 'wp-review' ),
|
141 |
+
'visitorRating' => __( 'Visitor rating', 'wp-review' ),
|
142 |
+
'commentsRating' => __( 'Comments rating', 'wp-review' ),
|
143 |
+
'reviewId' => __( 'Review ID', 'wp-review' ),
|
144 |
+
'leaveReviewIdEmpty' => __( 'Leave empty to use current review ID', 'wp-review' ),
|
145 |
+
'insert' => __( 'Insert', 'wp-review' ),
|
146 |
+
'cancel' => __( 'Cancel', 'wp-review' ),
|
147 |
+
'reviewTypes' => wp_review_get_rating_types(),
|
148 |
+
'globalReviewType' => wp_review_option( 'review_type', 'none' ),
|
149 |
+
'assetsUrl' => WP_REVIEW_ASSETS,
|
150 |
+
'boxTemplates' => wp_review_get_box_templates(),
|
151 |
+
'purgeRatingsNonce' => wp_create_nonce( 'wpr_purge_ratings' ),
|
152 |
+
'confirmPurgeRatings' => esc_html__( 'Are you sure you want to do this?', 'wp-review' ),
|
153 |
+
'importDemoConfirm' => __( 'Are you sure you want to import demo?', 'wp-review' ),
|
154 |
+
'importDemoDone' => __( 'Importing proccess finished!', 'wp-review' ),
|
155 |
+
)
|
156 |
+
);
|
157 |
+
|
158 |
+
wp_localize_script(
|
159 |
+
'wp-review-admin-import',
|
160 |
+
'wprImportVars',
|
161 |
+
array(
|
162 |
+
'confirm' => __( 'Are you sure you want to import from %s?', 'wp-review' ),
|
163 |
+
'server_error' => __( 'The server responded with an error. Try again.', 'wp-review' ),
|
164 |
+
'confirmOptionsImport' => __( 'Are you sure you want to import options? All current options will be lost.', 'wp-review' ),
|
165 |
+
'importOptionsNonce' => wp_create_nonce( 'wp-review-import-options' ),
|
166 |
+
)
|
167 |
+
);
|
168 |
+
|
169 |
+
wp_enqueue_style(
|
170 |
+
'jquery-ui',
|
171 |
+
WP_REVIEW_URI . 'admin/assets/css/jquery-ui.min.css',
|
172 |
+
array(),
|
173 |
+
'1.12.1'
|
174 |
+
);
|
175 |
+
|
176 |
+
// Load frontend css but not on the post editor screen.
|
177 |
+
if ( stripos( 'post.php', $hook_suffix ) === false ) {
|
178 |
+
wp_enqueue_style( 'wp_review-style', trailingslashit( WP_REVIEW_ASSETS ) . 'css/wp-review.css', array(), WP_REVIEW_PLUGIN_VERSION, 'all' );
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
add_action( 'admin_enqueue_scripts', 'wp_review_admin_style' );
|
183 |
+
|
184 |
+
|
185 |
+
/**
|
186 |
+
* Gets list of icons.
|
187 |
+
*
|
188 |
+
* @since 3.0.0
|
189 |
+
*
|
190 |
+
* @return array
|
191 |
+
*/
|
192 |
+
function wp_review_get_icons() {
|
193 |
+
$icons = include WP_REVIEW_ADMIN . 'font-awesome-icons.php';
|
194 |
+
/**
|
195 |
+
* Filters list of font icons.
|
196 |
+
*
|
197 |
+
* @since 3.0.0
|
198 |
+
*
|
199 |
+
* @param array $icons List of icons. View file `wp-review/admin/font-awesome-icons.php
|
200 |
+
*/
|
201 |
+
return apply_filters( 'wp_review_icons', $icons );
|
202 |
+
}
|
203 |
+
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Gets list of animations in.
|
207 |
+
*
|
208 |
+
* @since 3.0.0
|
209 |
+
*
|
210 |
+
* @return array
|
211 |
+
*/
|
212 |
+
function wp_review_get_animations_in() {
|
213 |
+
return array(
|
214 |
+
__( 'Attention Seekers', 'wp-review' ) => array(
|
215 |
+
'bounce' => __( 'bounce', 'wp-review' ),
|
216 |
+
'flash' => __( 'flash', 'wp-review' ),
|
217 |
+
'pulse' => __( 'pulse', 'wp-review' ),
|
218 |
+
'rubberBand' => __( 'rubberBand', 'wp-review' ),
|
219 |
+
'shake' => __( 'shake', 'wp-review' ),
|
220 |
+
'swing' => __( 'swing', 'wp-review' ),
|
221 |
+
'tada' => __( 'tada', 'wp-review' ),
|
222 |
+
'wobble' => __( 'wobble', 'wp-review' ),
|
223 |
+
'jello' => __( 'jello', 'wp-review' ),
|
224 |
+
),
|
225 |
+
__( 'Bouncing Entrances', 'wp-review' ) => array(
|
226 |
+
'bounceIn' => __( 'bounceIn', 'wp-review' ),
|
227 |
+
'bounceInDown' => __( 'bounceInDown', 'wp-review' ),
|
228 |
+
'bounceInLeft' => __( 'bounceInLeft', 'wp-review' ),
|
229 |
+
'bounceInRight' => __( 'bounceInRight', 'wp-review' ),
|
230 |
+
'bounceInUp' => __( 'bounceInUp', 'wp-review' ),
|
231 |
+
),
|
232 |
+
__( 'Fading Entrances', 'wp-review' ) => array(
|
233 |
+
'fadeIn' => __( 'fadeIn', 'wp-review' ),
|
234 |
+
'fadeInDown' => __( 'fadeInDown', 'wp-review' ),
|
235 |
+
'fadeInDownBig' => __( 'fadeInDownBig', 'wp-review' ),
|
236 |
+
'fadeInLeft' => __( 'fadeInLeft', 'wp-review' ),
|
237 |
+
'fadeInLeftBig' => __( 'fadeInLeftBig', 'wp-review' ),
|
238 |
+
'fadeInRight' => __( 'fadeInRight', 'wp-review' ),
|
239 |
+
'fadeInRightBig' => __( 'fadeInRightBig', 'wp-review' ),
|
240 |
+
'fadeInUp' => __( 'fadeInUp', 'wp-review' ),
|
241 |
+
'fadeInUpBig' => __( 'fadeInUpBig', 'wp-review' ),
|
242 |
+
),
|
243 |
+
__( 'Flippers', 'wp-review' ) => array(
|
244 |
+
'flip' => __( 'flip', 'wp-review' ),
|
245 |
+
'flipInX' => __( 'flipInX', 'wp-review' ),
|
246 |
+
'flipInY' => __( 'flipInY', 'wp-review' ),
|
247 |
+
'flipOutX' => __( 'flipOutX', 'wp-review' ),
|
248 |
+
'flipOutY' => __( 'flipOutY', 'wp-review' ),
|
249 |
+
),
|
250 |
+
__( 'Lightspeed', 'wp-review' ) => array(
|
251 |
+
'lightSpeedIn' => __( 'lightSpeedIn', 'wp-review' ),
|
252 |
+
'lightSpeedOut' => __( 'lightSpeedOut', 'wp-review' ),
|
253 |
+
),
|
254 |
+
__( 'Rotating Entrances', 'wp-review' ) => array(
|
255 |
+
'rotateIn' => __( 'rotateIn', 'wp-review' ),
|
256 |
+
'rotateInDownLeft' => __( 'rotateInDownLeft', 'wp-review' ),
|
257 |
+
'rotateInDownRight' => __( 'rotateInDownRight', 'wp-review' ),
|
258 |
+
'rotateInUpLeft' => __( 'rotateInUpLeft', 'wp-review' ),
|
259 |
+
'rotateInUpRight' => __( 'rotateInUpRight', 'wp-review' ),
|
260 |
+
),
|
261 |
+
__( 'Sliding Entrances', 'wp-review' ) => array(
|
262 |
+
'slideInUp' => __( 'slideInUp', 'wp-review' ),
|
263 |
+
'slideInDown' => __( 'slideInDown', 'wp-review' ),
|
264 |
+
'slideInLeft' => __( 'slideInLeft', 'wp-review' ),
|
265 |
+
'slideInRight' => __( 'slideInRight', 'wp-review' ),
|
266 |
+
),
|
267 |
+
__( 'Zoom Entrances', 'wp-review' ) => array(
|
268 |
+
'zoomIn' => __( 'zoomIn', 'wp-review' ),
|
269 |
+
'zoomInDown' => __( 'zoomInDown', 'wp-review' ),
|
270 |
+
'zoomInLeft' => __( 'zoomInLeft', 'wp-review' ),
|
271 |
+
'zoomInRight' => __( 'zoomInRight', 'wp-review' ),
|
272 |
+
'zoomInUp' => __( 'zoomInUp', 'wp-review' ),
|
273 |
+
),
|
274 |
+
__( 'Specials', 'wp-review' ) => array(
|
275 |
+
'hinge' => __( 'hinge', 'wp-review' ),
|
276 |
+
'jackInTheBox' => __( 'jackInTheBox', 'wp-review' ),
|
277 |
+
'rollIn' => __( 'rollIn', 'wp-review' ),
|
278 |
+
'rollOut' => __( 'rollOut', 'wp-review' ),
|
279 |
+
),
|
280 |
+
);
|
281 |
+
}
|
282 |
+
|
283 |
+
|
284 |
+
/**
|
285 |
+
* Gets list of animations out.
|
286 |
+
*
|
287 |
+
* @since 3.0.0
|
288 |
+
*
|
289 |
+
* @return array
|
290 |
+
*/
|
291 |
+
function wp_review_get_animations_out() {
|
292 |
+
return array(
|
293 |
+
__( 'Attention Seekers', 'wp-review' ) => array(
|
294 |
+
'bounce' => __( 'bounce', 'wp-review' ),
|
295 |
+
'flash' => __( 'flash', 'wp-review' ),
|
296 |
+
'pulse' => __( 'pulse', 'wp-review' ),
|
297 |
+
'rubberBand' => __( 'rubberBand', 'wp-review' ),
|
298 |
+
'shake' => __( 'shake', 'wp-review' ),
|
299 |
+
'swing' => __( 'swing', 'wp-review' ),
|
300 |
+
'tada' => __( 'tada', 'wp-review' ),
|
301 |
+
'wobble' => __( 'wobble', 'wp-review' ),
|
302 |
+
'jello' => __( 'jello', 'wp-review' ),
|
303 |
+
),
|
304 |
+
__( 'Bouncing Exits', 'wp-review' ) => array(
|
305 |
+
'bounceOut' => __( 'bounceOut', 'wp-review' ),
|
306 |
+
'bounceOutDown' => __( 'bounceOutDown', 'wp-review' ),
|
307 |
+
'bounceOutLeft' => __( 'bounceOutLeft', 'wp-review' ),
|
308 |
+
'bounceOutRight' => __( 'bounceOutRight', 'wp-review' ),
|
309 |
+
'bounceOutUp' => __( 'bounceOutUp', 'wp-review' ),
|
310 |
+
),
|
311 |
+
__( 'Fading Exits', 'wp-review' ) => array(
|
312 |
+
'fadeOut' => __( 'fadeOut', 'wp-review' ),
|
313 |
+
'fadeOutDown' => __( 'fadeOutDown', 'wp-review' ),
|
314 |
+
'fadeOutDownBig' => __( 'fadeOutDownBig', 'wp-review' ),
|
315 |
+
'fadeOutLeft' => __( 'fadeOutLeft', 'wp-review' ),
|
316 |
+
'fadeOutLeftBig' => __( 'fadeOutLeftBig', 'wp-review' ),
|
317 |
+
'fadeOutRight' => __( 'fadeOutRight', 'wp-review' ),
|
318 |
+
'fadeOutRightBig' => __( 'fadeOutRightBig', 'wp-review' ),
|
319 |
+
'fadeOutUp' => __( 'fadeOutUp', 'wp-review' ),
|
320 |
+
'fadeOutUpBig' => __( 'fadeOutUpBig', 'wp-review' ),
|
321 |
+
),
|
322 |
+
__( 'Flippers', 'wp-review' ) => array(
|
323 |
+
'flip' => __( 'flip', 'wp-review' ),
|
324 |
+
'flipInX' => __( 'flipInX', 'wp-review' ),
|
325 |
+
'flipInY' => __( 'flipInY', 'wp-review' ),
|
326 |
+
'flipOutX' => __( 'flipOutX', 'wp-review' ),
|
327 |
+
'flipOutY' => __( 'flipOutY', 'wp-review' ),
|
328 |
+
),
|
329 |
+
__( 'Lightspeed', 'wp-review' ) => array(
|
330 |
+
'lightSpeedIn' => __( 'lightSpeedIn', 'wp-review' ),
|
331 |
+
'lightSpeedOut' => __( 'lightSpeedOut', 'wp-review' ),
|
332 |
+
),
|
333 |
+
__( 'Rotating Exits', 'wp-review' ) => array(
|
334 |
+
'rotateOut' => __( 'rotateOut', 'wp-review' ),
|
335 |
+
'rotateOutDownLeft' => __( 'rotateOutDownLeft', 'wp-review' ),
|
336 |
+
'rotateOutDownRight' => __( 'rotateOutDownRight', 'wp-review' ),
|
337 |
+
'rotateOutUpLeft' => __( 'rotateOutUpLeft', 'wp-review' ),
|
338 |
+
'rotateOutUpRight' => __( 'rotateOutUpRight', 'wp-review' ),
|
339 |
+
),
|
340 |
+
__( 'Sliding Exits', 'wp-review' ) => array(
|
341 |
+
'slideOutUp' => __( 'slideOutUp', 'wp-review' ),
|
342 |
+
'slideOutDown' => __( 'slideOutDown', 'wp-review' ),
|
343 |
+
'slideOutLeft' => __( 'slideOutLeft', 'wp-review' ),
|
344 |
+
'slideOutRight' => __( 'slideOutRight', 'wp-review' ),
|
345 |
+
),
|
346 |
+
__( 'Zoom Exits', 'wp-review' ) => array(
|
347 |
+
'zoomOut' => __( 'zoomOut', 'wp-review' ),
|
348 |
+
'zoomOutDown' => __( 'zoomOutDown', 'wp-review' ),
|
349 |
+
'zoomOutLeft' => __( 'zoomOutLeft', 'wp-review' ),
|
350 |
+
'zoomOutRight' => __( 'zoomOutRight', 'wp-review' ),
|
351 |
+
'zoomOutUp' => __( 'zoomOutUp', 'wp-review' ),
|
352 |
+
),
|
353 |
+
__( 'Specials', 'wp-review' ) => array(
|
354 |
+
'hinge' => __( 'hinge', 'wp-review' ),
|
355 |
+
'jackInTheBox' => __( 'jackInTheBox', 'wp-review' ),
|
356 |
+
'rollIn' => __( 'rollIn', 'wp-review' ),
|
357 |
+
'rollOut' => __( 'rollOut', 'wp-review' ),
|
358 |
+
),
|
359 |
+
);
|
360 |
+
}
|
361 |
+
|
362 |
+
|
363 |
+
/**
|
364 |
+
* Animation dropdown.
|
365 |
+
*
|
366 |
+
* @since 3.0.0
|
367 |
+
*
|
368 |
+
* @param string $id Element ID.
|
369 |
+
* @param string $name Element name.
|
370 |
+
* @param string $value Selected value.
|
371 |
+
* @param bool $exit Show only exit animations.
|
372 |
+
*/
|
373 |
+
function wp_review_animations_dropdown( $id = '', $name = '', $value = '', $exit = false ) {
|
374 |
+
$animations = array( '' => esc_html__( 'No Animation', 'wp-review' ) );
|
375 |
+
|
376 |
+
if ( ! $exit ) {
|
377 |
+
$animations += wp_review_get_animations_in();
|
378 |
+
} else {
|
379 |
+
$animations += wp_review_get_animations_out();
|
380 |
+
}
|
381 |
+
|
382 |
+
printf( '<select id="%1$s" name="%2$s" class="js-select2">', esc_attr( $id ), esc_attr( $name ) );
|
383 |
+
wp_review_print_select_options( $animations, $value );
|
384 |
+
echo '</select>';
|
385 |
+
}
|
386 |
+
|
387 |
+
|
388 |
+
/**
|
389 |
+
* Prints select options.
|
390 |
+
*
|
391 |
+
* @since 3.0.0
|
392 |
+
*
|
393 |
+
* @param array $options Options.
|
394 |
+
* @param string $value Select value.
|
395 |
+
*/
|
396 |
+
function wp_review_print_select_options( $options, $value ) {
|
397 |
+
foreach ( $options as $key => $text ) {
|
398 |
+
if ( is_array( $text ) ) {
|
399 |
+
printf( '<optgroup label="%s">', esc_attr( $key ) );
|
400 |
+
wp_review_print_select_options( $text, $value );
|
401 |
+
echo '</optgroup>';
|
402 |
+
} else {
|
403 |
+
printf(
|
404 |
+
'<option value="%1$s" %3$s>%2$s</option>',
|
405 |
+
esc_attr( $key ),
|
406 |
+
esc_html( $text ),
|
407 |
+
selected( $value, $key, false )
|
408 |
+
);
|
409 |
+
}
|
410 |
+
}
|
411 |
+
}
|
412 |
+
|
413 |
+
|
414 |
+
/**
|
415 |
+
* Add settings link on plugin page.
|
416 |
+
*
|
417 |
+
* @param array $links Plugins setting links.
|
418 |
+
* @return array
|
419 |
+
*/
|
420 |
+
function wpreview_plugin_settings_link( $links ) {
|
421 |
+
$hide = wp_review_network_option( 'hide_global_options_' );
|
422 |
+
if ( ! $hide ) {
|
423 |
+
$dir = explode( '/', WP_REVIEW_PLUGIN_BASE );
|
424 |
+
$dir = $dir[0];
|
425 |
+
$settings_link = '<a href="options-general.php?page=wp-review/admin/options.php">' . __( 'Settings', 'wp-review' ) . '</a>';
|
426 |
+
array_unshift( $links, $settings_link );
|
427 |
+
}
|
428 |
+
return $links;
|
429 |
+
}
|
430 |
+
add_filter( 'plugin_action_links_' . WP_REVIEW_PLUGIN_BASE, 'wpreview_plugin_settings_link' );
|
431 |
+
|
432 |
+
|
433 |
+
/**
|
434 |
+
* Adds editor buttons.
|
435 |
+
*
|
436 |
+
* @param array $buttons Editor buttons.
|
437 |
+
* @return array
|
438 |
+
*/
|
439 |
+
function wp_review_editor_buttons( $buttons ) {
|
440 |
+
array_push( $buttons, 'wpreviewpro' );
|
441 |
+
return $buttons;
|
442 |
+
}
|
443 |
+
add_filter( 'mce_buttons', 'wp_review_editor_buttons' );
|
444 |
+
|
445 |
+
|
446 |
+
/**
|
447 |
+
* Adds editor plugin.
|
448 |
+
*
|
449 |
+
* @param array $plugin_array Editor plugins.
|
450 |
+
* @return array
|
451 |
+
*/
|
452 |
+
function wp_review_editor_js( $plugin_array ) {
|
453 |
+
$plugin_array['wp_review'] = WP_REVIEW_URI . 'admin/assets/js/editor-plugin.js';
|
454 |
+
return $plugin_array;
|
455 |
+
}
|
456 |
+
add_filter( 'mce_external_plugins', 'wp_review_editor_js' );
|
457 |
+
|
458 |
+
|
459 |
+
/**
|
460 |
+
* Normalizes option value
|
461 |
+
* Convert string as 'true' and 'false' to boolean value.
|
462 |
+
*
|
463 |
+
* @since 3.0.0
|
464 |
+
*
|
465 |
+
* @param mixed $value Option value.
|
466 |
+
* @return mixed
|
467 |
+
*/
|
468 |
+
function wp_review_normalize_option_value( $value ) {
|
469 |
+
if ( 'true' === $value ) {
|
470 |
+
return true;
|
471 |
+
}
|
472 |
+
if ( 'false' === $value ) {
|
473 |
+
return false;
|
474 |
+
}
|
475 |
+
return $value;
|
476 |
+
}
|
477 |
+
|
478 |
+
|
479 |
+
/**
|
480 |
+
* Gets plugin options export code.
|
481 |
+
*
|
482 |
+
* @since 3.0.0
|
483 |
+
*
|
484 |
+
* @return string
|
485 |
+
*/
|
486 |
+
function wp_review_get_options_export_code() {
|
487 |
+
$options = get_option( 'wp_review_options', array() );
|
488 |
+
return wp_json_encode( $options );
|
489 |
+
}
|
490 |
+
|
491 |
+
|
492 |
+
/**
|
493 |
+
* Imports plugin options.
|
494 |
+
*
|
495 |
+
* @since 3.0.0
|
496 |
+
*
|
497 |
+
* @param string $code Export code.
|
498 |
+
* @return bool
|
499 |
+
*/
|
500 |
+
function wp_review_import_options( $code ) {
|
501 |
+
$options = json_decode( $code, true );
|
502 |
+
if ( ! $options ) {
|
503 |
+
return false;
|
504 |
+
}
|
505 |
+
update_option( 'wp_review_options', $options );
|
506 |
+
return true;
|
507 |
+
}
|
508 |
+
|
509 |
+
|
510 |
+
/**
|
511 |
+
* Prints pro text.
|
512 |
+
*
|
513 |
+
* @param bool $strip_br Strip `<br>` tag.
|
514 |
+
*/
|
515 |
+
function wp_review_print_pro_text( $strip_br = false ) {
|
516 |
+
$br = ! $strip_br ? '<br>' : '';
|
517 |
+
echo $br . '<small class="wp-review-pro-text">' . esc_html__( 'Pro feature', 'wp-review' ) . '</small>'; // WPCS: xss ok.
|
518 |
+
}
|
519 |
+
|
520 |
+
|
521 |
+
/**
|
522 |
+
* Prints the Pro version popup.
|
523 |
+
*/
|
524 |
+
function wp_review_print_pro_popup() {
|
525 |
+
?>
|
526 |
+
<div id="wp-review-pro-popup-notice" class="mfp-hide">
|
527 |
+
<div class="pro-popup-title"><?php esc_html_e( 'Buy WP Review Pro', 'wp-review' ); ?></div>
|
528 |
+
<div class="pro-popup-content">
|
529 |
+
<img class="pro-popup-image" src="<?php echo esc_url( WP_REVIEW_URI . 'admin/assets/images/wp-review-pro.jpg' ); ?>" />
|
530 |
+
<h2 class="pro-notice-header"><?php esc_html_e( 'Like WP Review Plugin? You will LOVE WP Review Pro!', 'wp-review' ); ?></h2>
|
531 |
+
<p><?php esc_html_e( '15 new review box templates, 15 new Schema types, commment reviews, user can rate each feature, review popups, review notification bars, custom width, 9 new custom widgets, Google reviews, Facebook reviews, Yelp reviews and much more...', 'wp-review' ); ?></p>
|
532 |
+
<a class="button-primary" href="https://mythemeshop.com/plugins/wp-review-pro/?utm_source=WP+Review&utm_medium=Popup&utm_content=WP+Review+Pro+LP&utm_campaign=WordPressOrg" target="_blank"><?php esc_html_e( 'Buy WP Review Pro', 'wp-review' ); ?></a>
|
533 |
+
</div>
|
534 |
+
</div>
|
535 |
+
|
536 |
+
<style>
|
537 |
+
.mfp-hide { display: none !important; }
|
538 |
+
#wp-review-pro-popup-notice {
|
539 |
+
background: #FFF;
|
540 |
+
width: auto;
|
541 |
+
max-width: 630px;
|
542 |
+
margin: 20px auto;
|
543 |
+
position: relative;
|
544 |
+
}
|
545 |
+
#wp-review-pro-popup-notice .mfp-close { background-color: transparent; }
|
546 |
+
#wp-review-pro-popup-notice .pro-popup-title {
|
547 |
+
padding: 0 10px;
|
548 |
+
line-height: 29px;
|
549 |
+
font-weight: 600;
|
550 |
+
background: #fcfcfc;
|
551 |
+
border-bottom: 1px solid #ddd;
|
552 |
+
}
|
553 |
+
#wp-review-pro-popup-notice .pro-popup-content {
|
554 |
+
padding: 2px 15px 15px;
|
555 |
+
min-height: 195px;
|
556 |
+
}
|
557 |
+
#wp-review-pro-popup-notice .pro-popup-content:after {
|
558 |
+
content: " ";
|
559 |
+
display: block;
|
560 |
+
height: 0;
|
561 |
+
visibility: hidden;
|
562 |
+
clear: both;
|
563 |
+
}
|
564 |
+
#wp-review-pro-popup-notice .pro-popup-image {
|
565 |
+
width: 150px;
|
566 |
+
float: right;
|
567 |
+
margin: 10px;
|
568 |
+
}
|
569 |
+
</style>
|
570 |
+
<?php
|
571 |
+
}
|
572 |
+
add_action( 'admin_footer', 'wp_review_print_pro_popup' );
|
admin/assets/css/admin.css
ADDED
@@ -0,0 +1,343 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.border-box, .wpr-box-template-images { box-sizing: border-box; }
|
2 |
+
|
3 |
+
.border-box *, .wpr-box-template-images * { box-sizing: border-box; }
|
4 |
+
|
5 |
+
.wpr-flex { display: flex; flex-wrap: wrap; }
|
6 |
+
|
7 |
+
.wpr-flex-wrap { flex-wrap: wrap; }
|
8 |
+
|
9 |
+
.wpr-col-1-2 { flex: 0 0 50%; }
|
10 |
+
|
11 |
+
.wpr-col-1-3 { flex: 0 0 33.33%; margin-bottom: 12px; padding-bottom: 12px; }
|
12 |
+
|
13 |
+
.wpr-col-1-3 label { position: relative; padding-left: 20px; }
|
14 |
+
|
15 |
+
.wpr-col-1-3 label input[type=checkbox] { position: absolute; top: 0; left: 0; box-shadow: none; overflow: hidden; border: 2px solid rgba(33, 38, 44, 0.6); border-radius: 2px; }
|
16 |
+
|
17 |
+
.wpr-col-1-3 label input[type=checkbox]:checked { border-color: #069de3; }
|
18 |
+
|
19 |
+
.wpr-col-1-3 label input[type=checkbox]:checked:before { line-height: 16px; width: 17px; height: 16px; margin: -2px 0 0 -5px; content: '\f147'; text-align: center; color: #fff; border-radius: 2px; background: #069de3; }
|
20 |
+
|
21 |
+
.wp-review * { box-sizing: border-box; }
|
22 |
+
|
23 |
+
.wp-review p.submit { text-align: right; }
|
24 |
+
|
25 |
+
.wp-review h1 { margin-bottom: 15px; }
|
26 |
+
|
27 |
+
.wpr-flex-wrap { justify-content: space-between; }
|
28 |
+
|
29 |
+
.wpr-flex-wrap .wpr-col-1-2 { flex: 0 0 49%; }
|
30 |
+
|
31 |
+
.wpr-flex-wrap .wpr-col-1-2:last-child { float: right; }
|
32 |
+
|
33 |
+
/*--------------------------- Fields --------------------------*/
|
34 |
+
.wp-review-field { padding: 15px 0; border-bottom: 1px dashed #ddd; margin-top: 1em; margin-bottom: 1em; border-bottom: 1px dashed #ddd; }
|
35 |
+
|
36 |
+
.wp-review-field, .wp-review-field * { box-sizing: border-box; }
|
37 |
+
|
38 |
+
.postbox .wp-review-field { padding: 0; border-bottom: 0; }
|
39 |
+
|
40 |
+
@media (min-width: 600px) { .wp-review-field:not(.vertical):not(.no-flex) { display: flex; flex-wrap: wrap; }
|
41 |
+
.wp-review-field:not(.vertical):not(.no-flex) .wp-review-field-label { flex: 0 0 25%; padding-right: 4%; }
|
42 |
+
.wp-review-field:not(.vertical):not(.no-flex) .wp-review-field-label.full-width { flex: 0 0 100%; padding-right: 0; }
|
43 |
+
.wp-review-field:not(.vertical):not(.no-flex) .wp-review-field-option { flex: 0 0 75%; }
|
44 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image { position: relative; }
|
45 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon.hide, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image.hide { display: none; }
|
46 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon a.wpr-toggle-rating, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image a.wpr-toggle-rating { position: absolute; top: 0; right: 0; }
|
47 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon .img-wrapper, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image .img-wrapper { padding: 2px; width: 55px; height: 55px; border: 1px solid #ddd; position: relative; }
|
48 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon .img-wrapper img, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image .img-wrapper img { max-width: 100%; }
|
49 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon .img-wrapper i, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image .img-wrapper i { position: absolute; top: -6px; right: -6px; color: #444; cursor: pointer; }
|
50 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon .img-wrapper.hide, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image .img-wrapper.hide { display: none; }
|
51 |
+
.wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-icon .set_rating_image.hide, .wp-review-field:not(.vertical):not(.no-flex).wp-review-rating-image .set_rating_image.hide { display: none; }
|
52 |
+
.postbox .wp-review-field .wp-review-field-label { flex: 0 0 20%; }
|
53 |
+
.postbox .wp-review-field .wp-review-field-option { flex: 0 0 80%; } }
|
54 |
+
|
55 |
+
.wpr_image_upload_field .clear-image { margin-left: 10px; }
|
56 |
+
|
57 |
+
/*--------------------------- Review items --------------------------*/
|
58 |
+
.wpr-star-input-wrapper { position: relative; color: #c40000; overflow: hidden; display: inline-block; }
|
59 |
+
|
60 |
+
.wpr-star-input-wrapper .stars-bg { color: #ccc; white-space: nowrap; }
|
61 |
+
|
62 |
+
.wpr-star-input-wrapper .stars-result { white-space: nowrap; position: absolute; left: 0; top: 0; overflow: hidden; }
|
63 |
+
|
64 |
+
.wpr-input-wrapper.ui-slider .ui-slider-handle { background-color: #fff; box-shadow: 0 0px 3px rgba(0, 0, 0, 0.4); border-radius: 2px; cursor: pointer; }
|
65 |
+
|
66 |
+
/*--------------------------- Options page --------------------------*/
|
67 |
+
.wpr-vertical-tabs { max-width: 880px; position: relative; }
|
68 |
+
|
69 |
+
.wpr-vertical-tabs__titles { width: 200px; float: left; border-right: 0; margin: 0; z-index: 10; position: absolute; left: 0; top: 0; }
|
70 |
+
|
71 |
+
.wpr-vertical-tabs__titles.active { background-color: #fff; }
|
72 |
+
|
73 |
+
.wpr-vertical-tabs__title { margin: 0; padding: 0; position: relative; }
|
74 |
+
|
75 |
+
.wpr-vertical-tabs__title:first-child a { border-top: 1px solid #ccc; }
|
76 |
+
|
77 |
+
.wpr-vertical-tabs__title.active a { background-color: #fff; }
|
78 |
+
|
79 |
+
.wpr-vertical-tabs__title.active a:after { content: ""; width: 1px; height: 40px; position: absolute; right: -1px; top: 1px; background: #fff; z-index: 10; }
|
80 |
+
|
81 |
+
.wpr-vertical-tabs__title i { font-size: 18px; min-width: 20px; margin-right: 10px; text-align: center; color: #444; }
|
82 |
+
|
83 |
+
.wpr-vertical-tabs__title a { font-size: 16px; display: block; box-sizing: border-box; padding: 11px 15px; white-space: nowrap; text-decoration: none; color: #555; border: 1px solid #ccc; border-top: 0; border-right: 0; outline: none; background: #e5e5e5; box-shadow: none; }
|
84 |
+
|
85 |
+
.wpr-vertical-tabs__contents { padding-left: 200px; }
|
86 |
+
|
87 |
+
.wpr-vertical-tabs__content { padding: 15px; min-height: 400px; background: #fff; border: 1px solid #ccc; }
|
88 |
+
|
89 |
+
.wpr-vertical-tabs__content > h2 { margin-top: 0; }
|
90 |
+
|
91 |
+
.wpr-vertical-tabs__content .nav-tab-active { background-color: #fff; border-bottom-color: #fff; }
|
92 |
+
|
93 |
+
/*.wp-review-field { clear: both; padding-top: 0; }*/
|
94 |
+
.clearfix:before, .clearfix:after { content: " "; display: table; }
|
95 |
+
|
96 |
+
.clearfix:after { clear: both; }
|
97 |
+
|
98 |
+
.clearfix { *zoom: 1; }
|
99 |
+
|
100 |
+
.wp_review_schema_type_options textarea { width: 77%; min-height: 80px; }
|
101 |
+
|
102 |
+
.wp-review-field select { width: 15em; margin-left: 0; }
|
103 |
+
|
104 |
+
.wp-review-field #wp_review_product_price { width: 70px; }
|
105 |
+
|
106 |
+
.wp-review-field .wp-color-result { margin: 0; }
|
107 |
+
|
108 |
+
.wp-review-field .large-text { width: 77%; }
|
109 |
+
|
110 |
+
.wp-review-field input { margin: 0; padding: 5px 8px; }
|
111 |
+
|
112 |
+
.wp-review-field .wp-picker-container { display: inline-block; }
|
113 |
+
|
114 |
+
.wp-review-field .wp-picker-container label { flex: none; width: auto; }
|
115 |
+
|
116 |
+
.wp-review-field .wp-picker-container input[type="text"].wp-color-picker { padding: 4px; width: 65px; }
|
117 |
+
|
118 |
+
.wp-review-field .wp-picker-container .iris-picker { box-sizing: initial; }
|
119 |
+
|
120 |
+
.wp-review-field .wp-picker-container .wp-picker-open + .wp-picker-input-wrap { width: 140px; }
|
121 |
+
|
122 |
+
#wp-wp_review_pros-wrap textarea.wp-editor-area, #wp-wp_review_cons-wrap textarea.wp-editor-area, #wp-wp_review_desc-wrap textarea.wp-editor-area { border: 0; }
|
123 |
+
|
124 |
+
.wp_review_schema_options_label { vertical-align: top; padding-top: 5px; }
|
125 |
+
|
126 |
+
.wpr_image_upload_field { display: inline-block; }
|
127 |
+
|
128 |
+
.wp-review-item th { text-align: left; }
|
129 |
+
|
130 |
+
.wp-review-item td:first-child { text-align: center; }
|
131 |
+
|
132 |
+
.wp-review-item .handle { cursor: move; }
|
133 |
+
|
134 |
+
.wp-review-links td:first-child { text-align: center; }
|
135 |
+
|
136 |
+
.wp-review-links .handle { cursor: move; }
|
137 |
+
|
138 |
+
.wp-review-links input[type="text"] { padding: 5px 8px; }
|
139 |
+
|
140 |
+
.has-border-bottom { border-bottom: 1px solid #ddd; margin-bottom: 20px; padding-bottom: 20px; }
|
141 |
+
|
142 |
+
.review-total { text-align: right; }
|
143 |
+
|
144 |
+
.wp-picker-holder { position: absolute; z-index: 9; }
|
145 |
+
|
146 |
+
.review-value-incorrect { border-color: #F00 !important; }
|
147 |
+
|
148 |
+
#wp_review_id_hint { margin-left: 8px; }
|
149 |
+
|
150 |
+
.wp-review-admin-options .form-table td { padding: 20px 10px; vertical-align: top; }
|
151 |
+
|
152 |
+
.wp-review-admin-options p.description { font-weight: normal; font-style: normal; }
|
153 |
+
|
154 |
+
.wp-review-admin-options .wp-review-field > label .description { margin-left: 0; }
|
155 |
+
|
156 |
+
.wp-review-admin-options .wp-review-field input { padding: 7px; border-radius: 2px; margin: 0; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); }
|
157 |
+
|
158 |
+
.wp-review-admin-options .wp-review-field input[type=radio] { border-radius: 50%; }
|
159 |
+
|
160 |
+
.wp-review-admin-options .wp-review-field input[type=checkbox] { border-radius: 0; }
|
161 |
+
|
162 |
+
.wp-review-admin-options .wp-review-field .large-text { width: 70%; }
|
163 |
+
|
164 |
+
.wp-review-admin-options .wp-review-field .description { display: block; color: #888; font-style: normal; margin-top: 5px; }
|
165 |
+
|
166 |
+
.wp-review-admin-options #wp_review_shortcode_hint_field span { display: inline; margin-left: 6px; }
|
167 |
+
|
168 |
+
.wp-review-admin-options .wp-review-thumbnail-options label { margin-right: 0; width: 90%; }
|
169 |
+
|
170 |
+
.wp-review-description label { margin-bottom: -20px; display: block; }
|
171 |
+
|
172 |
+
.wp-review-theme-defaults-msg { position: relative; }
|
173 |
+
|
174 |
+
.wp-review-theme-defaults-msg a.button { display: inline-block; margin-bottom: 8px; }
|
175 |
+
|
176 |
+
.wp-review-theme-defaults-msg a.close-notice { position: absolute; top: 0; right: 0; }
|
177 |
+
|
178 |
+
.edit-ratings-notice.update-nag { background: #fff9e8; margin-right: 0; }
|
179 |
+
|
180 |
+
#wp-review-width-slider { width: 70%; float: left; margin-top: 12px; margin-right: 25px; border-radius: 0; max-width: 600px; border: 0; background: #d8d8d8; height: 8px; }
|
181 |
+
|
182 |
+
#wp-review-width-slider .ui-slider-handle { background: #fff; box-shadow: 0 0px 3px rgba(0, 0, 0, 0.4); border-radius: 2px; }
|
183 |
+
|
184 |
+
#wp-review-width-slider.ui-slider-horizontal .ui-slider-range-min { border: 0; border-radius: 2px; background: #0184bb; }
|
185 |
+
|
186 |
+
#wp_review_width { width: 60px; }
|
187 |
+
|
188 |
+
.wrap.wp-review .nav-tab-wrapper { border-bottom: 1px solid #ccc; margin-top: 16px; }
|
189 |
+
|
190 |
+
.wrap.wp-review .nav-tab-wrapper a:focus { box-shadow: none; }
|
191 |
+
|
192 |
+
.nav-tab-hidden { display: none; }
|
193 |
+
|
194 |
+
.nav-tab-hidden.nav-tab-active { display: block; }
|
195 |
+
|
196 |
+
textarea#wp-review-migrate-log { width: 600px; max-width: 100%; height: 200px; display: none; }
|
197 |
+
|
198 |
+
.already-migrated-msg { display: none; }
|
199 |
+
|
200 |
+
#start-migrate { margin-bottom: 12px; }
|
201 |
+
|
202 |
+
#wp-review-settings-tab-contents > div { display: none; max-width: 900px; }
|
203 |
+
|
204 |
+
#wp-review-settings-tab-contents .settings-tab-general { display: block; }
|
205 |
+
|
206 |
+
.pros-cons-title { max-width: 25%; }
|
207 |
+
|
208 |
+
.column-wp_review_rating, .column-wp_review_comment_rating { text-align: center; position: relative; width: 110px; }
|
209 |
+
|
210 |
+
.column-wp_review_rating .review-star, .column-wp_review_comment_rating .review-star { position: relative; letter-spacing: 1px; }
|
211 |
+
|
212 |
+
.column-wp_review_rating .no-rating, .column-wp_review_comment_rating .no-rating { color: #aaa; font-style: italic; }
|
213 |
+
|
214 |
+
#editwpreview { overflow: hidden; }
|
215 |
+
|
216 |
+
#editwpreview .inside { float: left; padding: 3px 0 2px 5px; margin: 0; text-align: left; }
|
217 |
+
|
218 |
+
#editwpreview .inside input { width: 180px; }
|
219 |
+
|
220 |
+
#editwpreview label { padding: 2px 0; }
|
221 |
+
|
222 |
+
h4.wp-review-comment-title { margin-top: 0; margin-bottom: 1em; }
|
223 |
+
|
224 |
+
.review-result-wrapper { position: relative; display: inline-block; font-size: 0; }
|
225 |
+
|
226 |
+
.postbox .review-result-wrapper a, .postbox .review-result i { cursor: pointer; }
|
227 |
+
|
228 |
+
.review-result { position: absolute; top: 0; left: 0; height: 22px; overflow: hidden; white-space: nowrap; }
|
229 |
+
|
230 |
+
.wp-review-rating-feature { display: inline-block; }
|
231 |
+
|
232 |
+
.wp-review-notice { position: relative; }
|
233 |
+
|
234 |
+
.wpr_image_upload_img { margin: 0 0 10px; padding: 0; max-width: 100%; height: auto; float: left; display: inline-block; }
|
235 |
+
|
236 |
+
.wpr-hide { display: none; }
|
237 |
+
|
238 |
+
.wpr-tabs .tab-title.nav-tab-active { background-color: #fff; border-bottom-color: #fff; }
|
239 |
+
|
240 |
+
.wpr-box-template-images { display: flex; flex-wrap: wrap; }
|
241 |
+
|
242 |
+
.wpr-box-template-images .wpr-box-template-image { flex: 0 0 50%; display: block; outline: 0; box-shadow: none; text-decoration: none; text-align: center; color: #333; font-weight: 700; margin-bottom: 5px; }
|
243 |
+
|
244 |
+
.wpr-box-template-images .wpr-box-template-image img { padding: 4px; width: 100%; height: auto; display: block; }
|
245 |
+
|
246 |
+
.wpr-box-template-images .wpr-box-template-image.active img { background-color: #0073aa; }
|
247 |
+
|
248 |
+
#wpr-review-items-app * { box-sizing: border-box; }
|
249 |
+
|
250 |
+
#wpr-review-items-app .wpr-review-item { background-color: #f7f7f7; padding: 10px 10px 10px 30px; margin-bottom: 5px; }
|
251 |
+
|
252 |
+
#wpr-review-items-app .wpr-review-item .setting-row:first-of-type .col-2 input { width: 100%; padding: 5px; background: #fff; }
|
253 |
+
|
254 |
+
#wpr-review-items-app .wpr-review-item .col-3 input { float: right; background: #fff; }
|
255 |
+
|
256 |
+
#wpr-review-items-app .wpr-review-item .wpr-icon-move { cursor: move; position: absolute; left: 5px; top: 16px; }
|
257 |
+
|
258 |
+
#wpr-review-items-app .setting-row { padding: 5px 0; }
|
259 |
+
|
260 |
+
#wpr-review-items-app .final-row .col-3 { text-align: right; }
|
261 |
+
|
262 |
+
#wpr-review-items-app .final-row .col-3 input { float: right; min-width: 52px; }
|
263 |
+
|
264 |
+
#wpr-review-items-app .final-row .col-3 label { margin: 4px 10px 0 0; display: inline-block; font-weight: bold; }
|
265 |
+
|
266 |
+
#wpr-review-items-app .wpr-percentage-input-wrapper { margin-top: 10px; }
|
267 |
+
|
268 |
+
#wpr-review-items-app .wp-picker-container { display: inline-block; }
|
269 |
+
|
270 |
+
#wpr-review-items-app .wp-picker-holder * { box-sizing: initial; }
|
271 |
+
|
272 |
+
@media (min-width: 768px) { #wpr-review-items-app .wpr-review-item { position: relative; }
|
273 |
+
#wpr-review-items-app .delete-item { position: absolute; right: 10px; bottom: 10px; }
|
274 |
+
#wpr-review-items-app .setting-row { display: flex; flex-wrap: wrap; }
|
275 |
+
#wpr-review-items-app .col-1 { flex: 0 0 20%; }
|
276 |
+
#wpr-review-items-app .col-2 { flex: 0 0 60%; padding: 0 10px; }
|
277 |
+
#wpr-review-items-app .col-3 { flex: 0 0 20%; } }
|
278 |
+
|
279 |
+
#wp_review_box_template_wrapper { position: relative; }
|
280 |
+
|
281 |
+
#wp_review_box_template_preview { position: absolute; left: 250px; top: 0px; z-index: 1000; padding: 3px; box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); background: #fff; }
|
282 |
+
|
283 |
+
#wp_review_box_template_preview.loading { background: #eee url(../images/loading.svg) no-repeat center center; }
|
284 |
+
|
285 |
+
#wp_review_box_template_preview.loading img { visibility: hidden; }
|
286 |
+
|
287 |
+
#wp_review_box_template_img, #wp_review_box_template_preview_img { max-width: 414px; height: auto; }
|
288 |
+
|
289 |
+
.wpr-switch { display: inline-block; }
|
290 |
+
|
291 |
+
.wpr-switch input { position: absolute !important; clip: rect(0, 0, 0, 0); height: 1px; width: 1px; border: 0; overflow: hidden; }
|
292 |
+
|
293 |
+
.wpr-switch label { float: left; display: inline-block; min-width: 45px; background-color: #e4e4e4; color: rgba(0, 0, 0, 0.6); font-size: 12px; font-weight: 700; line-height: 28px; text-align: center; text-shadow: none; border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1); transition: all 0.1s ease-in-out; }
|
294 |
+
|
295 |
+
.wpr-switch label:hover { cursor: pointer; }
|
296 |
+
|
297 |
+
.wpr-switch label:first-of-type { border-radius: 3px 0 0 3px; border-right: 0; font-weight: normal; }
|
298 |
+
|
299 |
+
.wpr-switch label:last-of-type { border-radius: 0 3px 3px 0; border-left: 0; font-weight: normal; }
|
300 |
+
|
301 |
+
input.wpr-switch__on:checked + label, input.wpr-switch__off:checked + label { background: #0085ba; border-color: #0073aa #006799 #006799; box-shadow: 0 1px 0 #006799; color: #fff; text-decoration: none; text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; margin-bottom: 2px; }
|
302 |
+
|
303 |
+
input.wpr-switch__on:checked + label:hover, input.wpr-switch__off:checked + label:hover { background: #008ec2; border-color: #006799; color: #fff; }
|
304 |
+
|
305 |
+
input.wpr-switch__off:checked + label, input.wpr-switch__off:checked + label:hover { color: #fff; background: #f5786f; border-color: #bd4c44 #bd4c44 #bd4c44; box-shadow: 0 1px 0 #bd4c44; text-shadow: none; }
|
306 |
+
|
307 |
+
#wp-review-demo-importer-popup { background: #fff; border: 1px solid #eaeaeb; border-radius: 3px; box-shadow: 0 1px 0 #FFF inset, 0 1px 5px rgba(0, 0, 0, 0.1); position: relative; width: auto; max-width: 600px; margin: 50px auto; }
|
308 |
+
|
309 |
+
#wp-review-demo-importer-modal-header { border-bottom: 1px solid #eaeaeb; background: #FAFBFD; padding: 12px 20px; }
|
310 |
+
|
311 |
+
#wp-review-demo-importer-modal-header .spinner { margin-top: 14px; }
|
312 |
+
|
313 |
+
#wp-review-demo-importer-modal-header h2, #wp-review-demo-importer-modal-content h4 { padding: 0 !important; margin: 0 !important; }
|
314 |
+
|
315 |
+
#wp-review-demo-importer-modal-header h2 { font-size: 1.8em; line-height: 2em; }
|
316 |
+
|
317 |
+
#wp-review-demo-importer-modal-content { background: #fff; padding: 20px; overflow: auto; height: 300px; width: 100%; box-sizing: border-box; }
|
318 |
+
|
319 |
+
#wp-review-demo-importer-modal-content p { padding: 0; margin: 0; }
|
320 |
+
|
321 |
+
#wp-review-demo-importer-modal-footer { border-top: 1px solid #eaeaeb; background: #FAFBFD; padding: 12px 20px; display: inline-block; width: 100%; box-sizing: border-box; }
|
322 |
+
|
323 |
+
#wp-review-demo-importer-modal-footer-info { float: left; }
|
324 |
+
|
325 |
+
#wp-review-demo-importer-modal-footer-button { float: right; display: none; text-transform: uppercase; }
|
326 |
+
|
327 |
+
.wp-admin select.mce-selectbox { padding: 0; }
|
328 |
+
|
329 |
+
#wp-review-metabox-userReview .inside > p:first-of-type label, #wp-review-metabox-userReview .inside > p:nth-of-type(2) label, #wp-review-metabox-userReview .inside > p:nth-of-type(3) label, #wp-review-metabox-userReview .inside > p:nth-of-type(4) label { padding-right: 0; margin-left: 5px; }
|
330 |
+
|
331 |
+
.wp-review-subsite-wrapper { display: none; }
|
332 |
+
|
333 |
+
.wp-review-pro-text { color: #00cc66; }
|
334 |
+
|
335 |
+
.wp-review-disabled { position: relative; cursor: pointer; }
|
336 |
+
|
337 |
+
.wp-review-disabled:before { content: " "; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; }
|
338 |
+
|
339 |
+
.wp-review-disabled.inline-block { display: inline-block; }
|
340 |
+
|
341 |
+
.wp-review-disabled.wpr-switch, .wp-review-disabled.has-bg { opacity: 0.3; }
|
342 |
+
|
343 |
+
/*# sourceMappingURL=../sourcemaps/admin.css.map */
|
admin/assets/css/jquery-ui.min.css
ADDED
@@ -0,0 +1,360 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*---------------------------
|
2 |
+
* jQuery UI Slider
|
3 |
+
*--------------------------*/
|
4 |
+
.ui-slider { position: relative; text-align: left; }
|
5 |
+
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.3em; cursor: default; }
|
6 |
+
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
7 |
+
.ui-slider-horizontal { height: .8em; }
|
8 |
+
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
9 |
+
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
10 |
+
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
11 |
+
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
12 |
+
.ui-slider-vertical { width: .8em; height: 100px; }
|
13 |
+
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
14 |
+
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
15 |
+
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
16 |
+
.ui-slider-vertical .ui-slider-range-max { top: 0; }
|
17 |
+
|
18 |
+
/* Date Picker Default Styles */
|
19 |
+
.ui-datepicker {
|
20 |
+
padding: 0;
|
21 |
+
margin: 0;
|
22 |
+
-webkit-border-radius: 0;
|
23 |
+
-moz-border-radius: 0;
|
24 |
+
border-radius: 0;
|
25 |
+
background-color: #fff;
|
26 |
+
border: 1px solid #dfdfdf;
|
27 |
+
border-top: none;
|
28 |
+
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
29 |
+
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
30 |
+
min-width: 17em;
|
31 |
+
width: auto;
|
32 |
+
}
|
33 |
+
|
34 |
+
.ui-datepicker * {
|
35 |
+
padding: 0;
|
36 |
+
font-family: "Open Sans", sans-serif;
|
37 |
+
-webkit-border-radius: 0;
|
38 |
+
-moz-border-radius: 0;
|
39 |
+
border-radius: 0;
|
40 |
+
}
|
41 |
+
|
42 |
+
.ui-datepicker table {
|
43 |
+
font-size: 13px;
|
44 |
+
margin: 0;
|
45 |
+
border: none;
|
46 |
+
border-collapse: collapse;
|
47 |
+
}
|
48 |
+
|
49 |
+
.ui-datepicker .ui-widget-header,
|
50 |
+
.ui-datepicker .ui-datepicker-header {
|
51 |
+
background-image: none;
|
52 |
+
border: none;
|
53 |
+
color: #fff;
|
54 |
+
font-weight: normal;
|
55 |
+
}
|
56 |
+
|
57 |
+
.ui-datepicker .ui-datepicker-header .ui-state-hover {
|
58 |
+
background: transparent;
|
59 |
+
border-color: transparent;
|
60 |
+
cursor: pointer;
|
61 |
+
}
|
62 |
+
|
63 |
+
.ui-datepicker .ui-datepicker-title {
|
64 |
+
margin: 0;
|
65 |
+
padding: 10px 0;
|
66 |
+
color: #fff;
|
67 |
+
font-size: 14px;
|
68 |
+
line-height: 14px;
|
69 |
+
text-align: center;
|
70 |
+
}
|
71 |
+
|
72 |
+
.ui-datepicker .ui-datepicker-prev,
|
73 |
+
.ui-datepicker .ui-datepicker-next {
|
74 |
+
position: relative;
|
75 |
+
top: 0;
|
76 |
+
height: 34px;
|
77 |
+
width: 34px;
|
78 |
+
}
|
79 |
+
|
80 |
+
.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
81 |
+
.ui-datepicker .ui-state-hover.ui-datepicker-next {
|
82 |
+
border: none;
|
83 |
+
}
|
84 |
+
|
85 |
+
.ui-datepicker .ui-datepicker-prev,
|
86 |
+
.ui-datepicker .ui-datepicker-prev-hover {
|
87 |
+
left: 0;
|
88 |
+
}
|
89 |
+
|
90 |
+
.ui-datepicker .ui-datepicker-next,
|
91 |
+
.ui-datepicker .ui-datepicker-next-hover {
|
92 |
+
right: 0;
|
93 |
+
}
|
94 |
+
|
95 |
+
.ui-datepicker .ui-datepicker-next span,
|
96 |
+
.ui-datepicker .ui-datepicker-prev span {
|
97 |
+
display: none;
|
98 |
+
}
|
99 |
+
|
100 |
+
.ui-datepicker .ui-datepicker-prev {
|
101 |
+
float: left;
|
102 |
+
}
|
103 |
+
|
104 |
+
.ui-datepicker .ui-datepicker-next {
|
105 |
+
float: right;
|
106 |
+
}
|
107 |
+
|
108 |
+
.ui-datepicker .ui-datepicker-prev:before,
|
109 |
+
.ui-datepicker .ui-datepicker-next:before {
|
110 |
+
font: normal 20px/34px 'dashicons';
|
111 |
+
padding-left: 7px;
|
112 |
+
color: #fff;
|
113 |
+
speak: none;
|
114 |
+
-webkit-font-smoothing: antialiased;
|
115 |
+
-moz-osx-font-smoothing: grayscale;
|
116 |
+
width: 34px;
|
117 |
+
height: 34px;
|
118 |
+
}
|
119 |
+
|
120 |
+
.ui-datepicker .ui-datepicker-prev:before {
|
121 |
+
content: '\f341';
|
122 |
+
}
|
123 |
+
|
124 |
+
.ui-datepicker .ui-datepicker-next:before {
|
125 |
+
content: '\f345';
|
126 |
+
}
|
127 |
+
|
128 |
+
.ui-datepicker .ui-datepicker-prev-hover:before,
|
129 |
+
.ui-datepicker .ui-datepicker-next-hover:before {
|
130 |
+
opacity: 0.7;
|
131 |
+
}
|
132 |
+
|
133 |
+
.ui-datepicker select.ui-datepicker-month,
|
134 |
+
.ui-datepicker select.ui-datepicker-year {
|
135 |
+
width: 33%;
|
136 |
+
}
|
137 |
+
|
138 |
+
.ui-datepicker thead {
|
139 |
+
color: #fff;
|
140 |
+
font-weight: 600;
|
141 |
+
}
|
142 |
+
|
143 |
+
.ui-datepicker th {
|
144 |
+
padding: 10px;
|
145 |
+
}
|
146 |
+
|
147 |
+
.ui-datepicker td {
|
148 |
+
padding: 0;
|
149 |
+
border: 1px solid #f4f4f4;
|
150 |
+
}
|
151 |
+
|
152 |
+
.ui-datepicker td.ui-datepicker-other-month {
|
153 |
+
border: transparent;
|
154 |
+
}
|
155 |
+
|
156 |
+
.ui-datepicker td.ui-datepicker-week-end {
|
157 |
+
background-color: #f4f4f4;
|
158 |
+
border: 1px solid #f4f4f4;
|
159 |
+
}
|
160 |
+
|
161 |
+
.ui-datepicker td.ui-datepicker-today {
|
162 |
+
background-color: #f0f0c0;
|
163 |
+
}
|
164 |
+
|
165 |
+
.ui-datepicker td.ui-datepicker-current-day {
|
166 |
+
background: #bbdd88;
|
167 |
+
}
|
168 |
+
|
169 |
+
.ui-datepicker td .ui-state-default {
|
170 |
+
background: transparent;
|
171 |
+
border: none;
|
172 |
+
text-align: center;
|
173 |
+
text-decoration: none;
|
174 |
+
width: auto;
|
175 |
+
display: block;
|
176 |
+
padding: 5px 10px;
|
177 |
+
font-weight: normal;
|
178 |
+
color: #444;
|
179 |
+
}
|
180 |
+
|
181 |
+
.ui-datepicker td.ui-state-disabled .ui-state-default {
|
182 |
+
opacity: 0.5;
|
183 |
+
}
|
184 |
+
|
185 |
+
/* Default Color Scheme */
|
186 |
+
.ui-datepicker .ui-widget-header,
|
187 |
+
.ui-datepicker .ui-datepicker-header {
|
188 |
+
background: #00a0d2;
|
189 |
+
}
|
190 |
+
|
191 |
+
.ui-datepicker thead {
|
192 |
+
background: #32373c;
|
193 |
+
}
|
194 |
+
|
195 |
+
.ui-datepicker td .ui-state-hover {
|
196 |
+
background: #0073aa;
|
197 |
+
color: #fff;
|
198 |
+
}
|
199 |
+
|
200 |
+
/* WordPress Color Schemes */
|
201 |
+
|
202 |
+
/* Fresh */
|
203 |
+
.admin-color-fresh .ui-datepicker .ui-widget-header,
|
204 |
+
.admin-color-fresh .ui-datepicker .ui-datepicker-header {
|
205 |
+
background: #00a0d2;
|
206 |
+
}
|
207 |
+
|
208 |
+
.admin-color-fresh .ui-datepicker thead {
|
209 |
+
background: #32373c;
|
210 |
+
}
|
211 |
+
|
212 |
+
.admin-color-fresh .ui-datepicker td .ui-state-hover {
|
213 |
+
background: #0073aa;
|
214 |
+
color: #fff;
|
215 |
+
}
|
216 |
+
|
217 |
+
/* Blue */
|
218 |
+
.admin-color-blue .ui-datepicker .ui-widget-header,
|
219 |
+
.admin-color-blue .ui-datepicker .ui-datepicker-header {
|
220 |
+
background: #52accc;
|
221 |
+
}
|
222 |
+
|
223 |
+
.admin-color-blue .ui-datepicker thead {
|
224 |
+
background: #4796b3;
|
225 |
+
}
|
226 |
+
|
227 |
+
.admin-color-blue .ui-datepicker td .ui-state-hover {
|
228 |
+
background: #096484;
|
229 |
+
color: #fff;
|
230 |
+
}
|
231 |
+
|
232 |
+
/* Coffee */
|
233 |
+
.admin-color-coffee .ui-datepicker .ui-widget-header,
|
234 |
+
.admin-color-coffee .ui-datepicker .ui-datepicker-header {
|
235 |
+
background: #59524c;
|
236 |
+
}
|
237 |
+
|
238 |
+
.admin-color-coffee .ui-datepicker thead {
|
239 |
+
background: #46403c;
|
240 |
+
}
|
241 |
+
|
242 |
+
.admin-color-coffee .ui-datepicker td .ui-state-hover {
|
243 |
+
background: #c7a589;
|
244 |
+
color: #fff;
|
245 |
+
}
|
246 |
+
|
247 |
+
/* Ectoplasm */
|
248 |
+
.admin-color-ectoplasm .ui-datepicker .ui-widget-header,
|
249 |
+
.admin-color-ectoplasm .ui-datepicker .ui-datepicker-header {
|
250 |
+
background: #523f6d;
|
251 |
+
}
|
252 |
+
|
253 |
+
.admin-color-ectoplasm .ui-datepicker thead {
|
254 |
+
background: #413256;
|
255 |
+
}
|
256 |
+
|
257 |
+
.admin-color-ectoplasm .ui-datepicker td .ui-state-hover {
|
258 |
+
background: #a3b745;
|
259 |
+
color: #fff;
|
260 |
+
}
|
261 |
+
|
262 |
+
/* Midnight */
|
263 |
+
.admin-color-midnight .ui-datepicker .ui-widget-header,
|
264 |
+
.admin-color-midnight .ui-datepicker .ui-datepicker-header {
|
265 |
+
background: #363b3f;
|
266 |
+
}
|
267 |
+
|
268 |
+
.admin-color-midnight .ui-datepicker thead {
|
269 |
+
background: #26292c;
|
270 |
+
}
|
271 |
+
|
272 |
+
.admin-color-midnight .ui-datepicker td .ui-state-hover {
|
273 |
+
background: #e14d43;
|
274 |
+
color: #fff;
|
275 |
+
}
|
276 |
+
|
277 |
+
/* Ocean */
|
278 |
+
.admin-color-ocean .ui-datepicker .ui-widget-header,
|
279 |
+
.admin-color-ocean .ui-datepicker .ui-datepicker-header {
|
280 |
+
background: #738e96;
|
281 |
+
}
|
282 |
+
|
283 |
+
.admin-color-ocean .ui-datepicker thead {
|
284 |
+
background: #627c83;
|
285 |
+
}
|
286 |
+
|
287 |
+
.admin-color-ocean .ui-datepicker td .ui-state-hover {
|
288 |
+
background: #9ebaa0;
|
289 |
+
color: #fff;
|
290 |
+
}
|
291 |
+
|
292 |
+
/* Sunrise */
|
293 |
+
.admin-color-sunrise .ui-datepicker .ui-widget-header,
|
294 |
+
.admin-color-sunrise .ui-datepicker .ui-datepicker-header,
|
295 |
+
.admin-color-sunrise .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
296 |
+
background: #cf4944;
|
297 |
+
}
|
298 |
+
|
299 |
+
.admin-color-sunrise .ui-datepicker th {
|
300 |
+
border-color: #be3631;
|
301 |
+
background: #be3631;
|
302 |
+
}
|
303 |
+
|
304 |
+
.admin-color-sunrise .ui-datepicker td .ui-state-hover {
|
305 |
+
background: #dd823b;
|
306 |
+
color: #fff;
|
307 |
+
}
|
308 |
+
|
309 |
+
/* Light */
|
310 |
+
.admin-color-light .ui-datepicker .ui-widget-header,
|
311 |
+
.admin-color-light .ui-datepicker .ui-datepicker-header {
|
312 |
+
background: #e5e5e5;
|
313 |
+
}
|
314 |
+
|
315 |
+
.admin-color-light .ui-datepicker thead {
|
316 |
+
background: #888;
|
317 |
+
}
|
318 |
+
|
319 |
+
.admin-color-light .ui-datepicker .ui-datepicker-title,
|
320 |
+
.admin-color-light .ui-datepicker td .ui-state-default,
|
321 |
+
.admin-color-light .ui-datepicker .ui-datepicker-prev:before,
|
322 |
+
.admin-color-light .ui-datepicker .ui-datepicker-next:before {
|
323 |
+
color: #555;
|
324 |
+
}
|
325 |
+
|
326 |
+
.admin-color-light .ui-datepicker td .ui-state-hover {
|
327 |
+
background: #e5e5e5;
|
328 |
+
}
|
329 |
+
|
330 |
+
/* bbPress Color Schemes */
|
331 |
+
|
332 |
+
/* Evergreen */
|
333 |
+
.admin-color-bbp-evergreen .ui-datepicker .ui-widget-header,
|
334 |
+
.admin-color-bbp-evergreen .ui-datepicker .ui-datepicker-header {
|
335 |
+
background: #56b274;
|
336 |
+
}
|
337 |
+
|
338 |
+
.admin-color-bbp-evergreen .ui-datepicker thead {
|
339 |
+
background: #36533f;
|
340 |
+
}
|
341 |
+
|
342 |
+
.admin-color-bbp-evergreen .ui-datepicker td .ui-state-hover {
|
343 |
+
background: #446950;
|
344 |
+
color: #fff;
|
345 |
+
}
|
346 |
+
|
347 |
+
/* Mint */
|
348 |
+
.admin-color-bbp-mint .ui-datepicker .ui-widget-header,
|
349 |
+
.admin-color-bbp-mint .ui-datepicker .ui-datepicker-header {
|
350 |
+
background: #4ca26a;
|
351 |
+
}
|
352 |
+
|
353 |
+
.admin-color-bbp-mint .ui-datepicker thead {
|
354 |
+
background: #4f6d59;
|
355 |
+
}
|
356 |
+
|
357 |
+
.admin-color-bbp-mint .ui-datepicker td .ui-state-hover {
|
358 |
+
background: #5fb37c;
|
359 |
+
color: #fff;
|
360 |
+
}
|
admin/assets/css/select2.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
admin/assets/images/loading.svg
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
|
2 |
+
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" stroke="#fff">
|
3 |
+
<g fill="none" fill-rule="evenodd">
|
4 |
+
<g transform="translate(1 1)" stroke-width="2">
|
5 |
+
<circle stroke-opacity=".5" cx="18" cy="18" r="18"/>
|
6 |
+
<path d="M36 18c0-9.94-8.06-18-18-18">
|
7 |
+
<animateTransform
|
8 |
+
attributeName="transform"
|
9 |
+
type="rotate"
|
10 |
+
from="0 18 18"
|
11 |
+
to="360 18 18"
|
12 |
+
dur="1s"
|
13 |
+
repeatCount="indefinite"/>
|
14 |
+
</path>
|
15 |
+
</g>
|
16 |
+
</g>
|
17 |
+
</svg>
|
admin/assets/images/wp-review-pro.jpg
ADDED
Binary file
|
admin/assets/js/admin.import.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery( function( $ ) {
|
2 |
+
'use strict';
|
3 |
+
|
4 |
+
var $section_header = $( '#import h2' );
|
5 |
+
var default_error = { message: wprImportVars.server_error };
|
6 |
+
var source, nonce;
|
7 |
+
|
8 |
+
$( '#wp-review-import-options-btn' ).on( 'click', function( ev ) {
|
9 |
+
ev.preventDefault();
|
10 |
+
var $btn, code, check;
|
11 |
+
$btn = $( this );
|
12 |
+
code = $( '#wp-review-import-options-code' ).val().trim();
|
13 |
+
if ( ! code ) {
|
14 |
+
return;
|
15 |
+
}
|
16 |
+
check = confirm( wprImportVars.confirmOptionsImport );
|
17 |
+
if ( ! check ) {
|
18 |
+
return;
|
19 |
+
}
|
20 |
+
$btn.prop( 'disabled', true );
|
21 |
+
var request = wp.ajax.post( 'wp_review_import_options', {
|
22 |
+
code: code,
|
23 |
+
_ajax_nonce: wprImportVars.importOptionsNonce
|
24 |
+
});
|
25 |
+
request.done( function( response ) {
|
26 |
+
window.location.href = window.location.href;
|
27 |
+
});
|
28 |
+
request.fail( function( response ) {
|
29 |
+
console.error( response );
|
30 |
+
$btn.prop( 'disabled', false );
|
31 |
+
});
|
32 |
+
});
|
33 |
+
} );
|
admin/assets/js/admin.js
ADDED
@@ -0,0 +1,799 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Plugin Name: WP Review
|
3 |
+
* Plugin URI: http://mythemeshop.com/plugins/wp-review/
|
4 |
+
* Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
+
* Author: MyThemesShop
|
6 |
+
* Author URI: http://mythemeshop.com/
|
7 |
+
*/
|
8 |
+
( function( $, Cookies ) {
|
9 |
+
"use strict";
|
10 |
+
|
11 |
+
var wpreview = window.wpreview = window.wpreview || {};
|
12 |
+
|
13 |
+
wpreview.initSelect2 = function() {
|
14 |
+
function addIcon( option ) {
|
15 |
+
if ( $( option.element ).attr( 'data-icon' ) ) {
|
16 |
+
return $( '<span><i class="' + $( option.element ).attr( 'data-icon' ) + '"></i> ' + option.text + '</span>' );
|
17 |
+
}
|
18 |
+
return option.text;
|
19 |
+
}
|
20 |
+
|
21 |
+
$( '.js-select2' ).select2({
|
22 |
+
templateResult: addIcon,
|
23 |
+
templateSelection: addIcon
|
24 |
+
});
|
25 |
+
};
|
26 |
+
|
27 |
+
wpreview.tabs = function( options ) {
|
28 |
+
var defaults = {
|
29 |
+
wrapper: '[data-tabs]',
|
30 |
+
title: '[data-tab-title]',
|
31 |
+
content: '[data-tab-content]',
|
32 |
+
activeElement: '',
|
33 |
+
activeClass: 'active',
|
34 |
+
active: '',
|
35 |
+
activate: null
|
36 |
+
};
|
37 |
+
|
38 |
+
options = $.extend( {}, defaults, options );
|
39 |
+
|
40 |
+
$( options.wrapper + ' ' + options.title ).on( 'click', function( ev ) {
|
41 |
+
ev.preventDefault();
|
42 |
+
var href, $tab;
|
43 |
+
href = $( this ).attr( 'href' );
|
44 |
+
$tab = $( this ).closest( options.wrapper );
|
45 |
+
|
46 |
+
$tab.find( options.content ).hide();
|
47 |
+
|
48 |
+
if ( ! options.activeElement || options.activeElement == options.title ) {
|
49 |
+
$tab.find( options.title ).removeClass( options.activeClass );
|
50 |
+
$( this ).addClass( options.activeClass );
|
51 |
+
} else {
|
52 |
+
$tab.find( options.activeElement ).removeClass( options.activeClass );
|
53 |
+
$( this ).closest( options.activeElement ).addClass( options.activeClass );
|
54 |
+
}
|
55 |
+
|
56 |
+
if ( typeof options.activate == 'function' ) {
|
57 |
+
options.activate.call( $( this ), href );
|
58 |
+
}
|
59 |
+
|
60 |
+
$tab.find( href ).fadeIn();
|
61 |
+
});
|
62 |
+
|
63 |
+
// Active a tab.
|
64 |
+
if ( options.active ) {
|
65 |
+
$( options.wrapper ).find( options.title + '[href="' + options.active + '"]' ).click();
|
66 |
+
} else {
|
67 |
+
$( options.wrapper ).find( options.title + ':eq(0)' ).click();
|
68 |
+
}
|
69 |
+
};
|
70 |
+
|
71 |
+
wpreview.initTabs = function() {
|
72 |
+
wpreview.tabs({
|
73 |
+
wrapper: '.js-tabs',
|
74 |
+
title: '.tab-title',
|
75 |
+
content: '.tab-content',
|
76 |
+
activeClass: 'nav-tab-active'
|
77 |
+
});
|
78 |
+
|
79 |
+
wpreview.tabs({
|
80 |
+
wrapper: '[data-vertical-tabs]',
|
81 |
+
activeElement: 'li',
|
82 |
+
active: $( '#setting-error-settings_updated' ).length ? Cookies.get( 'wpr-last-vtab' ) : '',
|
83 |
+
activate: function( tab ) {
|
84 |
+
Cookies.set( 'wpr-last-vtab', tab );
|
85 |
+
}
|
86 |
+
});
|
87 |
+
|
88 |
+
wpreview.tabs({
|
89 |
+
wrapper: '[data-nav-tabs]',
|
90 |
+
title: '.nav-tab',
|
91 |
+
content: '.tab-content',
|
92 |
+
activeClass: 'nav-tab-active',
|
93 |
+
active: $( '#setting-error-settings_updated' ).length ? Cookies.get( 'wpr-last-htab' ) : '',
|
94 |
+
activate: function( tab ) {
|
95 |
+
if ( ! $( '#wpr-global-options' ).length ) {
|
96 |
+
return;
|
97 |
+
}
|
98 |
+
Cookies.set( 'wpr-last-htab', tab );
|
99 |
+
}
|
100 |
+
});
|
101 |
+
};
|
102 |
+
|
103 |
+
wpreview.pluginOptions = function() {
|
104 |
+
|
105 |
+
// Custom comment color.
|
106 |
+
$( '#wp_review_custom_comment_colors' ).on( 'switch-on', function() {
|
107 |
+
$('#wp_review_comment_color_wrapper').show();
|
108 |
+
});
|
109 |
+
$( '#wp_review_custom_comment_colors' ).on( 'switch-off', function() {
|
110 |
+
$('#wp_review_comment_color_wrapper').hide();
|
111 |
+
});
|
112 |
+
};
|
113 |
+
|
114 |
+
wpreview.pluginMetaBoxes = function() {
|
115 |
+
|
116 |
+
// Custom location.
|
117 |
+
$( '#wp_review_custom_location' ).on( 'switch-on', function() {
|
118 |
+
$('.wp-review-location-options').show();
|
119 |
+
});
|
120 |
+
$( '#wp_review_custom_location' ).on( 'switch-off', function() {
|
121 |
+
$('.wp-review-location-options').hide();
|
122 |
+
});
|
123 |
+
|
124 |
+
// Custom colors.
|
125 |
+
$( '#wp_review_custom_colors' ).on( 'switch-on', function() {
|
126 |
+
$('.wp-review-color-options').show();
|
127 |
+
});
|
128 |
+
$( '#wp_review_custom_colors' ).on( 'switch-off', function() {
|
129 |
+
$('.wp-review-color-options').hide();
|
130 |
+
});
|
131 |
+
|
132 |
+
// Custom width.
|
133 |
+
$( '#wp_review_custom_width' ).on( 'switch-on', function() {
|
134 |
+
$('.wp-review-width-options').show();
|
135 |
+
});
|
136 |
+
$( '#wp_review_custom_width' ).on( 'switch-off', function() {
|
137 |
+
$('.wp-review-width-options').hide();
|
138 |
+
});
|
139 |
+
|
140 |
+
// Custom author.
|
141 |
+
$( '#wp_review_custom_author' ).on( 'switch-on', function() {
|
142 |
+
$('.wp-review-author-options').show();
|
143 |
+
});
|
144 |
+
$( '#wp_review_custom_author' ).on( 'switch-off', function() {
|
145 |
+
$('.wp-review-author-options').hide();
|
146 |
+
});
|
147 |
+
|
148 |
+
// Hide description.
|
149 |
+
$( '#wp_review_hide_desc' ).on( 'switch-on', function() {
|
150 |
+
$( '#wp_review_desc_settings' ).fadeOut();
|
151 |
+
});
|
152 |
+
$( '#wp_review_hide_desc' ).on( 'switch-off', function() {
|
153 |
+
$( '#wp_review_desc_settings' ).fadeIn();
|
154 |
+
});
|
155 |
+
|
156 |
+
// Disable features.
|
157 |
+
$( '#wp_review_disable_features' ).on( 'switch-on', function() {
|
158 |
+
$( '#wpr-review-items-app' ).fadeOut();
|
159 |
+
});
|
160 |
+
$( '#wp_review_disable_features' ).on( 'switch-off', function() {
|
161 |
+
$( '#wpr-review-items-app' ).fadeIn();
|
162 |
+
});
|
163 |
+
|
164 |
+
// User reviews.
|
165 |
+
$( '#wp-review-userReview-disable' ).on( 'change', function() {
|
166 |
+
var $postbox = $( this ).closest( '.postbox' );
|
167 |
+
if ( $(this)[0].checked ) {
|
168 |
+
$postbox.find( '.show-if-comment, .show-if-visitor, .show-if-both' ).hide();
|
169 |
+
$postbox.find( '.show-if-disabled' ).show();
|
170 |
+
}
|
171 |
+
});
|
172 |
+
$( '#wp-review-userReview-visitor' ).on( 'change', function() {
|
173 |
+
var $postbox = $( this ).closest( '.postbox' );
|
174 |
+
if ( $(this)[0].checked ) {
|
175 |
+
$postbox.find( '.show-if-comment, .show-if-disabled' ).hide();
|
176 |
+
$postbox.find( '.show-if-visitor, .show-if-both' ).show();
|
177 |
+
}
|
178 |
+
});
|
179 |
+
$( '#wp-review-userReview-comment' ).on( 'change', function() {
|
180 |
+
var $postbox = $( this ).closest( '.postbox' );
|
181 |
+
if ( $(this)[0].checked ) {
|
182 |
+
$postbox.find( '.show-if-visitor, .show-if-disabled' ).hide();
|
183 |
+
$postbox.find( '.show-if-comment, .show-if-both' ).show();
|
184 |
+
}
|
185 |
+
});
|
186 |
+
$( '#wp-review-userReview-both' ).on( 'change', function() {
|
187 |
+
var $postbox = $( this ).closest( '.postbox' );
|
188 |
+
if ( $(this)[0].checked ) {
|
189 |
+
$postbox.find( '.show-if-disabled' ).hide();
|
190 |
+
$postbox.find( '.show-if-comment, .show-if-visitor, .show-if-both' ).show();
|
191 |
+
}
|
192 |
+
});
|
193 |
+
|
194 |
+
var richSnippetSelect = $('#rank_math_rich_snippet');
|
195 |
+
|
196 |
+
$( document ).on( 'change', 'select#wp_review_schema', function() {
|
197 |
+
var $this = $( this ),
|
198 |
+
value = $this.val(),
|
199 |
+
targetSelector = '#wp_review_schema_type_' + value;
|
200 |
+
|
201 |
+
$( '.wp_review_schema_type_options' ).hide();
|
202 |
+
$( '#wp_review_schema_type_options_wrap' ).hide();
|
203 |
+
|
204 |
+
if ( value ) {
|
205 |
+
$( targetSelector ).show();
|
206 |
+
if ( 'none' !== value ) {
|
207 |
+
$( '#wp_review_schema_type_options_wrap' ).show();
|
208 |
+
|
209 |
+
if(richSnippetSelect.length)
|
210 |
+
richSnippetSelect.val('off').trigger('change');
|
211 |
+
}
|
212 |
+
}
|
213 |
+
|
214 |
+
});
|
215 |
+
|
216 |
+
if(richSnippetSelect.length) {
|
217 |
+
|
218 |
+
var wpReviewSchemaSelect = $('select#wp_review_schema');
|
219 |
+
|
220 |
+
if(wpReviewSchemaSelect.val() !== 'none') {
|
221 |
+
richSnippetSelect.val('off').trigger('change');
|
222 |
+
}
|
223 |
+
|
224 |
+
richSnippetSelect.on( 'change', function() {
|
225 |
+
if( 'off' !== $(this).val() ) {
|
226 |
+
wpReviewSchemaSelect.val( 'none' ).trigger( 'change' );
|
227 |
+
}
|
228 |
+
}).trigger( 'change' );
|
229 |
+
}
|
230 |
+
|
231 |
+
$( document ).on( 'change', '#wp_review_rating_schema', function() {
|
232 |
+
var value = $( this ).val();
|
233 |
+
if ( 'author' === value ) {
|
234 |
+
$( '#wp_review_schema_author_wrapper' ).show();
|
235 |
+
} else {
|
236 |
+
$( '#wp_review_schema_author_wrapper' ).hide();
|
237 |
+
}
|
238 |
+
});
|
239 |
+
|
240 |
+
/**
|
241 |
+
* Toggle meta box
|
242 |
+
*/
|
243 |
+
$( '#wp-review-metabox-item' ).hide();
|
244 |
+
$( '#wp-review-metabox-heading' ).hide();
|
245 |
+
$( '#wp-review-metabox-desc' ).hide();
|
246 |
+
$( '#wp-review-metabox-userReview' ).hide();
|
247 |
+
$( '#wp_review_shortcode_hint_field' ).hide();
|
248 |
+
$( '#wp_review_id_hint' ).hide();
|
249 |
+
$( '#wp_review_heading_group' ).hide();
|
250 |
+
$( '#wp-review-metabox-reviewLinks' ).hide();
|
251 |
+
$( '#wp_review_schema_options_wrapper' ).hide();
|
252 |
+
//$( '#wp_review_schema_rating_group' ).hide();
|
253 |
+
|
254 |
+
$( '#wp_review_type' ).on( 'change', function() {
|
255 |
+
var none = 'none';
|
256 |
+
var show = false;
|
257 |
+
var selected_val = $( this ).val();
|
258 |
+
var type = wprVars.reviewTypes[ wprVars.globalReviewType ];
|
259 |
+
var $selected_option = $( this ).find( 'option:selected' );
|
260 |
+
show = selected_val ? selected_val != none : wprVars.globalReviewType;
|
261 |
+
$( '#wp-review-metabox-item' ).toggle( show );
|
262 |
+
$( '#wp-review-metabox-heading' ).toggle( show );
|
263 |
+
$( '#wp-review-metabox-desc' ).toggle( show );
|
264 |
+
$( '#wp-review-metabox-userReview' ).toggle( show );
|
265 |
+
$( '#wp_review_id_hint' ).toggle( show );
|
266 |
+
$( '#wp_review_schema_options_wrapper' ).toggle( show );
|
267 |
+
$( '#wp-review-metabox-reviewLinks' ).toggle( show );
|
268 |
+
$( '#wp_review_heading_group' ).toggle( show );
|
269 |
+
$( '#wp_review_embed_options_wrapper' ).toggle( show );
|
270 |
+
$( '#wp_review_show_schema_data_wrapper' ).toggle( show );
|
271 |
+
|
272 |
+
if ( $( this ).attr( 'data-changed' ) != 1 ) {
|
273 |
+
$( this ).attr( 'data-changed', 1 );
|
274 |
+
return;
|
275 |
+
}
|
276 |
+
|
277 |
+
if ( ! $( this ).next( 'input[name="wp_review_type"]' ).length ) {
|
278 |
+
$( this ).after( '<input type="hidden" name="wp_review_type" value="' + selected_val + '">' );
|
279 |
+
} else {
|
280 |
+
$( this ).next( 'input[name="wp_review_type"]' ).val( selected_val );
|
281 |
+
}
|
282 |
+
}).change();
|
283 |
+
};
|
284 |
+
|
285 |
+
wpreview.linkChoices = function( options ) {
|
286 |
+
var defaults = {
|
287 |
+
callback: null
|
288 |
+
};
|
289 |
+
|
290 |
+
options = $.extend( {}, defaults, options );
|
291 |
+
|
292 |
+
$( '.wpr-link-choice' ).on( 'click', function( ev ) {
|
293 |
+
ev.preventDefault();
|
294 |
+
var target, value;
|
295 |
+
target = $( this ).attr( 'data-target' );
|
296 |
+
value = $( this ).attr( 'data-value' );
|
297 |
+
if ( ! $( target ).length ) {
|
298 |
+
return;
|
299 |
+
}
|
300 |
+
|
301 |
+
$( target ).val( value );
|
302 |
+
$( this ).closest( '.wpr-link-choices' ).find( '.wpr-link-choice' ).removeClass( 'active' );
|
303 |
+
$( this ).addClass( 'active' );
|
304 |
+
|
305 |
+
if ( typeof options.callback == 'function' ) {
|
306 |
+
options.callback.call( $( this ), value );
|
307 |
+
}
|
308 |
+
});
|
309 |
+
};
|
310 |
+
|
311 |
+
wpreview.boxTemplatesSelect = function() {
|
312 |
+
var $select = $( 'select#wp_review_box_template' ),
|
313 |
+
globalColor = $( '#wpr-review-global-color-value' ).val(),
|
314 |
+
globalInactiveColor = $( '#wpr-review-global-inactive-color-value' ).val(),
|
315 |
+
postColor, postInactiveColor;
|
316 |
+
|
317 |
+
function onSwitchColor( color ) {
|
318 |
+
$( '.wpr-review-item .input-color' ).each( function() {
|
319 |
+
var oldVal;
|
320 |
+
oldVal = $( this ).val();
|
321 |
+
if ( oldVal === globalColor || oldVal === postColor ) {
|
322 |
+
$( this ).iris( 'color', color );
|
323 |
+
}
|
324 |
+
});
|
325 |
+
}
|
326 |
+
|
327 |
+
function onSwitchInactiveColor( color ) {
|
328 |
+
$( '.wpr-review-item .input-inactive-color' ).each( function() {
|
329 |
+
var oldVal;
|
330 |
+
oldVal = $( this ).val();
|
331 |
+
if ( oldVal === globalInactiveColor || oldVal === postInactiveColor ) {
|
332 |
+
$( this ).iris( 'color', color );
|
333 |
+
}
|
334 |
+
});
|
335 |
+
}
|
336 |
+
|
337 |
+
function onChange( value ) {
|
338 |
+
var templates = wprVars.boxTemplates,
|
339 |
+
template = templates[ value ] || templates['default'];
|
340 |
+
|
341 |
+
postColor = $( '#wp_review_color' ).val();
|
342 |
+
postInactiveColor = $( '#wp_review_inactive_color' ).val();
|
343 |
+
|
344 |
+
// Change image preview.
|
345 |
+
$( '#wp_review_box_template_img' ).attr( 'src', template.image );
|
346 |
+
|
347 |
+
// Change style options.
|
348 |
+
$( '#wp_review_color' ).iris( 'color', template.color );
|
349 |
+
$( '#wp_review_fontcolor' ).iris( 'color', template.fontcolor );
|
350 |
+
$( '#wp_review_bgcolor1' ).iris( 'color', template.bgcolor1 );
|
351 |
+
$( '#wp_review_bgcolor2' ).iris( 'color', template.bgcolor2 );
|
352 |
+
$( '#wp_review_bordercolor' ).iris( 'color', template.bordercolor );
|
353 |
+
wpreview.turnSwitch( $( '#wp_review_custom_width' ), template.width != 100 );
|
354 |
+
$( '#wp_review_width' ).val( template.width ).trigger( 'change' );
|
355 |
+
$( '#wp-review-align-' + template.align ).prop( 'checked', true );
|
356 |
+
wpreview.turnSwitch( $( '#wp_review_custom_comment_colors' ), template.custom_comment_colors );
|
357 |
+
$( '#wp_review_comment_color' ).iris( 'color', template.comment_color );
|
358 |
+
$( '#wp_review_rating_icon' ).val( template.rating_icon ).trigger( 'change' );
|
359 |
+
$( '#wp_review_inactive_color' ).iris( 'color', template.inactive_color );
|
360 |
+
$( '#wp_review_comment_inactive_color' ).iris( 'color', template.comment_inactive_color );
|
361 |
+
$( '#wpr-review-color-value' ).val( template.color );
|
362 |
+
$( '#wpr-review-inactive-color-value' ).val( template.inactive_color );
|
363 |
+
|
364 |
+
// Feature colors.
|
365 |
+
onSwitchColor( template.color );
|
366 |
+
onSwitchInactiveColor( template.inactive_color );
|
367 |
+
}
|
368 |
+
|
369 |
+
$( '#wp_review_custom_colors' ).on( 'switch-on', function() {
|
370 |
+
postColor = $( '#wp_review_color' ).val();
|
371 |
+
postInactiveColor = $( '#wp_review_inactive_color' ).val();
|
372 |
+
|
373 |
+
onSwitchColor( $( '#wp_review_color' ).val() );
|
374 |
+
onSwitchInactiveColor( $( '#wp_review_inactive_color' ).val() );
|
375 |
+
});
|
376 |
+
$( '#wp_review_custom_colors' ).on( 'switch-off', function() {
|
377 |
+
postColor = $( '#wp_review_color' ).val();
|
378 |
+
postInactiveColor = $( '#wp_review_inactive_color' ).val();
|
379 |
+
|
380 |
+
onSwitchColor( $( '#wpr-review-global-color-value' ).val() );
|
381 |
+
onSwitchInactiveColor( $( '#wpr-review-global-inactive-color-value' ).val() );
|
382 |
+
});
|
383 |
+
|
384 |
+
$( '#wp_review_color' ).on( 'color-change', function( ev, colorEvent, ui ) {
|
385 |
+
postColor = $( '#wp_review_color' ).val();
|
386 |
+
onSwitchColor( ui.color.toString() );
|
387 |
+
});
|
388 |
+
|
389 |
+
$( '#wp_review_inactive_color' ).on( 'color-change', function( ev, colorEvent, ui ) {
|
390 |
+
postInactiveColor = $( '#wp_review_inactive_color' ).val();
|
391 |
+
onSwitchInactiveColor( ui.color.toString() );
|
392 |
+
});
|
393 |
+
|
394 |
+
// Init select2.
|
395 |
+
$select.select2({
|
396 |
+
width: '250px',
|
397 |
+
templateResult: function( option ) {
|
398 |
+
if ( ! option.element ) {
|
399 |
+
return option.text;
|
400 |
+
}
|
401 |
+
var value = option.element.value,
|
402 |
+
templates = wprVars.boxTemplates,
|
403 |
+
template = templates[ value ] || templates['default'];
|
404 |
+
return $( '<span data-img="' + template.image + '">' + option.text + '</span>' );
|
405 |
+
}
|
406 |
+
});
|
407 |
+
|
408 |
+
// On change option.
|
409 |
+
$select.on( 'change', function( ev ) {
|
410 |
+
onChange( ev.target.value );
|
411 |
+
});
|
412 |
+
|
413 |
+
// On hover option.
|
414 |
+
$( document ).on( 'mouseenter', '#select2-wp_review_box_template-results li', function() {
|
415 |
+
$( '#wp_review_box_template_preview' ).addClass( 'loading' ).show();
|
416 |
+
$( '#wp_review_box_template_preview_img' ).attr( 'src', $( this ).find( 'span' ).attr( 'data-img' ) );
|
417 |
+
$( '#wp_review_box_template_preview_img' ).imagesLoaded().progress( function( instance, image ) {
|
418 |
+
if ( image.isLoaded ) {
|
419 |
+
$( '#wp_review_box_template_preview' ).removeClass( 'loading' );
|
420 |
+
}
|
421 |
+
});
|
422 |
+
});
|
423 |
+
|
424 |
+
$select.on( 'select2:close', function() {
|
425 |
+
$( '#wp_review_box_template_preview' ).hide();
|
426 |
+
});
|
427 |
+
};
|
428 |
+
|
429 |
+
wpreview.formSwitchEvents = function() {
|
430 |
+
$( document ).on( 'change', '.wpr-switch__on', function() {
|
431 |
+
if ( $( this )[0].checked ) {
|
432 |
+
$( this ).closest( '.wpr-switch' ).trigger( 'switch-on' );
|
433 |
+
}
|
434 |
+
});
|
435 |
+
|
436 |
+
$( document ).on( 'change', '.wpr-switch__off', function() {
|
437 |
+
if ( $( this )[0].checked ) {
|
438 |
+
$( this ).closest( '.wpr-switch' ).trigger( 'switch-off' );
|
439 |
+
}
|
440 |
+
});
|
441 |
+
};
|
442 |
+
|
443 |
+
wpreview.turnSwitch = function( $switch, on ) {
|
444 |
+
if ( on ) {
|
445 |
+
$switch.find( '.wpr-switch__on' ).prop( 'checked', true ).trigger( 'change' );
|
446 |
+
} else {
|
447 |
+
$switch.find( '.wpr-switch__off' ).prop( 'checked', true ).trigger( 'change' );
|
448 |
+
}
|
449 |
+
};
|
450 |
+
|
451 |
+
wpreview.importDemo = function() {
|
452 |
+
$( '#wp-review-import-demo-button' ).on( 'click', function() {
|
453 |
+
var check = confirm( wprVars.importDemoConfirm ),
|
454 |
+
$button = $( this );
|
455 |
+
if ( ! check ) {
|
456 |
+
return;
|
457 |
+
}
|
458 |
+
|
459 |
+
$button.prop( 'disabled', true );
|
460 |
+
|
461 |
+
$.magnificPopup.open({
|
462 |
+
items: {
|
463 |
+
src: '#wp-review-demo-importer-popup',
|
464 |
+
type: 'inline'
|
465 |
+
},
|
466 |
+
modal: true
|
467 |
+
});
|
468 |
+
|
469 |
+
$( '#wp-review-demo-importer-modal-footer-button' ).on( 'click', function() {
|
470 |
+
$.magnificPopup.close();
|
471 |
+
});
|
472 |
+
|
473 |
+
var data = {
|
474 |
+
action: 'wp-review-import-demo',
|
475 |
+
nonce: $button.attr( 'data-nonce' )
|
476 |
+
};
|
477 |
+
$.post( ajaxurl, data, function( response ) {
|
478 |
+
$( '#wp-review-demo-importer-modal-content' ).html( response );
|
479 |
+
$( '#wp-review-demo-importer-modal-footer-info' ).text( wprVars.importDemoDone );
|
480 |
+
$( '#wp-review-demo-importer-modal-header h2' ).text( wprVars.importDemoDone );
|
481 |
+
$( '#wp-review-demo-importer-modal-footer-button' ).show();
|
482 |
+
$button.prop( 'disabled', false );
|
483 |
+
});
|
484 |
+
});
|
485 |
+
};
|
486 |
+
|
487 |
+
$( document ).ready( function() {
|
488 |
+
wpreview.initSelect2();
|
489 |
+
wpreview.initTabs();
|
490 |
+
wpreview.pluginOptions();
|
491 |
+
wpreview.pluginMetaBoxes();
|
492 |
+
wpreview.boxTemplatesSelect();
|
493 |
+
wpreview.formSwitchEvents();
|
494 |
+
wpreview.importDemo();
|
495 |
+
|
496 |
+
$( '[data-remove-ratings]' ).on( 'click', function() {
|
497 |
+
var check = confirm( wprVars.confirmPurgeRatings );
|
498 |
+
if ( ! check ) {
|
499 |
+
return;
|
500 |
+
}
|
501 |
+
|
502 |
+
var $button = $( this ),
|
503 |
+
options = $button.data(),
|
504 |
+
btnText = $button.text();
|
505 |
+
|
506 |
+
$button.text( options.processingText );
|
507 |
+
options.action = 'wpr-purge-ratings';
|
508 |
+
options.nonce = wprVars.purgeRatingsNonce;
|
509 |
+
|
510 |
+
$.ajax({
|
511 |
+
url: ajaxurl,
|
512 |
+
type: 'post',
|
513 |
+
data: options,
|
514 |
+
success: function( res ) {
|
515 |
+
$button.text( res.data );
|
516 |
+
setTimeout( function() {
|
517 |
+
$button.text( btnText );
|
518 |
+
}, 2000 );
|
519 |
+
},
|
520 |
+
error: function( res ) {
|
521 |
+
console.log( res );
|
522 |
+
}
|
523 |
+
})
|
524 |
+
});
|
525 |
+
|
526 |
+
// Fix conflicts with Blogging theme. See https://github.com/MyThemeShopTeam/wp-review-pro/issues/277.
|
527 |
+
$( document ).off( 'mousewheel', '**' );
|
528 |
+
$( document ).on( 'DOMMouseScroll mousewheel', '.select2-results', function( ev ) {
|
529 |
+
if ( $( this ).children( '#select2-wp_review_box_template-results' ).length ) {
|
530 |
+
return;
|
531 |
+
}
|
532 |
+
if ( $( this ).children( '#select2-wp_review_popup_animation_in-results' ).length ) {
|
533 |
+
return;
|
534 |
+
}
|
535 |
+
if ( $( this ).children( '#select2-wp_review_popup_animation_out-results' ).length ) {
|
536 |
+
return;
|
537 |
+
}
|
538 |
+
var $this = $( this ),
|
539 |
+
scrollTop = this.scrollTop,
|
540 |
+
scrollHeight = this.scrollHeight,
|
541 |
+
height = $this.height(),
|
542 |
+
delta = ev.type == 'DOMMouseScroll' ? ev.originalEvent.detail * -40 : ev.originalEvent.wheelDelta,
|
543 |
+
up = delta > 0;
|
544 |
+
|
545 |
+
var prevent = function() {
|
546 |
+
ev.stopPropagation();
|
547 |
+
ev.preventDefault();
|
548 |
+
ev.returnValue = false;
|
549 |
+
return false;
|
550 |
+
}
|
551 |
+
|
552 |
+
if ( ! up && -delta > scrollHeight - height - scrollTop ) {
|
553 |
+
// Scrolling down, but this will take us past the bottom.
|
554 |
+
$this.scrollTop( scrollHeight );
|
555 |
+
return prevent();
|
556 |
+
} else if ( up && delta > scrollTop ) {
|
557 |
+
// Scrolling up, but this will take us past the top.
|
558 |
+
$this.scrollTop(0);
|
559 |
+
return prevent();
|
560 |
+
}
|
561 |
+
});
|
562 |
+
|
563 |
+
// Pro feature popup.
|
564 |
+
$( document ).on( 'click', '.wp-review-disabled, option[disabled]', function( ev ) {
|
565 |
+
ev.preventDefault();
|
566 |
+
|
567 |
+
$.magnificPopup.open({
|
568 |
+
items: {
|
569 |
+
src: '#wp-review-pro-popup-notice',
|
570 |
+
type: 'inline'
|
571 |
+
}
|
572 |
+
});
|
573 |
+
});
|
574 |
+
});
|
575 |
+
})( jQuery, Cookies );
|
576 |
+
|
577 |
+
jQuery(document).ready(function($) {
|
578 |
+
|
579 |
+
/**
|
580 |
+
* Repeatable field
|
581 |
+
*/
|
582 |
+
$('.add-row').on('click', function(e) {
|
583 |
+
e.preventDefault();
|
584 |
+
var $target = $($(this).data('target'));
|
585 |
+
var row = $target.find('.empty-row').clone(true);
|
586 |
+
var input = row.find('input');
|
587 |
+
if (typeof input.data('name') !== 'undefined' && input.data('name')) input.prop('name', input.data('name'));
|
588 |
+
input.filter('[name="wp_review_item_star[]"]').addClass('review-star');
|
589 |
+
row.removeClass('empty-row screen-reader-text');
|
590 |
+
row.insertBefore($target.find('tbody>tr:last'));
|
591 |
+
row.find(".focus-on-add").focus();
|
592 |
+
});
|
593 |
+
|
594 |
+
$('.remove-row').on('click', function(e) {
|
595 |
+
e.preventDefault();
|
596 |
+
$(this).closest('tr').remove();
|
597 |
+
});
|
598 |
+
|
599 |
+
$('#wp-review-metabox-item tbody').sortable({ handle: '.handle', revert: 100, containment: '#wp-review-metabox-item' });
|
600 |
+
$('#wp-review-metabox-reviewLinks tbody').sortable({ handle: '.handle', revert: 100, containment: '#wp-review-metabox-reviewLinks' });
|
601 |
+
|
602 |
+
// $('#wp-wp_review_desc-wrap').toggle(! $('#wp_review_hide_desc').is(':checked'));
|
603 |
+
$('#wp_review_location').on('change', function() {
|
604 |
+
$('#wp_review_shortcode_hint_field').toggle($(this).val() == 'custom');
|
605 |
+
});
|
606 |
+
|
607 |
+
if ($('#wp_review_location').val() == 'custom') {
|
608 |
+
$('#wp_review_shortcode_hint_field').show();
|
609 |
+
}
|
610 |
+
|
611 |
+
$( '#wp-review-width-slider' ).slider({
|
612 |
+
range: 'min',
|
613 |
+
value: $( '#wp_review_width' ).val(),
|
614 |
+
step: 1,
|
615 |
+
min: 1,
|
616 |
+
max: 100,
|
617 |
+
disabled: true
|
618 |
+
});
|
619 |
+
|
620 |
+
$('.wp-review-userReview-options').change(function(event) {
|
621 |
+
$('#wp-review-through-comment-option').toggle(!!parseInt($(this).val()));
|
622 |
+
});
|
623 |
+
|
624 |
+
/**
|
625 |
+
* Color picker setup
|
626 |
+
*/
|
627 |
+
$('.wp-review-color').wpColorPicker({
|
628 |
+
change: function( event, ui ) {
|
629 |
+
$( event.target ).trigger( 'color-change', [ event, ui ] );
|
630 |
+
}
|
631 |
+
});
|
632 |
+
|
633 |
+
$('.wp-review-theme-defaults-msg .close-notice').click(function() {
|
634 |
+
$('.wp-review-theme-defaults-msg').remove();
|
635 |
+
});
|
636 |
+
$('.wp-review-theme-defaults-msg a.button').click(function() {
|
637 |
+
return confirm('Are you sure? This may override the current settings.');
|
638 |
+
});
|
639 |
+
|
640 |
+
$('[name=wp_review_userReview]').change(function(e){
|
641 |
+
var val = $(this).val();
|
642 |
+
var $type = $('#wp_review_comment_rating_type');
|
643 |
+
if(wprVars.ratingPermissionsCommentOnly === val || wprVars.ratingPermissionsBoth === val){
|
644 |
+
$type.show();
|
645 |
+
} else {
|
646 |
+
$type.hide();
|
647 |
+
}
|
648 |
+
});
|
649 |
+
|
650 |
+
$('td.wp_review_comment_rating, #wp-review-comment-rating').each(function(){
|
651 |
+
var $features = $(this).find('.wp-review-rating-feature');
|
652 |
+
var maxWidth = 0;
|
653 |
+
$features.each(function(){
|
654 |
+
var width = $(this).outerWidth();
|
655 |
+
if ( width > maxWidth ) maxWidth = width;
|
656 |
+
});
|
657 |
+
$features.width( maxWidth + 10 );
|
658 |
+
});
|
659 |
+
|
660 |
+
if ($('#wp-review-migrate-log').length) {
|
661 |
+
var $migrate_log = $('#wp-review-migrate-log');
|
662 |
+
var migrate_started = false;
|
663 |
+
var rows_left = parseInt($('#migrate-items-num').text());
|
664 |
+
var migrated_rows = $('#start-migrate').data('start');
|
665 |
+
var migrate_finished = false;
|
666 |
+
var updatelog = function( text ) {
|
667 |
+
$migrate_log.css('display', 'block').val(function(index, old) { return text + "\n" + old });
|
668 |
+
}
|
669 |
+
var ajax_migrate = function( startindex ) {
|
670 |
+
$.ajax({
|
671 |
+
url: ajaxurl,
|
672 |
+
type: 'POST',
|
673 |
+
dataType: 'json',
|
674 |
+
data: { action: 'wp_review_migrate_ratings', start: startindex },
|
675 |
+
})
|
676 |
+
.done(function( data ) {
|
677 |
+
$('#migrate-items-num').text(data.rowsleft);
|
678 |
+
updatelog( 'Imported ratings: ' + (startindex + 1) + ' - ' + data.lastrow + '...' );
|
679 |
+
if ( ! data.finished )
|
680 |
+
ajax_migrate( data.lastrow );
|
681 |
+
else
|
682 |
+
updatelog('Import complete.');
|
683 |
+
});
|
684 |
+
|
685 |
+
}
|
686 |
+
$('#start-migrate').click(function(event) {
|
687 |
+
event.preventDefault();
|
688 |
+
if (migrate_started)
|
689 |
+
return false;
|
690 |
+
|
691 |
+
migrate_started = true;
|
692 |
+
updatelog('Import started, please wait...');
|
693 |
+
|
694 |
+
ajax_migrate(migrated_rows);
|
695 |
+
});
|
696 |
+
|
697 |
+
}
|
698 |
+
|
699 |
+
// Image Uploader
|
700 |
+
wprImageField = {
|
701 |
+
uploader : function( id ) {
|
702 |
+
var frame = wp.media({
|
703 |
+
title : wprVars.imgframe_title,
|
704 |
+
multiple : false,
|
705 |
+
frame: 'post',
|
706 |
+
library : { type : 'image' },
|
707 |
+
button : { text : wprVars.imgbutton_title }
|
708 |
+
});
|
709 |
+
|
710 |
+
frame.on( 'insert', function(selection) {
|
711 |
+
|
712 |
+
var state = frame.state();
|
713 |
+
selection = selection || state.get('selection');
|
714 |
+
if (! selection) return;
|
715 |
+
// We set multiple to false so only get one image from the uploader
|
716 |
+
var attachment = selection.first();
|
717 |
+
var display = state.display(attachment).toJSON(); // <-- additional properties
|
718 |
+
attachment = attachment.toJSON();
|
719 |
+
// Do something with attachment.id and/or attachment.url here
|
720 |
+
var imgurl = attachment.sizes[display.size].url;
|
721 |
+
var attachments = frame.state().get( 'selection' ).toJSON();
|
722 |
+
if ( attachments[0] ) {
|
723 |
+
$( '#' + id + '-preview' ).html( '<img src="' + imgurl + '" class="wpr_image_upload_img" />' );
|
724 |
+
$( '#' + id + '-id' ).val( attachments[0].id );
|
725 |
+
$( '#' + id + '-url' ).val( imgurl );
|
726 |
+
|
727 |
+
if ( $( '#' + id + '-upload+.clear-image' ).length == 0 ) {
|
728 |
+
$( '#' + id + '-upload' ).after( '<a href="#" class="button button-link clear-image">' + wprVars.imgremove_title + '</a>' );
|
729 |
+
}
|
730 |
+
}
|
731 |
+
});
|
732 |
+
|
733 |
+
frame.open();
|
734 |
+
return false;
|
735 |
+
}
|
736 |
+
};
|
737 |
+
|
738 |
+
$( document ).on( 'click', '.clear-image', function( e ) {
|
739 |
+
e.preventDefault();
|
740 |
+
var $this = $( this ),
|
741 |
+
id = $this.prev().data( 'id' );
|
742 |
+
|
743 |
+
$( '#' + id + '-preview' ).html( '' );
|
744 |
+
$( '#' + id + '-id' ).val( '' );
|
745 |
+
$( '#' + id + '-url' ).val( '' );
|
746 |
+
$this.remove();
|
747 |
+
});
|
748 |
+
|
749 |
+
$( '.wpr-datepicker' ).datepicker({
|
750 |
+
dateFormat: 'yy-mm-dd',
|
751 |
+
});
|
752 |
+
|
753 |
+
if ( typeof wp !== 'undefined' && wp.media && wp.media.editor) {
|
754 |
+
$(document).on('click', '.wp-review-rating-image .set_rating_image, .wp-review-rating-image .img-wrapper i', function(e) {
|
755 |
+
e.preventDefault();
|
756 |
+
var button = $('.wp-review-rating-image .set_rating_image'),
|
757 |
+
custom_uploader = wp.media({
|
758 |
+
title: 'Insert image',
|
759 |
+
library : {
|
760 |
+
type : 'image'
|
761 |
+
},
|
762 |
+
button: {
|
763 |
+
text: 'Use this image'
|
764 |
+
},
|
765 |
+
multiple: false
|
766 |
+
}).on('select', function() {
|
767 |
+
var attachment = custom_uploader.state().get('selection').first().toJSON();
|
768 |
+
$(button).parent().find('.img-wrapper').removeClass('hide').find('img').attr('src', attachment.url);
|
769 |
+
$(button).removeClass('button').prev().val(attachment.id).next().show();
|
770 |
+
$(button).hide();
|
771 |
+
}).open();
|
772 |
+
});
|
773 |
+
}
|
774 |
+
|
775 |
+
if($(document).find('#multisite_settings').length > 0) {
|
776 |
+
$(document).on('change', '#wp-review-select-site', function(){
|
777 |
+
var site = $(this).val();
|
778 |
+
$('.wp-review-subsite-wrapper').hide();
|
779 |
+
$(document).find('#wp-review-site-'+site+'-fields').show();
|
780 |
+
});
|
781 |
+
|
782 |
+
// Multisite general settings.
|
783 |
+
$( '.wp-review-multisite-general-settings div.wpr-switch' ).on( 'switch-on', function() {
|
784 |
+
$('.wp-review-multisite-global-options').fadeOut();
|
785 |
+
});
|
786 |
+
$( '.wp-review-multisite-general-settings div.wpr-switch' ).on( 'switch-off', function() {
|
787 |
+
$('.wp-review-multisite-global-options').fadeIn();
|
788 |
+
});
|
789 |
+
|
790 |
+
// Multisite post settings.
|
791 |
+
$( '.wp-review-multisite-posts-options div.wpr-switch' ).on( 'switch-on', function() {
|
792 |
+
$(this).parents('.wp-review-multisite-posts-options').next('#wp-review-multisite-posts-options').fadeOut();
|
793 |
+
});
|
794 |
+
$( '.wp-review-multisite-posts-options div.wpr-switch' ).on( 'switch-off', function() {
|
795 |
+
$(this).parents('.wp-review-multisite-posts-options').next('#wp-review-multisite-posts-options').fadeIn();
|
796 |
+
});
|
797 |
+
}
|
798 |
+
|
799 |
+
});
|
admin/assets/js/editor-plugin.js
ADDED
@@ -0,0 +1,372 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function( tinymce, wpreview, $ ) {
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
var getShortcode = function( name, attrs ) {
|
5 |
+
var output = '[' + name;
|
6 |
+
for ( var k in attrs ) {
|
7 |
+
if ( ! attrs[ k ] ) {
|
8 |
+
continue;
|
9 |
+
}
|
10 |
+
output += ' ' + k + '="' + attrs[ k ] + '"';
|
11 |
+
}
|
12 |
+
output += ']';
|
13 |
+
return output;
|
14 |
+
};
|
15 |
+
|
16 |
+
var getComparisonTableButton = function( editor ) {
|
17 |
+
return {
|
18 |
+
text: wprVars.comparisonTable,
|
19 |
+
onclick: function() {
|
20 |
+
var dialog = editor.windowManager.open({
|
21 |
+
title: wprVars.comparisonTable,
|
22 |
+
body: [
|
23 |
+
{
|
24 |
+
type: 'textbox',
|
25 |
+
name: 'ids',
|
26 |
+
label: wprVars.reviewIds
|
27 |
+
}
|
28 |
+
],
|
29 |
+
buttons: [
|
30 |
+
{
|
31 |
+
id: 'wpr-insert-shortcode',
|
32 |
+
classes: 'widget btn primary first abs-layout-item',
|
33 |
+
text: wprVars.insert,
|
34 |
+
onclick: function() {
|
35 |
+
dialog.submit();
|
36 |
+
}
|
37 |
+
},
|
38 |
+
{
|
39 |
+
id: 'wpr-cancel-shortcode',
|
40 |
+
text: wprVars.cancel,
|
41 |
+
onclick: function() {
|
42 |
+
dialog.close();
|
43 |
+
}
|
44 |
+
}
|
45 |
+
],
|
46 |
+
onsubmit: function( e ) {
|
47 |
+
var name = 'wp-review-comparison-table',
|
48 |
+
attrs = e.data;
|
49 |
+
|
50 |
+
editor.insertContent( getShortcode( name, attrs ) );
|
51 |
+
}
|
52 |
+
});
|
53 |
+
}
|
54 |
+
};
|
55 |
+
};
|
56 |
+
|
57 |
+
function getPostsButton( editor ) {
|
58 |
+
return {
|
59 |
+
text: wprVars.reviewPosts,
|
60 |
+
onclick: function() {
|
61 |
+
var dialog = editor.windowManager.open({
|
62 |
+
title: wprVars.reviewPosts,
|
63 |
+
body: [
|
64 |
+
{
|
65 |
+
type: 'listbox',
|
66 |
+
name: 'text',
|
67 |
+
label: wprVars.queryType,
|
68 |
+
values: [
|
69 |
+
{ text: wprVars.recentReviews, value: 'recent' },
|
70 |
+
{ text: wprVars.topRated, value: 'toprated' },
|
71 |
+
{ text: wprVars.mostVoted, value: 'mostvoted' },
|
72 |
+
{ text: wprVars.categoryReviews, value: 'cat' }
|
73 |
+
],
|
74 |
+
value: 'recent'
|
75 |
+
},
|
76 |
+
{
|
77 |
+
type: 'textbox',
|
78 |
+
name: 'review_type',
|
79 |
+
label: wprVars.reviewTypesText,
|
80 |
+
tooltip: wprVars.separateByCommas
|
81 |
+
},
|
82 |
+
{
|
83 |
+
type: 'textbox',
|
84 |
+
name: 'cat',
|
85 |
+
label: wprVars.categoryIds,
|
86 |
+
tooltip: wprVars.separateByCommas
|
87 |
+
},
|
88 |
+
{
|
89 |
+
type: 'checkbox',
|
90 |
+
name: 'allow_pagination',
|
91 |
+
label: wprVars.allowPagination
|
92 |
+
},
|
93 |
+
{
|
94 |
+
type: 'textbox',
|
95 |
+
name: 'post_num',
|
96 |
+
label: wprVars.numberOfReviews,
|
97 |
+
value: 5
|
98 |
+
},
|
99 |
+
{
|
100 |
+
type: 'textbox',
|
101 |
+
name: 'title_length',
|
102 |
+
label: wprVars.titleLength
|
103 |
+
},
|
104 |
+
{
|
105 |
+
type: 'checkbox',
|
106 |
+
name: 'show_date',
|
107 |
+
label: wprVars.showDate
|
108 |
+
},
|
109 |
+
{
|
110 |
+
type: 'listbox',
|
111 |
+
name: 'thumb_size',
|
112 |
+
label: wprVars.thumbSize,
|
113 |
+
values: [
|
114 |
+
{ text: wprVars.small, value: 'small' },
|
115 |
+
{ text: wprVars.large, value: 'large' },
|
116 |
+
],
|
117 |
+
value: 'small'
|
118 |
+
}
|
119 |
+
],
|
120 |
+
buttons: [
|
121 |
+
{
|
122 |
+
id: 'wpr-insert-shortcode',
|
123 |
+
classes: 'widget btn primary first abs-layout-item',
|
124 |
+
text: wprVars.insert,
|
125 |
+
onclick: function() {
|
126 |
+
dialog.submit();
|
127 |
+
}
|
128 |
+
},
|
129 |
+
{
|
130 |
+
id: 'wpr-cancel-shortcode',
|
131 |
+
text: wprVars.cancel,
|
132 |
+
onclick: function() {
|
133 |
+
dialog.close();
|
134 |
+
}
|
135 |
+
}
|
136 |
+
],
|
137 |
+
onsubmit: function( e ) {
|
138 |
+
var name = 'wp-review-posts',
|
139 |
+
attrs = e.data;
|
140 |
+
|
141 |
+
editor.insertContent( getShortcode( name, attrs ) );
|
142 |
+
}
|
143 |
+
});
|
144 |
+
}
|
145 |
+
};
|
146 |
+
}
|
147 |
+
|
148 |
+
function getWPReviewButton( editor ) {
|
149 |
+
return {
|
150 |
+
text: wprVars.reviewBox,
|
151 |
+
onclick: function() {
|
152 |
+
var dialog = editor.windowManager.open({
|
153 |
+
title: wprVars.reviewBox,
|
154 |
+
body: [
|
155 |
+
{
|
156 |
+
type: 'textbox',
|
157 |
+
name: 'id',
|
158 |
+
label: wprVars.reviewId,
|
159 |
+
tooltip: wprVars.leaveReviewIdEmpty
|
160 |
+
}
|
161 |
+
],
|
162 |
+
buttons: [
|
163 |
+
{
|
164 |
+
id: 'wpr-insert-shortcode',
|
165 |
+
classes: 'widget btn primary first abs-layout-item',
|
166 |
+
text: wprVars.insert,
|
167 |
+
onclick: function() {
|
168 |
+
dialog.submit();
|
169 |
+
}
|
170 |
+
},
|
171 |
+
{
|
172 |
+
id: 'wpr-cancel-shortcode',
|
173 |
+
text: wprVars.cancel,
|
174 |
+
onclick: function() {
|
175 |
+
dialog.close();
|
176 |
+
}
|
177 |
+
}
|
178 |
+
],
|
179 |
+
onsubmit: function( e ) {
|
180 |
+
var name = 'wp-review',
|
181 |
+
attrs = e.data;
|
182 |
+
|
183 |
+
editor.insertContent( getShortcode( name, attrs ) );
|
184 |
+
}
|
185 |
+
});
|
186 |
+
}
|
187 |
+
};
|
188 |
+
}
|
189 |
+
|
190 |
+
function getReviewTotalButton( editor ) {
|
191 |
+
return {
|
192 |
+
text: wprVars.reviewTotal,
|
193 |
+
onclick: function() {
|
194 |
+
var dialog = editor.windowManager.open({
|
195 |
+
title: wprVars.reviewTotal,
|
196 |
+
body: [
|
197 |
+
{
|
198 |
+
type: 'textbox',
|
199 |
+
name: 'id',
|
200 |
+
label: wprVars.reviewId,
|
201 |
+
tooltip: wprVars.leaveReviewIdEmpty
|
202 |
+
}
|
203 |
+
],
|
204 |
+
buttons: [
|
205 |
+
{
|
206 |
+
id: 'wpr-insert-shortcode',
|
207 |
+
classes: 'widget btn primary first abs-layout-item',
|
208 |
+
text: wprVars.insert,
|
209 |
+
onclick: function() {
|
210 |
+
dialog.submit();
|
211 |
+
}
|
212 |
+
},
|
213 |
+
{
|
214 |
+
id: 'wpr-cancel-shortcode',
|
215 |
+
text: wprVars.cancel,
|
216 |
+
onclick: function() {
|
217 |
+
dialog.close();
|
218 |
+
}
|
219 |
+
}
|
220 |
+
],
|
221 |
+
onsubmit: function( e ) {
|
222 |
+
var name = 'wp-review-total',
|
223 |
+
attrs = e.data;
|
224 |
+
|
225 |
+
editor.insertContent( getShortcode( name, attrs ) );
|
226 |
+
}
|
227 |
+
});
|
228 |
+
}
|
229 |
+
};
|
230 |
+
}
|
231 |
+
|
232 |
+
function getVisitorRatingButton( editor ) {
|
233 |
+
return {
|
234 |
+
text: wprVars.visitorRating,
|
235 |
+
onclick: function() {
|
236 |
+
var dialog = editor.windowManager.open({
|
237 |
+
title: wprVars.visitorRating,
|
238 |
+
body: [
|
239 |
+
{
|
240 |
+
type: 'textbox',
|
241 |
+
name: 'id',
|
242 |
+
label: wprVars.reviewId,
|
243 |
+
tooltip: wprVars.leaveReviewIdEmpty
|
244 |
+
}
|
245 |
+
],
|
246 |
+
buttons: [
|
247 |
+
{
|
248 |
+
id: 'wpr-insert-shortcode',
|
249 |
+
classes: 'widget btn primary first abs-layout-item',
|
250 |
+
text: wprVars.insert,
|
251 |
+
onclick: function() {
|
252 |
+
dialog.submit();
|
253 |
+
}
|
254 |
+
},
|
255 |
+
{
|
256 |
+
id: 'wpr-cancel-shortcode',
|
257 |
+
text: wprVars.cancel,
|
258 |
+
onclick: function() {
|
259 |
+
dialog.close();
|
260 |
+
}
|
261 |
+
}
|
262 |
+
],
|
263 |
+
onsubmit: function( e ) {
|
264 |
+
var name = 'wp-review-visitor-rating',
|
265 |
+
attrs = e.data;
|
266 |
+
|
267 |
+
editor.insertContent( getShortcode( name, attrs ) );
|
268 |
+
}
|
269 |
+
});
|
270 |
+
}
|
271 |
+
};
|
272 |
+
}
|
273 |
+
|
274 |
+
function getCommentsRatingButton( editor ) {
|
275 |
+
return {
|
276 |
+
text: wprVars.commentsRating,
|
277 |
+
onclick: function() {
|
278 |
+
var dialog = editor.windowManager.open({
|
279 |
+
title: wprVars.commentsRating,
|
280 |
+
body: [
|
281 |
+
{
|
282 |
+
type: 'textbox',
|
283 |
+
name: 'id',
|
284 |
+
label: wprVars.reviewId,
|
285 |
+
tooltip: wprVars.leaveReviewIdEmpty
|
286 |
+
}
|
287 |
+
],
|
288 |
+
buttons: [
|
289 |
+
{
|
290 |
+
id: 'wpr-insert-shortcode',
|
291 |
+
classes: 'widget btn primary first abs-layout-item',
|
292 |
+
text: wprVars.insert,
|
293 |
+
onclick: function() {
|
294 |
+
dialog.submit();
|
295 |
+
}
|
296 |
+
},
|
297 |
+
{
|
298 |
+
id: 'wpr-cancel-shortcode',
|
299 |
+
text: wprVars.cancel,
|
300 |
+
onclick: function() {
|
301 |
+
dialog.close();
|
302 |
+
}
|
303 |
+
}
|
304 |
+
],
|
305 |
+
onsubmit: function( e ) {
|
306 |
+
var name = 'wp-review-comments-rating',
|
307 |
+
attrs = e.data;
|
308 |
+
|
309 |
+
editor.insertContent( getShortcode( name, attrs ) );
|
310 |
+
}
|
311 |
+
});
|
312 |
+
}
|
313 |
+
};
|
314 |
+
}
|
315 |
+
|
316 |
+
tinymce.create( 'tinymce.plugins.WPReviewPro', {
|
317 |
+
/**
|
318 |
+
* Initializes the plugin, this will be executed after the plugin has been created.
|
319 |
+
* This call is done before the editor instance has finished it's initialization so use the onInit event
|
320 |
+
* of the editor instance to intercept that event.
|
321 |
+
*
|
322 |
+
* @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
|
323 |
+
* @param {string} url Absolute URL to where the plugin is located.
|
324 |
+
*/
|
325 |
+
init : function( ed, url ) {
|
326 |
+
ed.addButton( 'wpreviewpro', {
|
327 |
+
type: 'menubutton',
|
328 |
+
icon: 'dashicons dashicons-before dashicons-star-filled',
|
329 |
+
menu: [
|
330 |
+
getWPReviewButton( ed ),
|
331 |
+
getPostsButton( ed ),
|
332 |
+
getReviewTotalButton( ed ),
|
333 |
+
getVisitorRatingButton( ed ),
|
334 |
+
getCommentsRatingButton( ed ),
|
335 |
+
getComparisonTableButton( ed )
|
336 |
+
]
|
337 |
+
});
|
338 |
+
},
|
339 |
+
|
340 |
+
/**
|
341 |
+
* Creates control instances based in the incomming name. This method is normally not
|
342 |
+
* needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons
|
343 |
+
* but you sometimes need to create more complex controls like listboxes, split buttons etc then this
|
344 |
+
* method can be used to create those.
|
345 |
+
*
|
346 |
+
* @param {String} n Name of the control to create.
|
347 |
+
* @param {tinymce.ControlManager} cm Control manager to use inorder to create new control.
|
348 |
+
* @return {tinymce.ui.Control} New control instance or null if no control was created.
|
349 |
+
*/
|
350 |
+
createControl : function(n, cm) {
|
351 |
+
return null;
|
352 |
+
},
|
353 |
+
|
354 |
+
/**
|
355 |
+
* Returns information about the plugin as a name/value array.
|
356 |
+
* The current keys are longname, author, authorurl, infourl and version.
|
357 |
+
*
|
358 |
+
* @return {Object} Name/value array containing information about the plugin.
|
359 |
+
*/
|
360 |
+
getInfo : function() {
|
361 |
+
return {
|
362 |
+
longname : 'WP Review Buttons',
|
363 |
+
author : 'MTS',
|
364 |
+
authorurl : 'https://mythemeshop.com',
|
365 |
+
version : '3.0.0'
|
366 |
+
};
|
367 |
+
}
|
368 |
+
});
|
369 |
+
|
370 |
+
// Register plugin
|
371 |
+
tinymce.PluginManager.add( 'wp_review', tinymce.plugins.WPReviewPro );
|
372 |
+
})( tinymce, wpreview, jQuery );
|
admin/assets/js/rating-inputs.js
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function( $ ) {
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
var defaults = {
|
5 |
+
value: 0,
|
6 |
+
color: '',
|
7 |
+
callback: null
|
8 |
+
};
|
9 |
+
|
10 |
+
function triggerCallback( options, value ) {
|
11 |
+
if ( typeof options.callback == 'function' ) {
|
12 |
+
options.callback.call( options._this, value );
|
13 |
+
}
|
14 |
+
}
|
15 |
+
|
16 |
+
// Star input.
|
17 |
+
$.fn.wprStarInput = function( method ) {
|
18 |
+
var methods = {
|
19 |
+
init: function( options ) {
|
20 |
+
var _this = this, wrapper, html, starHtml, width;
|
21 |
+
options = $.extend( {}, defaults, this.data(), options );
|
22 |
+
if ( this.val() ) {
|
23 |
+
options.value = this.val() ? parseFloat( this.val() ) : 0;
|
24 |
+
}
|
25 |
+
options._this = this;
|
26 |
+
|
27 |
+
width = parseFloat( options.value ) * 20;
|
28 |
+
|
29 |
+
starHtml = '';
|
30 |
+
for ( var i = 0; i < 5; i++ ) {
|
31 |
+
starHtml += '<span class="star-icon dashicons dashicons-star-filled"></span>';
|
32 |
+
}
|
33 |
+
|
34 |
+
html = '<div class="wpr-star-input-wrapper wpr-input-wrapper" data-value="' + options.value + '" data-width="' + width + '" style="color: ' + options.color + '">\
|
35 |
+
<div class="stars-bg" style="color: ' + options.inactiveColor + '">' + starHtml + '</div>\
|
36 |
+
<div class="stars-result" style="width: ' + width + '%">' + starHtml + '</div>\
|
37 |
+
</div>';
|
38 |
+
|
39 |
+
wrapper = $( html );
|
40 |
+
this.before( wrapper );
|
41 |
+
|
42 |
+
if ( typeof options.ready == 'function' ) {
|
43 |
+
options.ready.call( this, wrapper, options )
|
44 |
+
}
|
45 |
+
|
46 |
+
wrapper.on( 'mousemove', function( ev ) {
|
47 |
+
var newWidth;
|
48 |
+
newWidth = ev.pageX - $( this ).offset().left;
|
49 |
+
newWidth = newWidth / $( this ).width() * 100;
|
50 |
+
newWidth = Math.ceil( newWidth / 10 ) * 10;
|
51 |
+
$( this ).attr( 'data-value', newWidth / 20 ); // width / 100 * 5
|
52 |
+
$( this ).find( '.stars-result' ).css( 'width', newWidth + '%' );
|
53 |
+
$( this ).attr( 'data-width', newWidth );
|
54 |
+
}).on( 'mouseleave', function() {
|
55 |
+
// Reset to old width.
|
56 |
+
$( this ).find( '.stars-result' ).css( 'width', width + '%' );
|
57 |
+
$( this ).attr( 'data-width', width );
|
58 |
+
$( this ).attr( 'data-value', options.value );
|
59 |
+
}).on( 'click', function() {
|
60 |
+
width = $( this ).attr( 'data-width' );
|
61 |
+
options.value = parseFloat( $( this ).attr( 'data-value' ) );
|
62 |
+
_this.val( options.value );
|
63 |
+
triggerCallback( options, options.value );
|
64 |
+
});
|
65 |
+
|
66 |
+
wrapper.css({ color: options.color });
|
67 |
+
|
68 |
+
this.on( 'change', function() {
|
69 |
+
var value = $( this ).val() ? parseFloat( $( this ).val() ) : 0;
|
70 |
+
wrapper.attr( 'data-value', value );
|
71 |
+
wrapper.attr( 'data-width', value * 20 );
|
72 |
+
wrapper.find( '.stars-result' ).css( 'width', ( value * 20 ) + '%' );
|
73 |
+
triggerCallback( options, value );
|
74 |
+
});
|
75 |
+
}
|
76 |
+
};
|
77 |
+
|
78 |
+
if ( ! method || typeof method == 'object' ) {
|
79 |
+
methods.init.apply( this, arguments );
|
80 |
+
return;
|
81 |
+
}
|
82 |
+
if ( methods[ method ] ) {
|
83 |
+
methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
|
84 |
+
return;
|
85 |
+
}
|
86 |
+
};
|
87 |
+
|
88 |
+
// Circle input.
|
89 |
+
$.fn.wprCircleInput = function( method ) {
|
90 |
+
var methods = {
|
91 |
+
init: function( options ) {
|
92 |
+
var _this = this;
|
93 |
+
options = $.extend( {}, defaults, this.data(), options );
|
94 |
+
if ( typeof options.ready == 'function' ) {
|
95 |
+
options.ready.call( this, options )
|
96 |
+
}
|
97 |
+
options._this = this;
|
98 |
+
|
99 |
+
this.knob({
|
100 |
+
fgColor: options.color,
|
101 |
+
inputColor: options.color,
|
102 |
+
bgColor: options.inactiveColor,
|
103 |
+
width: options.width,
|
104 |
+
height: options.width,
|
105 |
+
displayInput: options.displayInput,
|
106 |
+
step: 0.01,
|
107 |
+
change: function( value ) {
|
108 |
+
triggerCallback( options, value );
|
109 |
+
}
|
110 |
+
});
|
111 |
+
}
|
112 |
+
};
|
113 |
+
|
114 |
+
if ( ! method || typeof method == 'object' ) {
|
115 |
+
methods.init.apply( this, arguments );
|
116 |
+
return;
|
117 |
+
}
|
118 |
+
if ( methods[ method ] ) {
|
119 |
+
methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
|
120 |
+
return;
|
121 |
+
}
|
122 |
+
};
|
123 |
+
|
124 |
+
// Percentage input.
|
125 |
+
$.fn.wprPercentageInput = function( method ) {
|
126 |
+
var methods = {
|
127 |
+
init: function( options ) {
|
128 |
+
var _this = this, wrapper;
|
129 |
+
options = $.extend( {}, defaults, this.data(), options );
|
130 |
+
if ( this.val() ) {
|
131 |
+
options.value = this.val();
|
132 |
+
}
|
133 |
+
options._this = this;
|
134 |
+
|
135 |
+
if ( ! options.inactiveColor ) {
|
136 |
+
options.inactiveColor = '#ccc';
|
137 |
+
}
|
138 |
+
|
139 |
+
wrapper = $( '<div class="wpr-percentage-input-wrapper wpr-input-wrapper"></div>' );
|
140 |
+
this.before( wrapper );
|
141 |
+
|
142 |
+
if ( typeof options.ready == 'function' ) {
|
143 |
+
options.ready.call( this, wrapper, options )
|
144 |
+
}
|
145 |
+
|
146 |
+
wrapper.slider({
|
147 |
+
min: 0,
|
148 |
+
max: 100,
|
149 |
+
step: 1,
|
150 |
+
range: 'min',
|
151 |
+
value: options.value,
|
152 |
+
create: function( ev, ui ) {
|
153 |
+
wrapper.css( 'backgroundColor', options.inactiveColor );
|
154 |
+
wrapper.find( '.ui-slider-range' ).css( 'backgroundColor', options.color );
|
155 |
+
},
|
156 |
+
slide: function( ev, ui ) {
|
157 |
+
triggerCallback( options, ui.value );
|
158 |
+
}
|
159 |
+
});
|
160 |
+
|
161 |
+
this.on( 'change', function() {
|
162 |
+
var value = $( this ).val();
|
163 |
+
wrapper.slider( 'value', value );
|
164 |
+
triggerCallback( options, value );
|
165 |
+
});
|
166 |
+
}
|
167 |
+
};
|
168 |
+
|
169 |
+
if ( ! method || typeof method == 'object' ) {
|
170 |
+
methods.init.apply( this, arguments );
|
171 |
+
return;
|
172 |
+
}
|
173 |
+
if ( methods[ method ] ) {
|
174 |
+
methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
|
175 |
+
return;
|
176 |
+
}
|
177 |
+
};
|
178 |
+
|
179 |
+
// Point input.
|
180 |
+
$.fn.wprPointInput = function( method ) {
|
181 |
+
var methods = {
|
182 |
+
init: function( options ) {
|
183 |
+
var _this = this, wrapper;
|
184 |
+
options = $.extend( {}, defaults, this.data(), options );
|
185 |
+
if ( this.val() ) {
|
186 |
+
options.value = this.val();
|
187 |
+
}
|
188 |
+
options._this = this;
|
189 |
+
|
190 |
+
if ( ! options.inactiveColor ) {
|
191 |
+
options.inactiveColor = '#ccc';
|
192 |
+
}
|
193 |
+
|
194 |
+
wrapper = $( '<div class="wpr-percentage-input-wrapper wpr-input-wrapper"></div>' );
|
195 |
+
this.before( wrapper );
|
196 |
+
|
197 |
+
if ( typeof options.ready == 'function' ) {
|
198 |
+
options.ready.call( this, wrapper, options )
|
199 |
+
}
|
200 |
+
|
201 |
+
wrapper.slider({
|
202 |
+
min: 0,
|
203 |
+
max: 10,
|
204 |
+
step: 0.1,
|
205 |
+
range: 'min',
|
206 |
+
value: options.value,
|
207 |
+
create: function( ev, ui ) {
|
208 |
+
wrapper.css( 'backgroundColor', options.inactiveColor );
|
209 |
+
wrapper.find( '.ui-slider-range' ).css( 'backgroundColor', options.color );
|
210 |
+
},
|
211 |
+
slide: function( ev, ui ) {
|
212 |
+
triggerCallback( options, ui.value );
|
213 |
+
}
|
214 |
+
});
|
215 |
+
|
216 |
+
this.on( 'change', function() {
|
217 |
+
var value = $( this ).val();
|
218 |
+
wrapper.slider( 'value', value );
|
219 |
+
triggerCallback( options, value );
|
220 |
+
});
|
221 |
+
}
|
222 |
+
};
|
223 |
+
|
224 |
+
if ( ! method || typeof method == 'object' ) {
|
225 |
+
methods.init.apply( this, arguments );
|
226 |
+
return;
|
227 |
+
}
|
228 |
+
if ( methods[ method ] ) {
|
229 |
+
methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
|
230 |
+
return;
|
231 |
+
}
|
232 |
+
};
|
233 |
+
|
234 |
+
})( jQuery );
|
admin/assets/js/review-items.js
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function( Backbone, $ ) {
|
2 |
+
"use strict";
|
3 |
+
|
4 |
+
if ( ! $( '#wpr-review-items-app' ).length ) {
|
5 |
+
return;
|
6 |
+
}
|
7 |
+
|
8 |
+
var App = {
|
9 |
+
Models: {},
|
10 |
+
Collections: {},
|
11 |
+
Views: {}
|
12 |
+
};
|
13 |
+
|
14 |
+
App.Models.Item = Backbone.Model.extend({
|
15 |
+
defaults: function() {
|
16 |
+
return {
|
17 |
+
id: '',
|
18 |
+
item_id: '',
|
19 |
+
wp_review_item_title: '',
|
20 |
+
wp_review_item_star: 0,
|
21 |
+
wp_review_item_color: $( '#wpr-review-color-value' ).val(),
|
22 |
+
wp_review_item_inactive_color: $( '#wpr-review-inactive-color-value' ).val(),
|
23 |
+
type: $( '#wpr-review-type-2' ).val() || wprVars.globalReviewType
|
24 |
+
};
|
25 |
+
}
|
26 |
+
});
|
27 |
+
|
28 |
+
App.Collections.Items = Backbone.Collection.extend({
|
29 |
+
model: App.Models.Item
|
30 |
+
});
|
31 |
+
|
32 |
+
App.Views.ItemView = Backbone.View.extend({
|
33 |
+
template: wp.template( 'wpr-review-item' ),
|
34 |
+
|
35 |
+
className: 'wpr-review-item',
|
36 |
+
|
37 |
+
initialize: function() {
|
38 |
+
this.model.on( 'destroy', this.remove, this );
|
39 |
+
},
|
40 |
+
|
41 |
+
events: {
|
42 |
+
'click .delete-item': 'remove',
|
43 |
+
'change .input-title': 'changeTitle',
|
44 |
+
'change .input-star': 'changeScore'
|
45 |
+
},
|
46 |
+
|
47 |
+
render: function() {
|
48 |
+
var _this = this,
|
49 |
+
data;
|
50 |
+
|
51 |
+
data = this.model.toJSON();
|
52 |
+
data.itemNameSetting = wp.template( 'wpr-review-item-name' )( data );
|
53 |
+
data.itemColorSetting = wp.template( 'wpr-review-item-color' )( data );
|
54 |
+
data.itemInactiveColorSetting = wp.template( 'wpr-review-item-inactive-color' )( data );
|
55 |
+
if ( $( '#tmpl-wpr-review-item-' + data.type + '-rating' ).length ) {
|
56 |
+
data.itemRatingSetting = wp.template( 'wpr-review-item-' + data.type + '-rating' )( data );
|
57 |
+
} else {
|
58 |
+
data.itemRatingSetting = wp.template( 'wpr-review-item-rating' )( data );
|
59 |
+
}
|
60 |
+
this.$el.html( this.template( data ) );
|
61 |
+
|
62 |
+
this.$( '.input-color' ).wpColorPicker({
|
63 |
+
change: function( ev, ui ) {
|
64 |
+
var color = ui.color.toString();
|
65 |
+
_this.$( '.wpr-star-input-wrapper' ).css({ color: color });
|
66 |
+
_this.$( '.wpr-input-wrapper.ui-slider .ui-slider-range' ).css({ backgroundColor: color });
|
67 |
+
_this.model.set( 'wp_review_item_color', color );
|
68 |
+
}
|
69 |
+
});
|
70 |
+
|
71 |
+
this.$( '.input-inactive-color' ).wpColorPicker({
|
72 |
+
change: function( ev, ui ) {
|
73 |
+
var color = ui.color.toString();
|
74 |
+
_this.$( '.wpr-star-input-wrapper .stars-bg' ).css({ color: color });
|
75 |
+
_this.$( '.wpr-input-wrapper.ui-slider' ).css({ backgroundColor: color });
|
76 |
+
_this.model.set( 'wp_review_item_inactive_color', color );
|
77 |
+
}
|
78 |
+
});
|
79 |
+
|
80 |
+
function validateValue( value, min, max ) {
|
81 |
+
value = parseFloat( value );
|
82 |
+
if ( isNaN( value ) || min !== undefined && value < min || max !== undefined && value > max ) {
|
83 |
+
_this.$el.find( '.input-star, .input-star-display' ).addClass( 'review-value-incorrect' );
|
84 |
+
} else {
|
85 |
+
_this.$el.find( '.input-star, .input-star-display' ).removeClass( 'review-value-incorrect' );
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
switch ( this.model.get( 'type' ) ) {
|
90 |
+
case 'star':
|
91 |
+
var _this = this;
|
92 |
+
|
93 |
+
this.$( '.input-star' ).wprStarInput({
|
94 |
+
ready: function( wrapper, options ) {
|
95 |
+
this.appendTo( this.closest( '.col-2' ).next() );
|
96 |
+
},
|
97 |
+
callback: function( value ) {
|
98 |
+
validateValue( value, 0, wprVars.reviewTypes.star.max );
|
99 |
+
_this.model.set( 'wp_review_item_star', value );
|
100 |
+
}
|
101 |
+
});
|
102 |
+
break;
|
103 |
+
|
104 |
+
case 'percentage':
|
105 |
+
this.$( '.input-star' ).wprPercentageInput({
|
106 |
+
ready: function( wrapper, options ) {
|
107 |
+
this.appendTo( this.closest( '.col-2' ).next() );
|
108 |
+
},
|
109 |
+
callback: function( value ) {
|
110 |
+
this.val( value );
|
111 |
+
validateValue( value, 0, wprVars.reviewTypes.percentage.max );
|
112 |
+
_this.model.set( 'wp_review_item_star', value );
|
113 |
+
}
|
114 |
+
});
|
115 |
+
break;
|
116 |
+
|
117 |
+
case 'point':
|
118 |
+
this.$( '.input-star' ).wprPointInput({
|
119 |
+
ready: function( wrapper, options ) {
|
120 |
+
this.appendTo( this.closest( '.col-2' ).next() );
|
121 |
+
},
|
122 |
+
callback: function( value ) {
|
123 |
+
this.val( value );
|
124 |
+
validateValue( value, 0, wprVars.reviewTypes.point.max );
|
125 |
+
_this.model.set( 'wp_review_item_star', value );
|
126 |
+
}
|
127 |
+
});
|
128 |
+
break;
|
129 |
+
}
|
130 |
+
|
131 |
+
this.$el.attr( 'data-id', this.model.get( 'id' ) );
|
132 |
+
return this;
|
133 |
+
},
|
134 |
+
|
135 |
+
remove: function() {
|
136 |
+
collection.remove( this.model );
|
137 |
+
},
|
138 |
+
|
139 |
+
changeTitle: function( ev ) {
|
140 |
+
this.model.set( 'wp_review_item_title', ev.target.value );
|
141 |
+
},
|
142 |
+
|
143 |
+
changeScore: function( ev ) {
|
144 |
+
this.model.set( 'wp_review_item_star', parseFloat( ev.target.value ) );
|
145 |
+
}
|
146 |
+
});
|
147 |
+
|
148 |
+
App.Views.AppView = Backbone.View.extend({
|
149 |
+
el: '#wpr-review-items-app',
|
150 |
+
|
151 |
+
initialize: function() {
|
152 |
+
this.render();
|
153 |
+
this.collection.on( 'add', this.renderOne, this );
|
154 |
+
this.collection.on( 'remove', this.remove, this );
|
155 |
+
this.collection.on( 'add', this.calculateTotal, this );
|
156 |
+
this.collection.on( 'change', this.calculateTotal, this );
|
157 |
+
this.collection.on( 'remove', this.calculateTotal, this );
|
158 |
+
},
|
159 |
+
|
160 |
+
events: {
|
161 |
+
'click .add-item': 'addItem',
|
162 |
+
'change #wpr-review-type-2': 'changeType'
|
163 |
+
},
|
164 |
+
|
165 |
+
render: function() {
|
166 |
+
this.$( '.wpr-review-items' ).html( '' );
|
167 |
+
this.collection.each( this.renderOne, this );
|
168 |
+
this.calculateTotal();
|
169 |
+
this.$( '.wpr-review-items' ).sortable({
|
170 |
+
handle: '.wpr-icon-move'
|
171 |
+
});
|
172 |
+
return this;
|
173 |
+
},
|
174 |
+
|
175 |
+
renderOne: function( item ) {
|
176 |
+
var view = new App.Views.ItemView({ model: item });
|
177 |
+
this.$( '.wpr-review-items' ).append( view.render().el );
|
178 |
+
},
|
179 |
+
|
180 |
+
calculateTotal: function() {
|
181 |
+
var total = 0,
|
182 |
+
count = this.collection.length;
|
183 |
+
|
184 |
+
if ( count ) {
|
185 |
+
_.each( this.collection.models, function( item ) {
|
186 |
+
total += ! isNaN( item.get( 'wp_review_item_star' ) ) ? parseFloat( item.get( 'wp_review_item_star' ) * 1 ) : 0;
|
187 |
+
});
|
188 |
+
total = Math.round( total * 100 / count ) / 100;
|
189 |
+
}
|
190 |
+
|
191 |
+
this.$( '.input-total' ).val( total );
|
192 |
+
},
|
193 |
+
|
194 |
+
remove: function( item ) {
|
195 |
+
this.$el.find( '.wpr-review-item[data-id="' + item.get( 'id' ) + '"]' ).remove();
|
196 |
+
},
|
197 |
+
|
198 |
+
addItem: function() {
|
199 |
+
var model = new App.Models.Item();
|
200 |
+
model.set( 'id', 'a' + parseInt( Math.random() * 100 ) );
|
201 |
+
this.collection.add( model );
|
202 |
+
},
|
203 |
+
|
204 |
+
changeType: function( ev ) {
|
205 |
+
var type = ev.target.value;
|
206 |
+
if ( type == 'none' ) {
|
207 |
+
return;
|
208 |
+
}
|
209 |
+
_.each( this.collection.models, function( item ) {
|
210 |
+
item.set( 'type', type );
|
211 |
+
});
|
212 |
+
this.render();
|
213 |
+
}
|
214 |
+
});
|
215 |
+
|
216 |
+
function onSelectType() {
|
217 |
+
$( '#wpr-review-type-2' ).val( $( this ).val() ).trigger( 'change' );
|
218 |
+
}
|
219 |
+
$( '#wp_review_type' ).on( 'change', onSelectType );
|
220 |
+
|
221 |
+
// App initialize.
|
222 |
+
var items = $( '#wpr-review-items-data' ).val();
|
223 |
+
items = items ? JSON.parse( items ) : [];
|
224 |
+
items.map( function( item, index ) {
|
225 |
+
item.item_id = item.id;
|
226 |
+
item.id = index;
|
227 |
+
return item;
|
228 |
+
});
|
229 |
+
|
230 |
+
var collection = new App.Collections.Items( items );
|
231 |
+
|
232 |
+
var appView = new App.Views.AppView({
|
233 |
+
collection: collection
|
234 |
+
});
|
235 |
+
})( Backbone, jQuery );
|
admin/assets/js/select2.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/*! Select2 4.0.4 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return v.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=b&&b.split("/"),p=t.map,q=p&&p["*"]||{};if(a){for(a=a.split("/"),g=a.length-1,t.nodeIdCompat&&x.test(a[g])&&(a[g]=a[g].replace(x,"")),"."===a[0].charAt(0)&&o&&(n=o.slice(0,o.length-1),a=n.concat(a)),k=0;k<a.length;k++)if("."===(m=a[k]))a.splice(k,1),k-=1;else if(".."===m){if(0===k||1===k&&".."===a[2]||".."===a[k-1])continue;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}if((o||q)&&p){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),o)for(l=o.length;l>0;l-=1)if((e=p[o.slice(0,l).join("/")])&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&q&&q[d]&&(i=q[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){var d=w.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),o.apply(b,d.concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){r[a]=b}}function j(a){if(e(s,a)){var c=s[a];delete s[a],u[a]=!0,n.apply(b,c)}if(!e(r,a)&&!e(u,a))throw new Error("No "+a);return r[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return a?k(a):[]}function m(a){return function(){return t&&t.config&&t.config[a]||{}}}var n,o,p,q,r={},s={},t={},u={},v=Object.prototype.hasOwnProperty,w=[].slice,x=/\.js$/;p=function(a,b){var c,d=k(a),e=d[0],g=b[1];return a=d[1],e&&(e=f(e,g),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(g)):f(a,g):(a=f(a,g),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},q={require:function(a){return g(a)},exports:function(a){var b=r[a];return void 0!==b?b:r[a]={}},module:function(a){return{id:a,uri:"",exports:r[a],config:m(a)}}},n=function(a,c,d,f){var h,k,m,n,o,t,v,w=[],x=typeof d;if(f=f||a,t=l(f),"undefined"===x||"function"===x){for(c=!c.length&&d.length?["require","exports","module"]:c,o=0;o<c.length;o+=1)if(n=p(c[o],t),"require"===(k=n.f))w[o]=q.require(a);else if("exports"===k)w[o]=q.exports(a),v=!0;else if("module"===k)h=w[o]=q.module(a);else if(e(r,k)||e(s,k)||e(u,k))w[o]=j(k);else{if(!n.p)throw new Error(a+" missing "+k);n.p.load(n.n,g(f,!0),i(k),{}),w[o]=r[k]}m=d?d.apply(r[a],w):void 0,a&&(h&&h.exports!==b&&h.exports!==r[a]?r[a]=h.exports:m===b&&v||(r[a]=m))}else a&&(r[a]=d)},a=c=o=function(a,c,d,e,f){if("string"==typeof a)return q[a]?q[a](c):j(p(a,l(c)).f);if(!a.splice){if(t=a,t.deps&&o(t.deps,t.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?n(b,a,c,d):setTimeout(function(){n(b,a,c,d)},4),o},o.config=function(a){return o(a)},a._defined=r,d=function(a,b,c){if("string"!=typeof a)throw new Error("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(r,a)||e(s,a)||(s[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){"function"==typeof b[d]&&("constructor"!==d&&c.push(d))}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){return Array.prototype.unshift.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice,c=b.call(arguments,1);this.listeners=this.listeners||{},null==c&&(c=[]),0===c.length&&c.push({}),c[0]._type=a,a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;c<d;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;c<a;c++){b+=Math.floor(36*Math.random()).toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return(e!==f||"hidden"!==f&&"visible"!==f)&&("scroll"===e||"scroll"===f||(d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth))},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),d[0].className+=" select2-results__message",this.$results.append(d)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){b.find(".select2-results").append(a)},c.prototype.sort=function(a){return this.options.get("sorter")(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option[aria-selected]"),b=a.filter("[aria-selected=true]");b.length>0?b.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()});b.$results.find(".select2-results__option[aria-selected]").each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")})})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";a(h);this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b,c){var d=this,e=b.id+"-results";this.$results.attr("id",e),b.on("results:all",function(a){d.clear(),d.append(a.data),b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("results:append",function(a){d.append(a.data),b.isOpen()&&d.setClasses()}),b.on("query",function(a){d.hideMessages(),d.showLoading(a)}),b.on("select",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("unselect",function(){b.isOpen()&&(d.setClasses(),d.highlightFirstItem())}),b.on("open",function(){d.$results.attr("aria-expanded","true"),d.$results.attr("aria-hidden","false"),d.setClasses(),d.ensureHighlightVisible()}),b.on("close",function(){d.$results.attr("aria-expanded","false"),d.$results.attr("aria-hidden","true"),d.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=d.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=d.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?d.trigger("close",{}):d.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a);if(0!==c){var e=c-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top,h=f.offset().top,i=d.$results.scrollTop()+(h-g);0===e?d.$results.scrollTop(0):h-g<0&&d.$results.scrollTop(i)}}),b.on("results:next",function(){var a=d.getHighlightedResults(),b=d.$results.find("[aria-selected]"),c=b.index(a),e=c+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=d.$results.offset().top+d.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=d.$results.scrollTop()+h-g;0===e?d.$results.scrollTop(0):h>g&&d.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){d.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=d.$results.scrollTop(),c=d.$results.get(0).scrollHeight-b+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&c<=d.$results.height();e?(d.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(d.$results.scrollTop(d.$results.get(0).scrollHeight-d.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var c=a(this),e=c.data("data");if("true"===c.attr("aria-selected"))return void(d.options.get("multiple")?d.trigger("unselect",{originalEvent:b,data:e}):d.trigger("close",{}));d.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(b){var c=a(this).data("data");d.getHighlightedResults().removeClass("select2-results__option--highlighted"),d.trigger("results:focus",{data:c,element:a(this)})})},c.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),c<=2?this.$results.scrollTop(0):(g>this.$results.outerHeight()||g<0)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b,c);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a,b){var d=this,e=(a.id,a.id+"-results");this.container=a,this.$selection.on("focus",function(a){d.trigger("focus",a)}),this.$selection.on("blur",function(a){d._handleBlur(a)}),this.$selection.on("keydown",function(a){d.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){d.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){d.update(a.data)}),a.on("open",function(){d.$selection.attr("aria-expanded","true"),d.$selection.attr("aria-owns",e),d._attachCloseHandler(a)}),a.on("close",function(){d.$selection.attr("aria-expanded","false"),d.$selection.removeAttr("aria-activedescendant"),d.$selection.removeAttr("aria-owns"),d.$selection.focus(),d._detachCloseHandler(a)}),a.on("enable",function(){d.$selection.attr("tabindex",d._tabindex)}),a.on("disable",function(){d.$selection.attr("tabindex","-1")})},d.prototype._handleBlur=function(b){var c=this;window.setTimeout(function(){document.activeElement==c.$selection[0]||a.contains(c.$selection[0],document.activeElement)||c.trigger("blur",b)},1)},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2");a(".select2.select2-container--open").each(function(){var b=a(this);this!=d[0]&&b.data("element").select2("close")})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){b.find(".selection").append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(a){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c,d){function e(){e.__super__.constructor.apply(this,arguments)}return c.Extend(e,b),e.prototype.render=function(){var a=e.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},e.prototype.bind=function(a,b){var c=this;e.__super__.bind.apply(this,arguments);var d=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",d),this.$selection.attr("aria-labelledby",d),this.$selection.on("mousedown",function(a){1===a.which&&c.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(a){}),this.$selection.on("blur",function(a){}),a.on("focus",function(b){a.isOpen()||c.$selection.focus()}),a.on("selection:update",function(a){c.update(a.data)})},e.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},e.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},e.prototype.selectionContainer=function(){return a("<span></span>")},e.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.$selection.find(".select2-selection__rendered"),d=this.display(b,c);c.empty().append(d),c.prop("title",b.title||b.text)},e}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(a,b){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection");return this.options.get("escapeMarkup")(c(a,b))},d.prototype.selectionContainer=function(){return a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id;if(b.length>1||c)return a.call(this,b);this.clear();var d=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(d)},b}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||c.which!=b.DELETE&&c.which!=b.BACKSPACE||this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">×</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){if(a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented(),a.which===c.BACKSPACE&&""===e.$search.val()){var b=e.$searchContainer.prev(".select2-selection__choice");if(b.length>0){var d=b.data("data");e.searchRemoveChoice(d),a.preventDefault()}}});var f=document.documentMode,g=f&&f<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){if(g)return void e.$selection.off("input.search input.searchcheck");e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{a=.75*(this.$search.val().length+1)+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),null!=c.id?d+="-"+c.id.toString():d+="-"+a.generateChars(4),d},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple")){if(a.selected=!1,c(a.element).is("option"))return a.element.selected=!1,void this.$element.trigger("change");this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})}},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this;this.$element.children().each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),void 0!==a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(null!=(b=c.data(a[0],"data")))return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){return this.options.get("matcher")(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0);if((i.text||"").toUpperCase()===(b.term||"").toUpperCase()||j)return!f&&(a.data=g,void c(a))}if(f)return!0;var k=e.createTag(b);if(null!=k){var l=e.option(k);l.attr("data-select2-tag",!0),e.addOptions([l]),e.insertTag(g,k)}a.results=g,c(a)}var e=this;if(this._removeOldTags(),null==b.term||null!=b.page)return void a.call(this,b,c);a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b);if(!g.$element.find("option").filter(function(){return a(this).val()===c.id}).length){var d=g.option(c);d.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([d])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){if(b.term=b.term||"",b.term.length<this.minimumInputLength)return void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}});a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){if(b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength)return void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}});a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;if(d.maximumSelectionLength>0&&f>=d.maximumSelectionLength)return void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}});a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("focus",function(){c.isOpen()||e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){e.showSearch(a)?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){e.$results.offset().top+e.$results.outerHeight(!1)+50>=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1)&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select2-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id;this.$container.parents().filter(b.hasScroll).off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return!(a(c.data.results)<this.minimumResultsForSearch)&&b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},a.prototype._handleSelectOnClose=function(a,b){if(b&&null!=b.originalSelect2Event){var c=b.originalSelect2Event;if("select"===c._type||"unselect"===c._type)return}var d=this.getHighlightedResults();if(!(d.length<1)){var e=d.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){return"Please enter "+(a.minimum-a.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}return D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),null==l.tokenSeparators&&null==l.tokenizer||(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(a){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(a){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var O=k.loadPath(this.defaults.amdLanguageBase+"en"),P=new k(l.language);P.extend(O),l.translations=P}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){null==c(d,e.children[g])&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var h=b(e.text).toUpperCase(),i=b(d.term).toUpperCase();return h.indexOf(i)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)},new D}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return e<=0?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;h<i;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=a&&0!==a.length||(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(a,b,c,d){if(null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if("object"==typeof(b=b||{}))return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("select2");null==c&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=c[b].apply(c,f)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
|
{assets → admin/assets}/js/wp-review-tab-widget-admin.js
RENAMED
@@ -1,34 +1,39 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI:
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
jQuery(document).on('click', function(e) {
|
9 |
-
var $this = jQuery(e.target);
|
10 |
-
var $form = $this.closest('.wp_review_tab_options_form');
|
11 |
-
|
12 |
-
if ($this.is('.wp_review_tab_enable_toprated')) {
|
13 |
-
$form.find('.wp_review_tab_toprated_order').slideToggle($this.is(':checked'));
|
14 |
-
$form.find('.wp_review_tab_toprated_title').slideToggle($this.is(':checked'));
|
15 |
-
|
16 |
-
|
17 |
-
$form.find('.
|
18 |
-
|
19 |
-
|
20 |
-
$form.find('.
|
21 |
-
|
22 |
-
|
23 |
-
$form.find('.
|
24 |
-
$form.find('.
|
25 |
-
|
26 |
-
|
27 |
-
$form.find('.
|
28 |
-
$form.find('.
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
$form.find('.wp_review_tab_order').
|
33 |
-
|
34 |
-
})
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Plugin Name: WP Review
|
3 |
+
* Plugin URI: http://mythemeshop.com/plugins/wp-review/
|
4 |
+
* Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
+
* Author: MyThemesShop
|
6 |
+
* Author URI: http://mythemeshop.com/
|
7 |
+
*/
|
8 |
+
jQuery(document).on('click', function(e) {
|
9 |
+
var $this = jQuery(e.target);
|
10 |
+
var $form = $this.closest('.wp_review_tab_options_form');
|
11 |
+
|
12 |
+
if ($this.is('.wp_review_tab_enable_toprated')) {
|
13 |
+
$form.find('.wp_review_tab_toprated_order').slideToggle($this.is(':checked'));
|
14 |
+
$form.find('.wp_review_tab_toprated_title').slideToggle($this.is(':checked'));
|
15 |
+
$form.find('.wp_review_tab_top_rated_filter').slideToggle($this.is(':checked'));
|
16 |
+
} else if ($this.is('.wp_review_tab_enable_recent')) {
|
17 |
+
$form.find('.wp_review_tab_recent_order').slideToggle($this.is(':checked'));
|
18 |
+
$form.find('.wp_review_tab_recent_title').slideToggle($this.is(':checked'));
|
19 |
+
} else if ($this.is('.wp_review_tab_enable_mostvoted')) {
|
20 |
+
$form.find('.wp_review_tab_mostvoted_order').slideToggle($this.is(':checked'));
|
21 |
+
$form.find('.wp_review_tab_mostvoted_title').slideToggle($this.is(':checked'));
|
22 |
+
} else if ($this.is('.wp_review_tab_enable_recent_ratings')) {
|
23 |
+
$form.find('.wp_review_tab_recent_ratings_order').slideToggle($this.is(':checked'));
|
24 |
+
$form.find('.wp_review_tab_recent_ratings_title').slideToggle($this.is(':checked'));
|
25 |
+
$form.find('.wp_review_restrict_recent_review').slideToggle($this.is(':checked'));
|
26 |
+
} else if ($this.is('.wp_review_tab_enable_custom')) {
|
27 |
+
$form.find('.wp_review_tab_custom_order').slideToggle($this.is(':checked'));
|
28 |
+
$form.find('.wp_review_tab_custom_title').slideToggle($this.is(':checked'));
|
29 |
+
$form.find('.wp_review_tab_custom_reviews').slideToggle($this.is(':checked'));
|
30 |
+
} else if ($this.is('.wp_review_tab_order_header')) {
|
31 |
+
e.preventDefault();
|
32 |
+
$form.find('.wp_review_tab_order').slideToggle();
|
33 |
+
$form.find('.wp_review_tab_titles').slideUp();
|
34 |
+
} else if ($this.is('.wp_review_tab_titles_header')) {
|
35 |
+
e.preventDefault();
|
36 |
+
$form.find('.wp_review_tab_titles').slideToggle();
|
37 |
+
$form.find('.wp_review_tab_order').slideUp();
|
38 |
+
}
|
39 |
+
});
|
admin/class-wp-review-form-field.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Form fields
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Class WP_Review_Form_Field
|
11 |
+
*/
|
12 |
+
class WP_Review_Form_Field {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Renders switch field.
|
16 |
+
*
|
17 |
+
* @param array $args Field arguments.
|
18 |
+
* @return string
|
19 |
+
*/
|
20 |
+
public function render_switch( array $args = array() ) {
|
21 |
+
$args = wp_parse_args( $args, array(
|
22 |
+
'id' => '',
|
23 |
+
'class' => '',
|
24 |
+
'name' => '',
|
25 |
+
'on_label' => _x( 'Yes', 'switch label', 'wp-review' ),
|
26 |
+
'off_label' => _x( 'No', 'switch label', 'wp-review' ),
|
27 |
+
'value' => 0,
|
28 |
+
'echo' => true,
|
29 |
+
'disabled' => false,
|
30 |
+
) );
|
31 |
+
$switch_id = $args['id'] ? $args['id'] : 'wpr-switch-' . mt_rand( 100, 999 );
|
32 |
+
$switch_name = $args['name'] ? $args['name'] : $switch_id;
|
33 |
+
$value = intval( $args['value'] );
|
34 |
+
|
35 |
+
if ( $args['disabled'] ) {
|
36 |
+
$args['class'] .= ' wp-review-disabled';
|
37 |
+
}
|
38 |
+
ob_start();
|
39 |
+
?>
|
40 |
+
<div id="<?php echo esc_attr( $switch_id ); ?>" class="wpr-switch <?php echo esc_attr( $args['class'] ); ?>">
|
41 |
+
<input type="radio" id="<?php echo esc_attr( $switch_id ); ?>-on" name="<?php echo esc_attr( $switch_name ); ?>" class="wpr-switch__on" value="1" <?php checked( $value, 1 ); ?>>
|
42 |
+
<label for="<?php echo esc_attr( $switch_id ); ?>-on" class="button button-secondary"><?php echo esc_html( $args['on_label'] ); ?></label>
|
43 |
+
<input type="radio" id="<?php echo esc_attr( $switch_id ); ?>-off" name="<?php echo esc_attr( $switch_name ); ?>" value="0" class="wpr-switch__off" <?php checked( $value, 0 ); ?>>
|
44 |
+
<label for="<?php echo esc_attr( $switch_id ); ?>-off" class="button button-secondary"><?php echo esc_html( $args['off_label'] ); ?></label>
|
45 |
+
</div>
|
46 |
+
<?php
|
47 |
+
$output = ob_get_clean();
|
48 |
+
if ( ! $args['echo'] ) {
|
49 |
+
return $output;
|
50 |
+
}
|
51 |
+
echo $output;
|
52 |
+
}
|
53 |
+
}
|
admin/class-wp-review-options.php
ADDED
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Options page
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Class WP_Review_Options
|
10 |
+
*/
|
11 |
+
class WP_Review_Options {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Page hook.
|
15 |
+
*
|
16 |
+
* @var string
|
17 |
+
*/
|
18 |
+
protected $hook;
|
19 |
+
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Class init.
|
23 |
+
*/
|
24 |
+
public function init() {
|
25 |
+
add_action( 'admin_menu', array( $this, 'register_menu' ) );
|
26 |
+
add_action( 'admin_init', array( $this, 'register_settings' ) );
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Registers admin menu.
|
31 |
+
*/
|
32 |
+
public function register_menu() {
|
33 |
+
|
34 |
+
$hide = wp_review_network_option( 'hide_global_options_' );
|
35 |
+
|
36 |
+
if ( ! $hide ) {
|
37 |
+
$this->hook = add_options_page(
|
38 |
+
__( 'WP Review', 'wp-review' ),
|
39 |
+
__( 'WP Review', 'wp-review' ),
|
40 |
+
'wp_review_global_options',
|
41 |
+
'wp-review/admin/options.php',
|
42 |
+
array( $this, 'render' )
|
43 |
+
);
|
44 |
+
|
45 |
+
add_action( "load-{$this->hook}", array( $this, 'load' ) );
|
46 |
+
}
|
47 |
+
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Runs some functions on page load.
|
52 |
+
*/
|
53 |
+
public function load() {
|
54 |
+
add_filter( 'admin_body_class', array( $this, 'admin_body_classes' ) );
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Adds classes to body tag.
|
59 |
+
*
|
60 |
+
* @param array $classes Body classes.
|
61 |
+
* @return array
|
62 |
+
*/
|
63 |
+
public function admin_body_classes( $classes ) {
|
64 |
+
$classes .= ' wp-review-admin-options';
|
65 |
+
return $classes;
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Registers settings.
|
70 |
+
*/
|
71 |
+
public function register_settings() {
|
72 |
+
register_setting( 'wpreview-settings-group', 'wp_review_options' );
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Gets options page tabs.
|
77 |
+
*
|
78 |
+
* @return array
|
79 |
+
*/
|
80 |
+
protected function get_tabs() {
|
81 |
+
$tabs_content = array(
|
82 |
+
'review' => array(
|
83 |
+
'title' => __( 'Global', 'wp-review' ),
|
84 |
+
'icon' => 'cogs',
|
85 |
+
'capability' => 'wp_review_global_options',
|
86 |
+
'multisite_enabled' => 'hide_global_options_',
|
87 |
+
),
|
88 |
+
'popup' => array(
|
89 |
+
'title' => __( 'Popup', 'wp-review' ),
|
90 |
+
'icon' => 'sticky-note',
|
91 |
+
'capability' => 'wp_review_popup',
|
92 |
+
'multisite_enabled' => 'hide_general_popup_',
|
93 |
+
),
|
94 |
+
'hello-bar' => array(
|
95 |
+
'title' => __( 'Notification Bar', 'wp-review' ),
|
96 |
+
'icon' => 'warning',
|
97 |
+
'capability' => 'wp_review_notification_bar',
|
98 |
+
'multisite_enabled' => 'hide_general_bar_',
|
99 |
+
),
|
100 |
+
'yelp' => array(
|
101 |
+
'title' => __( 'Yelp Reviews', 'wp-review' ),
|
102 |
+
'icon' => 'yelp',
|
103 |
+
'capability' => 'wp_review_yelp_reviews',
|
104 |
+
'multisite_enabled' => 'hide_yelp_reviews_',
|
105 |
+
),
|
106 |
+
'google' => array(
|
107 |
+
'title' => __( 'Google Reviews', 'wp-review' ),
|
108 |
+
'icon' => 'google',
|
109 |
+
'capability' => 'wp_review_google_reviews',
|
110 |
+
'multisite_enabled' => 'hide_google_reviews_',
|
111 |
+
),
|
112 |
+
'facebook' => array(
|
113 |
+
'title' => __( 'Facebook Reviews', 'wp-review' ),
|
114 |
+
'icon' => 'facebook',
|
115 |
+
'capability' => 'wp_review_facebook_reviews',
|
116 |
+
'multisite_enabled' => 'hide_facebook_reviews_',
|
117 |
+
),
|
118 |
+
'role-manager' => array(
|
119 |
+
'title' => __( 'Role Manager', 'wp-review' ),
|
120 |
+
'icon' => 'user',
|
121 |
+
'capability' => 'administrator',
|
122 |
+
'multisite_enabled' => 'hide_role_manager_',
|
123 |
+
),
|
124 |
+
'import' => array(
|
125 |
+
'title' => __( 'Import Reviews', 'wp-review' ),
|
126 |
+
'icon' => 'download',
|
127 |
+
'capability' => 'wp_review_import_reviews',
|
128 |
+
'multisite_enabled' => 'hide_import_',
|
129 |
+
),
|
130 |
+
'help' => array(
|
131 |
+
'title' => __( 'Help', 'wp-review' ),
|
132 |
+
'icon' => 'question-circle',
|
133 |
+
'capability' => 'manage_options',
|
134 |
+
'multisite_enabled' => 'hide_help_',
|
135 |
+
),
|
136 |
+
);
|
137 |
+
|
138 |
+
$tabs = array();
|
139 |
+
|
140 |
+
foreach($tabs_content as $key => $tab) {
|
141 |
+
$hide = wp_review_network_option($tab['multisite_enabled']);
|
142 |
+
if( current_user_can($tab['capability']) && !$hide ) {
|
143 |
+
$tabs[] = array(
|
144 |
+
'id' => $key,
|
145 |
+
'title' => $tab['title'],
|
146 |
+
'icon' => 'fa fa-'.$tab['icon'],
|
147 |
+
'view' => WP_REVIEW_ADMIN . 'options/'.$key.'.php',
|
148 |
+
);
|
149 |
+
}
|
150 |
+
}
|
151 |
+
|
152 |
+
if(is_multisite() && is_main_site() && current_user_can('administrator')) {
|
153 |
+
$tabs[] = array(
|
154 |
+
'id' => 'multisite_settings',
|
155 |
+
'title' => __( 'Multisite Settings', 'wp-review' ),
|
156 |
+
'icon' => 'fa fa-sitemap',
|
157 |
+
'view' => WP_REVIEW_ADMIN . 'options/multisite.php',
|
158 |
+
);
|
159 |
+
}
|
160 |
+
return $tabs;
|
161 |
+
}
|
162 |
+
|
163 |
+
/**
|
164 |
+
* Renders page content.
|
165 |
+
*/
|
166 |
+
public function render() {
|
167 |
+
$tabs = $this->get_tabs();
|
168 |
+
?>
|
169 |
+
<div class="wrap wp-review">
|
170 |
+
<h1><?php esc_html_e( 'WP Review Settings', 'wp-review' ); ?></h1>
|
171 |
+
|
172 |
+
<form method="post" action="options.php">
|
173 |
+
<?php settings_fields( 'wpreview-settings-group' ); ?>
|
174 |
+
|
175 |
+
<div id="wpr-global-options" class="wpr-vertical-tabs" data-vertical-tabs>
|
176 |
+
<ul class="wpr-vertical-tabs__titles">
|
177 |
+
<?php foreach ( $tabs as $tab ) : ?>
|
178 |
+
<li class="wpr-vertical-tabs__title"><a href="#<?php echo esc_attr( $tab['id'] ); ?>" data-tab-title><i class="<?php echo esc_html( $tab['icon'] ); ?>"></i> <?php echo esc_html( $tab['title'] ); ?></a></li>
|
179 |
+
<?php endforeach; ?>
|
180 |
+
</ul>
|
181 |
+
|
182 |
+
<div class="wpr-vertical-tabs__contents">
|
183 |
+
<?php foreach ( $tabs as $tab ) : ?>
|
184 |
+
<div id="<?php echo esc_attr( $tab['id'] ); ?>" class="wpr-vertical-tabs__content" data-tab-content>
|
185 |
+
<h2><?php echo esc_html( $tab['title'] ); ?></h2>
|
186 |
+
|
187 |
+
<?php include $tab['view']; ?>
|
188 |
+
</div>
|
189 |
+
<?php endforeach; ?>
|
190 |
+
</div>
|
191 |
+
<?php submit_button(); ?>
|
192 |
+
</div>
|
193 |
+
</form>
|
194 |
+
</div>
|
195 |
+
<?php
|
196 |
+
}
|
197 |
+
}
|
198 |
+
|
199 |
+
$page = new WP_Review_Options();
|
200 |
+
$page->init();
|
admin/demo-importer.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Demo importer feature
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
require_once( WP_REVIEW_ADMIN . 'demo-importer/class-wp-import.php' );
|
10 |
+
require_once( WP_REVIEW_ADMIN . 'demo-importer/class-wp-review-demo-importer.php' );
|
11 |
+
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Imports demo.
|
15 |
+
*/
|
16 |
+
function wp_review_import_demo() {
|
17 |
+
$file = WP_REVIEW_INCLUDES . 'demo/demo-content.xml';
|
18 |
+
$importer = new WP_Review_Demo_Importer();
|
19 |
+
$importer->import( $file );
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Prints demo importer popup.
|
24 |
+
*/
|
25 |
+
function wp_review_print_demo_importer_popup() {
|
26 |
+
?>
|
27 |
+
<div id="wp-review-demo-importer-popup" class="mfp-hide">
|
28 |
+
<div id="wp-review-demo-importer-modal">
|
29 |
+
<div id="wp-review-demo-importer-modal-header">
|
30 |
+
<h2><span class="spinner is-active"></span><?php esc_html_e( 'Processing, please wait…', 'wp-review' ); ?></h2>
|
31 |
+
</div>
|
32 |
+
<div id="wp-review-demo-importer-modal-content">
|
33 |
+
</div>
|
34 |
+
<div id="wp-review-demo-importer-modal-footer">
|
35 |
+
<span id="wp-review-demo-importer-modal-footer-info"><?php esc_html_e( 'Processing, please wait…', 'wp-review' ); ?></span>
|
36 |
+
<button id="wp-review-demo-importer-modal-footer-button" class="button button-primary"><?php esc_html_e( 'Ok', 'wp-review' ); ?></button>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
<?php
|
41 |
+
}
|
42 |
+
add_action( 'admin_footer-settings_page_wp-review/admin/options', 'wp_review_print_demo_importer_popup' );
|
43 |
+
|
44 |
+
/**
|
45 |
+
* AJAX handler for demo importer.
|
46 |
+
*/
|
47 |
+
function wp_review_ajax_import_demo() {
|
48 |
+
check_ajax_referer( 'wp_review_import_demo', 'nonce' );
|
49 |
+
wp_review_import_demo();
|
50 |
+
die();
|
51 |
+
}
|
52 |
+
add_action( 'wp_ajax_wp-review-import-demo', 'wp_review_ajax_import_demo' );
|
admin/demo-importer/class-wp-import.php
ADDED
@@ -0,0 +1,1198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class WP_Import
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
if ( ! class_exists( 'WP_Importer' ) ) {
|
10 |
+
require_once ABSPATH . 'wp-admin/includes/class-wp-importer.php';
|
11 |
+
}
|
12 |
+
|
13 |
+
if ( ! class_exists( 'WXR_Parser' ) ) {
|
14 |
+
require_once dirname( __FILE__ ) . '/parsers.php';
|
15 |
+
}
|
16 |
+
|
17 |
+
if ( ! class_exists( 'WP_Import' ) ) {
|
18 |
+
/**
|
19 |
+
* Class WP_Import
|
20 |
+
*/
|
21 |
+
class WP_Import extends WP_Importer {
|
22 |
+
var $max_wxr_version = 1.2; // max. supported WXR version
|
23 |
+
|
24 |
+
var $id; // WXR attachment ID
|
25 |
+
|
26 |
+
// information to import from WXR file
|
27 |
+
var $version;
|
28 |
+
var $authors = array();
|
29 |
+
var $posts = array();
|
30 |
+
var $terms = array();
|
31 |
+
var $categories = array();
|
32 |
+
var $tags = array();
|
33 |
+
var $base_url = '';
|
34 |
+
|
35 |
+
// mappings from old information to new
|
36 |
+
var $processed_authors = array();
|
37 |
+
var $author_mapping = array();
|
38 |
+
var $processed_terms = array();
|
39 |
+
var $processed_posts = array();
|
40 |
+
var $post_orphans = array();
|
41 |
+
var $processed_menu_items = array();
|
42 |
+
var $menu_item_orphans = array();
|
43 |
+
var $missing_menu_items = array();
|
44 |
+
|
45 |
+
var $fetch_attachments = false;
|
46 |
+
var $url_remap = array();
|
47 |
+
var $featured_images = array();
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Registered callback function for the WordPress Importer
|
51 |
+
*
|
52 |
+
* Manages the three separate stages of the WXR import process
|
53 |
+
*/
|
54 |
+
function dispatch() {
|
55 |
+
$this->header();
|
56 |
+
|
57 |
+
$step = empty( $_GET['step'] ) ? 0 : (int) $_GET['step'];
|
58 |
+
switch ( $step ) {
|
59 |
+
case 0:
|
60 |
+
$this->greet();
|
61 |
+
break;
|
62 |
+
case 1:
|
63 |
+
check_admin_referer( 'import-upload' );
|
64 |
+
if ( $this->handle_upload() )
|
65 |
+
$this->import_options();
|
66 |
+
break;
|
67 |
+
case 2:
|
68 |
+
check_admin_referer( 'import-wordpress' );
|
69 |
+
$this->fetch_attachments = ( ! empty( $_POST['fetch_attachments'] ) && $this->allow_fetch_attachments() );
|
70 |
+
$this->id = (int) $_POST['import_id'];
|
71 |
+
$file = get_attached_file( $this->id );
|
72 |
+
set_time_limit(0);
|
73 |
+
$this->import( $file );
|
74 |
+
break;
|
75 |
+
}
|
76 |
+
|
77 |
+
$this->footer();
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* The main controller for the actual import stage.
|
82 |
+
*
|
83 |
+
* @param string $file Path to the WXR file for importing
|
84 |
+
*/
|
85 |
+
function import( $file ) {
|
86 |
+
add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
|
87 |
+
add_filter( 'http_request_timeout', array( &$this, 'bump_request_timeout' ) );
|
88 |
+
|
89 |
+
$this->import_start( $file );
|
90 |
+
|
91 |
+
$this->get_author_mapping();
|
92 |
+
|
93 |
+
wp_suspend_cache_invalidation( true );
|
94 |
+
$this->process_categories();
|
95 |
+
$this->process_tags();
|
96 |
+
$this->process_terms();
|
97 |
+
$this->process_posts();
|
98 |
+
wp_suspend_cache_invalidation( false );
|
99 |
+
|
100 |
+
// update incorrect/missing information in the DB
|
101 |
+
$this->backfill_parents();
|
102 |
+
$this->backfill_attachment_urls();
|
103 |
+
$this->remap_featured_images();
|
104 |
+
|
105 |
+
$this->import_end();
|
106 |
+
}
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Parses the WXR file and prepares us for the task of processing parsed data
|
110 |
+
*
|
111 |
+
* @param string $file Path to the WXR file for importing
|
112 |
+
*/
|
113 |
+
function import_start( $file ) {
|
114 |
+
if ( ! is_file($file) ) {
|
115 |
+
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
116 |
+
echo __( 'The file does not exist, please try again.', 'wordpress-importer' ) . '</p>';
|
117 |
+
$this->footer();
|
118 |
+
die();
|
119 |
+
}
|
120 |
+
|
121 |
+
$import_data = $this->parse( $file );
|
122 |
+
|
123 |
+
if ( is_wp_error( $import_data ) ) {
|
124 |
+
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
125 |
+
echo esc_html( $import_data->get_error_message() ) . '</p>';
|
126 |
+
$this->footer();
|
127 |
+
die();
|
128 |
+
}
|
129 |
+
|
130 |
+
$this->version = $import_data['version'];
|
131 |
+
$this->get_authors_from_import( $import_data );
|
132 |
+
$this->posts = $import_data['posts'];
|
133 |
+
$this->terms = $import_data['terms'];
|
134 |
+
$this->categories = $import_data['categories'];
|
135 |
+
$this->tags = $import_data['tags'];
|
136 |
+
$this->base_url = esc_url( $import_data['base_url'] );
|
137 |
+
|
138 |
+
wp_defer_term_counting( true );
|
139 |
+
wp_defer_comment_counting( true );
|
140 |
+
|
141 |
+
do_action( 'import_start' );
|
142 |
+
}
|
143 |
+
|
144 |
+
/**
|
145 |
+
* Performs post-import cleanup of files and the cache
|
146 |
+
*/
|
147 |
+
function import_end() {
|
148 |
+
wp_import_cleanup( $this->id );
|
149 |
+
|
150 |
+
wp_cache_flush();
|
151 |
+
foreach ( get_taxonomies() as $tax ) {
|
152 |
+
delete_option( "{$tax}_children" );
|
153 |
+
_get_term_hierarchy( $tax );
|
154 |
+
}
|
155 |
+
|
156 |
+
wp_defer_term_counting( false );
|
157 |
+
wp_defer_comment_counting( false );
|
158 |
+
|
159 |
+
echo '<p>' . __( 'All done.', 'wordpress-importer' ) . ' <a href="' . admin_url() . '">' . __( 'Have fun!', 'wordpress-importer' ) . '</a>' . '</p>';
|
160 |
+
echo '<p>' . __( 'Remember to update the passwords and roles of imported users.', 'wordpress-importer' ) . '</p>';
|
161 |
+
|
162 |
+
do_action( 'import_end' );
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Handles the WXR upload and initial parsing of the file to prepare for
|
167 |
+
* displaying author import options
|
168 |
+
*
|
169 |
+
* @return bool False if error uploading or invalid file, true otherwise
|
170 |
+
*/
|
171 |
+
function handle_upload() {
|
172 |
+
$file = wp_import_handle_upload();
|
173 |
+
|
174 |
+
if ( isset( $file['error'] ) ) {
|
175 |
+
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
176 |
+
echo esc_html( $file['error'] ) . '</p>';
|
177 |
+
return false;
|
178 |
+
} else if ( ! file_exists( $file['file'] ) ) {
|
179 |
+
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
180 |
+
printf( __( 'The export file could not be found at <code>%s</code>. It is likely that this was caused by a permissions problem.', 'wordpress-importer' ), esc_html( $file['file'] ) );
|
181 |
+
echo '</p>';
|
182 |
+
return false;
|
183 |
+
}
|
184 |
+
|
185 |
+
$this->id = (int) $file['id'];
|
186 |
+
$import_data = $this->parse( $file['file'] );
|
187 |
+
if ( is_wp_error( $import_data ) ) {
|
188 |
+
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
189 |
+
echo esc_html( $import_data->get_error_message() ) . '</p>';
|
190 |
+
return false;
|
191 |
+
}
|
192 |
+
|
193 |
+
$this->version = $import_data['version'];
|
194 |
+
if ( $this->version > $this->max_wxr_version ) {
|
195 |
+
echo '<div class="error"><p><strong>';
|
196 |
+
printf( __( 'This WXR file (version %s) may not be supported by this version of the importer. Please consider updating.', 'wordpress-importer' ), esc_html($import_data['version']) );
|
197 |
+
echo '</strong></p></div>';
|
198 |
+
}
|
199 |
+
|
200 |
+
$this->get_authors_from_import( $import_data );
|
201 |
+
|
202 |
+
return true;
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Retrieve authors from parsed WXR data
|
207 |
+
*
|
208 |
+
* Uses the provided author information from WXR 1.1 files
|
209 |
+
* or extracts info from each post for WXR 1.0 files
|
210 |
+
*
|
211 |
+
* @param array $import_data Data returned by a WXR parser
|
212 |
+
*/
|
213 |
+
function get_authors_from_import( $import_data ) {
|
214 |
+
if ( ! empty( $import_data['authors'] ) ) {
|
215 |
+
$this->authors = $import_data['authors'];
|
216 |
+
// no author information, grab it from the posts
|
217 |
+
} else {
|
218 |
+
foreach ( $import_data['posts'] as $post ) {
|
219 |
+
$login = sanitize_user( $post['post_author'], true );
|
220 |
+
if ( empty( $login ) ) {
|
221 |
+
printf( __( 'Failed to import author %s. Their posts will be attributed to the current user.', 'wordpress-importer' ), esc_html( $post['post_author'] ) );
|
222 |
+
echo '<br />';
|
223 |
+
continue;
|
224 |
+
}
|
225 |
+
|
226 |
+
if ( ! isset($this->authors[$login]) )
|
227 |
+
$this->authors[$login] = array(
|
228 |
+
'author_login' => $login,
|
229 |
+
'author_display_name' => $post['post_author']
|
230 |
+
);
|
231 |
+
}
|
232 |
+
}
|
233 |
+
}
|
234 |
+
|
235 |
+
/**
|
236 |
+
* Display pre-import options, author importing/mapping and option to
|
237 |
+
* fetch attachments
|
238 |
+
*/
|
239 |
+
function import_options() {
|
240 |
+
$j = 0;
|
241 |
+
?>
|
242 |
+
<form action="<?php echo admin_url( 'admin.php?import=wordpress&step=2' ); ?>" method="post">
|
243 |
+
<?php wp_nonce_field( 'import-wordpress' ); ?>
|
244 |
+
<input type="hidden" name="import_id" value="<?php echo $this->id; ?>" />
|
245 |
+
|
246 |
+
<?php if ( ! empty( $this->authors ) ) : ?>
|
247 |
+
<h3><?php _e( 'Assign Authors', 'wordpress-importer' ); ?></h3>
|
248 |
+
<p><?php _e( 'To make it easier for you to edit and save the imported content, you may want to reassign the author of the imported item to an existing user of this site. For example, you may want to import all the entries as <code>admin</code>s entries.', 'wordpress-importer' ); ?></p>
|
249 |
+
<?php if ( $this->allow_create_users() ) : ?>
|
250 |
+
<p><?php printf( __( 'If a new user is created by WordPress, a new password will be randomly generated and the new user’s role will be set as %s. Manually changing the new user’s details will be necessary.', 'wordpress-importer' ), esc_html( get_option('default_role') ) ); ?></p>
|
251 |
+
<?php endif; ?>
|
252 |
+
<ol id="authors">
|
253 |
+
<?php foreach ( $this->authors as $author ) : ?>
|
254 |
+
<li><?php $this->author_select( $j++, $author ); ?></li>
|
255 |
+
<?php endforeach; ?>
|
256 |
+
</ol>
|
257 |
+
<?php endif; ?>
|
258 |
+
|
259 |
+
<?php if ( $this->allow_fetch_attachments() ) : ?>
|
260 |
+
<h3><?php _e( 'Import Attachments', 'wordpress-importer' ); ?></h3>
|
261 |
+
<p>
|
262 |
+
<input type="checkbox" value="1" name="fetch_attachments" id="import-attachments" />
|
263 |
+
<label for="import-attachments"><?php _e( 'Download and import file attachments', 'wordpress-importer' ); ?></label>
|
264 |
+
</p>
|
265 |
+
<?php endif; ?>
|
266 |
+
|
267 |
+
<p class="submit"><input type="submit" class="button" value="<?php esc_attr_e( 'Submit', 'wordpress-importer' ); ?>" /></p>
|
268 |
+
</form>
|
269 |
+
<?php
|
270 |
+
}
|
271 |
+
|
272 |
+
/**
|
273 |
+
* Display import options for an individual author. That is, either create
|
274 |
+
* a new user based on import info or map to an existing user
|
275 |
+
*
|
276 |
+
* @param int $n Index for each author in the form
|
277 |
+
* @param array $author Author information, e.g. login, display name, email
|
278 |
+
*/
|
279 |
+
function author_select( $n, $author ) {
|
280 |
+
_e( 'Import author:', 'wordpress-importer' );
|
281 |
+
echo ' <strong>' . esc_html( $author['author_display_name'] );
|
282 |
+
if ( $this->version != '1.0' ) echo ' (' . esc_html( $author['author_login'] ) . ')';
|
283 |
+
echo '</strong><br />';
|
284 |
+
|
285 |
+
if ( $this->version != '1.0' )
|
286 |
+
echo '<div style="margin-left:18px">';
|
287 |
+
|
288 |
+
$create_users = $this->allow_create_users();
|
289 |
+
if ( $create_users ) {
|
290 |
+
if ( $this->version != '1.0' ) {
|
291 |
+
_e( 'or create new user with login name:', 'wordpress-importer' );
|
292 |
+
$value = '';
|
293 |
+
} else {
|
294 |
+
_e( 'as a new user:', 'wordpress-importer' );
|
295 |
+
$value = esc_attr( sanitize_user( $author['author_login'], true ) );
|
296 |
+
}
|
297 |
+
|
298 |
+
echo ' <input type="text" name="user_new['.$n.']" value="'. $value .'" /><br />';
|
299 |
+
}
|
300 |
+
|
301 |
+
if ( ! $create_users && $this->version == '1.0' )
|
302 |
+
_e( 'assign posts to an existing user:', 'wordpress-importer' );
|
303 |
+
else
|
304 |
+
_e( 'or assign posts to an existing user:', 'wordpress-importer' );
|
305 |
+
wp_dropdown_users( array( 'name' => "user_map[$n]", 'multi' => true, 'show_option_all' => __( '- Select -', 'wordpress-importer' ) ) );
|
306 |
+
echo '<input type="hidden" name="imported_authors['.$n.']" value="' . esc_attr( $author['author_login'] ) . '" />';
|
307 |
+
|
308 |
+
if ( $this->version != '1.0' )
|
309 |
+
echo '</div>';
|
310 |
+
}
|
311 |
+
|
312 |
+
/**
|
313 |
+
* Map old author logins to local user IDs based on decisions made
|
314 |
+
* in import options form. Can map to an existing user, create a new user
|
315 |
+
* or falls back to the current user in case of error with either of the previous
|
316 |
+
*/
|
317 |
+
function get_author_mapping() {
|
318 |
+
if ( ! isset( $_POST['imported_authors'] ) )
|
319 |
+
return;
|
320 |
+
|
321 |
+
$create_users = $this->allow_create_users();
|
322 |
+
|
323 |
+
foreach ( (array) $_POST['imported_authors'] as $i => $old_login ) {
|
324 |
+
// Multisite adds strtolower to sanitize_user. Need to sanitize here to stop breakage in process_posts.
|
325 |
+
$santized_old_login = sanitize_user( $old_login, true );
|
326 |
+
$old_id = isset( $this->authors[$old_login]['author_id'] ) ? intval($this->authors[$old_login]['author_id']) : false;
|
327 |
+
|
328 |
+
if ( ! empty( $_POST['user_map'][$i] ) ) {
|
329 |
+
$user = get_userdata( intval($_POST['user_map'][$i]) );
|
330 |
+
if ( isset( $user->ID ) ) {
|
331 |
+
if ( $old_id )
|
332 |
+
$this->processed_authors[$old_id] = $user->ID;
|
333 |
+
$this->author_mapping[$santized_old_login] = $user->ID;
|
334 |
+
}
|
335 |
+
} else if ( $create_users ) {
|
336 |
+
if ( ! empty($_POST['user_new'][$i]) ) {
|
337 |
+
$user_id = wp_create_user( $_POST['user_new'][$i], wp_generate_password() );
|
338 |
+
} else if ( $this->version != '1.0' ) {
|
339 |
+
$user_data = array(
|
340 |
+
'user_login' => $old_login,
|
341 |
+
'user_pass' => wp_generate_password(),
|
342 |
+
'user_email' => isset( $this->authors[$old_login]['author_email'] ) ? $this->authors[$old_login]['author_email'] : '',
|
343 |
+
'display_name' => $this->authors[$old_login]['author_display_name'],
|
344 |
+
'first_name' => isset( $this->authors[$old_login]['author_first_name'] ) ? $this->authors[$old_login]['author_first_name'] : '',
|
345 |
+
'last_name' => isset( $this->authors[$old_login]['author_last_name'] ) ? $this->authors[$old_login]['author_last_name'] : '',
|
346 |
+
);
|
347 |
+
$user_id = wp_insert_user( $user_data );
|
348 |
+
}
|
349 |
+
|
350 |
+
if ( ! is_wp_error( $user_id ) ) {
|
351 |
+
if ( $old_id )
|
352 |
+
$this->processed_authors[$old_id] = $user_id;
|
353 |
+
$this->author_mapping[$santized_old_login] = $user_id;
|
354 |
+
} else {
|
355 |
+
printf( __( 'Failed to create new user for %s. Their posts will be attributed to the current user.', 'wordpress-importer' ), esc_html($this->authors[$old_login]['author_display_name']) );
|
356 |
+
if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
|
357 |
+
echo ' ' . $user_id->get_error_message();
|
358 |
+
echo '<br />';
|
359 |
+
}
|
360 |
+
}
|
361 |
+
|
362 |
+
// failsafe: if the user_id was invalid, default to the current user
|
363 |
+
if ( ! isset( $this->author_mapping[$santized_old_login] ) ) {
|
364 |
+
if ( $old_id )
|
365 |
+
$this->processed_authors[$old_id] = (int) get_current_user_id();
|
366 |
+
$this->author_mapping[$santized_old_login] = (int) get_current_user_id();
|
367 |
+
}
|
368 |
+
}
|
369 |
+
}
|
370 |
+
|
371 |
+
/**
|
372 |
+
* Create new categories based on import information
|
373 |
+
*
|
374 |
+
* Doesn't create a new category if its slug already exists
|
375 |
+
*/
|
376 |
+
function process_categories() {
|
377 |
+
$this->categories = apply_filters( 'wp_import_categories', $this->categories );
|
378 |
+
|
379 |
+
if ( empty( $this->categories ) )
|
380 |
+
return;
|
381 |
+
|
382 |
+
foreach ( $this->categories as $cat ) {
|
383 |
+
// if the category already exists leave it alone
|
384 |
+
$term_id = term_exists( $cat['category_nicename'], 'category' );
|
385 |
+
if ( $term_id ) {
|
386 |
+
if ( is_array($term_id) ) $term_id = $term_id['term_id'];
|
387 |
+
if ( isset($cat['term_id']) )
|
388 |
+
$this->processed_terms[intval($cat['term_id'])] = (int) $term_id;
|
389 |
+
continue;
|
390 |
+
}
|
391 |
+
|
392 |
+
$category_parent = empty( $cat['category_parent'] ) ? 0 : category_exists( $cat['category_parent'] );
|
393 |
+
$category_description = isset( $cat['category_description'] ) ? $cat['category_description'] : '';
|
394 |
+
$catarr = array(
|
395 |
+
'category_nicename' => $cat['category_nicename'],
|
396 |
+
'category_parent' => $category_parent,
|
397 |
+
'cat_name' => $cat['cat_name'],
|
398 |
+
'category_description' => $category_description
|
399 |
+
);
|
400 |
+
$catarr = wp_slash( $catarr );
|
401 |
+
|
402 |
+
$id = wp_insert_category( $catarr );
|
403 |
+
if ( ! is_wp_error( $id ) ) {
|
404 |
+
if ( isset($cat['term_id']) )
|
405 |
+
$this->processed_terms[intval($cat['term_id'])] = $id;
|
406 |
+
} else {
|
407 |
+
printf( __( 'Failed to import category %s', 'wordpress-importer' ), esc_html($cat['category_nicename']) );
|
408 |
+
if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
|
409 |
+
echo ': ' . $id->get_error_message();
|
410 |
+
echo '<br />';
|
411 |
+
continue;
|
412 |
+
}
|
413 |
+
|
414 |
+
$this->process_termmeta( $cat, $id['term_id'] );
|
415 |
+
}
|
416 |
+
|
417 |
+
unset( $this->categories );
|
418 |
+
}
|
419 |
+
|
420 |
+
/**
|
421 |
+
* Create new post tags based on import information
|
422 |
+
*
|
423 |
+
* Doesn't create a tag if its slug already exists
|
424 |
+
*/
|
425 |
+
function process_tags() {
|
426 |
+
$this->tags = apply_filters( 'wp_import_tags', $this->tags );
|
427 |
+
|
428 |
+
if ( empty( $this->tags ) )
|
429 |
+
return;
|
430 |
+
|
431 |
+
foreach ( $this->tags as $tag ) {
|
432 |
+
// if the tag already exists leave it alone
|
433 |
+
$term_id = term_exists( $tag['tag_slug'], 'post_tag' );
|
434 |
+
if ( $term_id ) {
|
435 |
+
if ( is_array($term_id) ) $term_id = $term_id['term_id'];
|
436 |
+
if ( isset($tag['term_id']) )
|
437 |
+
$this->processed_terms[intval($tag['term_id'])] = (int) $term_id;
|
438 |
+
continue;
|
439 |
+
}
|
440 |
+
|
441 |
+
$tag = wp_slash( $tag );
|
442 |
+
$tag_desc = isset( $tag['tag_description'] ) ? $tag['tag_description'] : '';
|
443 |
+
$tagarr = array( 'slug' => $tag['tag_slug'], 'description' => $tag_desc );
|
444 |
+
|
445 |
+
$id = wp_insert_term( $tag['tag_name'], 'post_tag', $tagarr );
|
446 |
+
if ( ! is_wp_error( $id ) ) {
|
447 |
+
if ( isset($tag['term_id']) )
|
448 |
+
$this->processed_terms[intval($tag['term_id'])] = $id['term_id'];
|
449 |
+
} else {
|
450 |
+
printf( __( 'Failed to import post tag %s', 'wordpress-importer' ), esc_html($tag['tag_name']) );
|
451 |
+
if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
|
452 |
+
echo ': ' . $id->get_error_message();
|
453 |
+
echo '<br />';
|
454 |
+
continue;
|
455 |
+
}
|
456 |
+
|
457 |
+
$this->process_termmeta( $tag, $id['term_id'] );
|
458 |
+
}
|
459 |
+
|
460 |
+
unset( $this->tags );
|
461 |
+
}
|
462 |
+
|
463 |
+
/**
|
464 |
+
* Create new terms based on import information
|
465 |
+
*
|
466 |
+
* Doesn't create a term its slug already exists
|
467 |
+
*/
|
468 |
+
function process_terms() {
|
469 |
+
$this->terms = apply_filters( 'wp_import_terms', $this->terms );
|
470 |
+
|
471 |
+
if ( empty( $this->terms ) )
|
472 |
+
return;
|
473 |
+
|
474 |
+
foreach ( $this->terms as $term ) {
|
475 |
+
// if the term already exists in the correct taxonomy leave it alone
|
476 |
+
$term_id = term_exists( $term['slug'], $term['term_taxonomy'] );
|
477 |
+
if ( $term_id ) {
|
478 |
+
if ( is_array($term_id) ) $term_id = $term_id['term_id'];
|
479 |
+
if ( isset($term['term_id']) )
|
480 |
+
$this->processed_terms[intval($term['term_id'])] = (int) $term_id;
|
481 |
+
continue;
|
482 |
+
}
|
483 |
+
|
484 |
+
if ( empty( $term['term_parent'] ) ) {
|
485 |
+
$parent = 0;
|
486 |
+
} else {
|
487 |
+
$parent = term_exists( $term['term_parent'], $term['term_taxonomy'] );
|
488 |
+
if ( is_array( $parent ) ) $parent = $parent['term_id'];
|
489 |
+
}
|
490 |
+
$term = wp_slash( $term );
|
491 |
+
$description = isset( $term['term_description'] ) ? $term['term_description'] : '';
|
492 |
+
$termarr = array( 'slug' => $term['slug'], 'description' => $description, 'parent' => intval($parent) );
|
493 |
+
|
494 |
+
$id = wp_insert_term( $term['term_name'], $term['term_taxonomy'], $termarr );
|
495 |
+
if ( ! is_wp_error( $id ) ) {
|
496 |
+
if ( isset($term['term_id']) )
|
497 |
+
$this->processed_terms[intval($term['term_id'])] = $id['term_id'];
|
498 |
+
} else {
|
499 |
+
printf( __( 'Failed to import %s %s', 'wordpress-importer' ), esc_html($term['term_taxonomy']), esc_html($term['term_name']) );
|
500 |
+
if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
|
501 |
+
echo ': ' . $id->get_error_message();
|
502 |
+
echo '<br />';
|
503 |
+
continue;
|
504 |
+
}
|
505 |
+
|
506 |
+
$this->process_termmeta( $term, $id['term_id'] );
|
507 |
+
}
|
508 |
+
|
509 |
+
unset( $this->terms );
|
510 |
+
}
|
511 |
+
|
512 |
+
/**
|
513 |
+
* Add metadata to imported term.
|
514 |
+
*
|
515 |
+
* @since 0.6.2
|
516 |
+
*
|
517 |
+
* @param array $term Term data from WXR import.
|
518 |
+
* @param int $term_id ID of the newly created term.
|
519 |
+
*/
|
520 |
+
protected function process_termmeta( $term, $term_id ) {
|
521 |
+
if ( ! isset( $term['termmeta'] ) ) {
|
522 |
+
$term['termmeta'] = array();
|
523 |
+
}
|
524 |
+
|
525 |
+
/**
|
526 |
+
* Filters the metadata attached to an imported term.
|
527 |
+
*
|
528 |
+
* @since 0.6.2
|
529 |
+
*
|
530 |
+
* @param array $termmeta Array of term meta.
|
531 |
+
* @param int $term_id ID of the newly created term.
|
532 |
+
* @param array $term Term data from the WXR import.
|
533 |
+
*/
|
534 |
+
$term['termmeta'] = apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term );
|
535 |
+
|
536 |
+
if ( empty( $term['termmeta'] ) ) {
|
537 |
+
return;
|
538 |
+
}
|
539 |
+
|
540 |
+
foreach ( $term['termmeta'] as $meta ) {
|
541 |
+
/**
|
542 |
+
* Filters the meta key for an imported piece of term meta.
|
543 |
+
*
|
544 |
+
* @since 0.6.2
|
545 |
+
*
|
546 |
+
* @param string $meta_key Meta key.
|
547 |
+
* @param int $term_id ID of the newly created term.
|
548 |
+
* @param array $term Term data from the WXR import.
|
549 |
+
*/
|
550 |
+
$key = apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term );
|
551 |
+
if ( ! $key ) {
|
552 |
+
continue;
|
553 |
+
}
|
554 |
+
|
555 |
+
// Export gets meta straight from the DB so could have a serialized string
|
556 |
+
$value = maybe_unserialize( $meta['value'] );
|
557 |
+
|
558 |
+
add_term_meta( $term_id, $key, $value );
|
559 |
+
|
560 |
+
/**
|
561 |
+
* Fires after term meta is imported.
|
562 |
+
*
|
563 |
+
* @since 0.6.2
|
564 |
+
*
|
565 |
+
* @param int $term_id ID of the newly created term.
|
566 |
+
* @param string $key Meta key.
|
567 |
+
* @param mixed $value Meta value.
|
568 |
+
*/
|
569 |
+
do_action( 'import_term_meta', $term_id, $key, $value );
|
570 |
+
}
|
571 |
+
}
|
572 |
+
|
573 |
+
/**
|
574 |
+
* Create new posts based on import information
|
575 |
+
*
|
576 |
+
* Posts marked as having a parent which doesn't exist will become top level items.
|
577 |
+
* Doesn't create a new post if: the post type doesn't exist, the given post ID
|
578 |
+
* is already noted as imported or a post with the same title and date already exists.
|
579 |
+
* Note that new/updated terms, comments and meta are imported for the last of the above.
|
580 |
+
*/
|
581 |
+
function process_posts() {
|
582 |
+
$this->posts = apply_filters( 'wp_import_posts', $this->posts );
|
583 |
+
|
584 |
+
foreach ( $this->posts as $post ) {
|
585 |
+
$post = apply_filters( 'wp_import_post_data_raw', $post );
|
586 |
+
|
587 |
+
if ( ! post_type_exists( $post['post_type'] ) ) {
|
588 |
+
printf( __( 'Failed to import “%s”: Invalid post type %s', 'wordpress-importer' ),
|
589 |
+
esc_html($post['post_title']), esc_html($post['post_type']) );
|
590 |
+
echo '<br />';
|
591 |
+
do_action( 'wp_import_post_exists', $post );
|
592 |
+
continue;
|
593 |
+
}
|
594 |
+
|
595 |
+
if ( isset( $this->processed_posts[$post['post_id']] ) && ! empty( $post['post_id'] ) )
|
596 |
+
continue;
|
597 |
+
|
598 |
+
if ( $post['status'] == 'auto-draft' )
|
599 |
+
continue;
|
600 |
+
|
601 |
+
if ( 'nav_menu_item' == $post['post_type'] ) {
|
602 |
+
$this->process_menu_item( $post );
|
603 |
+
continue;
|
604 |
+
}
|
605 |
+
|
606 |
+
$post_type_object = get_post_type_object( $post['post_type'] );
|
607 |
+
|
608 |
+
$post_exists = post_exists( $post['post_title'], '', $post['post_date'] );
|
609 |
+
|
610 |
+
/**
|
611 |
+
* Filter ID of the existing post corresponding to post currently importing.
|
612 |
+
*
|
613 |
+
* Return 0 to force the post to be imported. Filter the ID to be something else
|
614 |
+
* to override which existing post is mapped to the imported post.
|
615 |
+
*
|
616 |
+
* @see post_exists()
|
617 |
+
* @since 0.6.2
|
618 |
+
*
|
619 |
+
* @param int $post_exists Post ID, or 0 if post did not exist.
|
620 |
+
* @param array $post The post array to be inserted.
|
621 |
+
*/
|
622 |
+
$post_exists = apply_filters( 'wp_import_existing_post', $post_exists, $post );
|
623 |
+
|
624 |
+
if ( $post_exists && get_post_type( $post_exists ) == $post['post_type'] ) {
|
625 |
+
printf( __('%s “%s” already exists.', 'wordpress-importer'), $post_type_object->labels->singular_name, esc_html($post['post_title']) );
|
626 |
+
echo '<br />';
|
627 |
+
$comment_post_ID = $post_id = $post_exists;
|
628 |
+
$this->processed_posts[ intval( $post['post_id'] ) ] = intval( $post_exists );
|
629 |
+
} else {
|
630 |
+
$post_parent = (int) $post['post_parent'];
|
631 |
+
if ( $post_parent ) {
|
632 |
+
// if we already know the parent, map it to the new local ID
|
633 |
+
if ( isset( $this->processed_posts[$post_parent] ) ) {
|
634 |
+
$post_parent = $this->processed_posts[$post_parent];
|
635 |
+
// otherwise record the parent for later
|
636 |
+
} else {
|
637 |
+
$this->post_orphans[intval($post['post_id'])] = $post_parent;
|
638 |
+
$post_parent = 0;
|
639 |
+
}
|
640 |
+
}
|
641 |
+
|
642 |
+
// map the post author
|
643 |
+
$author = sanitize_user( $post['post_author'], true );
|
644 |
+
if ( isset( $this->author_mapping[$author] ) )
|
645 |
+
$author = $this->author_mapping[$author];
|
646 |
+
else
|
647 |
+
$author = (int) get_current_user_id();
|
648 |
+
|
649 |
+
$postdata = array(
|
650 |
+
'import_id' => $post['post_id'], 'post_author' => $author, 'post_date' => $post['post_date'],
|
651 |
+
'post_date_gmt' => $post['post_date_gmt'], 'post_content' => $post['post_content'],
|
652 |
+
'post_excerpt' => $post['post_excerpt'], 'post_title' => $post['post_title'],
|
653 |
+
'post_status' => $post['status'], 'post_name' => $post['post_name'],
|
654 |
+
'comment_status' => $post['comment_status'], 'ping_status' => $post['ping_status'],
|
655 |
+
'guid' => $post['guid'], 'post_parent' => $post_parent, 'menu_order' => $post['menu_order'],
|
656 |
+
'post_type' => $post['post_type'], 'post_password' => $post['post_password']
|
657 |
+
);
|
658 |
+
|
659 |
+
$original_post_ID = $post['post_id'];
|
660 |
+
$postdata = apply_filters( 'wp_import_post_data_processed', $postdata, $post );
|
661 |
+
|
662 |
+
$postdata = wp_slash( $postdata );
|
663 |
+
|
664 |
+
if ( 'attachment' == $postdata['post_type'] ) {
|
665 |
+
$remote_url = ! empty($post['attachment_url']) ? $post['attachment_url'] : $post['guid'];
|
666 |
+
|
667 |
+
// try to use _wp_attached file for upload folder placement to ensure the same location as the export site
|
668 |
+
// e.g. location is 2003/05/image.jpg but the attachment post_date is 2010/09, see media_handle_upload()
|
669 |
+
$postdata['upload_date'] = $post['post_date'];
|
670 |
+
if ( isset( $post['postmeta'] ) ) {
|
671 |
+
foreach( $post['postmeta'] as $meta ) {
|
672 |
+
if ( $meta['key'] == '_wp_attached_file' ) {
|
673 |
+
if ( preg_match( '%^[0-9]{4}/[0-9]{2}%', $meta['value'], $matches ) )
|
674 |
+
$postdata['upload_date'] = $matches[0];
|
675 |
+
break;
|
676 |
+
}
|
677 |
+
}
|
678 |
+
}
|
679 |
+
|
680 |
+
$comment_post_ID = $post_id = $this->process_attachment( $postdata, $remote_url );
|
681 |
+
} else {
|
682 |
+
$comment_post_ID = $post_id = wp_insert_post( $postdata, true );
|
683 |
+
do_action( 'wp_import_insert_post', $post_id, $original_post_ID, $postdata, $post );
|
684 |
+
}
|
685 |
+
|
686 |
+
if ( is_wp_error( $post_id ) ) {
|
687 |
+
printf( __( 'Failed to import %s “%s”', 'wordpress-importer' ),
|
688 |
+
$post_type_object->labels->singular_name, esc_html($post['post_title']) );
|
689 |
+
if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
|
690 |
+
echo ': ' . $post_id->get_error_message();
|
691 |
+
echo '<br />';
|
692 |
+
continue;
|
693 |
+
}
|
694 |
+
|
695 |
+
if ( $post['is_sticky'] == 1 )
|
696 |
+
stick_post( $post_id );
|
697 |
+
}
|
698 |
+
|
699 |
+
// map pre-import ID to local ID
|
700 |
+
$this->processed_posts[intval($post['post_id'])] = (int) $post_id;
|
701 |
+
|
702 |
+
if ( ! isset( $post['terms'] ) )
|
703 |
+
$post['terms'] = array();
|
704 |
+
|
705 |
+
$post['terms'] = apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post );
|
706 |
+
|
707 |
+
// add categories, tags and other terms
|
708 |
+
if ( ! empty( $post['terms'] ) ) {
|
709 |
+
$terms_to_set = array();
|
710 |
+
foreach ( $post['terms'] as $term ) {
|
711 |
+
// back compat with WXR 1.0 map 'tag' to 'post_tag'
|
712 |
+
$taxonomy = ( 'tag' == $term['domain'] ) ? 'post_tag' : $term['domain'];
|
713 |
+
$term_exists = term_exists( $term['slug'], $taxonomy );
|
714 |
+
$term_id = is_array( $term_exists ) ? $term_exists['term_id'] : $term_exists;
|
715 |
+
if ( ! $term_id ) {
|
716 |
+
$t = wp_insert_term( $term['name'], $taxonomy, array( 'slug' => $term['slug'] ) );
|
717 |
+
if ( ! is_wp_error( $t ) ) {
|
718 |
+
$term_id = $t['term_id'];
|
719 |
+
do_action( 'wp_import_insert_term', $t, $term, $post_id, $post );
|
720 |
+
} else {
|
721 |
+
printf( __( 'Failed to import %s %s', 'wordpress-importer' ), esc_html($taxonomy), esc_html($term['name']) );
|
722 |
+
if ( defined('IMPORT_DEBUG') && IMPORT_DEBUG )
|
723 |
+
echo ': ' . $t->get_error_message();
|
724 |
+
echo '<br />';
|
725 |
+
do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post );
|
726 |
+
continue;
|
727 |
+
}
|
728 |
+
}
|
729 |
+
$terms_to_set[$taxonomy][] = intval( $term_id );
|
730 |
+
}
|
731 |
+
|
732 |
+
foreach ( $terms_to_set as $tax => $ids ) {
|
733 |
+
$tt_ids = wp_set_post_terms( $post_id, $ids, $tax );
|
734 |
+
do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post );
|
735 |
+
}
|
736 |
+
unset( $post['terms'], $terms_to_set );
|
737 |
+
}
|
738 |
+
|
739 |
+
if ( ! isset( $post['comments'] ) )
|
740 |
+
$post['comments'] = array();
|
741 |
+
|
742 |
+
$post['comments'] = apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post );
|
743 |
+
|
744 |
+
// add/update comments
|
745 |
+
if ( ! empty( $post['comments'] ) ) {
|
746 |
+
$num_comments = 0;
|
747 |
+
$inserted_comments = array();
|
748 |
+
foreach ( $post['comments'] as $comment ) {
|
749 |
+
$comment_id = $comment['comment_id'];
|
750 |
+
$newcomments[$comment_id]['comment_post_ID'] = $comment_post_ID;
|
751 |
+
$newcomments[$comment_id]['comment_author'] = $comment['comment_author'];
|
752 |
+
$newcomments[$comment_id]['comment_author_email'] = $comment['comment_author_email'];
|
753 |
+
$newcomments[$comment_id]['comment_author_IP'] = $comment['comment_author_IP'];
|
754 |
+
$newcomments[$comment_id]['comment_author_url'] = $comment['comment_author_url'];
|
755 |
+
$newcomments[$comment_id]['comment_date'] = $comment['comment_date'];
|
756 |
+
$newcomments[$comment_id]['comment_date_gmt'] = $comment['comment_date_gmt'];
|
757 |
+
$newcomments[$comment_id]['comment_content'] = $comment['comment_content'];
|
758 |
+
$newcomments[$comment_id]['comment_approved'] = $comment['comment_approved'];
|
759 |
+
$newcomments[$comment_id]['comment_type'] = $comment['comment_type'];
|
760 |
+
$newcomments[$comment_id]['comment_parent'] = $comment['comment_parent'];
|
761 |
+
$newcomments[$comment_id]['commentmeta'] = isset( $comment['commentmeta'] ) ? $comment['commentmeta'] : array();
|
762 |
+
if ( isset( $this->processed_authors[$comment['comment_user_id']] ) )
|
763 |
+
$newcomments[$comment_id]['user_id'] = $this->processed_authors[$comment['comment_user_id']];
|
764 |
+
}
|
765 |
+
ksort( $newcomments );
|
766 |
+
|
767 |
+
foreach ( $newcomments as $key => $comment ) {
|
768 |
+
// if this is a new post we can skip the comment_exists() check
|
769 |
+
if ( ! $post_exists || ! comment_exists( $comment['comment_author'], $comment['comment_date'] ) ) {
|
770 |
+
if ( isset( $inserted_comments[$comment['comment_parent']] ) )
|
771 |
+
$comment['comment_parent'] = $inserted_comments[$comment['comment_parent']];
|
772 |
+
$comment = wp_slash( $comment );
|
773 |
+
$comment = wp_filter_comment( $comment );
|
774 |
+
$inserted_comments[$key] = wp_insert_comment( $comment );
|
775 |
+
do_action( 'wp_import_insert_comment', $inserted_comments[$key], $comment, $comment_post_ID, $post );
|
776 |
+
|
777 |
+
foreach( $comment['commentmeta'] as $meta ) {
|
778 |
+
$value = maybe_unserialize( $meta['value'] );
|
779 |
+
add_comment_meta( $inserted_comments[$key], $meta['key'], $value );
|
780 |
+
}
|
781 |
+
|
782 |
+
$num_comments++;
|
783 |
+
}
|
784 |
+
}
|
785 |
+
unset( $newcomments, $inserted_comments, $post['comments'] );
|
786 |
+
}
|
787 |
+
|
788 |
+
if ( ! isset( $post['postmeta'] ) )
|
789 |
+
$post['postmeta'] = array();
|
790 |
+
|
791 |
+
$post['postmeta'] = apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post );
|
792 |
+
|
793 |
+
// add/update post meta
|
794 |
+
if ( ! empty( $post['postmeta'] ) ) {
|
795 |
+
foreach ( $post['postmeta'] as $meta ) {
|
796 |
+
$key = apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post );
|
797 |
+
$value = false;
|
798 |
+
|
799 |
+
if ( '_edit_last' == $key ) {
|
800 |
+
if ( isset( $this->processed_authors[intval($meta['value'])] ) )
|
801 |
+
$value = $this->processed_authors[intval($meta['value'])];
|
802 |
+
else
|
803 |
+
$key = false;
|
804 |
+
}
|
805 |
+
|
806 |
+
if ( $key ) {
|
807 |
+
// export gets meta straight from the DB so could have a serialized string
|
808 |
+
if ( ! $value )
|
809 |
+
$value = maybe_unserialize( $meta['value'] );
|
810 |
+
|
811 |
+
add_post_meta( $post_id, $key, $value );
|
812 |
+
do_action( 'import_post_meta', $post_id, $key, $value );
|
813 |
+
|
814 |
+
// if the post has a featured image, take note of this in case of remap
|
815 |
+
if ( '_thumbnail_id' == $key )
|
816 |
+
$this->featured_images[$post_id] = (int) $value;
|
817 |
+
}
|
818 |
+
}
|
819 |
+
}
|
820 |
+
}
|
821 |
+
|
822 |
+
unset( $this->posts );
|
823 |
+
}
|
824 |
+
|
825 |
+
/**
|
826 |
+
* Attempt to create a new menu item from import data
|
827 |
+
*
|
828 |
+
* Fails for draft, orphaned menu items and those without an associated nav_menu
|
829 |
+
* or an invalid nav_menu term. If the post type or term object which the menu item
|
830 |
+
* represents doesn't exist then the menu item will not be imported (waits until the
|
831 |
+
* end of the import to retry again before discarding).
|
832 |
+
*
|
833 |
+
* @param array $item Menu item details from WXR file
|
834 |
+
*/
|
835 |
+
function process_menu_item( $item ) {
|
836 |
+
// skip draft, orphaned menu items
|
837 |
+
if ( 'draft' == $item['status'] )
|
838 |
+
return;
|
839 |
+
|
840 |
+
$menu_slug = false;
|
841 |
+
if ( isset($item['terms']) ) {
|
842 |
+
// loop through terms, assume first nav_menu term is correct menu
|
843 |
+
foreach ( $item['terms'] as $term ) {
|
844 |
+
if ( 'nav_menu' == $term['domain'] ) {
|
845 |
+
$menu_slug = $term['slug'];
|
846 |
+
break;
|
847 |
+
}
|
848 |
+
}
|
849 |
+
}
|
850 |
+
|
851 |
+
// no nav_menu term associated with this menu item
|
852 |
+
if ( ! $menu_slug ) {
|
853 |
+
_e( 'Menu item skipped due to missing menu slug', 'wordpress-importer' );
|
854 |
+
echo '<br />';
|
855 |
+
return;
|
856 |
+
}
|
857 |
+
|
858 |
+
$menu_id = term_exists( $menu_slug, 'nav_menu' );
|
859 |
+
if ( ! $menu_id ) {
|
860 |
+
printf( __( 'Menu item skipped due to invalid menu slug: %s', 'wordpress-importer' ), esc_html( $menu_slug ) );
|
861 |
+
echo '<br />';
|
862 |
+
return;
|
863 |
+
} else {
|
864 |
+
$menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
|
865 |
+
}
|
866 |
+
|
867 |
+
foreach ( $item['postmeta'] as $meta )
|
868 |
+
${$meta['key']} = $meta['value'];
|
869 |
+
|
870 |
+
if ( 'taxonomy' == $_menu_item_type && isset( $this->processed_terms[intval($_menu_item_object_id)] ) ) {
|
871 |
+
$_menu_item_object_id = $this->processed_terms[intval($_menu_item_object_id)];
|
872 |
+
} else if ( 'post_type' == $_menu_item_type && isset( $this->processed_posts[intval($_menu_item_object_id)] ) ) {
|
873 |
+
$_menu_item_object_id = $this->processed_posts[intval($_menu_item_object_id)];
|
874 |
+
} else if ( 'custom' != $_menu_item_type ) {
|
875 |
+
// associated object is missing or not imported yet, we'll retry later
|
876 |
+
$this->missing_menu_items[] = $item;
|
877 |
+
return;
|
878 |
+
}
|
879 |
+
|
880 |
+
if ( isset( $this->processed_menu_items[intval($_menu_item_menu_item_parent)] ) ) {
|
881 |
+
$_menu_item_menu_item_parent = $this->processed_menu_items[intval($_menu_item_menu_item_parent)];
|
882 |
+
} else if ( $_menu_item_menu_item_parent ) {
|
883 |
+
$this->menu_item_orphans[intval($item['post_id'])] = (int) $_menu_item_menu_item_parent;
|
884 |
+
$_menu_item_menu_item_parent = 0;
|
885 |
+
}
|
886 |
+
|
887 |
+
// wp_update_nav_menu_item expects CSS classes as a space separated string
|
888 |
+
$_menu_item_classes = maybe_unserialize( $_menu_item_classes );
|
889 |
+
if ( is_array( $_menu_item_classes ) )
|
890 |
+
$_menu_item_classes = implode( ' ', $_menu_item_classes );
|
891 |
+
|
892 |
+
$args = array(
|
893 |
+
'menu-item-object-id' => $_menu_item_object_id,
|
894 |
+
'menu-item-object' => $_menu_item_object,
|
895 |
+
'menu-item-parent-id' => $_menu_item_menu_item_parent,
|
896 |
+
'menu-item-position' => intval( $item['menu_order'] ),
|
897 |
+
'menu-item-type' => $_menu_item_type,
|
898 |
+
'menu-item-title' => $item['post_title'],
|
899 |
+
'menu-item-url' => $_menu_item_url,
|
900 |
+
'menu-item-description' => $item['post_content'],
|
901 |
+
'menu-item-attr-title' => $item['post_excerpt'],
|
902 |
+
'menu-item-target' => $_menu_item_target,
|
903 |
+
'menu-item-classes' => $_menu_item_classes,
|
904 |
+
'menu-item-xfn' => $_menu_item_xfn,
|
905 |
+
'menu-item-status' => $item['status']
|
906 |
+
);
|
907 |
+
|
908 |
+
$id = wp_update_nav_menu_item( $menu_id, 0, $args );
|
909 |
+
if ( $id && ! is_wp_error( $id ) )
|
910 |
+
$this->processed_menu_items[intval($item['post_id'])] = (int) $id;
|
911 |
+
}
|
912 |
+
|
913 |
+
/**
|
914 |
+
* If fetching attachments is enabled then attempt to create a new attachment
|
915 |
+
*
|
916 |
+
* @param array $post Attachment post details from WXR
|
917 |
+
* @param string $url URL to fetch attachment from
|
918 |
+
* @return int|WP_Error Post ID on success, WP_Error otherwise
|
919 |
+
*/
|
920 |
+
function process_attachment( $post, $url ) {
|
921 |
+
if ( ! $this->fetch_attachments )
|
922 |
+
return new WP_Error( 'attachment_processing_error',
|
923 |
+
__( 'Fetching attachments is not enabled', 'wordpress-importer' ) );
|
924 |
+
|
925 |
+
// if the URL is absolute, but does not contain address, then upload it assuming base_site_url
|
926 |
+
if ( preg_match( '|^/[\w\W]+$|', $url ) )
|
927 |
+
$url = rtrim( $this->base_url, '/' ) . $url;
|
928 |
+
|
929 |
+
$upload = $this->fetch_remote_file( $url, $post );
|
930 |
+
if ( is_wp_error( $upload ) )
|
931 |
+
return $upload;
|
932 |
+
|
933 |
+
if ( $info = wp_check_filetype( $upload['file'] ) )
|
934 |
+
$post['post_mime_type'] = $info['type'];
|
935 |
+
else
|
936 |
+
return new WP_Error( 'attachment_processing_error', __('Invalid file type', 'wordpress-importer') );
|
937 |
+
|
938 |
+
$post['guid'] = $upload['url'];
|
939 |
+
|
940 |
+
// as per wp-admin/includes/upload.php
|
941 |
+
$post_id = wp_insert_attachment( $post, $upload['file'] );
|
942 |
+
wp_update_attachment_metadata( $post_id, wp_generate_attachment_metadata( $post_id, $upload['file'] ) );
|
943 |
+
|
944 |
+
// remap resized image URLs, works by stripping the extension and remapping the URL stub.
|
945 |
+
if ( preg_match( '!^image/!', $info['type'] ) ) {
|
946 |
+
$parts = pathinfo( $url );
|
947 |
+
$name = basename( $parts['basename'], ".{$parts['extension']}" ); // PATHINFO_FILENAME in PHP 5.2
|
948 |
+
|
949 |
+
$parts_new = pathinfo( $upload['url'] );
|
950 |
+
$name_new = basename( $parts_new['basename'], ".{$parts_new['extension']}" );
|
951 |
+
|
952 |
+
$this->url_remap[$parts['dirname'] . '/' . $name] = $parts_new['dirname'] . '/' . $name_new;
|
953 |
+
}
|
954 |
+
|
955 |
+
return $post_id;
|
956 |
+
}
|
957 |
+
|
958 |
+
/**
|
959 |
+
* Attempt to download a remote file attachment
|
960 |
+
*
|
961 |
+
* @param string $url URL of item to fetch
|
962 |
+
* @param array $post Attachment details
|
963 |
+
* @return array|WP_Error Local file location details on success, WP_Error otherwise
|
964 |
+
*/
|
965 |
+
function fetch_remote_file( $url, $post ) {
|
966 |
+
// extract the file name and extension from the url
|
967 |
+
$file_name = basename( $url );
|
968 |
+
|
969 |
+
// get placeholder file in the upload dir with a unique, sanitized filename
|
970 |
+
$upload = wp_upload_bits( $file_name, 0, '', $post['upload_date'] );
|
971 |
+
if ( $upload['error'] )
|
972 |
+
return new WP_Error( 'upload_dir_error', $upload['error'] );
|
973 |
+
|
974 |
+
// fetch the remote url and write it to the placeholder file
|
975 |
+
$remote_response = wp_safe_remote_get( $url, array(
|
976 |
+
'timeout' => 300,
|
977 |
+
'stream' => true,
|
978 |
+
'filename' => $upload['file'],
|
979 |
+
) );
|
980 |
+
|
981 |
+
$headers = wp_remote_retrieve_headers( $remote_response );
|
982 |
+
|
983 |
+
// request failed
|
984 |
+
if ( ! $headers ) {
|
985 |
+
@unlink( $upload['file'] );
|
986 |
+
return new WP_Error( 'import_file_error', __('Remote server did not respond', 'wordpress-importer') );
|
987 |
+
}
|
988 |
+
|
989 |
+
$remote_response_code = wp_remote_retrieve_response_code( $remote_response );
|
990 |
+
|
991 |
+
// make sure the fetch was successful
|
992 |
+
if ( $remote_response_code != '200' ) {
|
993 |
+
@unlink( $upload['file'] );
|
994 |
+
return new WP_Error( 'import_file_error', sprintf( __('Remote server returned error response %1$d %2$s', 'wordpress-importer'), esc_html($remote_response_code), get_status_header_desc($remote_response_code) ) );
|
995 |
+
}
|
996 |
+
|
997 |
+
$filesize = filesize( $upload['file'] );
|
998 |
+
|
999 |
+
if ( isset( $headers['content-length'] ) && $filesize != $headers['content-length'] ) {
|
1000 |
+
@unlink( $upload['file'] );
|
1001 |
+
return new WP_Error( 'import_file_error', __('Remote file is incorrect size', 'wordpress-importer') );
|
1002 |
+
}
|
1003 |
+
|
1004 |
+
if ( 0 == $filesize ) {
|
1005 |
+
@unlink( $upload['file'] );
|
1006 |
+
return new WP_Error( 'import_file_error', __('Zero size file downloaded', 'wordpress-importer') );
|
1007 |
+
}
|
1008 |
+
|
1009 |
+
$max_size = (int) $this->max_attachment_size();
|
1010 |
+
if ( ! empty( $max_size ) && $filesize > $max_size ) {
|
1011 |
+
@unlink( $upload['file'] );
|
1012 |
+
return new WP_Error( 'import_file_error', sprintf(__('Remote file is too large, limit is %s', 'wordpress-importer'), size_format($max_size) ) );
|
1013 |
+
}
|
1014 |
+
|
1015 |
+
// keep track of the old and new urls so we can substitute them later
|
1016 |
+
$this->url_remap[$url] = $upload['url'];
|
1017 |
+
$this->url_remap[$post['guid']] = $upload['url']; // r13735, really needed?
|
1018 |
+
// keep track of the destination if the remote url is redirected somewhere else
|
1019 |
+
if ( isset($headers['x-final-location']) && $headers['x-final-location'] != $url )
|
1020 |
+
$this->url_remap[$headers['x-final-location']] = $upload['url'];
|
1021 |
+
|
1022 |
+
return $upload;
|
1023 |
+
}
|
1024 |
+
|
1025 |
+
/**
|
1026 |
+
* Attempt to associate posts and menu items with previously missing parents
|
1027 |
+
*
|
1028 |
+
* An imported post's parent may not have been imported when it was first created
|
1029 |
+
* so try again. Similarly for child menu items and menu items which were missing
|
1030 |
+
* the object (e.g. post) they represent in the menu
|
1031 |
+
*/
|
1032 |
+
function backfill_parents() {
|
1033 |
+
global $wpdb;
|
1034 |
+
|
1035 |
+
// find parents for post orphans
|
1036 |
+
foreach ( $this->post_orphans as $child_id => $parent_id ) {
|
1037 |
+
$local_child_id = $local_parent_id = false;
|
1038 |
+
if ( isset( $this->processed_posts[$child_id] ) )
|
1039 |
+
$local_child_id = $this->processed_posts[$child_id];
|
1040 |
+
if ( isset( $this->processed_posts[$parent_id] ) )
|
1041 |
+
$local_parent_id = $this->processed_posts[$parent_id];
|
1042 |
+
|
1043 |
+
if ( $local_child_id && $local_parent_id ) {
|
1044 |
+
$wpdb->update( $wpdb->posts, array( 'post_parent' => $local_parent_id ), array( 'ID' => $local_child_id ), '%d', '%d' );
|
1045 |
+
clean_post_cache( $local_child_id );
|
1046 |
+
}
|
1047 |
+
}
|
1048 |
+
|
1049 |
+
// all other posts/terms are imported, retry menu items with missing associated object
|
1050 |
+
$missing_menu_items = $this->missing_menu_items;
|
1051 |
+
foreach ( $missing_menu_items as $item )
|
1052 |
+
$this->process_menu_item( $item );
|
1053 |
+
|
1054 |
+
// find parents for menu item orphans
|
1055 |
+
foreach ( $this->menu_item_orphans as $child_id => $parent_id ) {
|
1056 |
+
$local_child_id = $local_parent_id = 0;
|
1057 |
+
if ( isset( $this->processed_menu_items[$child_id] ) )
|
1058 |
+
$local_child_id = $this->processed_menu_items[$child_id];
|
1059 |
+
if ( isset( $this->processed_menu_items[$parent_id] ) )
|
1060 |
+
$local_parent_id = $this->processed_menu_items[$parent_id];
|
1061 |
+
|
1062 |
+
if ( $local_child_id && $local_parent_id )
|
1063 |
+
update_post_meta( $local_child_id, '_menu_item_menu_item_parent', (int) $local_parent_id );
|
1064 |
+
}
|
1065 |
+
}
|
1066 |
+
|
1067 |
+
/**
|
1068 |
+
* Use stored mapping information to update old attachment URLs
|
1069 |
+
*/
|
1070 |
+
function backfill_attachment_urls() {
|
1071 |
+
global $wpdb;
|
1072 |
+
// make sure we do the longest urls first, in case one is a substring of another
|
1073 |
+
uksort( $this->url_remap, array(&$this, 'cmpr_strlen') );
|
1074 |
+
|
1075 |
+
foreach ( $this->url_remap as $from_url => $to_url ) {
|
1076 |
+
// remap urls in post_content
|
1077 |
+
$wpdb->query( $wpdb->prepare("UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)", $from_url, $to_url) );
|
1078 |
+
// remap enclosure urls
|
1079 |
+
$result = $wpdb->query( $wpdb->prepare("UPDATE {$wpdb->postmeta} SET meta_value = REPLACE(meta_value, %s, %s) WHERE meta_key='enclosure'", $from_url, $to_url) );
|
1080 |
+
}
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
/**
|
1084 |
+
* Update _thumbnail_id meta to new, imported attachment IDs
|
1085 |
+
*/
|
1086 |
+
function remap_featured_images() {
|
1087 |
+
// cycle through posts that have a featured image
|
1088 |
+
foreach ( $this->featured_images as $post_id => $value ) {
|
1089 |
+
if ( isset( $this->processed_posts[$value] ) ) {
|
1090 |
+
$new_id = $this->processed_posts[$value];
|
1091 |
+
// only update if there's a difference
|
1092 |
+
if ( $new_id != $value )
|
1093 |
+
update_post_meta( $post_id, '_thumbnail_id', $new_id );
|
1094 |
+
}
|
1095 |
+
}
|
1096 |
+
}
|
1097 |
+
|
1098 |
+
/**
|
1099 |
+
* Parse a WXR file
|
1100 |
+
*
|
1101 |
+
* @param string $file Path to WXR file for parsing
|
1102 |
+
* @return array Information gathered from the WXR file
|
1103 |
+
*/
|
1104 |
+
function parse( $file ) {
|
1105 |
+
$parser = new WXR_Parser();
|
1106 |
+
return $parser->parse( $file );
|
1107 |
+
}
|
1108 |
+
|
1109 |
+
// Display import page title
|
1110 |
+
function header() {
|
1111 |
+
echo '<div class="wrap">';
|
1112 |
+
echo '<h2>' . __( 'Import WordPress', 'wordpress-importer' ) . '</h2>';
|
1113 |
+
|
1114 |
+
$updates = get_plugin_updates();
|
1115 |
+
$basename = plugin_basename(__FILE__);
|
1116 |
+
if ( isset( $updates[$basename] ) ) {
|
1117 |
+
$update = $updates[$basename];
|
1118 |
+
echo '<div class="error"><p><strong>';
|
1119 |
+
printf( __( 'A new version of this importer is available. Please update to version %s to ensure compatibility with newer export files.', 'wordpress-importer' ), $update->update->new_version );
|
1120 |
+
echo '</strong></p></div>';
|
1121 |
+
}
|
1122 |
+
}
|
1123 |
+
|
1124 |
+
// Close div.wrap
|
1125 |
+
function footer() {
|
1126 |
+
echo '</div>';
|
1127 |
+
}
|
1128 |
+
|
1129 |
+
/**
|
1130 |
+
* Display introductory text and file upload form
|
1131 |
+
*/
|
1132 |
+
function greet() {
|
1133 |
+
echo '<div class="narrow">';
|
1134 |
+
echo '<p>'.__( 'Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts, pages, comments, custom fields, categories, and tags into this site.', 'wordpress-importer' ).'</p>';
|
1135 |
+
echo '<p>'.__( 'Choose a WXR (.xml) file to upload, then click Upload file and import.', 'wordpress-importer' ).'</p>';
|
1136 |
+
wp_import_upload_form( 'admin.php?import=wordpress&step=1' );
|
1137 |
+
echo '</div>';
|
1138 |
+
}
|
1139 |
+
|
1140 |
+
/**
|
1141 |
+
* Decide if the given meta key maps to information we will want to import
|
1142 |
+
*
|
1143 |
+
* @param string $key The meta key to check
|
1144 |
+
* @return string|bool The key if we do want to import, false if not
|
1145 |
+
*/
|
1146 |
+
function is_valid_meta_key( $key ) {
|
1147 |
+
// skip attachment metadata since we'll regenerate it from scratch
|
1148 |
+
// skip _edit_lock as not relevant for import
|
1149 |
+
if ( in_array( $key, array( '_wp_attached_file', '_wp_attachment_metadata', '_edit_lock' ) ) )
|
1150 |
+
return false;
|
1151 |
+
return $key;
|
1152 |
+
}
|
1153 |
+
|
1154 |
+
/**
|
1155 |
+
* Decide whether or not the importer is allowed to create users.
|
1156 |
+
* Default is true, can be filtered via import_allow_create_users
|
1157 |
+
*
|
1158 |
+
* @return bool True if creating users is allowed
|
1159 |
+
*/
|
1160 |
+
function allow_create_users() {
|
1161 |
+
return apply_filters( 'import_allow_create_users', true );
|
1162 |
+
}
|
1163 |
+
|
1164 |
+
/**
|
1165 |
+
* Decide whether or not the importer should attempt to download attachment files.
|
1166 |
+
* Default is true, can be filtered via import_allow_fetch_attachments. The choice
|
1167 |
+
* made at the import options screen must also be true, false here hides that checkbox.
|
1168 |
+
*
|
1169 |
+
* @return bool True if downloading attachments is allowed
|
1170 |
+
*/
|
1171 |
+
function allow_fetch_attachments() {
|
1172 |
+
return apply_filters( 'import_allow_fetch_attachments', true );
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
/**
|
1176 |
+
* Decide what the maximum file size for downloaded attachments is.
|
1177 |
+
* Default is 0 (unlimited), can be filtered via import_attachment_size_limit
|
1178 |
+
*
|
1179 |
+
* @return int Maximum attachment file size to import
|
1180 |
+
*/
|
1181 |
+
function max_attachment_size() {
|
1182 |
+
return apply_filters( 'import_attachment_size_limit', 0 );
|
1183 |
+
}
|
1184 |
+
|
1185 |
+
/**
|
1186 |
+
* Added to http_request_timeout filter to force timeout at 60 seconds during import
|
1187 |
+
* @return int 60
|
1188 |
+
*/
|
1189 |
+
function bump_request_timeout( $val ) {
|
1190 |
+
return 60;
|
1191 |
+
}
|
1192 |
+
|
1193 |
+
// return the difference in length between two strings
|
1194 |
+
function cmpr_strlen( $a, $b ) {
|
1195 |
+
return strlen($b) - strlen($a);
|
1196 |
+
}
|
1197 |
+
}
|
1198 |
+
}
|
admin/demo-importer/class-wp-review-demo-importer.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Demo importer
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
class WP_Review_Demo_Importer {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Imports demo.
|
13 |
+
*
|
14 |
+
* @param string $file Import file path.
|
15 |
+
*/
|
16 |
+
public function import( $file ) {
|
17 |
+
add_filter( 'wp_import_post_data_processed', array( $this, 'filter_post_data' ) );
|
18 |
+
$importer = new WP_Import();
|
19 |
+
$importer->import( $file );
|
20 |
+
remove_filter( 'wp_import_post_data_processed', array( $this, 'filter_post_data' ) );
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Filters post data before inserting.
|
25 |
+
*
|
26 |
+
* @param array $post_data Post data.
|
27 |
+
* @return array
|
28 |
+
*/
|
29 |
+
public function filter_post_data( $post_data ) {
|
30 |
+
if ( 'attachment' !== $post_data['post_type'] ) {
|
31 |
+
$post_data['post_status'] = 'draft';
|
32 |
+
}
|
33 |
+
return $post_data;
|
34 |
+
}
|
35 |
+
}
|
admin/demo-importer/parsers.php
ADDED
@@ -0,0 +1,698 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WordPress eXtended RSS file parser implementations
|
4 |
+
*
|
5 |
+
* @package WordPress
|
6 |
+
* @subpackage Importer
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* WordPress Importer class for managing parsing of WXR files.
|
11 |
+
*/
|
12 |
+
class WXR_Parser {
|
13 |
+
function parse( $file ) {
|
14 |
+
// Attempt to use proper XML parsers first
|
15 |
+
if ( extension_loaded( 'simplexml' ) ) {
|
16 |
+
$parser = new WXR_Parser_SimpleXML;
|
17 |
+
$result = $parser->parse( $file );
|
18 |
+
|
19 |
+
// If SimpleXML succeeds or this is an invalid WXR file then return the results
|
20 |
+
if ( ! is_wp_error( $result ) || 'SimpleXML_parse_error' != $result->get_error_code() )
|
21 |
+
return $result;
|
22 |
+
} else if ( extension_loaded( 'xml' ) ) {
|
23 |
+
$parser = new WXR_Parser_XML;
|
24 |
+
$result = $parser->parse( $file );
|
25 |
+
|
26 |
+
// If XMLParser succeeds or this is an invalid WXR file then return the results
|
27 |
+
if ( ! is_wp_error( $result ) || 'XML_parse_error' != $result->get_error_code() )
|
28 |
+
return $result;
|
29 |
+
}
|
30 |
+
|
31 |
+
// We have a malformed XML file, so display the error and fallthrough to regex
|
32 |
+
if ( isset($result) && defined('IMPORT_DEBUG') && IMPORT_DEBUG ) {
|
33 |
+
echo '<pre>';
|
34 |
+
if ( 'SimpleXML_parse_error' == $result->get_error_code() ) {
|
35 |
+
foreach ( $result->get_error_data() as $error )
|
36 |
+
echo $error->line . ':' . $error->column . ' ' . esc_html( $error->message ) . "\n";
|
37 |
+
} else if ( 'XML_parse_error' == $result->get_error_code() ) {
|
38 |
+
$error = $result->get_error_data();
|
39 |
+
echo $error[0] . ':' . $error[1] . ' ' . esc_html( $error[2] );
|
40 |
+
}
|
41 |
+
echo '</pre>';
|
42 |
+
echo '<p><strong>' . __( 'There was an error when reading this WXR file', 'wordpress-importer' ) . '</strong><br />';
|
43 |
+
echo __( 'Details are shown above. The importer will now try again with a different parser...', 'wordpress-importer' ) . '</p>';
|
44 |
+
}
|
45 |
+
|
46 |
+
// use regular expressions if nothing else available or this is bad XML
|
47 |
+
$parser = new WXR_Parser_Regex;
|
48 |
+
return $parser->parse( $file );
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* WXR Parser that makes use of the SimpleXML PHP extension.
|
54 |
+
*/
|
55 |
+
class WXR_Parser_SimpleXML {
|
56 |
+
function parse( $file ) {
|
57 |
+
$authors = $posts = $categories = $tags = $terms = array();
|
58 |
+
|
59 |
+
$internal_errors = libxml_use_internal_errors(true);
|
60 |
+
|
61 |
+
$dom = new DOMDocument;
|
62 |
+
$old_value = null;
|
63 |
+
if ( function_exists( 'libxml_disable_entity_loader' ) ) {
|
64 |
+
$old_value = libxml_disable_entity_loader( true );
|
65 |
+
}
|
66 |
+
$success = $dom->loadXML( file_get_contents( $file ) );
|
67 |
+
if ( ! is_null( $old_value ) ) {
|
68 |
+
libxml_disable_entity_loader( $old_value );
|
69 |
+
}
|
70 |
+
|
71 |
+
if ( ! $success || isset( $dom->doctype ) ) {
|
72 |
+
return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
|
73 |
+
}
|
74 |
+
|
75 |
+
$xml = simplexml_import_dom( $dom );
|
76 |
+
unset( $dom );
|
77 |
+
|
78 |
+
// halt if loading produces an error
|
79 |
+
if ( ! $xml )
|
80 |
+
return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
|
81 |
+
|
82 |
+
$wxr_version = $xml->xpath('/rss/channel/wp:wxr_version');
|
83 |
+
if ( ! $wxr_version )
|
84 |
+
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
85 |
+
|
86 |
+
$wxr_version = (string) trim( $wxr_version[0] );
|
87 |
+
// confirm that we are dealing with the correct file format
|
88 |
+
if ( ! preg_match( '/^\d+\.\d+$/', $wxr_version ) )
|
89 |
+
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
90 |
+
|
91 |
+
$base_url = $xml->xpath('/rss/channel/wp:base_site_url');
|
92 |
+
$base_url = (string) trim( $base_url[0] );
|
93 |
+
|
94 |
+
$namespaces = $xml->getDocNamespaces();
|
95 |
+
if ( ! isset( $namespaces['wp'] ) )
|
96 |
+
$namespaces['wp'] = 'http://wordpress.org/export/1.1/';
|
97 |
+
if ( ! isset( $namespaces['excerpt'] ) )
|
98 |
+
$namespaces['excerpt'] = 'http://wordpress.org/export/1.1/excerpt/';
|
99 |
+
|
100 |
+
// grab authors
|
101 |
+
foreach ( $xml->xpath('/rss/channel/wp:author') as $author_arr ) {
|
102 |
+
$a = $author_arr->children( $namespaces['wp'] );
|
103 |
+
$login = (string) $a->author_login;
|
104 |
+
$authors[$login] = array(
|
105 |
+
'author_id' => (int) $a->author_id,
|
106 |
+
'author_login' => $login,
|
107 |
+
'author_email' => (string) $a->author_email,
|
108 |
+
'author_display_name' => (string) $a->author_display_name,
|
109 |
+
'author_first_name' => (string) $a->author_first_name,
|
110 |
+
'author_last_name' => (string) $a->author_last_name
|
111 |
+
);
|
112 |
+
}
|
113 |
+
|
114 |
+
// grab cats, tags and terms
|
115 |
+
foreach ( $xml->xpath('/rss/channel/wp:category') as $term_arr ) {
|
116 |
+
$t = $term_arr->children( $namespaces['wp'] );
|
117 |
+
$category = array(
|
118 |
+
'term_id' => (int) $t->term_id,
|
119 |
+
'category_nicename' => (string) $t->category_nicename,
|
120 |
+
'category_parent' => (string) $t->category_parent,
|
121 |
+
'cat_name' => (string) $t->cat_name,
|
122 |
+
'category_description' => (string) $t->category_description
|
123 |
+
);
|
124 |
+
|
125 |
+
foreach ( $t->termmeta as $meta ) {
|
126 |
+
$category['termmeta'][] = array(
|
127 |
+
'key' => (string) $meta->meta_key,
|
128 |
+
'value' => (string) $meta->meta_value
|
129 |
+
);
|
130 |
+
}
|
131 |
+
|
132 |
+
$categories[] = $category;
|
133 |
+
}
|
134 |
+
|
135 |
+
foreach ( $xml->xpath('/rss/channel/wp:tag') as $term_arr ) {
|
136 |
+
$t = $term_arr->children( $namespaces['wp'] );
|
137 |
+
$tag = array(
|
138 |
+
'term_id' => (int) $t->term_id,
|
139 |
+
'tag_slug' => (string) $t->tag_slug,
|
140 |
+
'tag_name' => (string) $t->tag_name,
|
141 |
+
'tag_description' => (string) $t->tag_description
|
142 |
+
);
|
143 |
+
|
144 |
+
foreach ( $t->termmeta as $meta ) {
|
145 |
+
$tag['termmeta'][] = array(
|
146 |
+
'key' => (string) $meta->meta_key,
|
147 |
+
'value' => (string) $meta->meta_value
|
148 |
+
);
|
149 |
+
}
|
150 |
+
|
151 |
+
$tags[] = $tag;
|
152 |
+
}
|
153 |
+
|
154 |
+
foreach ( $xml->xpath('/rss/channel/wp:term') as $term_arr ) {
|
155 |
+
$t = $term_arr->children( $namespaces['wp'] );
|
156 |
+
$term = array(
|
157 |
+
'term_id' => (int) $t->term_id,
|
158 |
+
'term_taxonomy' => (string) $t->term_taxonomy,
|
159 |
+
'slug' => (string) $t->term_slug,
|
160 |
+
'term_parent' => (string) $t->term_parent,
|
161 |
+
'term_name' => (string) $t->term_name,
|
162 |
+
'term_description' => (string) $t->term_description
|
163 |
+
);
|
164 |
+
|
165 |
+
foreach ( $t->termmeta as $meta ) {
|
166 |
+
$term['termmeta'][] = array(
|
167 |
+
'key' => (string) $meta->meta_key,
|
168 |
+
'value' => (string) $meta->meta_value
|
169 |
+
);
|
170 |
+
}
|
171 |
+
|
172 |
+
$terms[] = $term;
|
173 |
+
}
|
174 |
+
|
175 |
+
// grab posts
|
176 |
+
foreach ( $xml->channel->item as $item ) {
|
177 |
+
$post = array(
|
178 |
+
'post_title' => (string) $item->title,
|
179 |
+
'guid' => (string) $item->guid,
|
180 |
+
);
|
181 |
+
|
182 |
+
$dc = $item->children( 'http://purl.org/dc/elements/1.1/' );
|
183 |
+
$post['post_author'] = (string) $dc->creator;
|
184 |
+
|
185 |
+
$content = $item->children( 'http://purl.org/rss/1.0/modules/content/' );
|
186 |
+
$excerpt = $item->children( $namespaces['excerpt'] );
|
187 |
+
$post['post_content'] = (string) $content->encoded;
|
188 |
+
$post['post_excerpt'] = (string) $excerpt->encoded;
|
189 |
+
|
190 |
+
$wp = $item->children( $namespaces['wp'] );
|
191 |
+
$post['post_id'] = (int) $wp->post_id;
|
192 |
+
$post['post_date'] = (string) $wp->post_date;
|
193 |
+
$post['post_date_gmt'] = (string) $wp->post_date_gmt;
|
194 |
+
$post['comment_status'] = (string) $wp->comment_status;
|
195 |
+
$post['ping_status'] = (string) $wp->ping_status;
|
196 |
+
$post['post_name'] = (string) $wp->post_name;
|
197 |
+
$post['status'] = (string) $wp->status;
|
198 |
+
$post['post_parent'] = (int) $wp->post_parent;
|
199 |
+
$post['menu_order'] = (int) $wp->menu_order;
|
200 |
+
$post['post_type'] = (string) $wp->post_type;
|
201 |
+
$post['post_password'] = (string) $wp->post_password;
|
202 |
+
$post['is_sticky'] = (int) $wp->is_sticky;
|
203 |
+
|
204 |
+
if ( isset($wp->attachment_url) )
|
205 |
+
$post['attachment_url'] = (string) $wp->attachment_url;
|
206 |
+
|
207 |
+
foreach ( $item->category as $c ) {
|
208 |
+
$att = $c->attributes();
|
209 |
+
if ( isset( $att['nicename'] ) )
|
210 |
+
$post['terms'][] = array(
|
211 |
+
'name' => (string) $c,
|
212 |
+
'slug' => (string) $att['nicename'],
|
213 |
+
'domain' => (string) $att['domain']
|
214 |
+
);
|
215 |
+
}
|
216 |
+
|
217 |
+
foreach ( $wp->postmeta as $meta ) {
|
218 |
+
$post['postmeta'][] = array(
|
219 |
+
'key' => (string) $meta->meta_key,
|
220 |
+
'value' => (string) $meta->meta_value
|
221 |
+
);
|
222 |
+
}
|
223 |
+
|
224 |
+
foreach ( $wp->comment as $comment ) {
|
225 |
+
$meta = array();
|
226 |
+
if ( isset( $comment->commentmeta ) ) {
|
227 |
+
foreach ( $comment->commentmeta as $m ) {
|
228 |
+
$meta[] = array(
|
229 |
+
'key' => (string) $m->meta_key,
|
230 |
+
'value' => (string) $m->meta_value
|
231 |
+
);
|
232 |
+
}
|
233 |
+
}
|
234 |
+
|
235 |
+
$post['comments'][] = array(
|
236 |
+
'comment_id' => (int) $comment->comment_id,
|
237 |
+
'comment_author' => (string) $comment->comment_author,
|
238 |
+
'comment_author_email' => (string) $comment->comment_author_email,
|
239 |
+
'comment_author_IP' => (string) $comment->comment_author_IP,
|
240 |
+
'comment_author_url' => (string) $comment->comment_author_url,
|
241 |
+
'comment_date' => (string) $comment->comment_date,
|
242 |
+
'comment_date_gmt' => (string) $comment->comment_date_gmt,
|
243 |
+
'comment_content' => (string) $comment->comment_content,
|
244 |
+
'comment_approved' => (string) $comment->comment_approved,
|
245 |
+
'comment_type' => (string) $comment->comment_type,
|
246 |
+
'comment_parent' => (string) $comment->comment_parent,
|
247 |
+
'comment_user_id' => (int) $comment->comment_user_id,
|
248 |
+
'commentmeta' => $meta,
|
249 |
+
);
|
250 |
+
}
|
251 |
+
|
252 |
+
$posts[] = $post;
|
253 |
+
}
|
254 |
+
|
255 |
+
return array(
|
256 |
+
'authors' => $authors,
|
257 |
+
'posts' => $posts,
|
258 |
+
'categories' => $categories,
|
259 |
+
'tags' => $tags,
|
260 |
+
'terms' => $terms,
|
261 |
+
'base_url' => $base_url,
|
262 |
+
'version' => $wxr_version
|
263 |
+
);
|
264 |
+
}
|
265 |
+
}
|
266 |
+
|
267 |
+
/**
|
268 |
+
* WXR Parser that makes use of the XML Parser PHP extension.
|
269 |
+
*/
|
270 |
+
class WXR_Parser_XML {
|
271 |
+
var $wp_tags = array(
|
272 |
+
'wp:post_id', 'wp:post_date', 'wp:post_date_gmt', 'wp:comment_status', 'wp:ping_status', 'wp:attachment_url',
|
273 |
+
'wp:status', 'wp:post_name', 'wp:post_parent', 'wp:menu_order', 'wp:post_type', 'wp:post_password',
|
274 |
+
'wp:is_sticky', 'wp:term_id', 'wp:category_nicename', 'wp:category_parent', 'wp:cat_name', 'wp:category_description',
|
275 |
+
'wp:tag_slug', 'wp:tag_name', 'wp:tag_description', 'wp:term_taxonomy', 'wp:term_parent',
|
276 |
+
'wp:term_name', 'wp:term_description', 'wp:author_id', 'wp:author_login', 'wp:author_email', 'wp:author_display_name',
|
277 |
+
'wp:author_first_name', 'wp:author_last_name',
|
278 |
+
);
|
279 |
+
var $wp_sub_tags = array(
|
280 |
+
'wp:comment_id', 'wp:comment_author', 'wp:comment_author_email', 'wp:comment_author_url',
|
281 |
+
'wp:comment_author_IP', 'wp:comment_date', 'wp:comment_date_gmt', 'wp:comment_content',
|
282 |
+
'wp:comment_approved', 'wp:comment_type', 'wp:comment_parent', 'wp:comment_user_id',
|
283 |
+
);
|
284 |
+
|
285 |
+
function parse( $file ) {
|
286 |
+
$this->wxr_version = $this->in_post = $this->cdata = $this->data = $this->sub_data = $this->in_tag = $this->in_sub_tag = false;
|
287 |
+
$this->authors = $this->posts = $this->term = $this->category = $this->tag = array();
|
288 |
+
|
289 |
+
$xml = xml_parser_create( 'UTF-8' );
|
290 |
+
xml_parser_set_option( $xml, XML_OPTION_SKIP_WHITE, 1 );
|
291 |
+
xml_parser_set_option( $xml, XML_OPTION_CASE_FOLDING, 0 );
|
292 |
+
xml_set_object( $xml, $this );
|
293 |
+
xml_set_character_data_handler( $xml, 'cdata' );
|
294 |
+
xml_set_element_handler( $xml, 'tag_open', 'tag_close' );
|
295 |
+
|
296 |
+
if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
|
297 |
+
$current_line = xml_get_current_line_number( $xml );
|
298 |
+
$current_column = xml_get_current_column_number( $xml );
|
299 |
+
$error_code = xml_get_error_code( $xml );
|
300 |
+
$error_string = xml_error_string( $error_code );
|
301 |
+
return new WP_Error( 'XML_parse_error', 'There was an error when reading this WXR file', array( $current_line, $current_column, $error_string ) );
|
302 |
+
}
|
303 |
+
xml_parser_free( $xml );
|
304 |
+
|
305 |
+
if ( ! preg_match( '/^\d+\.\d+$/', $this->wxr_version ) )
|
306 |
+
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
307 |
+
|
308 |
+
return array(
|
309 |
+
'authors' => $this->authors,
|
310 |
+
'posts' => $this->posts,
|
311 |
+
'categories' => $this->category,
|
312 |
+
'tags' => $this->tag,
|
313 |
+
'terms' => $this->term,
|
314 |
+
'base_url' => $this->base_url,
|
315 |
+
'version' => $this->wxr_version
|
316 |
+
);
|
317 |
+
}
|
318 |
+
|
319 |
+
function tag_open( $parse, $tag, $attr ) {
|
320 |
+
if ( in_array( $tag, $this->wp_tags ) ) {
|
321 |
+
$this->in_tag = substr( $tag, 3 );
|
322 |
+
return;
|
323 |
+
}
|
324 |
+
|
325 |
+
if ( in_array( $tag, $this->wp_sub_tags ) ) {
|
326 |
+
$this->in_sub_tag = substr( $tag, 3 );
|
327 |
+
return;
|
328 |
+
}
|
329 |
+
|
330 |
+
switch ( $tag ) {
|
331 |
+
case 'category':
|
332 |
+
if ( isset($attr['domain'], $attr['nicename']) ) {
|
333 |
+
$this->sub_data['domain'] = $attr['domain'];
|
334 |
+
$this->sub_data['slug'] = $attr['nicename'];
|
335 |
+
}
|
336 |
+
break;
|
337 |
+
case 'item': $this->in_post = true;
|
338 |
+
case 'title': if ( $this->in_post ) $this->in_tag = 'post_title'; break;
|
339 |
+
case 'guid': $this->in_tag = 'guid'; break;
|
340 |
+
case 'dc:creator': $this->in_tag = 'post_author'; break;
|
341 |
+
case 'content:encoded': $this->in_tag = 'post_content'; break;
|
342 |
+
case 'excerpt:encoded': $this->in_tag = 'post_excerpt'; break;
|
343 |
+
|
344 |
+
case 'wp:term_slug': $this->in_tag = 'slug'; break;
|
345 |
+
case 'wp:meta_key': $this->in_sub_tag = 'key'; break;
|
346 |
+
case 'wp:meta_value': $this->in_sub_tag = 'value'; break;
|
347 |
+
}
|
348 |
+
}
|
349 |
+
|
350 |
+
function cdata( $parser, $cdata ) {
|
351 |
+
if ( ! trim( $cdata ) )
|
352 |
+
return;
|
353 |
+
|
354 |
+
if ( false !== $this->in_tag || false !== $this->in_sub_tag ) {
|
355 |
+
$this->cdata .= $cdata;
|
356 |
+
} else {
|
357 |
+
$this->cdata .= trim( $cdata );
|
358 |
+
}
|
359 |
+
}
|
360 |
+
|
361 |
+
function tag_close( $parser, $tag ) {
|
362 |
+
switch ( $tag ) {
|
363 |
+
case 'wp:comment':
|
364 |
+
unset( $this->sub_data['key'], $this->sub_data['value'] ); // remove meta sub_data
|
365 |
+
if ( ! empty( $this->sub_data ) )
|
366 |
+
$this->data['comments'][] = $this->sub_data;
|
367 |
+
$this->sub_data = false;
|
368 |
+
break;
|
369 |
+
case 'wp:commentmeta':
|
370 |
+
$this->sub_data['commentmeta'][] = array(
|
371 |
+
'key' => $this->sub_data['key'],
|
372 |
+
'value' => $this->sub_data['value']
|
373 |
+
);
|
374 |
+
break;
|
375 |
+
case 'category':
|
376 |
+
if ( ! empty( $this->sub_data ) ) {
|
377 |
+
$this->sub_data['name'] = $this->cdata;
|
378 |
+
$this->data['terms'][] = $this->sub_data;
|
379 |
+
}
|
380 |
+
$this->sub_data = false;
|
381 |
+
break;
|
382 |
+
case 'wp:postmeta':
|
383 |
+
if ( ! empty( $this->sub_data ) )
|
384 |
+
$this->data['postmeta'][] = $this->sub_data;
|
385 |
+
$this->sub_data = false;
|
386 |
+
break;
|
387 |
+
case 'item':
|
388 |
+
$this->posts[] = $this->data;
|
389 |
+
$this->data = false;
|
390 |
+
break;
|
391 |
+
case 'wp:category':
|
392 |
+
case 'wp:tag':
|
393 |
+
case 'wp:term':
|
394 |
+
$n = substr( $tag, 3 );
|
395 |
+
array_push( $this->$n, $this->data );
|
396 |
+
$this->data = false;
|
397 |
+
break;
|
398 |
+
case 'wp:author':
|
399 |
+
if ( ! empty($this->data['author_login']) )
|
400 |
+
$this->authors[$this->data['author_login']] = $this->data;
|
401 |
+
$this->data = false;
|
402 |
+
break;
|
403 |
+
case 'wp:base_site_url':
|
404 |
+
$this->base_url = $this->cdata;
|
405 |
+
break;
|
406 |
+
case 'wp:wxr_version':
|
407 |
+
$this->wxr_version = $this->cdata;
|
408 |
+
break;
|
409 |
+
|
410 |
+
default:
|
411 |
+
if ( $this->in_sub_tag ) {
|
412 |
+
$this->sub_data[$this->in_sub_tag] = ! empty( $this->cdata ) ? $this->cdata : '';
|
413 |
+
$this->in_sub_tag = false;
|
414 |
+
} else if ( $this->in_tag ) {
|
415 |
+
$this->data[$this->in_tag] = ! empty( $this->cdata ) ? $this->cdata : '';
|
416 |
+
$this->in_tag = false;
|
417 |
+
}
|
418 |
+
}
|
419 |
+
|
420 |
+
$this->cdata = false;
|
421 |
+
}
|
422 |
+
}
|
423 |
+
|
424 |
+
/**
|
425 |
+
* WXR Parser that uses regular expressions. Fallback for installs without an XML parser.
|
426 |
+
*/
|
427 |
+
class WXR_Parser_Regex {
|
428 |
+
var $authors = array();
|
429 |
+
var $posts = array();
|
430 |
+
var $categories = array();
|
431 |
+
var $tags = array();
|
432 |
+
var $terms = array();
|
433 |
+
var $base_url = '';
|
434 |
+
|
435 |
+
function __construct() {
|
436 |
+
$this->has_gzip = is_callable( 'gzopen' );
|
437 |
+
}
|
438 |
+
|
439 |
+
function parse( $file ) {
|
440 |
+
$wxr_version = $in_multiline = false;
|
441 |
+
|
442 |
+
$multiline_content = '';
|
443 |
+
|
444 |
+
$multiline_tags = array(
|
445 |
+
'item' => array( 'posts', array( $this, 'process_post' ) ),
|
446 |
+
'wp:category' => array( 'categories', array( $this, 'process_category' ) ),
|
447 |
+
'wp:tag' => array( 'tags', array( $this, 'process_tag' ) ),
|
448 |
+
'wp:term' => array( 'terms', array( $this, 'process_term' ) ),
|
449 |
+
);
|
450 |
+
|
451 |
+
$fp = $this->fopen( $file, 'r' );
|
452 |
+
if ( $fp ) {
|
453 |
+
while ( ! $this->feof( $fp ) ) {
|
454 |
+
$importline = rtrim( $this->fgets( $fp ) );
|
455 |
+
|
456 |
+
if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) )
|
457 |
+
$wxr_version = $version[1];
|
458 |
+
|
459 |
+
if ( false !== strpos( $importline, '<wp:base_site_url>' ) ) {
|
460 |
+
preg_match( '|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url );
|
461 |
+
$this->base_url = $url[1];
|
462 |
+
continue;
|
463 |
+
}
|
464 |
+
|
465 |
+
if ( false !== strpos( $importline, '<wp:author>' ) ) {
|
466 |
+
preg_match( '|<wp:author>(.*?)</wp:author>|is', $importline, $author );
|
467 |
+
$a = $this->process_author( $author[1] );
|
468 |
+
$this->authors[$a['author_login']] = $a;
|
469 |
+
continue;
|
470 |
+
}
|
471 |
+
|
472 |
+
foreach ( $multiline_tags as $tag => $handler ) {
|
473 |
+
// Handle multi-line tags on a singular line
|
474 |
+
if ( preg_match( '|<' . $tag . '>(.*?)</' . $tag . '>|is', $importline, $matches ) ) {
|
475 |
+
$this->{$handler[0]}[] = call_user_func( $handler[1], $matches[1] );
|
476 |
+
|
477 |
+
} elseif ( false !== ( $pos = strpos( $importline, "<$tag>" ) ) ) {
|
478 |
+
// Take note of any content after the opening tag
|
479 |
+
$multiline_content = trim( substr( $importline, $pos + strlen( $tag ) + 2 ) );
|
480 |
+
|
481 |
+
// We don't want to have this line added to `$is_multiline` below.
|
482 |
+
$importline = '';
|
483 |
+
$in_multiline = $tag;
|
484 |
+
|
485 |
+
} elseif ( false !== ( $pos = strpos( $importline, "</$tag>" ) ) ) {
|
486 |
+
$in_multiline = false;
|
487 |
+
$multiline_content .= trim( substr( $importline, 0, $pos ) );
|
488 |
+
|
489 |
+
$this->{$handler[0]}[] = call_user_func( $handler[1], $multiline_content );
|
490 |
+
}
|
491 |
+
}
|
492 |
+
|
493 |
+
if ( $in_multiline && $importline ) {
|
494 |
+
$multiline_content .= $importline . "\n";
|
495 |
+
}
|
496 |
+
}
|
497 |
+
|
498 |
+
$this->fclose($fp);
|
499 |
+
}
|
500 |
+
|
501 |
+
if ( ! $wxr_version )
|
502 |
+
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
503 |
+
|
504 |
+
return array(
|
505 |
+
'authors' => $this->authors,
|
506 |
+
'posts' => $this->posts,
|
507 |
+
'categories' => $this->categories,
|
508 |
+
'tags' => $this->tags,
|
509 |
+
'terms' => $this->terms,
|
510 |
+
'base_url' => $this->base_url,
|
511 |
+
'version' => $wxr_version
|
512 |
+
);
|
513 |
+
}
|
514 |
+
|
515 |
+
function get_tag( $string, $tag ) {
|
516 |
+
preg_match( "|<$tag.*?>(.*?)</$tag>|is", $string, $return );
|
517 |
+
if ( isset( $return[1] ) ) {
|
518 |
+
if ( substr( $return[1], 0, 9 ) == '<![CDATA[' ) {
|
519 |
+
if ( strpos( $return[1], ']]]]><![CDATA[>' ) !== false ) {
|
520 |
+
preg_match_all( '|<!\[CDATA\[(.*?)\]\]>|s', $return[1], $matches );
|
521 |
+
$return = '';
|
522 |
+
foreach( $matches[1] as $match )
|
523 |
+
$return .= $match;
|
524 |
+
} else {
|
525 |
+
$return = preg_replace( '|^<!\[CDATA\[(.*)\]\]>$|s', '$1', $return[1] );
|
526 |
+
}
|
527 |
+
} else {
|
528 |
+
$return = $return[1];
|
529 |
+
}
|
530 |
+
} else {
|
531 |
+
$return = '';
|
532 |
+
}
|
533 |
+
return $return;
|
534 |
+
}
|
535 |
+
|
536 |
+
function process_category( $c ) {
|
537 |
+
return array(
|
538 |
+
'term_id' => $this->get_tag( $c, 'wp:term_id' ),
|
539 |
+
'cat_name' => $this->get_tag( $c, 'wp:cat_name' ),
|
540 |
+
'category_nicename' => $this->get_tag( $c, 'wp:category_nicename' ),
|
541 |
+
'category_parent' => $this->get_tag( $c, 'wp:category_parent' ),
|
542 |
+
'category_description' => $this->get_tag( $c, 'wp:category_description' ),
|
543 |
+
);
|
544 |
+
}
|
545 |
+
|
546 |
+
function process_tag( $t ) {
|
547 |
+
return array(
|
548 |
+
'term_id' => $this->get_tag( $t, 'wp:term_id' ),
|
549 |
+
'tag_name' => $this->get_tag( $t, 'wp:tag_name' ),
|
550 |
+
'tag_slug' => $this->get_tag( $t, 'wp:tag_slug' ),
|
551 |
+
'tag_description' => $this->get_tag( $t, 'wp:tag_description' ),
|
552 |
+
);
|
553 |
+
}
|
554 |
+
|
555 |
+
function process_term( $t ) {
|
556 |
+
return array(
|
557 |
+
'term_id' => $this->get_tag( $t, 'wp:term_id' ),
|
558 |
+
'term_taxonomy' => $this->get_tag( $t, 'wp:term_taxonomy' ),
|
559 |
+
'slug' => $this->get_tag( $t, 'wp:term_slug' ),
|
560 |
+
'term_parent' => $this->get_tag( $t, 'wp:term_parent' ),
|
561 |
+
'term_name' => $this->get_tag( $t, 'wp:term_name' ),
|
562 |
+
'term_description' => $this->get_tag( $t, 'wp:term_description' ),
|
563 |
+
);
|
564 |
+
}
|
565 |
+
|
566 |
+
function process_author( $a ) {
|
567 |
+
return array(
|
568 |
+
'author_id' => $this->get_tag( $a, 'wp:author_id' ),
|
569 |
+
'author_login' => $this->get_tag( $a, 'wp:author_login' ),
|
570 |
+
'author_email' => $this->get_tag( $a, 'wp:author_email' ),
|
571 |
+
'author_display_name' => $this->get_tag( $a, 'wp:author_display_name' ),
|
572 |
+
'author_first_name' => $this->get_tag( $a, 'wp:author_first_name' ),
|
573 |
+
'author_last_name' => $this->get_tag( $a, 'wp:author_last_name' ),
|
574 |
+
);
|
575 |
+
}
|
576 |
+
|
577 |
+
function process_post( $post ) {
|
578 |
+
$post_id = $this->get_tag( $post, 'wp:post_id' );
|
579 |
+
$post_title = $this->get_tag( $post, 'title' );
|
580 |
+
$post_date = $this->get_tag( $post, 'wp:post_date' );
|
581 |
+
$post_date_gmt = $this->get_tag( $post, 'wp:post_date_gmt' );
|
582 |
+
$comment_status = $this->get_tag( $post, 'wp:comment_status' );
|
583 |
+
$ping_status = $this->get_tag( $post, 'wp:ping_status' );
|
584 |
+
$status = $this->get_tag( $post, 'wp:status' );
|
585 |
+
$post_name = $this->get_tag( $post, 'wp:post_name' );
|
586 |
+
$post_parent = $this->get_tag( $post, 'wp:post_parent' );
|
587 |
+
$menu_order = $this->get_tag( $post, 'wp:menu_order' );
|
588 |
+
$post_type = $this->get_tag( $post, 'wp:post_type' );
|
589 |
+
$post_password = $this->get_tag( $post, 'wp:post_password' );
|
590 |
+
$is_sticky = $this->get_tag( $post, 'wp:is_sticky' );
|
591 |
+
$guid = $this->get_tag( $post, 'guid' );
|
592 |
+
$post_author = $this->get_tag( $post, 'dc:creator' );
|
593 |
+
|
594 |
+
$post_excerpt = $this->get_tag( $post, 'excerpt:encoded' );
|
595 |
+
$post_excerpt = preg_replace_callback( '|<(/?[A-Z]+)|', array( &$this, '_normalize_tag' ), $post_excerpt );
|
596 |
+
$post_excerpt = str_replace( '<br>', '<br />', $post_excerpt );
|
597 |
+
$post_excerpt = str_replace( '<hr>', '<hr />', $post_excerpt );
|
598 |
+
|
599 |
+
$post_content = $this->get_tag( $post, 'content:encoded' );
|
600 |
+
$post_content = preg_replace_callback( '|<(/?[A-Z]+)|', array( &$this, '_normalize_tag' ), $post_content );
|
601 |
+
$post_content = str_replace( '<br>', '<br />', $post_content );
|
602 |
+
$post_content = str_replace( '<hr>', '<hr />', $post_content );
|
603 |
+
|
604 |
+
$postdata = compact( 'post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_excerpt',
|
605 |
+
'post_title', 'status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent',
|
606 |
+
'menu_order', 'post_type', 'post_password', 'is_sticky'
|
607 |
+
);
|
608 |
+
|
609 |
+
$attachment_url = $this->get_tag( $post, 'wp:attachment_url' );
|
610 |
+
if ( $attachment_url )
|
611 |
+
$postdata['attachment_url'] = $attachment_url;
|
612 |
+
|
613 |
+
preg_match_all( '|<category domain="([^"]+?)" nicename="([^"]+?)">(.+?)</category>|is', $post, $terms, PREG_SET_ORDER );
|
614 |
+
foreach ( $terms as $t ) {
|
615 |
+
$post_terms[] = array(
|
616 |
+
'slug' => $t[2],
|
617 |
+
'domain' => $t[1],
|
618 |
+
'name' => str_replace( array( '<![CDATA[', ']]>' ), '', $t[3] ),
|
619 |
+
);
|
620 |
+
}
|
621 |
+
if ( ! empty( $post_terms ) ) $postdata['terms'] = $post_terms;
|
622 |
+
|
623 |
+
preg_match_all( '|<wp:comment>(.+?)</wp:comment>|is', $post, $comments );
|
624 |
+
$comments = $comments[1];
|
625 |
+
if ( $comments ) {
|
626 |
+
foreach ( $comments as $comment ) {
|
627 |
+
preg_match_all( '|<wp:commentmeta>(.+?)</wp:commentmeta>|is', $comment, $commentmeta );
|
628 |
+
$commentmeta = $commentmeta[1];
|
629 |
+
$c_meta = array();
|
630 |
+
foreach ( $commentmeta as $m ) {
|
631 |
+
$c_meta[] = array(
|
632 |
+
'key' => $this->get_tag( $m, 'wp:meta_key' ),
|
633 |
+
'value' => $this->get_tag( $m, 'wp:meta_value' ),
|
634 |
+
);
|
635 |
+
}
|
636 |
+
|
637 |
+
$post_comments[] = array(
|
638 |
+
'comment_id' => $this->get_tag( $comment, 'wp:comment_id' ),
|
639 |
+
'comment_author' => $this->get_tag( $comment, 'wp:comment_author' ),
|
640 |
+
'comment_author_email' => $this->get_tag( $comment, 'wp:comment_author_email' ),
|
641 |
+
'comment_author_IP' => $this->get_tag( $comment, 'wp:comment_author_IP' ),
|
642 |
+
'comment_author_url' => $this->get_tag( $comment, 'wp:comment_author_url' ),
|
643 |
+
'comment_date' => $this->get_tag( $comment, 'wp:comment_date' ),
|
644 |
+
'comment_date_gmt' => $this->get_tag( $comment, 'wp:comment_date_gmt' ),
|
645 |
+
'comment_content' => $this->get_tag( $comment, 'wp:comment_content' ),
|
646 |
+
'comment_approved' => $this->get_tag( $comment, 'wp:comment_approved' ),
|
647 |
+
'comment_type' => $this->get_tag( $comment, 'wp:comment_type' ),
|
648 |
+
'comment_parent' => $this->get_tag( $comment, 'wp:comment_parent' ),
|
649 |
+
'comment_user_id' => $this->get_tag( $comment, 'wp:comment_user_id' ),
|
650 |
+
'commentmeta' => $c_meta,
|
651 |
+
);
|
652 |
+
}
|
653 |
+
}
|
654 |
+
if ( ! empty( $post_comments ) ) $postdata['comments'] = $post_comments;
|
655 |
+
|
656 |
+
preg_match_all( '|<wp:postmeta>(.+?)</wp:postmeta>|is', $post, $postmeta );
|
657 |
+
$postmeta = $postmeta[1];
|
658 |
+
if ( $postmeta ) {
|
659 |
+
foreach ( $postmeta as $p ) {
|
660 |
+
$post_postmeta[] = array(
|
661 |
+
'key' => $this->get_tag( $p, 'wp:meta_key' ),
|
662 |
+
'value' => $this->get_tag( $p, 'wp:meta_value' ),
|
663 |
+
);
|
664 |
+
}
|
665 |
+
}
|
666 |
+
if ( ! empty( $post_postmeta ) ) $postdata['postmeta'] = $post_postmeta;
|
667 |
+
|
668 |
+
return $postdata;
|
669 |
+
}
|
670 |
+
|
671 |
+
function _normalize_tag( $matches ) {
|
672 |
+
return '<' . strtolower( $matches[1] );
|
673 |
+
}
|
674 |
+
|
675 |
+
function fopen( $filename, $mode = 'r' ) {
|
676 |
+
if ( $this->has_gzip )
|
677 |
+
return gzopen( $filename, $mode );
|
678 |
+
return fopen( $filename, $mode );
|
679 |
+
}
|
680 |
+
|
681 |
+
function feof( $fp ) {
|
682 |
+
if ( $this->has_gzip )
|
683 |
+
return gzeof( $fp );
|
684 |
+
return feof( $fp );
|
685 |
+
}
|
686 |
+
|
687 |
+
function fgets( $fp, $len = 8192 ) {
|
688 |
+
if ( $this->has_gzip )
|
689 |
+
return gzgets( $fp, $len );
|
690 |
+
return fgets( $fp, $len );
|
691 |
+
}
|
692 |
+
|
693 |
+
function fclose( $fp ) {
|
694 |
+
if ( $this->has_gzip )
|
695 |
+
return gzclose( $fp );
|
696 |
+
return fclose( $fp );
|
697 |
+
}
|
698 |
+
}
|
admin/font-awesome-icons.php
ADDED
@@ -0,0 +1,685 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* List of font awesome icons
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
return array(
|
10 |
+
'fa fa-star' => array( 'unicode' => '\f005', 'name' => 'Star' ),
|
11 |
+
'fa fa-500px' => array( 'unicode' => '\f26e', 'name' => '500px' ),
|
12 |
+
'fa fa-address-book' => array( 'unicode' => '\f2b9', 'name' => 'Address book' ),
|
13 |
+
'fa fa-address-book-o' => array( 'unicode' => '\f2ba', 'name' => 'Address book o' ),
|
14 |
+
'fa fa-address-card' => array( 'unicode' => '\f2bb', 'name' => 'Address card' ),
|
15 |
+
'fa fa-address-card-o' => array( 'unicode' => '\f2bc', 'name' => 'Address card o' ),
|
16 |
+
'fa fa-adjust' => array( 'unicode' => '\f042', 'name' => 'Adjust' ),
|
17 |
+
'fa fa-adn' => array( 'unicode' => '\f170', 'name' => 'Adn' ),
|
18 |
+
'fa fa-align-center' => array( 'unicode' => '\f037', 'name' => 'Align center' ),
|
19 |
+
'fa fa-align-justify' => array( 'unicode' => '\f039', 'name' => 'Align justify' ),
|
20 |
+
'fa fa-align-left' => array( 'unicode' => '\f036', 'name' => 'Align left' ),
|
21 |
+
'fa fa-align-right' => array( 'unicode' => '\f038', 'name' => 'Align right' ),
|
22 |
+
'fa fa-amazon' => array( 'unicode' => '\f270', 'name' => 'Amazon' ),
|
23 |
+
'fa fa-ambulance' => array( 'unicode' => '\f0f9', 'name' => 'Ambulance' ),
|
24 |
+
'fa fa-american-sign-language-interpreting' => array( 'unicode' => '\f2a3', 'name' => 'American sign language interpreting' ),
|
25 |
+
'fa fa-anchor' => array( 'unicode' => '\f13d', 'name' => 'Anchor' ),
|
26 |
+
'fa fa-android' => array( 'unicode' => '\f17b', 'name' => 'Android' ),
|
27 |
+
'fa fa-angellist' => array( 'unicode' => '\f209', 'name' => 'Angellist' ),
|
28 |
+
'fa fa-angle-double-down' => array( 'unicode' => '\f103', 'name' => 'Angle double down' ),
|
29 |
+
'fa fa-angle-double-left' => array( 'unicode' => '\f100', 'name' => 'Angle double left' ),
|
30 |
+
'fa fa-angle-double-right' => array( 'unicode' => '\f101', 'name' => 'Angle double right' ),
|
31 |
+
'fa fa-angle-double-up' => array( 'unicode' => '\f102', 'name' => 'Angle double up' ),
|
32 |
+
'fa fa-angle-down' => array( 'unicode' => '\f107', 'name' => 'Angle down' ),
|
33 |
+
'fa fa-angle-left' => array( 'unicode' => '\f104', 'name' => 'Angle left' ),
|
34 |
+
'fa fa-angle-right' => array( 'unicode' => '\f105', 'name' => 'Angle right' ),
|
35 |
+
'fa fa-angle-up' => array( 'unicode' => '\f106', 'name' => 'Angle up' ),
|
36 |
+
'fa fa-apple' => array( 'unicode' => '\f179', 'name' => 'Apple' ),
|
37 |
+
'fa fa-archive' => array( 'unicode' => '\f187', 'name' => 'Archive' ),
|
38 |
+
'fa fa-area-chart' => array( 'unicode' => '\f1fe', 'name' => 'Area chart' ),
|
39 |
+
'fa fa-arrow-circle-down' => array( 'unicode' => '\f0ab', 'name' => 'Arrow circle down' ),
|
40 |
+
'fa fa-arrow-circle-left' => array( 'unicode' => '\f0a8', 'name' => 'Arrow circle left' ),
|
41 |
+
'fa fa-arrow-circle-o-down' => array( 'unicode' => '\f01a', 'name' => 'Arrow circle o down' ),
|
42 |
+
'fa fa-arrow-circle-o-left' => array( 'unicode' => '\f190', 'name' => 'Arrow circle o left' ),
|
43 |
+
'fa fa-arrow-circle-o-right' => array( 'unicode' => '\f18e', 'name' => 'Arrow circle o right' ),
|
44 |
+
'fa fa-arrow-circle-o-up' => array( 'unicode' => '\f01b', 'name' => 'Arrow circle o up' ),
|
45 |
+
'fa fa-arrow-circle-right' => array( 'unicode' => '\f0a9', 'name' => 'Arrow circle right' ),
|
46 |
+
'fa fa-arrow-circle-up' => array( 'unicode' => '\f0aa', 'name' => 'Arrow circle up' ),
|
47 |
+
'fa fa-arrow-down' => array( 'unicode' => '\f063', 'name' => 'Arrow down' ),
|
48 |
+
'fa fa-arrow-left' => array( 'unicode' => '\f060', 'name' => 'Arrow left' ),
|
49 |
+
'fa fa-arrow-right' => array( 'unicode' => '\f061', 'name' => 'Arrow right' ),
|
50 |
+
'fa fa-arrow-up' => array( 'unicode' => '\f062', 'name' => 'Arrow up' ),
|
51 |
+
'fa fa-arrows' => array( 'unicode' => '\f047', 'name' => 'Arrows' ),
|
52 |
+
'fa fa-arrows-alt' => array( 'unicode' => '\f0b2', 'name' => 'Arrows alt' ),
|
53 |
+
'fa fa-arrows-h' => array( 'unicode' => '\f07e', 'name' => 'Arrows h' ),
|
54 |
+
'fa fa-arrows-v' => array( 'unicode' => '\f07d', 'name' => 'Arrows v' ),
|
55 |
+
'fa fa-assistive-listening-systems' => array( 'unicode' => '\f2a2', 'name' => 'Assistive listening systems' ),
|
56 |
+
'fa fa-asterisk' => array( 'unicode' => '\f069', 'name' => 'Asterisk' ),
|
57 |
+
'fa fa-at' => array( 'unicode' => '\f1fa', 'name' => 'At' ),
|
58 |
+
'fa fa-audio-description' => array( 'unicode' => '\f29e', 'name' => 'Audio description' ),
|
59 |
+
'fa fa-backward' => array( 'unicode' => '\f04a', 'name' => 'Backward' ),
|
60 |
+
'fa fa-balance-scale' => array( 'unicode' => '\f24e', 'name' => 'Balance scale' ),
|
61 |
+
'fa fa-ban' => array( 'unicode' => '\f05e', 'name' => 'Ban' ),
|
62 |
+
'fa fa-bandcamp' => array( 'unicode' => '\f2d5', 'name' => 'Bandcamp' ),
|
63 |
+
'fa fa-bar-chart' => array( 'unicode' => '\f080', 'name' => 'Bar chart' ),
|
64 |
+
'fa fa-barcode' => array( 'unicode' => '\f02a', 'name' => 'Barcode' ),
|
65 |
+
'fa fa-bars' => array( 'unicode' => '\f0c9', 'name' => 'Bars' ),
|
66 |
+
'fa fa-bath' => array( 'unicode' => '\f2cd', 'name' => 'Bath' ),
|
67 |
+
'fa fa-battery-empty' => array( 'unicode' => '\f244', 'name' => 'Battery empty' ),
|
68 |
+
'fa fa-battery-full' => array( 'unicode' => '\f240', 'name' => 'Battery full' ),
|
69 |
+
'fa fa-battery-half' => array( 'unicode' => '\f242', 'name' => 'Battery half' ),
|
70 |
+
'fa fa-battery-quarter' => array( 'unicode' => '\f243', 'name' => 'Battery quarter' ),
|
71 |
+
'fa fa-battery-three-quarters' => array( 'unicode' => '\f241', 'name' => 'Battery three quarters' ),
|
72 |
+
'fa fa-bed' => array( 'unicode' => '\f236', 'name' => 'Bed' ),
|
73 |
+
'fa fa-beer' => array( 'unicode' => '\f0fc', 'name' => 'Beer' ),
|
74 |
+
'fa fa-behance' => array( 'unicode' => '\f1b4', 'name' => 'Behance' ),
|
75 |
+
'fa fa-behance-square' => array( 'unicode' => '\f1b5', 'name' => 'Behance square' ),
|
76 |
+
'fa fa-bell' => array( 'unicode' => '\f0f3', 'name' => 'Bell' ),
|
77 |
+
'fa fa-bell-o' => array( 'unicode' => '\f0a2', 'name' => 'Bell o' ),
|
78 |
+
'fa fa-bell-slash' => array( 'unicode' => '\f1f6', 'name' => 'Bell slash' ),
|
79 |
+
'fa fa-bell-slash-o' => array( 'unicode' => '\f1f7', 'name' => 'Bell slash o' ),
|
80 |
+
'fa fa-bicycle' => array( 'unicode' => '\f206', 'name' => 'Bicycle' ),
|
81 |
+
'fa fa-binoculars' => array( 'unicode' => '\f1e5', 'name' => 'Binoculars' ),
|
82 |
+
'fa fa-birthday-cake' => array( 'unicode' => '\f1fd', 'name' => 'Birthday cake' ),
|
83 |
+
'fa fa-bitbucket' => array( 'unicode' => '\f171', 'name' => 'Bitbucket' ),
|
84 |
+
'fa fa-bitbucket-square' => array( 'unicode' => '\f172', 'name' => 'Bitbucket square' ),
|
85 |
+
'fa fa-black-tie' => array( 'unicode' => '\f27e', 'name' => 'Black tie' ),
|
86 |
+
'fa fa-blind' => array( 'unicode' => '\f29d', 'name' => 'Blind' ),
|
87 |
+
'fa fa-bluetooth' => array( 'unicode' => '\f293', 'name' => 'Bluetooth' ),
|
88 |
+
'fa fa-bluetooth-b' => array( 'unicode' => '\f294', 'name' => 'Bluetooth b' ),
|
89 |
+
'fa fa-bold' => array( 'unicode' => '\f032', 'name' => 'Bold' ),
|
90 |
+
'fa fa-bolt' => array( 'unicode' => '\f0e7', 'name' => 'Bolt' ),
|
91 |
+
'fa fa-bomb' => array( 'unicode' => '\f1e2', 'name' => 'Bomb' ),
|
92 |
+
'fa fa-book' => array( 'unicode' => '\f02d', 'name' => 'Book' ),
|
93 |
+
'fa fa-bookmark' => array( 'unicode' => '\f02e', 'name' => 'Bookmark' ),
|
94 |
+
'fa fa-bookmark-o' => array( 'unicode' => '\f097', 'name' => 'Bookmark o' ),
|
95 |
+
'fa fa-braille' => array( 'unicode' => '\f2a1', 'name' => 'Braille' ),
|
96 |
+
'fa fa-briefcase' => array( 'unicode' => '\f0b1', 'name' => 'Briefcase' ),
|
97 |
+
'fa fa-btc' => array( 'unicode' => '\f15a', 'name' => 'Btc' ),
|
98 |
+
'fa fa-bug' => array( 'unicode' => '\f188', 'name' => 'Bug' ),
|
99 |
+
'fa fa-building' => array( 'unicode' => '\f1ad', 'name' => 'Building' ),
|
100 |
+
'fa fa-building-o' => array( 'unicode' => '\f0f7', 'name' => 'Building o' ),
|
101 |
+
'fa fa-bullhorn' => array( 'unicode' => '\f0a1', 'name' => 'Bullhorn' ),
|
102 |
+
'fa fa-bullseye' => array( 'unicode' => '\f140', 'name' => 'Bullseye' ),
|
103 |
+
'fa fa-bus' => array( 'unicode' => '\f207', 'name' => 'Bus' ),
|
104 |
+
'fa fa-buysellads' => array( 'unicode' => '\f20d', 'name' => 'Buysellads' ),
|
105 |
+
'fa fa-calculator' => array( 'unicode' => '\f1ec', 'name' => 'Calculator' ),
|
106 |
+
'fa fa-calendar' => array( 'unicode' => '\f073', 'name' => 'Calendar' ),
|
107 |
+
'fa fa-calendar-check-o' => array( 'unicode' => '\f274', 'name' => 'Calendar check o' ),
|
108 |
+
'fa fa-calendar-minus-o' => array( 'unicode' => '\f272', 'name' => 'Calendar minus o' ),
|
109 |
+
'fa fa-calendar-o' => array( 'unicode' => '\f133', 'name' => 'Calendar o' ),
|
110 |
+
'fa fa-calendar-plus-o' => array( 'unicode' => '\f271', 'name' => 'Calendar plus o' ),
|
111 |
+
'fa fa-calendar-times-o' => array( 'unicode' => '\f273', 'name' => 'Calendar times o' ),
|
112 |
+
'fa fa-camera' => array( 'unicode' => '\f030', 'name' => 'Camera' ),
|
113 |
+
'fa fa-camera-retro' => array( 'unicode' => '\f083', 'name' => 'Camera retro' ),
|
114 |
+
'fa fa-car' => array( 'unicode' => '\f1b9', 'name' => 'Car' ),
|
115 |
+
'fa fa-caret-down' => array( 'unicode' => '\f0d7', 'name' => 'Caret down' ),
|
116 |
+
'fa fa-caret-left' => array( 'unicode' => '\f0d9', 'name' => 'Caret left' ),
|
117 |
+
'fa fa-caret-right' => array( 'unicode' => '\f0da', 'name' => 'Caret right' ),
|
118 |
+
'fa fa-caret-square-o-down' => array( 'unicode' => '\f150', 'name' => 'Caret square o down' ),
|
119 |
+
'fa fa-caret-square-o-left' => array( 'unicode' => '\f191', 'name' => 'Caret square o left' ),
|
120 |
+
'fa fa-caret-square-o-right' => array( 'unicode' => '\f152', 'name' => 'Caret square o right' ),
|
121 |
+
'fa fa-caret-square-o-up' => array( 'unicode' => '\f151', 'name' => 'Caret square o up' ),
|
122 |
+
'fa fa-caret-up' => array( 'unicode' => '\f0d8', 'name' => 'Caret up' ),
|
123 |
+
'fa fa-cart-arrow-down' => array( 'unicode' => '\f218', 'name' => 'Cart arrow down' ),
|
124 |
+
'fa fa-cart-plus' => array( 'unicode' => '\f217', 'name' => 'Cart plus' ),
|
125 |
+
'fa fa-cc' => array( 'unicode' => '\f20a', 'name' => 'Cc' ),
|
126 |
+
'fa fa-cc-amex' => array( 'unicode' => '\f1f3', 'name' => 'Cc amex' ),
|
127 |
+
'fa fa-cc-diners-club' => array( 'unicode' => '\f24c', 'name' => 'Cc diners club' ),
|
128 |
+
'fa fa-cc-discover' => array( 'unicode' => '\f1f2', 'name' => 'Cc discover' ),
|
129 |
+
'fa fa-cc-jcb' => array( 'unicode' => '\f24b', 'name' => 'Cc jcb' ),
|
130 |
+
'fa fa-cc-mastercard' => array( 'unicode' => '\f1f1', 'name' => 'Cc mastercard' ),
|
131 |
+
'fa fa-cc-paypal' => array( 'unicode' => '\f1f4', 'name' => 'Cc paypal' ),
|
132 |
+
'fa fa-cc-stripe' => array( 'unicode' => '\f1f5', 'name' => 'Cc stripe' ),
|
133 |
+
'fa fa-cc-visa' => array( 'unicode' => '\f1f0', 'name' => 'Cc visa' ),
|
134 |
+
'fa fa-certificate' => array( 'unicode' => '\f0a3', 'name' => 'Certificate' ),
|
135 |
+
'fa fa-chain-broken' => array( 'unicode' => '\f127', 'name' => 'Chain broken' ),
|
136 |
+
'fa fa-check' => array( 'unicode' => '\f00c', 'name' => 'Check' ),
|
137 |
+
'fa fa-check-circle' => array( 'unicode' => '\f058', 'name' => 'Check circle' ),
|
138 |
+
'fa fa-check-circle-o' => array( 'unicode' => '\f05d', 'name' => 'Check circle o' ),
|
139 |
+
'fa fa-check-square' => array( 'unicode' => '\f14a', 'name' => 'Check square' ),
|
140 |
+
'fa fa-check-square-o' => array( 'unicode' => '\f046', 'name' => 'Check square o' ),
|
141 |
+
'fa fa-chevron-circle-down' => array( 'unicode' => '\f13a', 'name' => 'Chevron circle down' ),
|
142 |
+
'fa fa-chevron-circle-left' => array( 'unicode' => '\f137', 'name' => 'Chevron circle left' ),
|
143 |
+
'fa fa-chevron-circle-right' => array( 'unicode' => '\f138', 'name' => 'Chevron circle right' ),
|
144 |
+
'fa fa-chevron-circle-up' => array( 'unicode' => '\f139', 'name' => 'Chevron circle up' ),
|
145 |
+
'fa fa-chevron-down' => array( 'unicode' => '\f078', 'name' => 'Chevron down' ),
|
146 |
+
'fa fa-chevron-left' => array( 'unicode' => '\f053', 'name' => 'Chevron left' ),
|
147 |
+
'fa fa-chevron-right' => array( 'unicode' => '\f054', 'name' => 'Chevron right' ),
|
148 |
+
'fa fa-chevron-up' => array( 'unicode' => '\f077', 'name' => 'Chevron up' ),
|
149 |
+
'fa fa-child' => array( 'unicode' => '\f1ae', 'name' => 'Child' ),
|
150 |
+
'fa fa-chrome' => array( 'unicode' => '\f268', 'name' => 'Chrome' ),
|
151 |
+
'fa fa-circle' => array( 'unicode' => '\f111', 'name' => 'Circle' ),
|
152 |
+
'fa fa-circle-o' => array( 'unicode' => '\f10c', 'name' => 'Circle o' ),
|
153 |
+
'fa fa-circle-o-notch' => array( 'unicode' => '\f1ce', 'name' => 'Circle o notch' ),
|
154 |
+
'fa fa-circle-thin' => array( 'unicode' => '\f1db', 'name' => 'Circle thin' ),
|
155 |
+
'fa fa-clipboard' => array( 'unicode' => '\f0ea', 'name' => 'Clipboard' ),
|
156 |
+
'fa fa-clock-o' => array( 'unicode' => '\f017', 'name' => 'Clock o' ),
|
157 |
+
'fa fa-clone' => array( 'unicode' => '\f24d', 'name' => 'Clone' ),
|
158 |
+
'fa fa-cloud' => array( 'unicode' => '\f0c2', 'name' => 'Cloud' ),
|
159 |
+
'fa fa-cloud-download' => array( 'unicode' => '\f0ed', 'name' => 'Cloud download' ),
|
160 |
+
'fa fa-cloud-upload' => array( 'unicode' => '\f0ee', 'name' => 'Cloud upload' ),
|
161 |
+
'fa fa-code' => array( 'unicode' => '\f121', 'name' => 'Code' ),
|
162 |
+
'fa fa-code-fork' => array( 'unicode' => '\f126', 'name' => 'Code fork' ),
|
163 |
+
'fa fa-codepen' => array( 'unicode' => '\f1cb', 'name' => 'Codepen' ),
|
164 |
+
'fa fa-codiepie' => array( 'unicode' => '\f284', 'name' => 'Codiepie' ),
|
165 |
+
'fa fa-coffee' => array( 'unicode' => '\f0f4', 'name' => 'Coffee' ),
|
166 |
+
'fa fa-cog' => array( 'unicode' => '\f013', 'name' => 'Cog' ),
|
167 |
+
'fa fa-cogs' => array( 'unicode' => '\f085', 'name' => 'Cogs' ),
|
168 |
+
'fa fa-columns' => array( 'unicode' => '\f0db', 'name' => 'Columns' ),
|
169 |
+
'fa fa-comment' => array( 'unicode' => '\f075', 'name' => 'Comment' ),
|
170 |
+
'fa fa-comment-o' => array( 'unicode' => '\f0e5', 'name' => 'Comment o' ),
|
171 |
+
'fa fa-commenting' => array( 'unicode' => '\f27a', 'name' => 'Commenting' ),
|
172 |
+
'fa fa-commenting-o' => array( 'unicode' => '\f27b', 'name' => 'Commenting o' ),
|
173 |
+
'fa fa-comments' => array( 'unicode' => '\f086', 'name' => 'Comments' ),
|
174 |
+
'fa fa-comments-o' => array( 'unicode' => '\f0e6', 'name' => 'Comments o' ),
|
175 |
+
'fa fa-compass' => array( 'unicode' => '\f14e', 'name' => 'Compass' ),
|
176 |
+
'fa fa-compress' => array( 'unicode' => '\f066', 'name' => 'Compress' ),
|
177 |
+
'fa fa-connectdevelop' => array( 'unicode' => '\f20e', 'name' => 'Connectdevelop' ),
|
178 |
+
'fa fa-contao' => array( 'unicode' => '\f26d', 'name' => 'Contao' ),
|
179 |
+
'fa fa-copyright' => array( 'unicode' => '\f1f9', 'name' => 'Copyright' ),
|
180 |
+
'fa fa-creative-commons' => array( 'unicode' => '\f25e', 'name' => 'Creative commons' ),
|
181 |
+
'fa fa-credit-card' => array( 'unicode' => '\f09d', 'name' => 'Credit card' ),
|
182 |
+
'fa fa-credit-card-alt' => array( 'unicode' => '\f283', 'name' => 'Credit card alt' ),
|
183 |
+
'fa fa-crop' => array( 'unicode' => '\f125', 'name' => 'Crop' ),
|
184 |
+
'fa fa-crosshairs' => array( 'unicode' => '\f05b', 'name' => 'Crosshairs' ),
|
185 |
+
'fa fa-css3' => array( 'unicode' => '\f13c', 'name' => 'Css3' ),
|
186 |
+
'fa fa-cube' => array( 'unicode' => '\f1b2', 'name' => 'Cube' ),
|
187 |
+
'fa fa-cubes' => array( 'unicode' => '\f1b3', 'name' => 'Cubes' ),
|
188 |
+
'fa fa-cutlery' => array( 'unicode' => '\f0f5', 'name' => 'Cutlery' ),
|
189 |
+
'fa fa-dashcube' => array( 'unicode' => '\f210', 'name' => 'Dashcube' ),
|
190 |
+
'fa fa-database' => array( 'unicode' => '\f1c0', 'name' => 'Database' ),
|
191 |
+
'fa fa-deaf' => array( 'unicode' => '\f2a4', 'name' => 'Deaf' ),
|
192 |
+
'fa fa-delicious' => array( 'unicode' => '\f1a5', 'name' => 'Delicious' ),
|
193 |
+
'fa fa-desktop' => array( 'unicode' => '\f108', 'name' => 'Desktop' ),
|
194 |
+
'fa fa-deviantart' => array( 'unicode' => '\f1bd', 'name' => 'Deviantart' ),
|
195 |
+
'fa fa-diamond' => array( 'unicode' => '\f219', 'name' => 'Diamond' ),
|
196 |
+
'fa fa-digg' => array( 'unicode' => '\f1a6', 'name' => 'Digg' ),
|
197 |
+
'fa fa-dot-circle-o' => array( 'unicode' => '\f192', 'name' => 'Dot circle o' ),
|
198 |
+
'fa fa-download' => array( 'unicode' => '\f019', 'name' => 'Download' ),
|
199 |
+
'fa fa-dribbble' => array( 'unicode' => '\f17d', 'name' => 'Dribbble' ),
|
200 |
+
'fa fa-dropbox' => array( 'unicode' => '\f16b', 'name' => 'Dropbox' ),
|
201 |
+
'fa fa-drupal' => array( 'unicode' => '\f1a9', 'name' => 'Drupal' ),
|
202 |
+
'fa fa-edge' => array( 'unicode' => '\f282', 'name' => 'Edge' ),
|
203 |
+
'fa fa-eercast' => array( 'unicode' => '\f2da', 'name' => 'Eercast' ),
|
204 |
+
'fa fa-eject' => array( 'unicode' => '\f052', 'name' => 'Eject' ),
|
205 |
+
'fa fa-ellipsis-h' => array( 'unicode' => '\f141', 'name' => 'Ellipsis h' ),
|
206 |
+
'fa fa-ellipsis-v' => array( 'unicode' => '\f142', 'name' => 'Ellipsis v' ),
|
207 |
+
'fa fa-empire' => array( 'unicode' => '\f1d1', 'name' => 'Empire' ),
|
208 |
+
'fa fa-envelope' => array( 'unicode' => '\f0e0', 'name' => 'Envelope' ),
|
209 |
+
'fa fa-envelope-o' => array( 'unicode' => '\f003', 'name' => 'Envelope o' ),
|
210 |
+
'fa fa-envelope-open' => array( 'unicode' => '\f2b6', 'name' => 'Envelope open' ),
|
211 |
+
'fa fa-envelope-open-o' => array( 'unicode' => '\f2b7', 'name' => 'Envelope open o' ),
|
212 |
+
'fa fa-envelope-square' => array( 'unicode' => '\f199', 'name' => 'Envelope square' ),
|
213 |
+
'fa fa-envira' => array( 'unicode' => '\f299', 'name' => 'Envira' ),
|
214 |
+
'fa fa-eraser' => array( 'unicode' => '\f12d', 'name' => 'Eraser' ),
|
215 |
+
'fa fa-etsy' => array( 'unicode' => '\f2d7', 'name' => 'Etsy' ),
|
216 |
+
'fa fa-eur' => array( 'unicode' => '\f153', 'name' => 'Eur' ),
|
217 |
+
'fa fa-exchange' => array( 'unicode' => '\f0ec', 'name' => 'Exchange' ),
|
218 |
+
'fa fa-exclamation' => array( 'unicode' => '\f12a', 'name' => 'Exclamation' ),
|
219 |
+
'fa fa-exclamation-circle' => array( 'unicode' => '\f06a', 'name' => 'Exclamation circle' ),
|
220 |
+
'fa fa-exclamation-triangle' => array( 'unicode' => '\f071', 'name' => 'Exclamation triangle' ),
|
221 |
+
'fa fa-expand' => array( 'unicode' => '\f065', 'name' => 'Expand' ),
|
222 |
+
'fa fa-expeditedssl' => array( 'unicode' => '\f23e', 'name' => 'Expeditedssl' ),
|
223 |
+
'fa fa-external-link' => array( 'unicode' => '\f08e', 'name' => 'External link' ),
|
224 |
+
'fa fa-external-link-square' => array( 'unicode' => '\f14c', 'name' => 'External link square' ),
|
225 |
+
'fa fa-eye' => array( 'unicode' => '\f06e', 'name' => 'Eye' ),
|
226 |
+
'fa fa-eye-slash' => array( 'unicode' => '\f070', 'name' => 'Eye slash' ),
|
227 |
+
'fa fa-eyedropper' => array( 'unicode' => '\f1fb', 'name' => 'Eyedropper' ),
|
228 |
+
'fa fa-facebook' => array( 'unicode' => '\f09a', 'name' => 'Facebook' ),
|
229 |
+
'fa fa-facebook-official' => array( 'unicode' => '\f230', 'name' => 'Facebook official' ),
|
230 |
+
'fa fa-facebook-square' => array( 'unicode' => '\f082', 'name' => 'Facebook square' ),
|
231 |
+
'fa fa-fast-backward' => array( 'unicode' => '\f049', 'name' => 'Fast backward' ),
|
232 |
+
'fa fa-fast-forward' => array( 'unicode' => '\f050', 'name' => 'Fast forward' ),
|
233 |
+
'fa fa-fax' => array( 'unicode' => '\f1ac', 'name' => 'Fax' ),
|
234 |
+
'fa fa-female' => array( 'unicode' => '\f182', 'name' => 'Female' ),
|
235 |
+
'fa fa-fighter-jet' => array( 'unicode' => '\f0fb', 'name' => 'Fighter jet' ),
|
236 |
+
'fa fa-file' => array( 'unicode' => '\f15b', 'name' => 'File' ),
|
237 |
+
'fa fa-file-archive-o' => array( 'unicode' => '\f1c6', 'name' => 'File archive o' ),
|
238 |
+
'fa fa-file-audio-o' => array( 'unicode' => '\f1c7', 'name' => 'File audio o' ),
|
239 |
+
'fa fa-file-code-o' => array( 'unicode' => '\f1c9', 'name' => 'File code o' ),
|
240 |
+
'fa fa-file-excel-o' => array( 'unicode' => '\f1c3', 'name' => 'File excel o' ),
|
241 |
+
'fa fa-file-image-o' => array( 'unicode' => '\f1c5', 'name' => 'File image o' ),
|
242 |
+
'fa fa-file-o' => array( 'unicode' => '\f016', 'name' => 'File o' ),
|
243 |
+
'fa fa-file-pdf-o' => array( 'unicode' => '\f1c1', 'name' => 'File pdf o' ),
|
244 |
+
'fa fa-file-powerpoint-o' => array( 'unicode' => '\f1c4', 'name' => 'File powerpoint o' ),
|
245 |
+
'fa fa-file-text' => array( 'unicode' => '\f15c', 'name' => 'File text' ),
|
246 |
+
'fa fa-file-text-o' => array( 'unicode' => '\f0f6', 'name' => 'File text o' ),
|
247 |
+
'fa fa-file-video-o' => array( 'unicode' => '\f1c8', 'name' => 'File video o' ),
|
248 |
+
'fa fa-file-word-o' => array( 'unicode' => '\f1c2', 'name' => 'File word o' ),
|
249 |
+
'fa fa-files-o' => array( 'unicode' => '\f0c5', 'name' => 'Files o' ),
|
250 |
+
'fa fa-film' => array( 'unicode' => '\f008', 'name' => 'Film' ),
|
251 |
+
'fa fa-filter' => array( 'unicode' => '\f0b0', 'name' => 'Filter' ),
|
252 |
+
'fa fa-fire' => array( 'unicode' => '\f06d', 'name' => 'Fire' ),
|
253 |
+
'fa fa-fire-extinguisher' => array( 'unicode' => '\f134', 'name' => 'Fire extinguisher' ),
|
254 |
+
'fa fa-firefox' => array( 'unicode' => '\f269', 'name' => 'Firefox' ),
|
255 |
+
'fa fa-first-order' => array( 'unicode' => '\f2b0', 'name' => 'First order' ),
|
256 |
+
'fa fa-flag' => array( 'unicode' => '\f024', 'name' => 'Flag' ),
|
257 |
+
'fa fa-flag-checkered' => array( 'unicode' => '\f11e', 'name' => 'Flag checkered' ),
|
258 |
+
'fa fa-flag-o' => array( 'unicode' => '\f11d', 'name' => 'Flag o' ),
|
259 |
+
'fa fa-flask' => array( 'unicode' => '\f0c3', 'name' => 'Flask' ),
|
260 |
+
'fa fa-flickr' => array( 'unicode' => '\f16e', 'name' => 'Flickr' ),
|
261 |
+
'fa fa-floppy-o' => array( 'unicode' => '\f0c7', 'name' => 'Floppy o' ),
|
262 |
+
'fa fa-folder' => array( 'unicode' => '\f07b', 'name' => 'Folder' ),
|
263 |
+
'fa fa-folder-o' => array( 'unicode' => '\f114', 'name' => 'Folder o' ),
|
264 |
+
'fa fa-folder-open' => array( 'unicode' => '\f07c', 'name' => 'Folder open' ),
|
265 |
+
'fa fa-folder-open-o' => array( 'unicode' => '\f115', 'name' => 'Folder open o' ),
|
266 |
+
'fa fa-font' => array( 'unicode' => '\f031', 'name' => 'Font' ),
|
267 |
+
'fa fa-font-awesome' => array( 'unicode' => '\f2b4', 'name' => 'Font awesome' ),
|
268 |
+
'fa fa-fonticons' => array( 'unicode' => '\f280', 'name' => 'Fonticons' ),
|
269 |
+
'fa fa-fort-awesome' => array( 'unicode' => '\f286', 'name' => 'Fort awesome' ),
|
270 |
+
'fa fa-forumbee' => array( 'unicode' => '\f211', 'name' => 'Forumbee' ),
|
271 |
+
'fa fa-forward' => array( 'unicode' => '\f04e', 'name' => 'Forward' ),
|
272 |
+
'fa fa-foursquare' => array( 'unicode' => '\f180', 'name' => 'Foursquare' ),
|
273 |
+
'fa fa-free-code-camp' => array( 'unicode' => '\f2c5', 'name' => 'Free code camp' ),
|
274 |
+
'fa fa-frown-o' => array( 'unicode' => '\f119', 'name' => 'Frown o' ),
|
275 |
+
'fa fa-futbol-o' => array( 'unicode' => '\f1e3', 'name' => 'Futbol o' ),
|
276 |
+
'fa fa-gamepad' => array( 'unicode' => '\f11b', 'name' => 'Gamepad' ),
|
277 |
+
'fa fa-gavel' => array( 'unicode' => '\f0e3', 'name' => 'Gavel' ),
|
278 |
+
'fa fa-gbp' => array( 'unicode' => '\f154', 'name' => 'Gbp' ),
|
279 |
+
'fa fa-genderless' => array( 'unicode' => '\f22d', 'name' => 'Genderless' ),
|
280 |
+
'fa fa-get-pocket' => array( 'unicode' => '\f265', 'name' => 'Get pocket' ),
|
281 |
+
'fa fa-gg' => array( 'unicode' => '\f260', 'name' => 'Gg' ),
|
282 |
+
'fa fa-gg-circle' => array( 'unicode' => '\f261', 'name' => 'Gg circle' ),
|
283 |
+
'fa fa-gift' => array( 'unicode' => '\f06b', 'name' => 'Gift' ),
|
284 |
+
'fa fa-git' => array( 'unicode' => '\f1d3', 'name' => 'Git' ),
|
285 |
+
'fa fa-git-square' => array( 'unicode' => '\f1d2', 'name' => 'Git square' ),
|
286 |
+
'fa fa-github' => array( 'unicode' => '\f09b', 'name' => 'Github' ),
|
287 |
+
'fa fa-github-alt' => array( 'unicode' => '\f113', 'name' => 'Github alt' ),
|
288 |
+
'fa fa-github-square' => array( 'unicode' => '\f092', 'name' => 'Github square' ),
|
289 |
+
'fa fa-gitlab' => array( 'unicode' => '\f296', 'name' => 'Gitlab' ),
|
290 |
+
'fa fa-glass' => array( 'unicode' => '\f000', 'name' => 'Glass' ),
|
291 |
+
'fa fa-glide' => array( 'unicode' => '\f2a5', 'name' => 'Glide' ),
|
292 |
+
'fa fa-glide-g' => array( 'unicode' => '\f2a6', 'name' => 'Glide g' ),
|
293 |
+
'fa fa-globe' => array( 'unicode' => '\f0ac', 'name' => 'Globe' ),
|
294 |
+
'fa fa-google' => array( 'unicode' => '\f1a0', 'name' => 'Google' ),
|
295 |
+
'fa fa-google-plus' => array( 'unicode' => '\f0d5', 'name' => 'Google plus' ),
|
296 |
+
'fa fa-google-plus-official' => array( 'unicode' => '\f2b3', 'name' => 'Google plus official' ),
|
297 |
+
'fa fa-google-plus-square' => array( 'unicode' => '\f0d4', 'name' => 'Google plus square' ),
|
298 |
+
'fa fa-google-wallet' => array( 'unicode' => '\f1ee', 'name' => 'Google wallet' ),
|
299 |
+
'fa fa-graduation-cap' => array( 'unicode' => '\f19d', 'name' => 'Graduation cap' ),
|
300 |
+
'fa fa-gratipay' => array( 'unicode' => '\f184', 'name' => 'Gratipay' ),
|
301 |
+
'fa fa-grav' => array( 'unicode' => '\f2d6', 'name' => 'Grav' ),
|
302 |
+
'fa fa-h-square' => array( 'unicode' => '\f0fd', 'name' => 'H square' ),
|
303 |
+
'fa fa-hacker-news' => array( 'unicode' => '\f1d4', 'name' => 'Hacker news' ),
|
304 |
+
'fa fa-hand-lizard-o' => array( 'unicode' => '\f258', 'name' => 'Hand lizard o' ),
|
305 |
+
'fa fa-hand-o-down' => array( 'unicode' => '\f0a7', 'name' => 'Hand o down' ),
|
306 |
+
'fa fa-hand-o-left' => array( 'unicode' => '\f0a5', 'name' => 'Hand o left' ),
|
307 |
+
'fa fa-hand-o-right' => array( 'unicode' => '\f0a4', 'name' => 'Hand o right' ),
|
308 |
+
'fa fa-hand-o-up' => array( 'unicode' => '\f0a6', 'name' => 'Hand o up' ),
|
309 |
+
'fa fa-hand-paper-o' => array( 'unicode' => '\f256', 'name' => 'Hand paper o' ),
|
310 |
+
'fa fa-hand-peace-o' => array( 'unicode' => '\f25b', 'name' => 'Hand peace o' ),
|
311 |
+
'fa fa-hand-pointer-o' => array( 'unicode' => '\f25a', 'name' => 'Hand pointer o' ),
|
312 |
+
'fa fa-hand-rock-o' => array( 'unicode' => '\f255', 'name' => 'Hand rock o' ),
|
313 |
+
'fa fa-hand-scissors-o' => array( 'unicode' => '\f257', 'name' => 'Hand scissors o' ),
|
314 |
+
'fa fa-hand-spock-o' => array( 'unicode' => '\f259', 'name' => 'Hand spock o' ),
|
315 |
+
'fa fa-handshake-o' => array( 'unicode' => '\f2b5', 'name' => 'Handshake o' ),
|
316 |
+
'fa fa-hashtag' => array( 'unicode' => '\f292', 'name' => 'Hashtag' ),
|
317 |
+
'fa fa-hdd-o' => array( 'unicode' => '\f0a0', 'name' => 'Hdd o' ),
|
318 |
+
'fa fa-header' => array( 'unicode' => '\f1dc', 'name' => 'Header' ),
|
319 |
+
'fa fa-headphones' => array( 'unicode' => '\f025', 'name' => 'Headphones' ),
|
320 |
+
'fa fa-heart' => array( 'unicode' => '\f004', 'name' => 'Heart' ),
|
321 |
+
'fa fa-heart-o' => array( 'unicode' => '\f08a', 'name' => 'Heart o' ),
|
322 |
+
'fa fa-heartbeat' => array( 'unicode' => '\f21e', 'name' => 'Heartbeat' ),
|
323 |
+
'fa fa-history' => array( 'unicode' => '\f1da', 'name' => 'History' ),
|
324 |
+
'fa fa-home' => array( 'unicode' => '\f015', 'name' => 'Home' ),
|
325 |
+
'fa fa-hospital-o' => array( 'unicode' => '\f0f8', 'name' => 'Hospital o' ),
|
326 |
+
'fa fa-hourglass' => array( 'unicode' => '\f254', 'name' => 'Hourglass' ),
|
327 |
+
'fa fa-hourglass-end' => array( 'unicode' => '\f253', 'name' => 'Hourglass end' ),
|
328 |
+
'fa fa-hourglass-half' => array( 'unicode' => '\f252', 'name' => 'Hourglass half' ),
|
329 |
+
'fa fa-hourglass-o' => array( 'unicode' => '\f250', 'name' => 'Hourglass o' ),
|
330 |
+
'fa fa-hourglass-start' => array( 'unicode' => '\f251', 'name' => 'Hourglass start' ),
|
331 |
+
'fa fa-houzz' => array( 'unicode' => '\f27c', 'name' => 'Houzz' ),
|
332 |
+
'fa fa-html5' => array( 'unicode' => '\f13b', 'name' => 'Html5' ),
|
333 |
+
'fa fa-i-cursor' => array( 'unicode' => '\f246', 'name' => 'I cursor' ),
|
334 |
+
'fa fa-id-badge' => array( 'unicode' => '\f2c1', 'name' => 'Id badge' ),
|
335 |
+
'fa fa-id-card' => array( 'unicode' => '\f2c2', 'name' => 'Id card' ),
|
336 |
+
'fa fa-id-card-o' => array( 'unicode' => '\f2c3', 'name' => 'Id card o' ),
|
337 |
+
'fa fa-ils' => array( 'unicode' => '\f20b', 'name' => 'Ils' ),
|
338 |
+
'fa fa-imdb' => array( 'unicode' => '\f2d8', 'name' => 'Imdb' ),
|
339 |
+
'fa fa-inbox' => array( 'unicode' => '\f01c', 'name' => 'Inbox' ),
|
340 |
+
'fa fa-indent' => array( 'unicode' => '\f03c', 'name' => 'Indent' ),
|
341 |
+
'fa fa-industry' => array( 'unicode' => '\f275', 'name' => 'Industry' ),
|
342 |
+
'fa fa-info' => array( 'unicode' => '\f129', 'name' => 'Info' ),
|
343 |
+
'fa fa-info-circle' => array( 'unicode' => '\f05a', 'name' => 'Info circle' ),
|
344 |
+
'fa fa-inr' => array( 'unicode' => '\f156', 'name' => 'Inr' ),
|
345 |
+
'fa fa-instagram' => array( 'unicode' => '\f16d', 'name' => 'Instagram' ),
|
346 |
+
'fa fa-internet-explorer' => array( 'unicode' => '\f26b', 'name' => 'Internet explorer' ),
|
347 |
+
'fa fa-ioxhost' => array( 'unicode' => '\f208', 'name' => 'Ioxhost' ),
|
348 |
+
'fa fa-italic' => array( 'unicode' => '\f033', 'name' => 'Italic' ),
|
349 |
+
'fa fa-joomla' => array( 'unicode' => '\f1aa', 'name' => 'Joomla' ),
|
350 |
+
'fa fa-jpy' => array( 'unicode' => '\f157', 'name' => 'Jpy' ),
|
351 |
+
'fa fa-jsfiddle' => array( 'unicode' => '\f1cc', 'name' => 'Jsfiddle' ),
|
352 |
+
'fa fa-key' => array( 'unicode' => '\f084', 'name' => 'Key' ),
|
353 |
+
'fa fa-keyboard-o' => array( 'unicode' => '\f11c', 'name' => 'Keyboard o' ),
|
354 |
+
'fa fa-krw' => array( 'unicode' => '\f159', 'name' => 'Krw' ),
|
355 |
+
'fa fa-language' => array( 'unicode' => '\f1ab', 'name' => 'Language' ),
|
356 |
+
'fa fa-laptop' => array( 'unicode' => '\f109', 'name' => 'Laptop' ),
|
357 |
+
'fa fa-lastfm' => array( 'unicode' => '\f202', 'name' => 'Lastfm' ),
|
358 |
+
'fa fa-lastfm-square' => array( 'unicode' => '\f203', 'name' => 'Lastfm square' ),
|
359 |
+
'fa fa-leaf' => array( 'unicode' => '\f06c', 'name' => 'Leaf' ),
|
360 |
+
'fa fa-leanpub' => array( 'unicode' => '\f212', 'name' => 'Leanpub' ),
|
361 |
+
'fa fa-lemon-o' => array( 'unicode' => '\f094', 'name' => 'Lemon o' ),
|
362 |
+
'fa fa-level-down' => array( 'unicode' => '\f149', 'name' => 'Level down' ),
|
363 |
+
'fa fa-level-up' => array( 'unicode' => '\f148', 'name' => 'Level up' ),
|
364 |
+
'fa fa-life-ring' => array( 'unicode' => '\f1cd', 'name' => 'Life ring' ),
|
365 |
+
'fa fa-lightbulb-o' => array( 'unicode' => '\f0eb', 'name' => 'Lightbulb o' ),
|
366 |
+
'fa fa-line-chart' => array( 'unicode' => '\f201', 'name' => 'Line chart' ),
|
367 |
+
'fa fa-link' => array( 'unicode' => '\f0c1', 'name' => 'Link' ),
|
368 |
+
'fa fa-linkedin' => array( 'unicode' => '\f0e1', 'name' => 'Linkedin' ),
|
369 |
+
'fa fa-linkedin-square' => array( 'unicode' => '\f08c', 'name' => 'Linkedin square' ),
|
370 |
+
'fa fa-linode' => array( 'unicode' => '\f2b8', 'name' => 'Linode' ),
|
371 |
+
'fa fa-linux' => array( 'unicode' => '\f17c', 'name' => 'Linux' ),
|
372 |
+
'fa fa-list' => array( 'unicode' => '\f03a', 'name' => 'List' ),
|
373 |
+
'fa fa-list-alt' => array( 'unicode' => '\f022', 'name' => 'List alt' ),
|
374 |
+
'fa fa-list-ol' => array( 'unicode' => '\f0cb', 'name' => 'List ol' ),
|
375 |
+
'fa fa-list-ul' => array( 'unicode' => '\f0ca', 'name' => 'List ul' ),
|
376 |
+
'fa fa-location-arrow' => array( 'unicode' => '\f124', 'name' => 'Location arrow' ),
|
377 |
+
'fa fa-lock' => array( 'unicode' => '\f023', 'name' => 'Lock' ),
|
378 |
+
'fa fa-long-arrow-down' => array( 'unicode' => '\f175', 'name' => 'Long arrow down' ),
|
379 |
+
'fa fa-long-arrow-left' => array( 'unicode' => '\f177', 'name' => 'Long arrow left' ),
|
380 |
+
'fa fa-long-arrow-right' => array( 'unicode' => '\f178', 'name' => 'Long arrow right' ),
|
381 |
+
'fa fa-long-arrow-up' => array( 'unicode' => '\f176', 'name' => 'Long arrow up' ),
|
382 |
+
'fa fa-low-vision' => array( 'unicode' => '\f2a8', 'name' => 'Low vision' ),
|
383 |
+
'fa fa-magic' => array( 'unicode' => '\f0d0', 'name' => 'Magic' ),
|
384 |
+
'fa fa-magnet' => array( 'unicode' => '\f076', 'name' => 'Magnet' ),
|
385 |
+
'fa fa-male' => array( 'unicode' => '\f183', 'name' => 'Male' ),
|
386 |
+
'fa fa-map' => array( 'unicode' => '\f279', 'name' => 'Map' ),
|
387 |
+
'fa fa-map-marker' => array( 'unicode' => '\f041', 'name' => 'Map marker' ),
|
388 |
+
'fa fa-map-o' => array( 'unicode' => '\f278', 'name' => 'Map o' ),
|
389 |
+
'fa fa-map-pin' => array( 'unicode' => '\f276', 'name' => 'Map pin' ),
|
390 |
+
'fa fa-map-signs' => array( 'unicode' => '\f277', 'name' => 'Map signs' ),
|
391 |
+
'fa fa-mars' => array( 'unicode' => '\f222', 'name' => 'Mars' ),
|
392 |
+
'fa fa-mars-double' => array( 'unicode' => '\f227', 'name' => 'Mars double' ),
|
393 |
+
'fa fa-mars-stroke' => array( 'unicode' => '\f229', 'name' => 'Mars stroke' ),
|
394 |
+
'fa fa-mars-stroke-h' => array( 'unicode' => '\f22b', 'name' => 'Mars stroke h' ),
|
395 |
+
'fa fa-mars-stroke-v' => array( 'unicode' => '\f22a', 'name' => 'Mars stroke v' ),
|
396 |
+
'fa fa-maxcdn' => array( 'unicode' => '\f136', 'name' => 'Maxcdn' ),
|
397 |
+
'fa fa-meanpath' => array( 'unicode' => '\f20c', 'name' => 'Meanpath' ),
|
398 |
+
'fa fa-medium' => array( 'unicode' => '\f23a', 'name' => 'Medium' ),
|
399 |
+
'fa fa-medkit' => array( 'unicode' => '\f0fa', 'name' => 'Medkit' ),
|
400 |
+
'fa fa-meetup' => array( 'unicode' => '\f2e0', 'name' => 'Meetup' ),
|
401 |
+
'fa fa-meh-o' => array( 'unicode' => '\f11a', 'name' => 'Meh o' ),
|
402 |
+
'fa fa-mercury' => array( 'unicode' => '\f223', 'name' => 'Mercury' ),
|
403 |
+
'fa fa-microchip' => array( 'unicode' => '\f2db', 'name' => 'Microchip' ),
|
404 |
+
'fa fa-microphone' => array( 'unicode' => '\f130', 'name' => 'Microphone' ),
|
405 |
+
'fa fa-microphone-slash' => array( 'unicode' => '\f131', 'name' => 'Microphone slash' ),
|
406 |
+
'fa fa-minus' => array( 'unicode' => '\f068', 'name' => 'Minus' ),
|
407 |
+
'fa fa-minus-circle' => array( 'unicode' => '\f056', 'name' => 'Minus circle' ),
|
408 |
+
'fa fa-minus-square' => array( 'unicode' => '\f146', 'name' => 'Minus square' ),
|
409 |
+
'fa fa-minus-square-o' => array( 'unicode' => '\f147', 'name' => 'Minus square o' ),
|
410 |
+
'fa fa-mixcloud' => array( 'unicode' => '\f289', 'name' => 'Mixcloud' ),
|
411 |
+
'fa fa-mobile' => array( 'unicode' => '\f10b', 'name' => 'Mobile' ),
|
412 |
+
'fa fa-modx' => array( 'unicode' => '\f285', 'name' => 'Modx' ),
|
413 |
+
'fa fa-money' => array( 'unicode' => '\f0d6', 'name' => 'Money' ),
|
414 |
+
'fa fa-moon-o' => array( 'unicode' => '\f186', 'name' => 'Moon o' ),
|
415 |
+
'fa fa-motorcycle' => array( 'unicode' => '\f21c', 'name' => 'Motorcycle' ),
|
416 |
+
'fa fa-mouse-pointer' => array( 'unicode' => '\f245', 'name' => 'Mouse pointer' ),
|
417 |
+
'fa fa-music' => array( 'unicode' => '\f001', 'name' => 'Music' ),
|
418 |
+
'fa fa-neuter' => array( 'unicode' => '\f22c', 'name' => 'Neuter' ),
|
419 |
+
'fa fa-newspaper-o' => array( 'unicode' => '\f1ea', 'name' => 'Newspaper o' ),
|
420 |
+
'fa fa-object-group' => array( 'unicode' => '\f247', 'name' => 'Object group' ),
|
421 |
+
'fa fa-object-ungroup' => array( 'unicode' => '\f248', 'name' => 'Object ungroup' ),
|
422 |
+
'fa fa-odnoklassniki' => array( 'unicode' => '\f263', 'name' => 'Odnoklassniki' ),
|
423 |
+
'fa fa-odnoklassniki-square' => array( 'unicode' => '\f264', 'name' => 'Odnoklassniki square' ),
|
424 |
+
'fa fa-opencart' => array( 'unicode' => '\f23d', 'name' => 'Opencart' ),
|
425 |
+
'fa fa-openid' => array( 'unicode' => '\f19b', 'name' => 'Openid' ),
|
426 |
+
'fa fa-opera' => array( 'unicode' => '\f26a', 'name' => 'Opera' ),
|
427 |
+
'fa fa-optin-monster' => array( 'unicode' => '\f23c', 'name' => 'Optin monster' ),
|
428 |
+
'fa fa-outdent' => array( 'unicode' => '\f03b', 'name' => 'Outdent' ),
|
429 |
+
'fa fa-pagelines' => array( 'unicode' => '\f18c', 'name' => 'Pagelines' ),
|
430 |
+
'fa fa-paint-brush' => array( 'unicode' => '\f1fc', 'name' => 'Paint brush' ),
|
431 |
+
'fa fa-paper-plane' => array( 'unicode' => '\f1d8', 'name' => 'Paper plane' ),
|
432 |
+
'fa fa-paper-plane-o' => array( 'unicode' => '\f1d9', 'name' => 'Paper plane o' ),
|
433 |
+
'fa fa-paperclip' => array( 'unicode' => '\f0c6', 'name' => 'Paperclip' ),
|
434 |
+
'fa fa-paragraph' => array( 'unicode' => '\f1dd', 'name' => 'Paragraph' ),
|
435 |
+
'fa fa-pause' => array( 'unicode' => '\f04c', 'name' => 'Pause' ),
|
436 |
+
'fa fa-pause-circle' => array( 'unicode' => '\f28b', 'name' => 'Pause circle' ),
|
437 |
+
'fa fa-pause-circle-o' => array( 'unicode' => '\f28c', 'name' => 'Pause circle o' ),
|
438 |
+
'fa fa-paw' => array( 'unicode' => '\f1b0', 'name' => 'Paw' ),
|
439 |
+
'fa fa-paypal' => array( 'unicode' => '\f1ed', 'name' => 'Paypal' ),
|
440 |
+
'fa fa-pencil' => array( 'unicode' => '\f040', 'name' => 'Pencil' ),
|
441 |
+
'fa fa-pencil-square' => array( 'unicode' => '\f14b', 'name' => 'Pencil square' ),
|
442 |
+
'fa fa-pencil-square-o' => array( 'unicode' => '\f044', 'name' => 'Pencil square o' ),
|
443 |
+
'fa fa-percent' => array( 'unicode' => '\f295', 'name' => 'Percent' ),
|
444 |
+
'fa fa-phone' => array( 'unicode' => '\f095', 'name' => 'Phone' ),
|
445 |
+
'fa fa-phone-square' => array( 'unicode' => '\f098', 'name' => 'Phone square' ),
|
446 |
+
'fa fa-picture-o' => array( 'unicode' => '\f03e', 'name' => 'Picture o' ),
|
447 |
+
'fa fa-pie-chart' => array( 'unicode' => '\f200', 'name' => 'Pie chart' ),
|
448 |
+
'fa fa-pied-piper' => array( 'unicode' => '\f2ae', 'name' => 'Pied piper' ),
|
449 |
+
'fa fa-pied-piper-alt' => array( 'unicode' => '\f1a8', 'name' => 'Pied piper alt' ),
|
450 |
+
'fa fa-pied-piper-pp' => array( 'unicode' => '\f1a7', 'name' => 'Pied piper pp' ),
|
451 |
+
'fa fa-pinterest' => array( 'unicode' => '\f0d2', 'name' => 'Pinterest' ),
|
452 |
+
'fa fa-pinterest-p' => array( 'unicode' => '\f231', 'name' => 'Pinterest p' ),
|
453 |
+
'fa fa-pinterest-square' => array( 'unicode' => '\f0d3', 'name' => 'Pinterest square' ),
|
454 |
+
'fa fa-plane' => array( 'unicode' => '\f072', 'name' => 'Plane' ),
|
455 |
+
'fa fa-play' => array( 'unicode' => '\f04b', 'name' => 'Play' ),
|
456 |
+
'fa fa-play-circle' => array( 'unicode' => '\f144', 'name' => 'Play circle' ),
|
457 |
+
'fa fa-play-circle-o' => array( 'unicode' => '\f01d', 'name' => 'Play circle o' ),
|
458 |
+
'fa fa-plug' => array( 'unicode' => '\f1e6', 'name' => 'Plug' ),
|
459 |
+
'fa fa-plus' => array( 'unicode' => '\f067', 'name' => 'Plus' ),
|
460 |
+
'fa fa-plus-circle' => array( 'unicode' => '\f055', 'name' => 'Plus circle' ),
|
461 |
+
'fa fa-plus-square' => array( 'unicode' => '\f0fe', 'name' => 'Plus square' ),
|
462 |
+
'fa fa-plus-square-o' => array( 'unicode' => '\f196', 'name' => 'Plus square o' ),
|
463 |
+
'fa fa-podcast' => array( 'unicode' => '\f2ce', 'name' => 'Podcast' ),
|
464 |
+
'fa fa-power-off' => array( 'unicode' => '\f011', 'name' => 'Power off' ),
|
465 |
+
'fa fa-print' => array( 'unicode' => '\f02f', 'name' => 'Print' ),
|
466 |
+
'fa fa-product-hunt' => array( 'unicode' => '\f288', 'name' => 'Product hunt' ),
|
467 |
+
'fa fa-puzzle-piece' => array( 'unicode' => '\f12e', 'name' => 'Puzzle piece' ),
|
468 |
+
'fa fa-qq' => array( 'unicode' => '\f1d6', 'name' => 'Qq' ),
|
469 |
+
'fa fa-qrcode' => array( 'unicode' => '\f029', 'name' => 'Qrcode' ),
|
470 |
+
'fa fa-question' => array( 'unicode' => '\f128', 'name' => 'Question' ),
|
471 |
+
'fa fa-question-circle' => array( 'unicode' => '\f059', 'name' => 'Question circle' ),
|
472 |
+
'fa fa-question-circle-o' => array( 'unicode' => '\f29c', 'name' => 'Question circle o' ),
|
473 |
+
'fa fa-quora' => array( 'unicode' => '\f2c4', 'name' => 'Quora' ),
|
474 |
+
'fa fa-quote-left' => array( 'unicode' => '\f10d', 'name' => 'Quote left' ),
|
475 |
+
'fa fa-quote-right' => array( 'unicode' => '\f10e', 'name' => 'Quote right' ),
|
476 |
+
'fa fa-random' => array( 'unicode' => '\f074', 'name' => 'Random' ),
|
477 |
+
'fa fa-ravelry' => array( 'unicode' => '\f2d9', 'name' => 'Ravelry' ),
|
478 |
+
'fa fa-rebel' => array( 'unicode' => '\f1d0', 'name' => 'Rebel' ),
|
479 |
+
'fa fa-recycle' => array( 'unicode' => '\f1b8', 'name' => 'Recycle' ),
|
480 |
+
'fa fa-reddit' => array( 'unicode' => '\f1a1', 'name' => 'Reddit' ),
|
481 |
+
'fa fa-reddit-alien' => array( 'unicode' => '\f281', 'name' => 'Reddit alien' ),
|
482 |
+
'fa fa-reddit-square' => array( 'unicode' => '\f1a2', 'name' => 'Reddit square' ),
|
483 |
+
'fa fa-refresh' => array( 'unicode' => '\f021', 'name' => 'Refresh' ),
|
484 |
+
'fa fa-registered' => array( 'unicode' => '\f25d', 'name' => 'Registered' ),
|
485 |
+
'fa fa-renren' => array( 'unicode' => '\f18b', 'name' => 'Renren' ),
|
486 |
+
'fa fa-repeat' => array( 'unicode' => '\f01e', 'name' => 'Repeat' ),
|
487 |
+
'fa fa-reply' => array( 'unicode' => '\f112', 'name' => 'Reply' ),
|
488 |
+
'fa fa-reply-all' => array( 'unicode' => '\f122', 'name' => 'Reply all' ),
|
489 |
+
'fa fa-retweet' => array( 'unicode' => '\f079', 'name' => 'Retweet' ),
|
490 |
+
'fa fa-road' => array( 'unicode' => '\f018', 'name' => 'Road' ),
|
491 |
+
'fa fa-rocket' => array( 'unicode' => '\f135', 'name' => 'Rocket' ),
|
492 |
+
'fa fa-rss' => array( 'unicode' => '\f09e', 'name' => 'Rss' ),
|
493 |
+
'fa fa-rss-square' => array( 'unicode' => '\f143', 'name' => 'Rss square' ),
|
494 |
+
'fa fa-rub' => array( 'unicode' => '\f158', 'name' => 'Rub' ),
|
495 |
+
'fa fa-safari' => array( 'unicode' => '\f267', 'name' => 'Safari' ),
|
496 |
+
'fa fa-scissors' => array( 'unicode' => '\f0c4', 'name' => 'Scissors' ),
|
497 |
+
'fa fa-scribd' => array( 'unicode' => '\f28a', 'name' => 'Scribd' ),
|
498 |
+
'fa fa-search' => array( 'unicode' => '\f002', 'name' => 'Search' ),
|
499 |
+
'fa fa-search-minus' => array( 'unicode' => '\f010', 'name' => 'Search minus' ),
|
500 |
+
'fa fa-search-plus' => array( 'unicode' => '\f00e', 'name' => 'Search plus' ),
|
501 |
+
'fa fa-sellsy' => array( 'unicode' => '\f213', 'name' => 'Sellsy' ),
|
502 |
+
'fa fa-server' => array( 'unicode' => '\f233', 'name' => 'Server' ),
|
503 |
+
'fa fa-share' => array( 'unicode' => '\f064', 'name' => 'Share' ),
|
504 |
+
'fa fa-share-alt' => array( 'unicode' => '\f1e0', 'name' => 'Share alt' ),
|
505 |
+
'fa fa-share-alt-square' => array( 'unicode' => '\f1e1', 'name' => 'Share alt square' ),
|
506 |
+
'fa fa-share-square' => array( 'unicode' => '\f14d', 'name' => 'Share square' ),
|
507 |
+
'fa fa-share-square-o' => array( 'unicode' => '\f045', 'name' => 'Share square o' ),
|
508 |
+
'fa fa-shield' => array( 'unicode' => '\f132', 'name' => 'Shield' ),
|
509 |
+
'fa fa-ship' => array( 'unicode' => '\f21a', 'name' => 'Ship' ),
|
510 |
+
'fa fa-shirtsinbulk' => array( 'unicode' => '\f214', 'name' => 'Shirtsinbulk' ),
|
511 |
+
'fa fa-shopping-bag' => array( 'unicode' => '\f290', 'name' => 'Shopping bag' ),
|
512 |
+
'fa fa-shopping-basket' => array( 'unicode' => '\f291', 'name' => 'Shopping basket' ),
|
513 |
+
'fa fa-shopping-cart' => array( 'unicode' => '\f07a', 'name' => 'Shopping cart' ),
|
514 |
+
'fa fa-shower' => array( 'unicode' => '\f2cc', 'name' => 'Shower' ),
|
515 |
+
'fa fa-sign-in' => array( 'unicode' => '\f090', 'name' => 'Sign in' ),
|
516 |
+
'fa fa-sign-language' => array( 'unicode' => '\f2a7', 'name' => 'Sign language' ),
|
517 |
+
'fa fa-sign-out' => array( 'unicode' => '\f08b', 'name' => 'Sign out' ),
|
518 |
+
'fa fa-signal' => array( 'unicode' => '\f012', 'name' => 'Signal' ),
|
519 |
+
'fa fa-simplybuilt' => array( 'unicode' => '\f215', 'name' => 'Simplybuilt' ),
|
520 |
+
'fa fa-sitemap' => array( 'unicode' => '\f0e8', 'name' => 'Sitemap' ),
|
521 |
+
'fa fa-skyatlas' => array( 'unicode' => '\f216', 'name' => 'Skyatlas' ),
|
522 |
+
'fa fa-skype' => array( 'unicode' => '\f17e', 'name' => 'Skype' ),
|
523 |
+
'fa fa-slack' => array( 'unicode' => '\f198', 'name' => 'Slack' ),
|
524 |
+
'fa fa-sliders' => array( 'unicode' => '\f1de', 'name' => 'Sliders' ),
|
525 |
+
'fa fa-slideshare' => array( 'unicode' => '\f1e7', 'name' => 'Slideshare' ),
|
526 |
+
'fa fa-smile-o' => array( 'unicode' => '\f118', 'name' => 'Smile o' ),
|
527 |
+
'fa fa-snapchat' => array( 'unicode' => '\f2ab', 'name' => 'Snapchat' ),
|
528 |
+
'fa fa-snapchat-ghost' => array( 'unicode' => '\f2ac', 'name' => 'Snapchat ghost' ),
|
529 |
+
'fa fa-snapchat-square' => array( 'unicode' => '\f2ad', 'name' => 'Snapchat square' ),
|
530 |
+
'fa fa-snowflake-o' => array( 'unicode' => '\f2dc', 'name' => 'Snowflake o' ),
|
531 |
+
'fa fa-sort' => array( 'unicode' => '\f0dc', 'name' => 'Sort' ),
|
532 |
+
'fa fa-sort-alpha-asc' => array( 'unicode' => '\f15d', 'name' => 'Sort alpha asc' ),
|
533 |
+
'fa fa-sort-alpha-desc' => array( 'unicode' => '\f15e', 'name' => 'Sort alpha desc' ),
|
534 |
+
'fa fa-sort-amount-asc' => array( 'unicode' => '\f160', 'name' => 'Sort amount asc' ),
|
535 |
+
'fa fa-sort-amount-desc' => array( 'unicode' => '\f161', 'name' => 'Sort amount desc' ),
|
536 |
+
'fa fa-sort-asc' => array( 'unicode' => '\f0de', 'name' => 'Sort asc' ),
|
537 |
+
'fa fa-sort-desc' => array( 'unicode' => '\f0dd', 'name' => 'Sort desc' ),
|
538 |
+
'fa fa-sort-numeric-asc' => array( 'unicode' => '\f162', 'name' => 'Sort numeric asc' ),
|
539 |
+
'fa fa-sort-numeric-desc' => array( 'unicode' => '\f163', 'name' => 'Sort numeric desc' ),
|
540 |
+
'fa fa-soundcloud' => array( 'unicode' => '\f1be', 'name' => 'Soundcloud' ),
|
541 |
+
'fa fa-space-shuttle' => array( 'unicode' => '\f197', 'name' => 'Space shuttle' ),
|
542 |
+
'fa fa-spinner' => array( 'unicode' => '\f110', 'name' => 'Spinner' ),
|
543 |
+
'fa fa-spoon' => array( 'unicode' => '\f1b1', 'name' => 'Spoon' ),
|
544 |
+
'fa fa-spotify' => array( 'unicode' => '\f1bc', 'name' => 'Spotify' ),
|
545 |
+
'fa fa-square' => array( 'unicode' => '\f0c8', 'name' => 'Square' ),
|
546 |
+
'fa fa-square-o' => array( 'unicode' => '\f096', 'name' => 'Square o' ),
|
547 |
+
'fa fa-stack-exchange' => array( 'unicode' => '\f18d', 'name' => 'Stack exchange' ),
|
548 |
+
'fa fa-stack-overflow' => array( 'unicode' => '\f16c', 'name' => 'Stack overflow' ),
|
549 |
+
'fa fa-star-half' => array( 'unicode' => '\f089', 'name' => 'Star half' ),
|
550 |
+
'fa fa-star-half-o' => array( 'unicode' => '\f123', 'name' => 'Star half o' ),
|
551 |
+
'fa fa-star-o' => array( 'unicode' => '\f006', 'name' => 'Star o' ),
|
552 |
+
'fa fa-steam' => array( 'unicode' => '\f1b6', 'name' => 'Steam' ),
|
553 |
+
'fa fa-steam-square' => array( 'unicode' => '\f1b7', 'name' => 'Steam square' ),
|
554 |
+
'fa fa-step-backward' => array( 'unicode' => '\f048', 'name' => 'Step backward' ),
|
555 |
+
'fa fa-step-forward' => array( 'unicode' => '\f051', 'name' => 'Step forward' ),
|
556 |
+
'fa fa-stethoscope' => array( 'unicode' => '\f0f1', 'name' => 'Stethoscope' ),
|
557 |
+
'fa fa-sticky-note' => array( 'unicode' => '\f249', 'name' => 'Sticky note' ),
|
558 |
+
'fa fa-sticky-note-o' => array( 'unicode' => '\f24a', 'name' => 'Sticky note o' ),
|
559 |
+
'fa fa-stop' => array( 'unicode' => '\f04d', 'name' => 'Stop' ),
|
560 |
+
'fa fa-stop-circle' => array( 'unicode' => '\f28d', 'name' => 'Stop circle' ),
|
561 |
+
'fa fa-stop-circle-o' => array( 'unicode' => '\f28e', 'name' => 'Stop circle o' ),
|
562 |
+
'fa fa-street-view' => array( 'unicode' => '\f21d', 'name' => 'Street view' ),
|
563 |
+
'fa fa-strikethrough' => array( 'unicode' => '\f0cc', 'name' => 'Strikethrough' ),
|
564 |
+
'fa fa-stumbleupon' => array( 'unicode' => '\f1a4', 'name' => 'Stumbleupon' ),
|
565 |
+
'fa fa-stumbleupon-circle' => array( 'unicode' => '\f1a3', 'name' => 'Stumbleupon circle' ),
|
566 |
+
'fa fa-subscript' => array( 'unicode' => '\f12c', 'name' => 'Subscript' ),
|
567 |
+
'fa fa-subway' => array( 'unicode' => '\f239', 'name' => 'Subway' ),
|
568 |
+
'fa fa-suitcase' => array( 'unicode' => '\f0f2', 'name' => 'Suitcase' ),
|
569 |
+
'fa fa-sun-o' => array( 'unicode' => '\f185', 'name' => 'Sun o' ),
|
570 |
+
'fa fa-superpowers' => array( 'unicode' => '\f2dd', 'name' => 'Superpowers' ),
|
571 |
+
'fa fa-superscript' => array( 'unicode' => '\f12b', 'name' => 'Superscript' ),
|
572 |
+
'fa fa-table' => array( 'unicode' => '\f0ce', 'name' => 'Table' ),
|
573 |
+
'fa fa-tablet' => array( 'unicode' => '\f10a', 'name' => 'Tablet' ),
|
574 |
+
'fa fa-tachometer' => array( 'unicode' => '\f0e4', 'name' => 'Tachometer' ),
|
575 |
+
'fa fa-tag' => array( 'unicode' => '\f02b', 'name' => 'Tag' ),
|
576 |
+
'fa fa-tags' => array( 'unicode' => '\f02c', 'name' => 'Tags' ),
|
577 |
+
'fa fa-tasks' => array( 'unicode' => '\f0ae', 'name' => 'Tasks' ),
|
578 |
+
'fa fa-taxi' => array( 'unicode' => '\f1ba', 'name' => 'Taxi' ),
|
579 |
+
'fa fa-telegram' => array( 'unicode' => '\f2c6', 'name' => 'Telegram' ),
|
580 |
+
'fa fa-television' => array( 'unicode' => '\f26c', 'name' => 'Television' ),
|
581 |
+
'fa fa-tencent-weibo' => array( 'unicode' => '\f1d5', 'name' => 'Tencent weibo' ),
|
582 |
+
'fa fa-terminal' => array( 'unicode' => '\f120', 'name' => 'Terminal' ),
|
583 |
+
'fa fa-text-height' => array( 'unicode' => '\f034', 'name' => 'Text height' ),
|
584 |
+
'fa fa-text-width' => array( 'unicode' => '\f035', 'name' => 'Text width' ),
|
585 |
+
'fa fa-th' => array( 'unicode' => '\f00a', 'name' => 'Th' ),
|
586 |
+
'fa fa-th-large' => array( 'unicode' => '\f009', 'name' => 'Th large' ),
|
587 |
+
'fa fa-th-list' => array( 'unicode' => '\f00b', 'name' => 'Th list' ),
|
588 |
+
'fa fa-themeisle' => array( 'unicode' => '\f2b2', 'name' => 'Themeisle' ),
|
589 |
+
'fa fa-thermometer-empty' => array( 'unicode' => '\f2cb', 'name' => 'Thermometer empty' ),
|
590 |
+
'fa fa-thermometer-full' => array( 'unicode' => '\f2c7', 'name' => 'Thermometer full' ),
|
591 |
+
'fa fa-thermometer-half' => array( 'unicode' => '\f2c9', 'name' => 'Thermometer half' ),
|
592 |
+
'fa fa-thermometer-quarter' => array( 'unicode' => '\f2ca', 'name' => 'Thermometer quarter' ),
|
593 |
+
'fa fa-thermometer-three-quarters' => array( 'unicode' => '\f2c8', 'name' => 'Thermometer three quarters' ),
|
594 |
+
'fa fa-thumb-tack' => array( 'unicode' => '\f08d', 'name' => 'Thumb tack' ),
|
595 |
+
'fa fa-thumbs-down' => array( 'unicode' => '\f165', 'name' => 'Thumbs down' ),
|
596 |
+
'fa fa-thumbs-o-down' => array( 'unicode' => '\f088', 'name' => 'Thumbs o down' ),
|
597 |
+
'fa fa-thumbs-o-up' => array( 'unicode' => '\f087', 'name' => 'Thumbs o up' ),
|
598 |
+
'fa fa-thumbs-up' => array( 'unicode' => '\f164', 'name' => 'Thumbs up' ),
|
599 |
+
'fa fa-ticket' => array( 'unicode' => '\f145', 'name' => 'Ticket' ),
|
600 |
+
'fa fa-times' => array( 'unicode' => '\f00d', 'name' => 'Times' ),
|
601 |
+
'fa fa-times-circle' => array( 'unicode' => '\f057', 'name' => 'Times circle' ),
|
602 |
+
'fa fa-times-circle-o' => array( 'unicode' => '\f05c', 'name' => 'Times circle o' ),
|
603 |
+
'fa fa-tint' => array( 'unicode' => '\f043', 'name' => 'Tint' ),
|
604 |
+
'fa fa-toggle-off' => array( 'unicode' => '\f204', 'name' => 'Toggle off' ),
|
605 |
+
'fa fa-toggle-on' => array( 'unicode' => '\f205', 'name' => 'Toggle on' ),
|
606 |
+
'fa fa-trademark' => array( 'unicode' => '\f25c', 'name' => 'Trademark' ),
|
607 |
+
'fa fa-train' => array( 'unicode' => '\f238', 'name' => 'Train' ),
|
608 |
+
'fa fa-transgender' => array( 'unicode' => '\f224', 'name' => 'Transgender' ),
|
609 |
+
'fa fa-transgender-alt' => array( 'unicode' => '\f225', 'name' => 'Transgender alt' ),
|
610 |
+
'fa fa-trash' => array( 'unicode' => '\f1f8', 'name' => 'Trash' ),
|
611 |
+
'fa fa-trash-o' => array( 'unicode' => '\f014', 'name' => 'Trash o' ),
|
612 |
+
'fa fa-tree' => array( 'unicode' => '\f1bb', 'name' => 'Tree' ),
|
613 |
+
'fa fa-trello' => array( 'unicode' => '\f181', 'name' => 'Trello' ),
|
614 |
+
'fa fa-tripadvisor' => array( 'unicode' => '\f262', 'name' => 'Tripadvisor' ),
|
615 |
+
'fa fa-trophy' => array( 'unicode' => '\f091', 'name' => 'Trophy' ),
|
616 |
+
'fa fa-truck' => array( 'unicode' => '\f0d1', 'name' => 'Truck' ),
|
617 |
+
'fa fa-try' => array( 'unicode' => '\f195', 'name' => 'Try' ),
|
618 |
+
'fa fa-tty' => array( 'unicode' => '\f1e4', 'name' => 'Tty' ),
|
619 |
+
'fa fa-tumblr' => array( 'unicode' => '\f173', 'name' => 'Tumblr' ),
|
620 |
+
'fa fa-tumblr-square' => array( 'unicode' => '\f174', 'name' => 'Tumblr square' ),
|
621 |
+
'fa fa-twitch' => array( 'unicode' => '\f1e8', 'name' => 'Twitch' ),
|
622 |
+
'fa fa-twitter' => array( 'unicode' => '\f099', 'name' => 'Twitter' ),
|
623 |
+
'fa fa-twitter-square' => array( 'unicode' => '\f081', 'name' => 'Twitter square' ),
|
624 |
+
'fa fa-umbrella' => array( 'unicode' => '\f0e9', 'name' => 'Umbrella' ),
|
625 |
+
'fa fa-underline' => array( 'unicode' => '\f0cd', 'name' => 'Underline' ),
|
626 |
+
'fa fa-undo' => array( 'unicode' => '\f0e2', 'name' => 'Undo' ),
|
627 |
+
'fa fa-universal-access' => array( 'unicode' => '\f29a', 'name' => 'Universal access' ),
|
628 |
+
'fa fa-university' => array( 'unicode' => '\f19c', 'name' => 'University' ),
|
629 |
+
'fa fa-unlock' => array( 'unicode' => '\f09c', 'name' => 'Unlock' ),
|
630 |
+
'fa fa-unlock-alt' => array( 'unicode' => '\f13e', 'name' => 'Unlock alt' ),
|
631 |
+
'fa fa-upload' => array( 'unicode' => '\f093', 'name' => 'Upload' ),
|
632 |
+
'fa fa-usb' => array( 'unicode' => '\f287', 'name' => 'Usb' ),
|
633 |
+
'fa fa-usd' => array( 'unicode' => '\f155', 'name' => 'Usd' ),
|
634 |
+
'fa fa-user' => array( 'unicode' => '\f007', 'name' => 'User' ),
|
635 |
+
'fa fa-user-circle' => array( 'unicode' => '\f2bd', 'name' => 'User circle' ),
|
636 |
+
'fa fa-user-circle-o' => array( 'unicode' => '\f2be', 'name' => 'User circle o' ),
|
637 |
+
'fa fa-user-md' => array( 'unicode' => '\f0f0', 'name' => 'User md' ),
|
638 |
+
'fa fa-user-o' => array( 'unicode' => '\f2c0', 'name' => 'User o' ),
|
639 |
+
'fa fa-user-plus' => array( 'unicode' => '\f234', 'name' => 'User plus' ),
|
640 |
+
'fa fa-user-secret' => array( 'unicode' => '\f21b', 'name' => 'User secret' ),
|
641 |
+
'fa fa-user-times' => array( 'unicode' => '\f235', 'name' => 'User times' ),
|
642 |
+
'fa fa-users' => array( 'unicode' => '\f0c0', 'name' => 'Users' ),
|
643 |
+
'fa fa-venus' => array( 'unicode' => '\f221', 'name' => 'Venus' ),
|
644 |
+
'fa fa-venus-double' => array( 'unicode' => '\f226', 'name' => 'Venus double' ),
|
645 |
+
'fa fa-venus-mars' => array( 'unicode' => '\f228', 'name' => 'Venus mars' ),
|
646 |
+
'fa fa-viacoin' => array( 'unicode' => '\f237', 'name' => 'Viacoin' ),
|
647 |
+
'fa fa-viadeo' => array( 'unicode' => '\f2a9', 'name' => 'Viadeo' ),
|
648 |
+
'fa fa-viadeo-square' => array( 'unicode' => '\f2aa', 'name' => 'Viadeo square' ),
|
649 |
+
'fa fa-video-camera' => array( 'unicode' => '\f03d', 'name' => 'Video camera' ),
|
650 |
+
'fa fa-vimeo' => array( 'unicode' => '\f27d', 'name' => 'Vimeo' ),
|
651 |
+
'fa fa-vimeo-square' => array( 'unicode' => '\f194', 'name' => 'Vimeo square' ),
|
652 |
+
'fa fa-vine' => array( 'unicode' => '\f1ca', 'name' => 'Vine' ),
|
653 |
+
'fa fa-vk' => array( 'unicode' => '\f189', 'name' => 'Vk' ),
|
654 |
+
'fa fa-volume-control-phone' => array( 'unicode' => '\f2a0', 'name' => 'Volume control phone' ),
|
655 |
+
'fa fa-volume-down' => array( 'unicode' => '\f027', 'name' => 'Volume down' ),
|
656 |
+
'fa fa-volume-off' => array( 'unicode' => '\f026', 'name' => 'Volume off' ),
|
657 |
+
'fa fa-volume-up' => array( 'unicode' => '\f028', 'name' => 'Volume up' ),
|
658 |
+
'fa fa-weibo' => array( 'unicode' => '\f18a', 'name' => 'Weibo' ),
|
659 |
+
'fa fa-weixin' => array( 'unicode' => '\f1d7', 'name' => 'Weixin' ),
|
660 |
+
'fa fa-whatsapp' => array( 'unicode' => '\f232', 'name' => 'Whatsapp' ),
|
661 |
+
'fa fa-wheelchair' => array( 'unicode' => '\f193', 'name' => 'Wheelchair' ),
|
662 |
+
'fa fa-wheelchair-alt' => array( 'unicode' => '\f29b', 'name' => 'Wheelchair alt' ),
|
663 |
+
'fa fa-wifi' => array( 'unicode' => '\f1eb', 'name' => 'Wifi' ),
|
664 |
+
'fa fa-wikipedia-w' => array( 'unicode' => '\f266', 'name' => 'Wikipedia w' ),
|
665 |
+
'fa fa-window-close' => array( 'unicode' => '\f2d3', 'name' => 'Window close' ),
|
666 |
+
'fa fa-window-close-o' => array( 'unicode' => '\f2d4', 'name' => 'Window close o' ),
|
667 |
+
'fa fa-window-maximize' => array( 'unicode' => '\f2d0', 'name' => 'Window maximize' ),
|
668 |
+
'fa fa-window-minimize' => array( 'unicode' => '\f2d1', 'name' => 'Window minimize' ),
|
669 |
+
'fa fa-window-restore' => array( 'unicode' => '\f2d2', 'name' => 'Window restore' ),
|
670 |
+
'fa fa-windows' => array( 'unicode' => '\f17a', 'name' => 'Windows' ),
|
671 |
+
'fa fa-wordpress' => array( 'unicode' => '\f19a', 'name' => 'Wordpress' ),
|
672 |
+
'fa fa-wpbeginner' => array( 'unicode' => '\f297', 'name' => 'Wpbeginner' ),
|
673 |
+
'fa fa-wpexplorer' => array( 'unicode' => '\f2de', 'name' => 'Wpexplorer' ),
|
674 |
+
'fa fa-wpforms' => array( 'unicode' => '\f298', 'name' => 'Wpforms' ),
|
675 |
+
'fa fa-wrench' => array( 'unicode' => '\f0ad', 'name' => 'Wrench' ),
|
676 |
+
'fa fa-xing' => array( 'unicode' => '\f168', 'name' => 'Xing' ),
|
677 |
+
'fa fa-xing-square' => array( 'unicode' => '\f169', 'name' => 'Xing square' ),
|
678 |
+
'fa fa-y-combinator' => array( 'unicode' => '\f23b', 'name' => 'Y combinator' ),
|
679 |
+
'fa fa-yahoo' => array( 'unicode' => '\f19e', 'name' => 'Yahoo' ),
|
680 |
+
'fa fa-yelp' => array( 'unicode' => '\f1e9', 'name' => 'Yelp' ),
|
681 |
+
'fa fa-yoast' => array( 'unicode' => '\f2b1', 'name' => 'Yoast' ),
|
682 |
+
'fa fa-youtube' => array( 'unicode' => '\f167', 'name' => 'Youtube' ),
|
683 |
+
'fa fa-youtube-play' => array( 'unicode' => '\f16a', 'name' => 'Youtube play' ),
|
684 |
+
'fa fa-youtube-square' => array( 'unicode' => '\f166', 'name' => 'Youtube square' ),
|
685 |
+
);
|
admin/import.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined( 'ABSPATH' ) || exit;
|
4 |
+
|
5 |
+
class WP_Review_Importer {
|
6 |
+
|
7 |
+
/**
|
8 |
+
* The number of posts to import per request.
|
9 |
+
*
|
10 |
+
* @var int
|
11 |
+
*/
|
12 |
+
private $numposts;
|
13 |
+
|
14 |
+
public function __construct() {
|
15 |
+
add_action( 'wp_ajax_wp_review_import_options', array( $this, 'import_options' ) );
|
16 |
+
add_action( 'init', array( $this, 'extra_tasks' ) );
|
17 |
+
|
18 |
+
$this->numposts = apply_filters( 'wp_review_import_numposts', 10 );
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* AJAX handler for importing options.
|
23 |
+
*/
|
24 |
+
public function import_options() {
|
25 |
+
check_ajax_referer( 'wp-review-import-options' );
|
26 |
+
if ( empty( $_POST['code'] ) ) {
|
27 |
+
wp_send_json_error();
|
28 |
+
}
|
29 |
+
$code = wp_unslash( $_POST['code'] );
|
30 |
+
if ( wp_review_import_options( $code ) ) {
|
31 |
+
wp_send_json_success();
|
32 |
+
}
|
33 |
+
wp_send_json_error();
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Runs extra tasks.
|
38 |
+
*/
|
39 |
+
public function extra_tasks() {
|
40 |
+
if ( ! function_exists( 'Display_Select_Review' ) ) {
|
41 |
+
add_shortcode( 'select-review', '__return_empty_string' );
|
42 |
+
}
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
$plugin_importer = new WP_Review_Importer();
|
admin/metaboxes.php
CHANGED
@@ -1,499 +1,1220 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* File for registering meta box.
|
4 |
-
*
|
5 |
-
* @since 2.0
|
6 |
-
* @copyright Copyright (c) 2013, MyThemesShop
|
7 |
-
* @author MyThemesShop
|
8 |
-
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
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 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
$
|
134 |
-
|
135 |
-
$
|
136 |
-
$
|
137 |
-
|
138 |
-
|
139 |
-
$
|
140 |
-
$
|
141 |
-
$
|
142 |
-
$
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
if(
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
<
|
210 |
-
<
|
211 |
-
<
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
<
|
246 |
-
<
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
<
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
<
|
286 |
-
<label
|
287 |
-
|
288 |
-
</
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
if (
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* File for registering meta box.
|
4 |
+
*
|
5 |
+
* @since 2.0
|
6 |
+
* @copyright Copyright (c) 2013, MyThemesShop
|
7 |
+
* @author MyThemesShop
|
8 |
+
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
9 |
+
* @package WP_Review
|
10 |
+
*/
|
11 |
+
|
12 |
+
/* Adds a box to the Posts edit screens. */
|
13 |
+
add_action( 'add_meta_boxes', 'wp_review_add_meta_boxes' );
|
14 |
+
|
15 |
+
/* Saves the meta box custom data. */
|
16 |
+
add_action( 'save_post', 'wp_review_save_postdata', 10, 2 );
|
17 |
+
|
18 |
+
require_once plugin_dir_path( __FILE__ ) . 'review-options-meta-box.php';
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Adds a box to the Post edit screens.
|
22 |
+
*
|
23 |
+
* @since 1.0
|
24 |
+
*/
|
25 |
+
function wp_review_add_meta_boxes() {
|
26 |
+
$post_types = get_post_types( array( 'public' => true ), 'names' );
|
27 |
+
$excluded_post_types = apply_filters( 'wp_review_excluded_post_types', array( 'attachment' ) );
|
28 |
+
$hide_review_box = wp_review_network_option( 'hide_ratings_in_posts_' );
|
29 |
+
$hide_review_links = wp_review_network_option( 'hide_review_links_' );
|
30 |
+
$hide_review_desc = wp_review_network_option( 'hide_review_description_' );
|
31 |
+
$hide_review_features = wp_review_network_option( 'hide_features_' );
|
32 |
+
$hide_user_reviews = wp_review_network_option( 'hide_user_reviews_' );
|
33 |
+
|
34 |
+
if ( ! $hide_review_box && current_user_can( 'wp_review_single_page' ) ) {
|
35 |
+
foreach ( $post_types as $post_type ) {
|
36 |
+
if ( ! in_array( $post_type, $excluded_post_types ) ) {
|
37 |
+
add_meta_box(
|
38 |
+
'wp-review-metabox-review',
|
39 |
+
__( 'Review', 'wp-review' ),
|
40 |
+
'wp_review_render_meta_box_review_options',
|
41 |
+
$post_type,
|
42 |
+
'normal',
|
43 |
+
'high'
|
44 |
+
);
|
45 |
+
|
46 |
+
if ( ! $hide_review_features && current_user_can( 'wp_review_features' ) ) {
|
47 |
+
add_meta_box(
|
48 |
+
'wp-review-metabox-item',
|
49 |
+
__( 'Review Item', 'wp-review' ),
|
50 |
+
'wp_review_render_meta_box_item',
|
51 |
+
$post_type,
|
52 |
+
'normal',
|
53 |
+
'high'
|
54 |
+
);
|
55 |
+
}
|
56 |
+
|
57 |
+
if ( ! $hide_review_links && current_user_can( 'wp_review_links' ) ) {
|
58 |
+
add_meta_box(
|
59 |
+
'wp-review-metabox-reviewLinks',
|
60 |
+
__( 'Review Links', 'wp-review' ),
|
61 |
+
'wp_review_render_meta_box_reviewLinks',
|
62 |
+
$post_type,
|
63 |
+
'normal',
|
64 |
+
'high'
|
65 |
+
);
|
66 |
+
}
|
67 |
+
if ( ! $hide_review_desc && current_user_can( 'wp_review_description' ) ) {
|
68 |
+
add_meta_box(
|
69 |
+
'wp-review-metabox-desc',
|
70 |
+
__( 'Review Description', 'wp-review' ),
|
71 |
+
'wp_review_render_meta_box_desc',
|
72 |
+
$post_type,
|
73 |
+
'normal',
|
74 |
+
'high'
|
75 |
+
);
|
76 |
+
}
|
77 |
+
|
78 |
+
if ( ! $hide_user_reviews && current_user_can( 'wp_review_user_reviews' ) ) {
|
79 |
+
add_meta_box(
|
80 |
+
'wp-review-metabox-userReview',
|
81 |
+
__( 'User Reviews', 'wp-review' ),
|
82 |
+
'wp_review_render_meta_box_userReview',
|
83 |
+
$post_type,
|
84 |
+
'normal',
|
85 |
+
'high'
|
86 |
+
);
|
87 |
+
}
|
88 |
+
}
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Render the meta box.
|
96 |
+
*
|
97 |
+
* @since 1.0
|
98 |
+
*
|
99 |
+
* @param WP_Post $post Post object.
|
100 |
+
*/
|
101 |
+
function wp_review_render_meta_box_item( $post ) {
|
102 |
+
$form_field = new WP_Review_Form_Field();
|
103 |
+
$options = get_option( 'wp_review_options' );
|
104 |
+
$default_location = wp_review_get_default_location();
|
105 |
+
$default_criteria = wp_review_get_default_criteria();
|
106 |
+
|
107 |
+
$default_items = array();
|
108 |
+
foreach ( $default_criteria as $index => $item ) {
|
109 |
+
if ( empty( $item ) ) {
|
110 |
+
continue;
|
111 |
+
}
|
112 |
+
$default_items[ $index ] = array(
|
113 |
+
'id' => $index,
|
114 |
+
'wp_review_item_title' => $item,
|
115 |
+
'wp_review_item_star' => '',
|
116 |
+
);
|
117 |
+
}
|
118 |
+
|
119 |
+
$global_colors = wp_review_get_global_colors();
|
120 |
+
$global_color = ! empty( $global_colors['color'] ) ? $global_colors['color'] : '';
|
121 |
+
$global_inactive_color = ! empty( $global_colors['inactive_color'] ) ? $global_colors['inactive_color'] : '';
|
122 |
+
|
123 |
+
/* Retrieve an existing value from the database. */
|
124 |
+
$custom_colors = get_post_meta( $post->ID, 'wp_review_custom_colors', true );
|
125 |
+
$custom_location = get_post_meta( $post->ID, 'wp_review_custom_location', true );
|
126 |
+
|
127 |
+
$items = wp_review_get_review_items( $post->ID );
|
128 |
+
if ( '' === $items ) {
|
129 |
+
$items = $default_items;
|
130 |
+
}
|
131 |
+
$items = array_values( $items );
|
132 |
+
|
133 |
+
$total = get_post_meta( $post->ID, 'wp_review_total', true );
|
134 |
+
|
135 |
+
$color = $post_color = get_post_meta( $post->ID, 'wp_review_color', true );
|
136 |
+
$inactive_color = $post_inactive_color = get_post_meta( $post->ID, 'wp_review_inactive_color', true );
|
137 |
+
|
138 |
+
$location = get_post_meta( $post->ID, 'wp_review_location', true );
|
139 |
+
$fontcolor = get_post_meta( $post->ID, 'wp_review_fontcolor', true );
|
140 |
+
$bgcolor1 = get_post_meta( $post->ID, 'wp_review_bgcolor1', true );
|
141 |
+
$bgcolor2 = get_post_meta( $post->ID, 'wp_review_bgcolor2', true );
|
142 |
+
$bordercolor = get_post_meta( $post->ID, 'wp_review_bordercolor', true );
|
143 |
+
|
144 |
+
if ( ! $color ) {
|
145 |
+
$color = ! empty( $global_colors['color'] ) ? $global_colors['color'] : '';
|
146 |
+
}
|
147 |
+
if ( ! $inactive_color ) {
|
148 |
+
$inactive_color = ! empty( $global_colors['inactive_color'] ) ? $global_colors['inactive_color'] : '';
|
149 |
+
}
|
150 |
+
|
151 |
+
if ( '' == $location ) {
|
152 |
+
$location = ! empty( $options['location'] ) ? $options['location'] : $default_location;
|
153 |
+
}
|
154 |
+
if ( '' == $fontcolor ) {
|
155 |
+
$fontcolor = ! empty( $global_colors['fontcolor'] ) ? $global_colors['fontcolor'] : '';
|
156 |
+
}
|
157 |
+
if ( '' == $bgcolor1 ) {
|
158 |
+
$bgcolor1 = ! empty( $global_colors['bgcolor1'] ) ? $global_colors['bgcolor1'] : '';
|
159 |
+
}
|
160 |
+
if ( '' == $bgcolor2 ) {
|
161 |
+
$bgcolor2 = ! empty( $global_colors['bgcolor2'] ) ? $global_colors['bgcolor2'] : '';
|
162 |
+
}
|
163 |
+
if ( '' == $bordercolor ) {
|
164 |
+
$bordercolor = ! empty( $global_colors['bordercolor'] ) ? $global_colors['bordercolor'] : '';
|
165 |
+
}
|
166 |
+
|
167 |
+
$fields = array(
|
168 |
+
'location' => true,
|
169 |
+
'color' => true,
|
170 |
+
'inactive_color' => true,
|
171 |
+
'fontcolor' => true,
|
172 |
+
'bgcolor1' => true,
|
173 |
+
'bgcolor2' => true,
|
174 |
+
'bordercolor' => true,
|
175 |
+
'fontfamily' => true,
|
176 |
+
'custom_colors' => true,
|
177 |
+
'custom_location' => true,
|
178 |
+
'disable_features' => true,
|
179 |
+
);
|
180 |
+
$displayed_fields = apply_filters( 'wp_review_metabox_item_fields', $fields );
|
181 |
+
|
182 |
+
$review_templates = wp_review_get_box_templates();
|
183 |
+
$box_template = get_post_meta( $post->ID, 'wp_review_box_template', true );
|
184 |
+
|
185 |
+
if ( ! $box_template || ! in_array( $box_template, array( 'default', 'aqua' ) ) ) {
|
186 |
+
$box_template = wp_review_option( 'box_template', 'default' );
|
187 |
+
}
|
188 |
+
$box_template_img = ! empty( $review_templates[ $box_template ] ) ? $review_templates[ $box_template ]['image'] : WP_REVIEW_ASSETS . 'images/largethumb.png';
|
189 |
+
|
190 |
+
/* Add an nonce field so we can check for it later. */
|
191 |
+
wp_nonce_field( basename( __FILE__ ), 'wp-review-item-nonce' );
|
192 |
+
?>
|
193 |
+
<input type="hidden" id="wpr-review-color-value" value="<?php echo esc_attr( $color ); ?>">
|
194 |
+
<input type="hidden" id="wpr-review-inactive-color-value" value="<?php echo esc_attr( $inactive_color ); ?>">
|
195 |
+
<input type="hidden" id="wpr-review-global-color-value" value="<?php echo esc_attr( $global_color ); ?>">
|
196 |
+
<input type="hidden" id="wpr-review-global-inactive-color-value" value="<?php echo esc_attr( $global_inactive_color ); ?>">
|
197 |
+
<input type="hidden" id="wpr-review-items-data" value="<?php echo esc_attr( wp_json_encode( $items ) ); ?>">
|
198 |
+
|
199 |
+
<div id="wpr-review-items-app">
|
200 |
+
<input type="hidden" id="wpr-review-type-2" value="">
|
201 |
+
<div class="wpr-review-items"></div>
|
202 |
+
|
203 |
+
<div class="setting-row final-row" style="padding-right: 10px;">
|
204 |
+
<div class="col-1">
|
205 |
+
<button type="button" class="button add-item"><?php esc_html_e( 'Add item', 'wp-review' ); ?></button>
|
206 |
+
</div>
|
207 |
+
<div class="col-2"></div>
|
208 |
+
<div class="col-3">
|
209 |
+
<div class="wpr-review-items-total">
|
210 |
+
<input type="text" class="input-total" name="wp_review_total" value="<?php echo floatval( $total ); ?>" size="4">
|
211 |
+
<label><?php esc_html_e( 'Total', 'wp-review' ); ?></label>
|
212 |
+
</div>
|
213 |
+
</div>
|
214 |
+
</div>
|
215 |
+
</div>
|
216 |
+
|
217 |
+
<script type="text/html" id="tmpl-wpr-review-item">
|
218 |
+
<span class="wpr-icon-move dashicons dashicons-menu"></span>
|
219 |
+
|
220 |
+
{{{ data.itemNameSetting }}}
|
221 |
+
|
222 |
+
{{{ data.itemRatingSetting }}}
|
223 |
+
|
224 |
+
{{{ data.itemColorSetting }}}
|
225 |
+
|
226 |
+
{{{ data.itemInactiveColorSetting }}}
|
227 |
+
|
228 |
+
<input type="hidden" name="wp_review_item_id[]" value="{{ data.item_id }}">
|
229 |
+
|
230 |
+
<button type="button" class="button delete-item"><?php esc_html_e( 'Delete', 'wp-review' ); ?></button>
|
231 |
+
</script>
|
232 |
+
|
233 |
+
<script type="text/html" id="tmpl-wpr-review-item-name">
|
234 |
+
<div class="setting-row">
|
235 |
+
<div class="col-1">
|
236 |
+
<label for="wpr-review-item-title-{{ data.id }}"><?php esc_html_e( 'Feature Name', 'wp-review' ); ?></label>
|
237 |
+
</div>
|
238 |
+
<div class="col-2">
|
239 |
+
<input type="text" id="wpr-review-item-title-{{ data.id }}" name="wp_review_item_title[]" class="input-title" value="{{ data.wp_review_item_title }}">
|
240 |
+
</div>
|
241 |
+
</div>
|
242 |
+
</script>
|
243 |
+
|
244 |
+
<script type="text/html" id="tmpl-wpr-review-item-color">
|
245 |
+
<div class="setting-row">
|
246 |
+
<div class="col-1">
|
247 |
+
<label for="wpr-review-item-color-{{ data.id }}"><?php esc_html_e( 'Feature Color', 'wp-review' ); ?></label>
|
248 |
+
<?php wp_review_print_pro_text(); ?>
|
249 |
+
</div>
|
250 |
+
<div class="col-2">
|
251 |
+
<span class="wp-review-disabled inline-block has-bg">
|
252 |
+
<input type="text" id="wpr-review-item-color-{{ data.id }}" name="wp_review_item_color[]" class="input-color" value="{{ data.wp_review_item_color }}" data-default-color="{{ data.wp_review_item_color }}" disabled>
|
253 |
+
</span>
|
254 |
+
</div>
|
255 |
+
</div>
|
256 |
+
</script>
|
257 |
+
|
258 |
+
<script type="text/html" id="tmpl-wpr-review-item-inactive-color">
|
259 |
+
<div class="setting-row">
|
260 |
+
<div class="col-1">
|
261 |
+
<label for="wpr-review-item-inactive-color-{{ data.id }}"><?php esc_html_e( 'Inactive Color', 'wp-review' ); ?></label>
|
262 |
+
<?php wp_review_print_pro_text(); ?>
|
263 |
+
</div>
|
264 |
+
<div class="col-2">
|
265 |
+
<span class="wp-review-disabled inline-block has-bg">
|
266 |
+
<input type="text" id="wpr-review-item-inactive-color-{{ data.id }}" name="wp_review_item_inactive_color[]" class="input-inactive-color" value="{{ data.wp_review_item_inactive_color }}" data-default-color="{{ data.wp_review_item_inactive_color }}" disabled>
|
267 |
+
</span>
|
268 |
+
</div>
|
269 |
+
</div>
|
270 |
+
</script>
|
271 |
+
|
272 |
+
<script type="text/html" id="tmpl-wpr-review-item-rating">
|
273 |
+
<div class="setting-row">
|
274 |
+
<div class="col-1">
|
275 |
+
<label for="wpr-review-item-star-{{ data.id }}"><?php esc_html_e( 'Feature Score', 'wp-review' ); ?></label>
|
276 |
+
</div>
|
277 |
+
<div class="col-2">
|
278 |
+
<input type="text" id="wpr-review-item-star-{{ data.id }}" name="wp_review_item_star[]" class="input-star" value="{{ data.wp_review_item_star }}" data-type="{{ data.type }}" data-color="{{ data.wp_review_item_color }}" data-inactive-color="{{ data.wp_review_item_inactive_color }}" size="4">
|
279 |
+
</div>
|
280 |
+
<div class="col-3"></div>
|
281 |
+
</div>
|
282 |
+
</script>
|
283 |
+
|
284 |
+
<div class="wp-review-field">
|
285 |
+
<div class="wp-review-field-label">
|
286 |
+
<label><?php esc_html_e( 'Hide Features', 'wp-review' ); ?></label>
|
287 |
+
<?php wp_review_print_pro_text(); ?>
|
288 |
+
</div>
|
289 |
+
|
290 |
+
<div class="wp-review-field-option">
|
291 |
+
<?php
|
292 |
+
$form_field->render_switch( array(
|
293 |
+
'id' => 'wp_review_disable_features',
|
294 |
+
'name' => 'wp_review_disable_features',
|
295 |
+
'disabled' => true,
|
296 |
+
) );
|
297 |
+
?>
|
298 |
+
</div>
|
299 |
+
</div>
|
300 |
+
<div class="wp-review-field">
|
301 |
+
<div class="wp-review-field-label">
|
302 |
+
<label><?php esc_html_e( 'Custom Location', 'wp-review' ); ?></label>
|
303 |
+
</div>
|
304 |
+
|
305 |
+
<div class="wp-review-field-option">
|
306 |
+
<?php
|
307 |
+
$form_field->render_switch( array(
|
308 |
+
'id' => 'wp_review_custom_location',
|
309 |
+
'name' => 'wp_review_custom_location',
|
310 |
+
'value' => $custom_location,
|
311 |
+
) );
|
312 |
+
?>
|
313 |
+
</div>
|
314 |
+
</div>
|
315 |
+
|
316 |
+
<div class="wp-review-location-options"<?php if ( empty( $custom_location ) ) echo ' style="display: none;"'; ?>>
|
317 |
+
<div class="wp-review-field">
|
318 |
+
<div class="wp-review-field-label">
|
319 |
+
<label for="wp_review_location"><?php esc_html_e( 'Review Location', 'wp-review' ); ?></label>
|
320 |
+
</div>
|
321 |
+
|
322 |
+
<div class="wp-review-field-option">
|
323 |
+
<select name="wp_review_location" id="wp_review_location">
|
324 |
+
<option value="bottom" <?php selected( $location, 'bottom' ); ?>><?php esc_html_e( 'After Content', 'wp-review' ); ?></option>
|
325 |
+
<option value="top" <?php selected( $location, 'top' ); ?>><?php esc_html_e( 'Before Content', 'wp-review' ); ?></option>
|
326 |
+
<option value="custom" <?php selected( $location, 'custom' ); ?>><?php esc_html_e( 'Custom (use shortcode)', 'wp-review' ); ?></option>
|
327 |
+
</select>
|
328 |
+
|
329 |
+
<p id="wp_review_shortcode_hint_field">
|
330 |
+
<!-- <label for="wp_review_shortcode_hint"></label> -->
|
331 |
+
<input id="wp_review_shortcode_hint" type="text" value='[wp-review id="<?php echo intval( trim( $post->ID ) ); ?>"]' readonly="readonly" />
|
332 |
+
<span class="description"><?php esc_html_e( 'Copy & paste this shortcode in the content.', 'wp-review' ); ?></span>
|
333 |
+
</p>
|
334 |
+
</div>
|
335 |
+
</div>
|
336 |
+
</div>
|
337 |
+
|
338 |
+
<div class="wp-review-field">
|
339 |
+
<div class="wp-review-field-label">
|
340 |
+
<label><?php esc_html_e( 'Custom Layout', 'wp-review' ); ?></label>
|
341 |
+
</div>
|
342 |
+
|
343 |
+
<div class="wp-review-field-option">
|
344 |
+
<?php
|
345 |
+
$form_field->render_switch( array(
|
346 |
+
'id' => 'wp_review_custom_colors',
|
347 |
+
'name' => 'wp_review_custom_colors',
|
348 |
+
'value' => $custom_colors,
|
349 |
+
) );
|
350 |
+
?>
|
351 |
+
</div>
|
352 |
+
</div>
|
353 |
+
|
354 |
+
<div class="wp-review-color-options"<?php if ( empty( $custom_colors ) ) echo ' style="display: none;"'; ?>>
|
355 |
+
<div class="wp-review-field vertical">
|
356 |
+
<div class="wp-review-field-label">
|
357 |
+
<label for="wp_review_box_template"><?php esc_html_e( 'Default', 'wp-review' ); ?></label>
|
358 |
+
</div>
|
359 |
+
|
360 |
+
<div class="wp-review-field-option">
|
361 |
+
<div id="wp_review_box_template_wrapper">
|
362 |
+
<select name="wp_review_box_template" id="wp_review_box_template">
|
363 |
+
<?php
|
364 |
+
foreach ( $review_templates as $key => $value ) {
|
365 |
+
$disabled = 'default' !== $key && 'aqua' !== $key;
|
366 |
+
printf(
|
367 |
+
'<option value="%1$s" %2$s %3$s>%4$s</option>',
|
368 |
+
esc_attr( $key ),
|
369 |
+
selected( $key, $box_template, false ),
|
370 |
+
$disabled ? 'disabled' : '',
|
371 |
+
esc_html( $value['title'] )
|
372 |
+
);
|
373 |
+
}
|
374 |
+
?>
|
375 |
+
</select>
|
376 |
+
|
377 |
+
<div id="wp_review_box_template_preview" style="display: none;">
|
378 |
+
<img src="#" alt="" id="wp_review_box_template_preview_img">
|
379 |
+
</div>
|
380 |
+
</div>
|
381 |
+
|
382 |
+
<div style="margin-top: 10px;">
|
383 |
+
<img src="<?php echo esc_url( $box_template_img ); ?>" alt="" id="wp_review_box_template_img">
|
384 |
+
</div>
|
385 |
+
</div>
|
386 |
+
</div>
|
387 |
+
|
388 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['color'] ) ) echo ' style="display: none;"'; ?>>
|
389 |
+
<div class="wp-review-field-label">
|
390 |
+
<label for="wp_review_color"><?php esc_html_e( 'Review Color', 'wp-review' ); ?></label>
|
391 |
+
</div>
|
392 |
+
|
393 |
+
<div class="wp-review-field-option">
|
394 |
+
<input type="text" id="wp_review_color" class="wp-review-color" name="wp_review_color" value="<?php echo esc_attr( $color ); ?>" data-default-color="<?php echo esc_attr( $color ); ?>">
|
395 |
+
</div>
|
396 |
+
</div>
|
397 |
+
|
398 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['inactive_color'] ) ) echo ' style="display: none;"'; ?>>
|
399 |
+
<div class="wp-review-field-label">
|
400 |
+
<label for="wp_review_inactive_color"><?php esc_html_e( 'Inactive Review Color', 'wp-review' ); ?></label>
|
401 |
+
</div>
|
402 |
+
|
403 |
+
<div class="wp-review-field-option">
|
404 |
+
<input type="text" id="wp_review_inactive_color" class="wp-review-color" name="wp_review_inactive_color" value="<?php echo esc_attr( $inactive_color ); ?>" data-default-color="<?php echo esc_attr( $inactive_color ); ?>">
|
405 |
+
</div>
|
406 |
+
</div>
|
407 |
+
|
408 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['fontcolor'] ) ) echo ' style="display: none;"'; ?>>
|
409 |
+
<div class="wp-review-field-label">
|
410 |
+
<label for="wp_review_fontcolor"><?php esc_html_e( 'Font Color', 'wp-review' ); ?></label>
|
411 |
+
</div>
|
412 |
+
|
413 |
+
<div class="wp-review-field-option">
|
414 |
+
<input type="text" class="wp-review-color" name="wp_review_fontcolor" id ="wp_review_fontcolor" value="<?php echo esc_attr( $fontcolor ); ?>" data-default-color="<?php echo esc_attr( $fontcolor ); ?>">
|
415 |
+
</div>
|
416 |
+
</div>
|
417 |
+
|
418 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['bgcolor1'] ) ) echo ' style="display: none;"'; ?>>
|
419 |
+
<div class="wp-review-field-label">
|
420 |
+
<label for="wp_review_bgcolor1"><?php esc_html_e( 'Heading Background Color', 'wp-review' ); ?></label>
|
421 |
+
</div>
|
422 |
+
|
423 |
+
<div class="wp-review-field-option">
|
424 |
+
<input type="text" class="wp-review-color" name="wp_review_bgcolor1" id ="wp_review_bgcolor1" value="<?php echo esc_attr( $bgcolor1 ); ?>" data-default-color="<?php echo esc_attr( $bgcolor1 ); ?>">
|
425 |
+
</div>
|
426 |
+
</div>
|
427 |
+
|
428 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['bgcolor2'] ) ) echo ' style="display: none;"'; ?>>
|
429 |
+
<div class="wp-review-field-label">
|
430 |
+
<label for="wp_review_bgcolor2"><?php esc_html_e( 'Background Color', 'wp-review' ); ?></label>
|
431 |
+
</div>
|
432 |
+
|
433 |
+
<div class="wp-review-field-option">
|
434 |
+
<input type="text" class="wp-review-color" name="wp_review_bgcolor2" id="wp_review_bgcolor2" value="<?php echo esc_attr( $bgcolor2 ); ?>" data-default-color="<?php echo esc_attr( $bgcolor2 ); ?>">
|
435 |
+
</div>
|
436 |
+
</div>
|
437 |
+
|
438 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['bordercolor'] ) ) echo ' style="display: none;"'; ?>>
|
439 |
+
<div class="wp-review-field-label">
|
440 |
+
<label for="wp_review_bordercolor"><?php esc_html_e( 'Border Color', 'wp-review' ); ?></label>
|
441 |
+
</div>
|
442 |
+
|
443 |
+
<div class="wp-review-field-option">
|
444 |
+
<input type="text" class="wp-review-color" name="wp_review_bordercolor" id="wp_review_bordercolor" value="<?php echo esc_attr( $bordercolor ); ?>" data-default-color="<?php echo esc_attr( $bordercolor ); ?>">
|
445 |
+
</div>
|
446 |
+
</div>
|
447 |
+
|
448 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['fontfamily'] ) ) echo ' style="display: none;"'; ?>>
|
449 |
+
<div class="wp-review-field-label">
|
450 |
+
<label><?php esc_html_e( 'Google Font', 'wp-review' ); ?></label>
|
451 |
+
<?php wp_review_print_pro_text(); ?>
|
452 |
+
</div>
|
453 |
+
|
454 |
+
<div class="wp-review-field-option">
|
455 |
+
<?php
|
456 |
+
$form_field->render_switch( array(
|
457 |
+
'id' => 'wp_review_fontfamily',
|
458 |
+
'name' => 'wp_review_fontfamily',
|
459 |
+
'disabled' => true,
|
460 |
+
) );
|
461 |
+
?>
|
462 |
+
</div>
|
463 |
+
</div>
|
464 |
+
</div>
|
465 |
+
|
466 |
+
<div class="wp-review-field">
|
467 |
+
<div class="wp-review-field-label">
|
468 |
+
<label><?php esc_html_e( 'Custom Width', 'wp-review' ); ?></label>
|
469 |
+
</div>
|
470 |
+
|
471 |
+
<div class="wp-review-field-option">
|
472 |
+
<?php
|
473 |
+
$form_field->render_switch( array(
|
474 |
+
'id' => 'wp_review_custom_width',
|
475 |
+
'name' => 'wp_review_custom_width',
|
476 |
+
'disabled' => true,
|
477 |
+
) );
|
478 |
+
?>
|
479 |
+
</div>
|
480 |
+
</div>
|
481 |
+
<?php
|
482 |
+
}
|
483 |
+
|
484 |
+
|
485 |
+
/**
|
486 |
+
* Renders desc meta box.
|
487 |
+
*
|
488 |
+
* @param WP_Post $post Post object.
|
489 |
+
*/
|
490 |
+
function wp_review_render_meta_box_desc( $post ) {
|
491 |
+
|
492 |
+
/* Add an nonce field so we can check for it later. */
|
493 |
+
wp_nonce_field( basename( __FILE__ ), 'wp-review-desc-nonce' );
|
494 |
+
|
495 |
+
/* Retrieve existing values from the database. */
|
496 |
+
$desc = get_post_meta( $post->ID, 'wp_review_desc', true );
|
497 |
+
$desc_title = get_post_meta( $post->ID, 'wp_review_desc_title', true );
|
498 |
+
if ( ! $desc_title ) {
|
499 |
+
$desc_title = __( 'Summary', 'wp-review' );
|
500 |
+
}
|
501 |
+
$form_field = new WP_Review_Form_Field();
|
502 |
+
$hidden = wp_review_is_hidden_desc( $post->ID ) ? 'hidden' : '';
|
503 |
+
?>
|
504 |
+
<div id="wp_review_desc_settings" class="<?php echo esc_attr( $hidden ); ?>">
|
505 |
+
<div class="wp-review-field">
|
506 |
+
<div class="wp-review-field-label">
|
507 |
+
<label for="wp_review_desc_title"><?php esc_html_e( 'Description title', 'wp-review' ); ?></label>
|
508 |
+
</div>
|
509 |
+
|
510 |
+
<div class="wp-review-field-option">
|
511 |
+
<input type="text" name="wp_review_desc_title" id="wp_review_desc_title" class="large-text" value="<?php echo esc_attr( $desc_title ); ?>">
|
512 |
+
</div>
|
513 |
+
</div>
|
514 |
+
|
515 |
+
<div class="wp-review-field vertical wp-review-description">
|
516 |
+
<div class="wp-review-field-label">
|
517 |
+
<label for="wp_review_desc"><?php esc_html_e( 'Description content', 'wp-review' ); ?></label>
|
518 |
+
</div>
|
519 |
+
|
520 |
+
<div class="wp-review-field-option">
|
521 |
+
<?php
|
522 |
+
/* Display wp editor field. */
|
523 |
+
wp_editor(
|
524 |
+
$desc,
|
525 |
+
'wp_review_desc',
|
526 |
+
array(
|
527 |
+
'tinymce' => array(
|
528 |
+
'toolbar1' => 'bold,italic,underline,bullist,numlist,separator,separator,link,unlink,undo,redo,removeformat',
|
529 |
+
'toolbar2' => '',
|
530 |
+
'toolbar3' => '',
|
531 |
+
),
|
532 |
+
'quicktags' => true,
|
533 |
+
'media_buttons' => false,
|
534 |
+
'textarea_rows' => 6,
|
535 |
+
)
|
536 |
+
);
|
537 |
+
?>
|
538 |
+
</div>
|
539 |
+
</div>
|
540 |
+
|
541 |
+
<div class="wpr-flex wpr-flex-wrap border-box">
|
542 |
+
<div class="wpr-col-1-2 pr-10">
|
543 |
+
<p class="pros-cons-title">
|
544 |
+
<strong><?php esc_html_e( 'Pros', 'wp-review' ); ?></strong>
|
545 |
+
<?php wp_review_print_pro_text(); ?>
|
546 |
+
</p>
|
547 |
+
|
548 |
+
<span class="wp-review-disabled inline-block has-bg">
|
549 |
+
<?php
|
550 |
+
/* Display wp editor field. */
|
551 |
+
wp_editor(
|
552 |
+
'',
|
553 |
+
'wp_review_pros',
|
554 |
+
array(
|
555 |
+
'tinymce' => array(
|
556 |
+
'toolbar1' => 'bold,italic,underline,bullist,numlist,separator,separator,link,unlink,undo,redo,removeformat',
|
557 |
+
'toolbar2' => '',
|
558 |
+
'toolbar3' => '',
|
559 |
+
),
|
560 |
+
'quicktags' => true,
|
561 |
+
'media_buttons' => false,
|
562 |
+
'textarea_rows' => 6,
|
563 |
+
)
|
564 |
+
);
|
565 |
+
?>
|
566 |
+
</span>
|
567 |
+
</div>
|
568 |
+
|
569 |
+
<div class="wpr-col-1-2 pl-10">
|
570 |
+
<p class="pros-cons-title">
|
571 |
+
<strong><?php esc_html_e( 'Cons', 'wp-review' ); ?></strong>
|
572 |
+
<?php wp_review_print_pro_text(); ?>
|
573 |
+
</p>
|
574 |
+
|
575 |
+
<span class="wp-review-disabled inline-block has-bg">
|
576 |
+
<?php
|
577 |
+
/* Display wp editor field. */
|
578 |
+
wp_editor(
|
579 |
+
'',
|
580 |
+
'wp_review_cons',
|
581 |
+
array(
|
582 |
+
'tinymce' => array(
|
583 |
+
'toolbar1' => 'bold,italic,underline,bullist,numlist,separator,separator,link,unlink,undo,redo,removeformat',
|
584 |
+
'toolbar2' => '',
|
585 |
+
'toolbar3' => '',
|
586 |
+
),
|
587 |
+
'quicktags' => true,
|
588 |
+
'media_buttons' => false,
|
589 |
+
'textarea_rows' => 6,
|
590 |
+
)
|
591 |
+
);
|
592 |
+
?>
|
593 |
+
</span>
|
594 |
+
</div>
|
595 |
+
</div>
|
596 |
+
</div>
|
597 |
+
|
598 |
+
<div class="wp-review-field">
|
599 |
+
<div class="wp-review-field-label">
|
600 |
+
<label><?php esc_html_e( 'Hide Description, Pros/Cons & Total Rating', 'wp-review' ); ?></label>
|
601 |
+
<?php wp_review_print_pro_text(); ?>
|
602 |
+
</div>
|
603 |
+
|
604 |
+
<div class="wp-review-field-option">
|
605 |
+
<?php
|
606 |
+
$form_field->render_switch( array(
|
607 |
+
'id' => 'wp_review_hide_desc',
|
608 |
+
'name' => 'wp_review_hide_desc',
|
609 |
+
'disabled' => true,
|
610 |
+
) );
|
611 |
+
?>
|
612 |
+
</div>
|
613 |
+
</div>
|
614 |
+
<?php
|
615 |
+
}
|
616 |
+
|
617 |
+
function wp_review_render_meta_box_reviewLinks( $post ) {
|
618 |
+
|
619 |
+
wp_nonce_field( basename( __FILE__ ), 'wp-review-links-options-nonce' );
|
620 |
+
|
621 |
+
function wp_review_get_default_links( $text, $url ) {
|
622 |
+
return array(
|
623 |
+
'text' => $text,
|
624 |
+
'url' => $url,
|
625 |
+
);
|
626 |
+
}
|
627 |
+
wp_review_switch_to_main();
|
628 |
+
$options = get_option( 'wp_review_options' );
|
629 |
+
if (is_multisite() ) restore_current_blog();
|
630 |
+
$defaults = array_map(
|
631 |
+
'wp_review_get_default_links',
|
632 |
+
empty( $options['default_link_text'] ) ? array() : $options['default_link_text'],
|
633 |
+
empty( $options['default_link_url'] ) ? array() : $options['default_link_url']
|
634 |
+
);
|
635 |
+
$items = get_post_meta( $post->ID, 'wp_review_links', true );
|
636 |
+
if ( ! is_array( $items ) ) {
|
637 |
+
$items = $defaults;
|
638 |
+
}
|
639 |
+
?>
|
640 |
+
<table id="wp-review-links" class="wp-review-links" width="100%">
|
641 |
+
|
642 |
+
<thead>
|
643 |
+
<tr>
|
644 |
+
<th width="5%"></th>
|
645 |
+
<th width="45%"><?php esc_html_e( 'Text', 'wp-review' ); ?></th>
|
646 |
+
<th width="40%"><?php esc_html_e( 'URL', 'wp-review' ); ?></th>
|
647 |
+
<th width="10%"></th>
|
648 |
+
</tr>
|
649 |
+
</thead>
|
650 |
+
|
651 |
+
<tbody>
|
652 |
+
<?php if ( ! empty( $items ) && ( isset( $items[0] ) && ! empty( $items[0]['text'] ) ) ) : ?>
|
653 |
+
|
654 |
+
<?php foreach ( $items as $item ) { ?>
|
655 |
+
|
656 |
+
<?php if ( ! empty( $item['text'] ) && ! empty( $item['url'] ) ) : ?>
|
657 |
+
<tr>
|
658 |
+
<td class="handle">
|
659 |
+
<span class="dashicons dashicons-menu"></span>
|
660 |
+
</td>
|
661 |
+
<td>
|
662 |
+
<input type="text" class="widefat" name="wp_review_link_title[]" value="<?php echo esc_attr( $item['text'] ); ?>" />
|
663 |
+
</td>
|
664 |
+
<td>
|
665 |
+
<input type="url" class="widefat" name="wp_review_link_url[]" value="<?php echo esc_url( $item['url'] ); ?>" />
|
666 |
+
</td>
|
667 |
+
<td><a class="button remove-row" href="#"><?php esc_html_e( 'Delete', 'wp-review' ); ?></a></td>
|
668 |
+
</tr>
|
669 |
+
<?php endif; ?>
|
670 |
+
|
671 |
+
<?php } ?>
|
672 |
+
|
673 |
+
<?php else : ?>
|
674 |
+
|
675 |
+
<tr>
|
676 |
+
<td class="handle"><span class="dashicons dashicons-menu"></span></td>
|
677 |
+
<td><input type="text" class="widefat" name="wp_review_link_title[]" /></td>
|
678 |
+
<td><input type="text" class="widefat" name="wp_review_link_url[]" /></td>
|
679 |
+
<td><a class="button remove-row" href="#"><?php esc_html_e( 'Delete', 'wp-review' ); ?></a></td>
|
680 |
+
</tr>
|
681 |
+
|
682 |
+
<?php endif; ?>
|
683 |
+
|
684 |
+
<!-- empty hidden one for jQuery -->
|
685 |
+
<tr class="empty-row screen-reader-text">
|
686 |
+
<td class="handle"><span class="dashicons dashicons-menu"></span></td>
|
687 |
+
<td><input type="text" class="widefat focus-on-add" name="wp_review_link_title[]" /></td>
|
688 |
+
<td><input type="text" class="widefat" name="wp_review_link_url[]" /></td>
|
689 |
+
<td><a class="button remove-row" href="#"><?php esc_html_e( 'Delete', 'wp-review' ); ?></a></td>
|
690 |
+
</tr>
|
691 |
+
|
692 |
+
</tbody>
|
693 |
+
|
694 |
+
</table>
|
695 |
+
|
696 |
+
<a class="add-row button" data-target="#wp-review-links" href="#"><?php esc_html_e( 'Add another', 'wp-review' ) ?></a>
|
697 |
+
<?php
|
698 |
+
}
|
699 |
+
|
700 |
+
function wp_review_render_meta_box_userReview( $post ) {
|
701 |
+
/* Add an nonce field so we can check for it later. */
|
702 |
+
wp_nonce_field( basename( __FILE__ ), 'wp-review-userReview-nonce' );
|
703 |
+
$enabled = wp_review_get_user_rating_setup( $post->ID );
|
704 |
+
|
705 |
+
$type = get_post_meta( $post->ID, 'wp_review_user_review_type', true );
|
706 |
+
if ( ! $type ) {
|
707 |
+
$type = 'star';
|
708 |
+
}
|
709 |
+
//$available_types = apply_filters( 'wp_review_metabox_user_rating_types', wp_review_get_review_types( 'user' ) );
|
710 |
+
$available_types = wp_review_get_rating_types();
|
711 |
+
$product_price = wp_review_get_product_price( $post->ID );
|
712 |
+
|
713 |
+
$form_field = new WP_Review_Form_Field();
|
714 |
+
?>
|
715 |
+
<div class="wp-review-field no-flex">
|
716 |
+
<p>
|
717 |
+
<label>
|
718 |
+
<input type="radio" name="wp_review_userReview" id="wp-review-userReview-disable" value="<?php echo esc_attr( WP_REVIEW_REVIEW_DISABLED ); ?>" <?php checked( WP_REVIEW_REVIEW_DISABLED, $enabled ); ?>>
|
719 |
+
<?php esc_html_e( 'Disabled', 'wp-review' ); ?>
|
720 |
+
</label>
|
721 |
+
</p>
|
722 |
+
|
723 |
+
<p>
|
724 |
+
<label>
|
725 |
+
<input type="radio" name="wp_review_userReview" id="wp-review-userReview-visitor" value="<?php echo esc_attr( WP_REVIEW_REVIEW_VISITOR_ONLY ); ?>" <?php checked( WP_REVIEW_REVIEW_VISITOR_ONLY, $enabled ); ?>>
|
726 |
+
<?php esc_html_e( 'Visitor Rating Only', 'wp-review' ); ?>
|
727 |
+
</label>
|
728 |
+
</p>
|
729 |
+
|
730 |
+
<p>
|
731 |
+
<label class="wp-review-disabled">
|
732 |
+
<input type="radio" name="wp_review_userReview" id="wp-review-userReview-comment" value="<?php echo esc_attr( WP_REVIEW_REVIEW_COMMENT_ONLY ); ?>" <?php checked( WP_REVIEW_REVIEW_COMMENT_ONLY, $enabled ); ?> disabled />
|
733 |
+
<?php esc_html_e( 'Comment Rating Only', 'wp-review' ); ?>
|
734 |
+
<?php wp_review_print_pro_text( true ); ?>
|
735 |
+
</label>
|
736 |
+
</p>
|
737 |
+
|
738 |
+
<p>
|
739 |
+
<label class="wp-review-disabled">
|
740 |
+
<input type="radio" name="wp_review_userReview" id="wp-review-userReview-both" value="<?php echo esc_attr( WP_REVIEW_REVIEW_ALLOW_BOTH ); ?>" <?php checked( WP_REVIEW_REVIEW_ALLOW_BOTH, $enabled ); ?> disabled/>
|
741 |
+
<?php esc_html_e( 'Both', 'wp-review' ); ?>
|
742 |
+
<?php wp_review_print_pro_text( true ); ?>
|
743 |
+
</label>
|
744 |
+
</p>
|
745 |
+
</div>
|
746 |
+
|
747 |
+
<?php $hidden = WP_REVIEW_REVIEW_DISABLED == $enabled ? 'hidden' : ''; ?>
|
748 |
+
<div class="show-if-both <?php echo esc_attr( $hidden ); ?>">
|
749 |
+
<div class="edit-ratings-notice update-nag" style="margin-top: 0;"><?php esc_html_e( 'If you are changing User Rating Type & post already have user ratings, please edit or remove existing ratings.', 'wp-review' ); ?></div>
|
750 |
+
|
751 |
+
<div class="wp-review-field" id="wp_review_rating_type">
|
752 |
+
<div class="wp-review-field-label">
|
753 |
+
<label for="rating_type"><?php esc_html_e( 'User Rating Type', 'wp-review' ); ?></label>
|
754 |
+
</div>
|
755 |
+
|
756 |
+
<div class="wp-review-field-option">
|
757 |
+
<select name="wp_review_user_review_type" id="rating_type">
|
758 |
+
<?php
|
759 |
+
foreach ( $available_types as $key => $available_type ) {
|
760 |
+
// Skip ones that only have output template.
|
761 |
+
if ( ! $available_type['user_rating'] ) {
|
762 |
+
continue;
|
763 |
+
}
|
764 |
+
|
765 |
+
$disabled = 'circle' === $key || 'thumbs' === $key;
|
766 |
+
printf(
|
767 |
+
'<option value="%1$s" %2$s %3$s>%4$s</option>',
|
768 |
+
esc_attr( $key ),
|
769 |
+
selected( $type, $key, false ),
|
770 |
+
$disabled ? 'disabled' : '',
|
771 |
+
esc_html( $available_type['label'] )
|
772 |
+
);
|
773 |
+
}
|
774 |
+
?>
|
775 |
+
</select>
|
776 |
+
</div>
|
777 |
+
</div>
|
778 |
+
</div>
|
779 |
+
|
780 |
+
<?php $hidden = WP_REVIEW_REVIEW_DISABLED == $enabled ? 'hidden' : ''; ?>
|
781 |
+
<div class="show-if-both <?php echo esc_attr( $hidden ); ?>">
|
782 |
+
<div class="wp-review-field">
|
783 |
+
<div class="wp-review-field-label">
|
784 |
+
<label><?php esc_html_e( 'User can:', 'wp-review' ); ?></label>
|
785 |
+
<?php wp_review_print_pro_text(); ?>
|
786 |
+
</div>
|
787 |
+
|
788 |
+
<div class="wp-review-field-option">
|
789 |
+
<span class="wp-review-disabled inline-block has-bg">
|
790 |
+
<select name="wp_review_user_can_rate_feature" id="wp_review_user_can_rate_feature" disabled>
|
791 |
+
<option value=""><?php esc_html_e( 'Give Overall Rating', 'wp-review' ); ?></option>
|
792 |
+
<option value="1"><?php esc_html_e( 'Rate Each Feature', 'wp-review' ); ?></option>
|
793 |
+
</select>
|
794 |
+
</span>
|
795 |
+
</div>
|
796 |
+
</div>
|
797 |
+
</div>
|
798 |
+
|
799 |
+
<?php $hidden = in_array( $enabled, array( WP_REVIEW_REVIEW_DISABLED, WP_REVIEW_REVIEW_COMMENT_ONLY ) ) ? 'hidden' : ''; ?>
|
800 |
+
<div class="show-if-visitor <?php echo esc_attr( $hidden ); ?>">
|
801 |
+
<div class="wp-review-field">
|
802 |
+
<div class="wp-review-field-label">
|
803 |
+
<label><?php esc_html_e( 'Hide Visitors Rating in Review Box', 'wp-review' ); ?></label>
|
804 |
+
<?php wp_review_print_pro_text(); ?>
|
805 |
+
</div>
|
806 |
+
|
807 |
+
<div class="wp-review-field-option">
|
808 |
+
<?php
|
809 |
+
$form_field->render_switch( array(
|
810 |
+
'id' => 'wp_review_hide_visitors_rating',
|
811 |
+
'name' => 'wp_review_hide_visitors_rating',
|
812 |
+
'disabled' => true,
|
813 |
+
) );
|
814 |
+
?>
|
815 |
+
</div>
|
816 |
+
</div>
|
817 |
+
</div>
|
818 |
+
|
819 |
+
<div class="wp-review-field">
|
820 |
+
<div class="wp-review-field-label">
|
821 |
+
<label for="wp_review_product_price"><?php esc_html_e( 'Product Price', 'wp-review' ); ?></label>
|
822 |
+
</div>
|
823 |
+
|
824 |
+
<div class="wp-review-field-option">
|
825 |
+
<input type="text" name="wp_review_product_price" id="wp_review_product_price" value="<?php echo esc_attr( $product_price ); ?>">
|
826 |
+
</div>
|
827 |
+
</div>
|
828 |
+
|
829 |
+
<div class="wp-review-field">
|
830 |
+
<div class="wp-review-field-label">
|
831 |
+
<label for="wp_review_allow_comment_feedback"><?php esc_html_e( 'Comment Feedback (helpful/unhelpful)', 'wp-review' ); ?></label>
|
832 |
+
<?php wp_review_print_pro_text(); ?>
|
833 |
+
</div>
|
834 |
+
|
835 |
+
<div class="wp-review-field-option">
|
836 |
+
<span class="wp-review-disabled inline-block has-bg">
|
837 |
+
<select name="wp_review_allow_comment_feedback" id="wp_review_allow_comment_feedback" disabled>
|
838 |
+
<option value=""><?php esc_html_e( 'Use global options', 'wp-review' ); ?></option>
|
839 |
+
<option value="yes"><?php esc_html_e( 'Yes', 'wp-review' ); ?></option>
|
840 |
+
<option value="no"><?php esc_html_e( 'No', 'wp-review' ); ?></option>
|
841 |
+
</select>
|
842 |
+
</span>
|
843 |
+
</div>
|
844 |
+
</div>
|
845 |
+
|
846 |
+
<?php if ( current_user_can( 'wp_review_purge_visitor_ratings' ) ) { ?>
|
847 |
+
<p style="margin-top: 50px;">
|
848 |
+
<button
|
849 |
+
type="button"
|
850 |
+
class="button"
|
851 |
+
data-remove-ratings
|
852 |
+
data-type="visitor"
|
853 |
+
data-processing-text="<?php esc_attr_e( 'Processing...', 'wp-review' ); ?>"
|
854 |
+
data-post-id="<?php echo intval( $post->ID ); ?>"
|
855 |
+
><?php esc_html_e( 'Purge visitor ratings', 'wp-review' ); ?></button>
|
856 |
+
<span class="description"><?php esc_html_e( 'Click to remove all visitor ratings of this post.', 'wp-review' ); ?></span>
|
857 |
+
</p>
|
858 |
+
<?php }
|
859 |
+
}
|
860 |
+
|
861 |
+
/**
|
862 |
+
* Saves the meta box.
|
863 |
+
*
|
864 |
+
* @since 1.0
|
865 |
+
*
|
866 |
+
* @param int $post_id Post ID.
|
867 |
+
* @param WP_Post $post Post object.
|
868 |
+
*/
|
869 |
+
function wp_review_save_postdata( $post_id, $post ) {
|
870 |
+
|
871 |
+
/* If this is an autosave, our form has not been submitted, so we don't want to do anything. */
|
872 |
+
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
|
873 |
+
return $post_id;
|
874 |
+
}
|
875 |
+
|
876 |
+
if ( ! isset( $_POST['wp-review-review-options-nonce'] ) || ! wp_verify_nonce( $_POST['wp-review-review-options-nonce'], 'wp-review-meta-box-options' ) ) {
|
877 |
+
return;
|
878 |
+
}
|
879 |
+
|
880 |
+
$hide_desc = false;
|
881 |
+
$hide_links = false;
|
882 |
+
$hide_user_reviews = false;
|
883 |
+
$hide_review_features = false;
|
884 |
+
|
885 |
+
if (is_multisite() ) {
|
886 |
+
$hide_desc = wp_review_network_option( 'hide_review_description_' );
|
887 |
+
$hide_links = wp_review_network_option( 'hide_review_links_' );
|
888 |
+
$hide_user_reviews = wp_review_network_option( 'hide_user_reviews_' );
|
889 |
+
$hide_review_features = wp_review_network_option( 'hide_features_' );
|
890 |
+
}
|
891 |
+
|
892 |
+
if ( ! $hide_desc && !current_user_can( 'wp_review_description' ) ) {
|
893 |
+
$hide_desc = true;
|
894 |
+
}
|
895 |
+
|
896 |
+
if ( ! $hide_links && !current_user_can( 'wp_review_links' ) ) {
|
897 |
+
$hide_links = true;
|
898 |
+
}
|
899 |
+
|
900 |
+
if ( ! $hide_user_reviews && !current_user_can( 'wp_review_user_reviews' ) ) {
|
901 |
+
$hide_user_reviews = true;
|
902 |
+
}
|
903 |
+
|
904 |
+
if ( ! $hide_review_features && !current_user_can( 'wp_review_features' ) ) {
|
905 |
+
$hide_review_features = true;
|
906 |
+
}
|
907 |
+
|
908 |
+
if ( ! $hide_review_features && ( ! isset( $_POST['wp-review-item-nonce'] ) || ! wp_verify_nonce( $_POST['wp-review-item-nonce'], basename( __FILE__ ) ) ) ) {
|
909 |
+
return;
|
910 |
+
}
|
911 |
+
|
912 |
+
if ( ! $hide_desc && ( ! isset( $_POST['wp-review-desc-nonce'] ) || ! wp_verify_nonce( $_POST['wp-review-desc-nonce'], basename( __FILE__ ) ) ) ) {
|
913 |
+
return;
|
914 |
+
}
|
915 |
+
|
916 |
+
if ( ! $hide_links && ( ! isset( $_POST['wp-review-links-options-nonce'] ) || ! wp_verify_nonce( $_POST['wp-review-links-options-nonce'], basename( __FILE__ ) ) ) ) {
|
917 |
+
return;
|
918 |
+
}
|
919 |
+
|
920 |
+
if ( ! $hide_user_reviews && ( ! isset( $_POST['wp-review-userReview-nonce'] ) || ! wp_verify_nonce( $_POST['wp-review-userReview-nonce'], basename( __FILE__ ) ) ) ) {
|
921 |
+
return;
|
922 |
+
}
|
923 |
+
|
924 |
+
|
925 |
+
|
926 |
+
/* Check the user's permissions. */
|
927 |
+
if ( isset($_POST['post_type']) && 'page' == $_POST['post_type'] ) {
|
928 |
+
if ( ! current_user_can( 'edit_page', $post_id ) ) {
|
929 |
+
return $post_id;
|
930 |
+
}
|
931 |
+
} else {
|
932 |
+
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
933 |
+
return $post_id;
|
934 |
+
}
|
935 |
+
}
|
936 |
+
|
937 |
+
$meta = array(
|
938 |
+
'wp_review_custom_location' => filter_input( INPUT_POST, 'wp_review_custom_location', FILTER_SANITIZE_STRING ),
|
939 |
+
'wp_review_custom_colors' => filter_input( INPUT_POST, 'wp_review_custom_colors', FILTER_SANITIZE_STRING ),
|
940 |
+
'wp_review_custom_author' => filter_input( INPUT_POST, 'wp_review_custom_author', FILTER_SANITIZE_STRING ),
|
941 |
+
'wp_review_location' => filter_input( INPUT_POST, 'wp_review_location', FILTER_SANITIZE_STRING ),
|
942 |
+
'wp_review_type' => filter_input( INPUT_POST, 'wp_review_type', FILTER_SANITIZE_STRING ),
|
943 |
+
'wp_review_heading' => filter_input( INPUT_POST, 'wp_review_heading', FILTER_SANITIZE_STRING ),
|
944 |
+
'wp_review_desc_title' => filter_input( INPUT_POST, 'wp_review_desc_title', FILTER_SANITIZE_STRING ),
|
945 |
+
'wp_review_desc' => ! empty( $_POST['wp_review_desc'] ) ? wp_kses_post( wp_unslash( $_POST['wp_review_desc'] ) ) : '',
|
946 |
+
'wp_review_hide_desc' => filter_input( INPUT_POST, 'wp_review_hide_desc', FILTER_SANITIZE_STRING ),
|
947 |
+
'wp_review_userReview' => filter_input( INPUT_POST, 'wp_review_userReview', FILTER_SANITIZE_STRING ),
|
948 |
+
'wp_review_total' => filter_input( INPUT_POST, 'wp_review_total', FILTER_SANITIZE_STRING ),
|
949 |
+
'wp_review_color' => filter_input( INPUT_POST, 'wp_review_color', FILTER_SANITIZE_STRING ),
|
950 |
+
'wp_review_inactive_color' => filter_input( INPUT_POST, 'wp_review_inactive_color', FILTER_SANITIZE_STRING ),
|
951 |
+
'wp_review_fontcolor' => filter_input( INPUT_POST, 'wp_review_fontcolor', FILTER_SANITIZE_STRING ),
|
952 |
+
'wp_review_bgcolor1' => filter_input( INPUT_POST, 'wp_review_bgcolor1', FILTER_SANITIZE_STRING ),
|
953 |
+
'wp_review_bgcolor2' => filter_input( INPUT_POST, 'wp_review_bgcolor2', FILTER_SANITIZE_STRING ),
|
954 |
+
'wp_review_bordercolor' => filter_input( INPUT_POST, 'wp_review_bordercolor', FILTER_SANITIZE_STRING ),
|
955 |
+
'wp_review_author' => filter_input( INPUT_POST, 'wp_review_author', FILTER_SANITIZE_STRING ),
|
956 |
+
'wp_review_schema' => filter_input( INPUT_POST, 'wp_review_schema', FILTER_SANITIZE_STRING ),
|
957 |
+
'wp_review_rating_schema' => filter_input( INPUT_POST, 'wp_review_rating_schema', FILTER_SANITIZE_STRING ),
|
958 |
+
'wp_review_show_schema_data' => filter_input( INPUT_POST, 'wp_review_show_schema_data', FILTER_SANITIZE_STRING ),
|
959 |
+
'wp_review_user_review_type' => filter_input( INPUT_POST, 'wp_review_user_review_type', FILTER_SANITIZE_STRING ),
|
960 |
+
'wp_review_product_price' => filter_input( INPUT_POST, 'wp_review_product_price', FILTER_SANITIZE_STRING ),
|
961 |
+
'wp_review_box_template' => filter_input( INPUT_POST, 'wp_review_box_template', FILTER_SANITIZE_STRING ),
|
962 |
+
);
|
963 |
+
|
964 |
+
$default_colors = wp_review_option( 'colors', array() );
|
965 |
+
$default_color = ! empty( $default_colors['color'] ) ? $default_colors['color'] : '#333333';
|
966 |
+
$default_inactive = ! empty( $default_colors['inactive_color'] ) ? $default_colors['inactive_color'] : '';
|
967 |
+
|
968 |
+
if ( $meta['wp_review_color'] === $default_color ) {
|
969 |
+
$meta['wp_review_color'] = '';
|
970 |
+
}
|
971 |
+
|
972 |
+
if ( $meta['wp_review_inactive_color'] === $default_inactive ) {
|
973 |
+
$meta['wp_review_inactive_color'] = '';
|
974 |
+
}
|
975 |
+
|
976 |
+
if ( ! $meta['wp_review_type'] ) {
|
977 |
+
$meta['wp_review_type'] = wp_review_option( 'review_type', 'none' );
|
978 |
+
}
|
979 |
+
|
980 |
+
foreach ( $meta as $meta_key => $new_meta_value ) {
|
981 |
+
$new_meta_value = wp_review_normalize_option_value( $new_meta_value );
|
982 |
+
|
983 |
+
if ( false === $new_meta_value ) {
|
984 |
+
$new_meta_value = '0';
|
985 |
+
}
|
986 |
+
|
987 |
+
if( 'wp_review_box_template' === $meta_key && !in_array( $new_meta_value, array( 'default', 'aqua' ) ) ) {
|
988 |
+
continue;
|
989 |
+
}
|
990 |
+
|
991 |
+
if ( current_user_can( 'delete_post_meta', $post_id ) && '' === $new_meta_value ) {
|
992 |
+
delete_post_meta( $post_id, $meta_key );
|
993 |
+
continue;
|
994 |
+
}
|
995 |
+
|
996 |
+
if ( current_user_can( 'edit_post_meta', $post_id ) ) {
|
997 |
+
update_post_meta( $post_id, $meta_key, $new_meta_value );
|
998 |
+
}
|
999 |
+
}
|
1000 |
+
|
1001 |
+
wp_review_save_review_items_data( $post_id );
|
1002 |
+
|
1003 |
+
$old = get_post_meta( $post_id, 'wp_review_item', true );
|
1004 |
+
$link_text = (array) filter_input( INPUT_POST, 'wp_review_link_title', FILTER_SANITIZE_STRING, FILTER_FORCE_ARRAY );
|
1005 |
+
$link_url = (array) filter_input( INPUT_POST, 'wp_review_link_url', FILTER_SANITIZE_STRING, FILTER_FORCE_ARRAY );
|
1006 |
+
$new_links = array();
|
1007 |
+
|
1008 |
+
if ( ! empty( $link_text ) ) {
|
1009 |
+
foreach ( $link_text as $key => $text ) {
|
1010 |
+
if ( ! empty( $text ) && ! empty( $link_url[ $key ] ) ) {
|
1011 |
+
$new_links[] = array(
|
1012 |
+
'text' => $text,
|
1013 |
+
'url' => $link_url[ $key ],
|
1014 |
+
);
|
1015 |
+
}
|
1016 |
+
}
|
1017 |
+
}
|
1018 |
+
|
1019 |
+
if ( empty( $new_links ) ) {
|
1020 |
+
delete_post_meta( $post_id, 'wp_review_links' );
|
1021 |
+
} else {
|
1022 |
+
update_post_meta( $post_id, 'wp_review_links', $new_links );
|
1023 |
+
}
|
1024 |
+
if ( isset( $_POST['wp_review_schema_options'] ) ) {
|
1025 |
+
update_post_meta( $post_id, 'wp_review_schema_options', $_POST['wp_review_schema_options'] );
|
1026 |
+
}
|
1027 |
+
|
1028 |
+
/**
|
1029 |
+
* Delete all data when switched to 'No Review' type.
|
1030 |
+
*/
|
1031 |
+
$type = $meta['wp_review_type']; //get_post_meta( $post_id, 'wp_review_type', true );
|
1032 |
+
if ( 'none' === $type ) {
|
1033 |
+
delete_post_meta( $post_id, 'wp_review_desc', $_POST['wp_review_desc'] );
|
1034 |
+
delete_post_meta( $post_id, 'wp_review_heading', $_POST['wp_review_heading'] );
|
1035 |
+
delete_post_meta( $post_id, 'wp_review_userReview', $_POST['wp_review_userReview'] );
|
1036 |
+
delete_post_meta( $post_id, 'wp_review_item', $old );
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
/**
|
1042 |
+
* Saves review items data.
|
1043 |
+
*
|
1044 |
+
* @param int $post_id Post ID.
|
1045 |
+
*/
|
1046 |
+
function wp_review_save_review_items_data( $post_id ) {
|
1047 |
+
$old = get_post_meta( $post_id, 'wp_review_item', true );
|
1048 |
+
$global_colors = wp_review_get_global_colors();
|
1049 |
+
$global_color = ! empty( $global_colors['color'] ) ? $global_colors['color'] : '';
|
1050 |
+
$global_inactive = ! empty( $global_colors['inactive_color'] ) ? $global_colors['inactive_color'] : '';
|
1051 |
+
$post_color = get_post_meta( $post_id, 'wp_review_color', true );
|
1052 |
+
$post_inactive_color = get_post_meta( $post_id, 'wp_review_inactive_color', true );
|
1053 |
+
$custom_colors = get_post_meta( $post_id, 'wp_review_custom_colors', true );
|
1054 |
+
|
1055 |
+
if ( ! empty( $_POST['wp_review_item_title'] ) ) {
|
1056 |
+
$title = $_POST['wp_review_item_title'];
|
1057 |
+
$star = $_POST['wp_review_item_star'];
|
1058 |
+
$ids = $_POST['wp_review_item_id'];
|
1059 |
+
$new = array();
|
1060 |
+
|
1061 |
+
$count = count( $title );
|
1062 |
+
|
1063 |
+
for ( $i = 0; $i < $count; $i++ ) {
|
1064 |
+
if ( empty( $star[ $i ] ) ) {
|
1065 |
+
continue; // Prevent item without score.
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
$new[ $i ] = array();
|
1069 |
+
$new[ $i ]['wp_review_item_star'] = floatval( $star[ $i ] );
|
1070 |
+
|
1071 |
+
if ( ! empty( $ids[ $i ] ) ) {
|
1072 |
+
$new[ $i ]['id'] = sanitize_text_field( wp_unslash( $ids[ $i ] ) );
|
1073 |
+
}
|
1074 |
+
|
1075 |
+
if ( ! empty( $title[ $i ] ) ) {
|
1076 |
+
$new[ $i ]['wp_review_item_title'] = sanitize_text_field( wp_unslash( $title[ $i ] ) );
|
1077 |
+
}
|
1078 |
+
}
|
1079 |
+
|
1080 |
+
if ( ! empty( $new ) && $new != $old ) {
|
1081 |
+
update_post_meta( $post_id, 'wp_review_item', $new );
|
1082 |
+
} elseif ( empty( $new ) && $old ) {
|
1083 |
+
delete_post_meta( $post_id, 'wp_review_item', $old );
|
1084 |
+
}
|
1085 |
+
} else {
|
1086 |
+
delete_post_meta( $post_id, 'wp_review_item' );
|
1087 |
+
}
|
1088 |
+
}
|
1089 |
+
|
1090 |
+
|
1091 |
+
/**
|
1092 |
+
* Fix for post previews
|
1093 |
+
* With this code, the review meta data will actually get saved on Preview.
|
1094 |
+
*
|
1095 |
+
* @param array $fields Revision fields.
|
1096 |
+
* @return array
|
1097 |
+
*/
|
1098 |
+
function add_field_debug_preview( $fields ) {
|
1099 |
+
$fields['debug_preview'] = 'debug_preview';
|
1100 |
+
return $fields;
|
1101 |
+
}
|
1102 |
+
add_filter( '_wp_post_revision_fields', 'add_field_debug_preview' );
|
1103 |
+
|
1104 |
+
|
1105 |
+
function add_input_debug_preview() {
|
1106 |
+
echo '<input type="hidden" name="debug_preview" value="debug_preview">';
|
1107 |
+
}
|
1108 |
+
add_action( 'edit_form_after_title', 'add_input_debug_preview' );
|
1109 |
+
|
1110 |
+
|
1111 |
+
function wp_review_schema_field( $args, $value, $schema_type ) {
|
1112 |
+
$type = isset( $args['type'] ) ? $args['type'] : '';
|
1113 |
+
$name = isset( $args['name'] ) ? $args['name'] : '';
|
1114 |
+
$label = isset( $args['label'] ) ? $args['label'] : '';
|
1115 |
+
$options = isset( $args['options'] ) ? $args['options'] : array();
|
1116 |
+
$default = isset( $args['default'] ) ? $args['default'] : '';
|
1117 |
+
$min = isset( $args['min'] ) ? $args['min'] : '0';
|
1118 |
+
$max = isset( $args['max'] ) ? $args['max'] : '';
|
1119 |
+
$info = isset( $args['info'] ) ? $args['info'] : '';
|
1120 |
+
|
1121 |
+
// Option value.
|
1122 |
+
$opt_val = isset( $value[ $name ] ) ? $value[ $name ] : $default;
|
1123 |
+
$opt_id_attr = 'wp_review_schema_options_' . $schema_type . '_' . $name;
|
1124 |
+
$opt_name_attr = 'wp_review_schema_options[' . $schema_type . '][' . $name . ']';
|
1125 |
+
|
1126 |
+
$form_field = new WP_Review_Form_Field();
|
1127 |
+
?>
|
1128 |
+
<div class="wp-review-field-label">
|
1129 |
+
<label for="<?php echo esc_attr( $opt_id_attr ); ?>" class="wp_review_schema_options_label"><?php echo esc_html( $label ); ?></label>
|
1130 |
+
</div>
|
1131 |
+
|
1132 |
+
<div class="wp-review-field-option">
|
1133 |
+
<?php
|
1134 |
+
switch ( $type ) {
|
1135 |
+
case 'text':
|
1136 |
+
?>
|
1137 |
+
<input type="text" name="<?php echo esc_attr( $opt_name_attr ); ?>" id="<?php echo esc_attr( $opt_id_attr ); ?>" value="<?php echo esc_attr( $opt_val ); ?>" />
|
1138 |
+
<?php
|
1139 |
+
break;
|
1140 |
+
|
1141 |
+
case 'select':
|
1142 |
+
?>
|
1143 |
+
<select name="<?php echo esc_attr( $opt_name_attr ); ?>" id="<?php echo esc_attr( $opt_id_attr ); ?>">
|
1144 |
+
<?php foreach ( $options as $val => $label ) { ?>
|
1145 |
+
<option value="<?php echo esc_attr( $val ); ?>" <?php selected( $opt_val, $val, true ); ?>><?php echo esc_html( $label ); ?></option>
|
1146 |
+
<?php } ?>
|
1147 |
+
</select>
|
1148 |
+
<?php
|
1149 |
+
break;
|
1150 |
+
|
1151 |
+
case 'number':
|
1152 |
+
?>
|
1153 |
+
<input type="number" step="1" min="<?php echo esc_attr( $min ); ?>" max="<?php echo esc_attr( $max ); ?>" name="<?php echo esc_attr( $opt_name_attr ); ?>" id="<?php echo esc_attr( $opt_id_attr ); ?>" value="<?php echo esc_attr( $opt_val ); ?>" class="small-text">
|
1154 |
+
<?php
|
1155 |
+
break;
|
1156 |
+
|
1157 |
+
case 'textarea':
|
1158 |
+
?>
|
1159 |
+
<textarea name="<?php echo esc_attr( $opt_name_attr ); ?>" id="<?php echo esc_attr( $opt_id_attr ); ?>"><?php echo esc_textarea( $opt_val ); ?></textarea>
|
1160 |
+
<?php
|
1161 |
+
break;
|
1162 |
+
|
1163 |
+
case 'checkbox':
|
1164 |
+
?>
|
1165 |
+
<input type="checkbox" name="<?php echo esc_attr( $opt_name_attr ); ?>" id="<?php echo esc_attr( $opt_id_attr ); ?>" value="1" <?php checked( $opt_val, '1', true ); ?> />
|
1166 |
+
<?php
|
1167 |
+
break;
|
1168 |
+
|
1169 |
+
case 'image':
|
1170 |
+
?>
|
1171 |
+
<span class="wpr_image_upload_field">
|
1172 |
+
<span class="clearfix" id="<?php echo esc_attr( $opt_id_attr ); ?>-preview">
|
1173 |
+
<?php
|
1174 |
+
if ( ! empty( $opt_val['url'] ) ) {
|
1175 |
+
echo '<img class="wpr_image_upload_img" src="' . esc_url( $opt_val['url'] ) . '" />';
|
1176 |
+
}
|
1177 |
+
?>
|
1178 |
+
</span>
|
1179 |
+
<input type="hidden" id="<?php echo esc_attr( $opt_id_attr ); ?>-id" name="<?php echo esc_attr( $opt_name_attr ); ?>[id]" value="<?php if ( isset( $opt_val['id'] ) ) echo $opt_val['id']; ?>" />
|
1180 |
+
<input type="hidden" id="<?php echo esc_attr( $opt_id_attr ); ?>-url" name="<?php echo esc_attr( $opt_name_attr ); ?>[url]" value="<?php if ( isset( $opt_val['url'] ) ) echo $opt_val['url']; ?>" />
|
1181 |
+
<button class="button" name="<?php echo esc_attr( $opt_id_attr ); ?>-upload" id="<?php echo esc_attr( $opt_id_attr ); ?>-upload" data-id="<?php echo esc_attr( $opt_id_attr ); ?>" onclick="wprImageField.uploader( '<?php echo esc_attr( $opt_id_attr ); ?>' ); return false;"><?php esc_html_e( 'Select Image', 'wp-review' ); ?></button>
|
1182 |
+
<?php
|
1183 |
+
if ( ! empty( $opt_val['url'] ) ) {
|
1184 |
+
echo '<a href="#" class="button button-link clear-image">' . esc_html__( 'Remove Image', 'wp-review' ) . '</a>';
|
1185 |
+
}
|
1186 |
+
?>
|
1187 |
+
<span class="clear"></span>
|
1188 |
+
</span>
|
1189 |
+
<?php
|
1190 |
+
break;
|
1191 |
+
|
1192 |
+
case 'date':
|
1193 |
+
?>
|
1194 |
+
<input class="wpr-datepicker" type="text" name="<?php echo esc_attr( $opt_name_attr ); ?>" id="<?php echo esc_attr( $opt_id_attr ); ?>" value="<?php echo esc_attr( $opt_val ); ?>" size="30" />
|
1195 |
+
<?php
|
1196 |
+
break;
|
1197 |
+
|
1198 |
+
case 'switch':
|
1199 |
+
$field_args = array(
|
1200 |
+
'id' => $opt_id_attr,
|
1201 |
+
'name' => $opt_name_attr,
|
1202 |
+
'value' => $opt_val,
|
1203 |
+
);
|
1204 |
+
if ( ! empty( $args['on_label'] ) ) {
|
1205 |
+
$field_args['on_label'] = $args['on_label'];
|
1206 |
+
}
|
1207 |
+
if ( ! empty( $args['off_label'] ) ) {
|
1208 |
+
$field_args['off_label'] = $args['off_label'];
|
1209 |
+
}
|
1210 |
+
$form_field->render_switch( $field_args );
|
1211 |
+
break;
|
1212 |
+
}
|
1213 |
+
|
1214 |
+
if ( ! empty( $info ) ) {
|
1215 |
+
printf( '<p class="description" style="color: #bbb">%s</p>', wp_kses_post( $info ) );
|
1216 |
+
}
|
1217 |
+
?>
|
1218 |
+
</div>
|
1219 |
+
<?php
|
1220 |
+
}
|
admin/options.php
DELETED
@@ -1,348 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// create custom plugin settings menu
|
4 |
-
add_action('admin_menu', 'wpreview_create_menu');
|
5 |
-
|
6 |
-
function wpreview_create_menu() {
|
7 |
-
|
8 |
-
//create new top-level menu
|
9 |
-
$hook = add_options_page('WP Review', 'WP Review', 'administrator', __FILE__, 'wpreview_settings_page');
|
10 |
-
|
11 |
-
//call register settings function
|
12 |
-
add_action( 'admin_init', 'wpreview_register_settings' );
|
13 |
-
|
14 |
-
// body class
|
15 |
-
add_action( "load-$hook", 'wpreview_admin_body_class_filter' );
|
16 |
-
}
|
17 |
-
function wpreview_admin_body_class_filter() {
|
18 |
-
add_filter( "admin_body_class", "wpreview_admin_body_class" );
|
19 |
-
}
|
20 |
-
// body class
|
21 |
-
function wpreview_admin_body_class( $classes ) {
|
22 |
-
$classes .= 'wp-review-admin-options';
|
23 |
-
return $classes;
|
24 |
-
}
|
25 |
-
function wpreview_register_settings() {
|
26 |
-
//register our settings
|
27 |
-
register_setting( 'wpreview-settings-group', 'wp_review_options' );
|
28 |
-
}
|
29 |
-
|
30 |
-
function wpreview_settings_page() {
|
31 |
-
$options = get_option('wp_review_options');
|
32 |
-
|
33 |
-
$available_types = apply_filters('wp_review_metabox_types', array('star' => __('Star', 'wp-review'), 'point' => __('Point', 'wp-review'), 'percentage' => __('Percentage', 'wp-review')));
|
34 |
-
$default_options = array(
|
35 |
-
'colors' => array(
|
36 |
-
'color' => '',
|
37 |
-
'fontcolor' => '',
|
38 |
-
'bgcolor1' => '',
|
39 |
-
'bgcolor2' => '',
|
40 |
-
'bordercolor' => ''),
|
41 |
-
'default_features' => array(),
|
42 |
-
'default_link_texts' => array(),
|
43 |
-
'default_link_urls' => array(),
|
44 |
-
'default_schema_type' => 'Thing',
|
45 |
-
'default_user_review_type' => WP_REVIEW_REVIEW_DISABLED,
|
46 |
-
'last_tab' => 'styling',
|
47 |
-
);
|
48 |
-
// set defaults
|
49 |
-
if (empty($options)) {
|
50 |
-
update_option( 'wp_review_options', $options = $default_options );
|
51 |
-
}
|
52 |
-
|
53 |
-
$opt_name = 'wp_review_options_'.wp_get_theme();
|
54 |
-
$options_updated = get_option( $opt_name );
|
55 |
-
$suggest_theme_defaults = true;
|
56 |
-
if (!empty($_GET['wp-review-theme-defaults']) && empty($_GET['settings-updated'])) {
|
57 |
-
wp_review_theme_defaults($options_updated, true);
|
58 |
-
$options = get_option('wp_review_options');
|
59 |
-
$suggest_theme_defaults = false;
|
60 |
-
}
|
61 |
-
// test to see if we need to sugges setting theme defaults
|
62 |
-
if (empty($options_updated)) $options_updated = array();
|
63 |
-
$opts_tmp = array_merge($options, $options_updated);
|
64 |
-
if ($opts_tmp == $options) $suggest_theme_defaults = false;
|
65 |
-
|
66 |
-
// Migrate
|
67 |
-
global $wpdb;
|
68 |
-
$current_blog_id = get_current_blog_id();
|
69 |
-
$total_rows = 0;
|
70 |
-
$rows_left = 0;
|
71 |
-
$migrated_rows = get_option( 'wp_review_migrated_rows', 0 );
|
72 |
-
$has_migrated = get_option( 'wp_review_has_migrated', false );
|
73 |
-
if ( ! $has_migrated && $wpdb->get_var("SHOW TABLES LIKE '{$wpdb->base_prefix}mts_wp_reviews'") == "{$wpdb->base_prefix}mts_wp_reviews") {
|
74 |
-
// Table exists and not migrated (fully) yet
|
75 |
-
$total_rows = $wpdb->get_var( 'SELECT COUNT(*) FROM '.$wpdb->base_prefix.'mts_wp_reviews WHERE blog_id = '.$current_blog_id );
|
76 |
-
$rows_left = $total_rows - $migrated_rows;
|
77 |
-
}
|
78 |
-
|
79 |
-
?>
|
80 |
-
<div id="col-right" class="wrap wp-review" style="float: left; padding-right: 3%; box-sizing: border-box;">
|
81 |
-
<h2><?php _e('WP Review Settings', 'wp-review'); ?></h2>
|
82 |
-
|
83 |
-
<form method="post" action="options.php">
|
84 |
-
<?php settings_fields( 'wpreview-settings-group' ); ?>
|
85 |
-
|
86 |
-
<?php
|
87 |
-
|
88 |
-
$defaultColors = apply_filters('wp_review_default_colors', array(
|
89 |
-
'color' => '#1e73be',
|
90 |
-
'fontcolor' => '#555555',
|
91 |
-
'bgcolor1' => '#e7e7e7',
|
92 |
-
'bgcolor2' => '#ffffff',
|
93 |
-
'bordercolor' => '#e7e7e7'
|
94 |
-
));
|
95 |
-
$defaultLocation = apply_filters('wp_review_default_location', 'bottom');
|
96 |
-
|
97 |
-
$defaultCriteria = apply_filters('wp_review_default_criteria', array());
|
98 |
-
$defaultItems = array();
|
99 |
-
foreach ($defaultCriteria as $item) {
|
100 |
-
$defaultItems[] = array( 'wp_review_item_title' => $item, 'wp_review_item_star' => '');
|
101 |
-
}
|
102 |
-
$default_schema = empty( $options['default_schema_type'] ) ? $default_options['default_schema_type'] : $options['default_schema_type'];
|
103 |
-
$default_user_review_type = empty( $options['default_user_review_type'] ) ? WP_REVIEW_REVIEW_DISABLED : $options['default_user_review_type'];
|
104 |
-
$options['colors'] = apply_filters( 'wp_review_colors', $options['colors'], 0 );
|
105 |
-
if (!isset($options['deafults'])) $options['deafults'] = array();
|
106 |
-
/* Retrieve an existing value from the database. */
|
107 |
-
$items = ! empty($options['default_features']) ? $options['default_features'] : '';
|
108 |
-
$link_texts = ! empty( $options['default_link_text'] ) ? $options['default_link_text'] : array();
|
109 |
-
$link_urls = ! empty( $options['default_link_url'] ) ? $options['default_link_url'] : array();
|
110 |
-
$color = ! empty($options['colors']['color']) ? $options['colors']['color'] : '';
|
111 |
-
$location = ! empty($options['review_location']) ? $options['review_location'] : '';
|
112 |
-
$fontcolor = ! empty($options['colors']['fontcolor']) ? $options['colors']['fontcolor'] : '';
|
113 |
-
$bgcolor1 = ! empty($options['colors']['bgcolor1']) ? $options['colors']['bgcolor1'] : '';
|
114 |
-
$bgcolor2 = ! empty($options['colors']['bgcolor2']) ? $options['colors']['bgcolor2'] : '';
|
115 |
-
$bordercolor = ! empty($options['colors']['bordercolor']) ? $options['colors']['bordercolor'] : '';
|
116 |
-
$registered_only = ! empty( $options['registered_only'] ) ? $options['registered_only'] : '';
|
117 |
-
$add_backlink = ! empty( $options['add_backlink'] ) ? true : false;
|
118 |
-
$last_tab = ! empty( $options['last_tab'] ) ? $options['last_tab'] : 'styling' ;
|
119 |
-
if ( $items == '' ) $items = $defaultItems;
|
120 |
-
if( $color == '' ) $color = $defaultColors['color'];
|
121 |
-
if( $location == '' ) $location = $defaultLocation;
|
122 |
-
if( $fontcolor == '' ) $fontcolor = $defaultColors['fontcolor'];
|
123 |
-
if( $bgcolor1 == '' ) $bgcolor1 = $defaultColors['bgcolor1'];
|
124 |
-
if( $bgcolor2 == '' ) $bgcolor2 = $defaultColors['bgcolor2'];
|
125 |
-
if( $bordercolor == '' ) $bordercolor = $defaultColors['bordercolor'];
|
126 |
-
|
127 |
-
$fields = array(
|
128 |
-
'location' => true,
|
129 |
-
'color' => true,
|
130 |
-
'fontcolor' => true,
|
131 |
-
'bgcolor1' => true,
|
132 |
-
'bgcolor2' => true,
|
133 |
-
'bordercolor' => true,
|
134 |
-
'custom_colors' => true,
|
135 |
-
'custom_location' => true,
|
136 |
-
);
|
137 |
-
$displayed_fields = apply_filters('wp_review_metabox_item_fields', $fields);
|
138 |
-
|
139 |
-
?>
|
140 |
-
|
141 |
-
<div class="nav-tab-wrapper">
|
142 |
-
<a href="#styling" class="nav-tab nav-tab-active" data-tab="styling"><?php _e('Styling', 'wp-review'); ?></a>
|
143 |
-
<a href="#defaults" class="nav-tab" data-tab="defaults"><?php _e('Defaults', 'wp-review'); ?></a>
|
144 |
-
<a href="#help" class="nav-tab" data-tab="help"><?php _e('Help', 'wp-review'); ?></a>
|
145 |
-
<a href="#pro" class="nav-tab" data-tab="pro"><?php _e('Pro', 'wp-review'); ?></a>
|
146 |
-
<?php if ( $rows_left ) : ?>
|
147 |
-
<a href="#migrate" class="nav-tab" data-tab="migrate"><?php _e('Migrate Ratings', 'wp-review'); ?></a>
|
148 |
-
<?php endif; ?>
|
149 |
-
</div>
|
150 |
-
<div id="wp-review-settings-tab-contents">
|
151 |
-
|
152 |
-
<div class="settings-tab-styling">
|
153 |
-
|
154 |
-
<h3><?php _e( 'Styling', 'wp-review' ); ?></h3>
|
155 |
-
|
156 |
-
<?php if (has_filter('wp_review_colors')) echo '<p class="wp-review-filter-msg"><div class="dashicons dashicons-info"></div>'.__('There is a filter set for the review colors that may modify the options below.', 'wp-review').'</p>'; ?>
|
157 |
-
|
158 |
-
<div class="wp-review-color-options">
|
159 |
-
<p class="wp-review-field"<?php if (empty($displayed_fields['color'])) echo ' style="display: none;"'; ?>>
|
160 |
-
<label for="wp_review_color"><?php _e( 'Review Color', 'wp-review' ); ?></label>
|
161 |
-
<input type="text" class="wp-review-color" name="wp_review_options[colors][color]" value="<?php echo $color; ?>" />
|
162 |
-
</p>
|
163 |
-
|
164 |
-
<p class="wp-review-field"<?php if (empty($displayed_fields['fontcolor'])) echo ' style="display: none;"'; ?>>
|
165 |
-
<label for="wp_review_fontcolor"><?php _e( 'Font Color', 'wp-review' ); ?></label>
|
166 |
-
<input type="text" class="wp-review-color" name="wp_review_options[colors][fontcolor]" id ="wp_review_fontcolor" value="<?php echo $fontcolor; ?>" />
|
167 |
-
</p>
|
168 |
-
|
169 |
-
<p class="wp-review-field"<?php if (empty($displayed_fields['bgcolor1'])) echo ' style="display: none;"'; ?>>
|
170 |
-
<label for="wp_review_bgcolor1"><?php _e( 'Heading Background Color', 'wp-review' ); ?></label>
|
171 |
-
<input type="text" class="wp-review-color" name="wp_review_options[colors][bgcolor1]" id ="wp_review_bgcolor1" value="<?php echo $bgcolor1; ?>" />
|
172 |
-
</p>
|
173 |
-
|
174 |
-
<p class="wp-review-field"<?php if (empty($displayed_fields['bgcolor2'])) echo ' style="display: none;"'; ?>>
|
175 |
-
<label for="wp_review_bgcolor2"><?php _e( 'Background Color', 'wp-review' ); ?></label>
|
176 |
-
<input type="text" class="wp-review-color" name="wp_review_options[colors][bgcolor2]" id="wp_review_bgcolor2" value="<?php echo $bgcolor2; ?>" />
|
177 |
-
</p>
|
178 |
-
|
179 |
-
<p class="wp-review-field"<?php if (empty($displayed_fields['bordercolor'])) echo ' style="display: none;"'; ?>>
|
180 |
-
<label for="wp_review_bordercolor"><?php _e( 'Border Color', 'wp-review' ); ?></label>
|
181 |
-
<input type="text" class="wp-review-color" name="wp_review_options[colors][bordercolor]" id="wp_review_bordercolor" value="<?php echo $bordercolor; ?>" />
|
182 |
-
</p>
|
183 |
-
|
184 |
-
|
185 |
-
</div>
|
186 |
-
|
187 |
-
<p class="wp-review-field">
|
188 |
-
<?php
|
189 |
-
$backlink_text = wp_review_get_backlink();
|
190 |
-
?>
|
191 |
-
<input name="wp_review_options[add_backlink]" type="hidden" value="0" />
|
192 |
-
<input name="wp_review_options[add_backlink]" id="wp_review_add_backlink" type="checkbox" value="1" <?php checked( $add_backlink, '1' ); ?> />
|
193 |
-
<label for="wp_review_add_backlink" style="width: 300px;"><?php printf(__( 'Add Backlink (%s)', 'wp-review' ), $backlink_text); ?></label>
|
194 |
-
</p>
|
195 |
-
|
196 |
-
<p class="submit">
|
197 |
-
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
198 |
-
</p>
|
199 |
-
|
200 |
-
<input name="wp_review_options[last_tab]" id="wp_review_last_tab" type="hidden" value="<?php echo esc_attr($last_tab); ?>" />
|
201 |
-
|
202 |
-
</div>
|
203 |
-
<div class="settings-tab-defaults">
|
204 |
-
<h3><?php _e( 'Defaults', 'wp-review' ); ?></h3>
|
205 |
-
|
206 |
-
<?php $has_criteria_filter = has_filter( 'wp_review_default_criteria' ); ?>
|
207 |
-
<?php $schemas = apply_filters( 'wp_review_schema_types', array() ); ?>
|
208 |
-
|
209 |
-
<table class="form-table">
|
210 |
-
<tr>
|
211 |
-
<th scope="row"><?php _e( 'Review Location', 'wp-review' ); ?></th>
|
212 |
-
<td>
|
213 |
-
<select name="wp_review_options[review_location]" id="wp_review_location">
|
214 |
-
<option value="bottom" <?php selected( $location, 'bottom' ); ?>><?php _e( 'After Content', 'wp-review' ) ?></option>
|
215 |
-
<option value="top" <?php selected( $location, 'top' ); ?>><?php _e( 'Before Content', 'wp-review' ) ?></option>
|
216 |
-
<option value="custom" <?php selected( $location, 'custom' ); ?>><?php _e( 'Custom (use shortcode)', 'wp-review' ) ?></option>
|
217 |
-
</select>
|
218 |
-
<p class="wp-review-field" id="wp_review_shortcode_hint_field">
|
219 |
-
<input id="wp_review_shortcode_hint" type="text" value="[wp-review]" readonly="readonly" />
|
220 |
-
<span><?php _e('Copy & paste this shortcode in the post content.', 'wp-review') ?></span>
|
221 |
-
</p>
|
222 |
-
</td>
|
223 |
-
</tr>
|
224 |
-
<tr>
|
225 |
-
<th scope="row"><?php _e( 'Features', 'wp-review' ); ?></th>
|
226 |
-
<td>
|
227 |
-
<table id="wp-review-item">
|
228 |
-
<?php if ( $has_criteria_filter ) : ?>
|
229 |
-
<?php foreach ( $defaultCriteria as $item ) : ?>
|
230 |
-
<?php if ( ! empty( $item ) ) : ?>
|
231 |
-
<tr>
|
232 |
-
<td style="padding:0">
|
233 |
-
<input type="text" name="wp_review_options[default_features][]" value="<?php if( !empty( $item ) ) echo esc_attr( $item ); ?>" <?php echo $has_criteria_filter ? 'disabled="disabled" readonly="readonly"' : ''; ?> />
|
234 |
-
<?php if ( ! $has_criteria_filter ) : ?>
|
235 |
-
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
236 |
-
<?php endif; ?>
|
237 |
-
</td>
|
238 |
-
</tr>
|
239 |
-
<?php endif; ?>
|
240 |
-
<?php endforeach; ?>
|
241 |
-
<?php else : ?>
|
242 |
-
<?php foreach ( $items as $item ) : ?>
|
243 |
-
<?php if ( ! empty( $item ) ) : ?>
|
244 |
-
<tr>
|
245 |
-
<td style="padding:0">
|
246 |
-
<input type="text" name="wp_review_options[default_features][]" value="<?php if( !empty( $item ) ) echo esc_attr( $item ); ?>" <?php echo $has_criteria_filter ? 'disabled="disabled" readonly="readonly"' : ''; ?> />
|
247 |
-
<?php if ( ! $has_criteria_filter ) : ?>
|
248 |
-
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
249 |
-
<?php endif; ?>
|
250 |
-
</td>
|
251 |
-
</tr>
|
252 |
-
<?php endif; ?>
|
253 |
-
<?php endforeach; ?>
|
254 |
-
<?php endif; ?>
|
255 |
-
<tr class="empty-row screen-reader-text">
|
256 |
-
<td style="padding:0">
|
257 |
-
<input class="focus-on-add" type="text" name="wp_review_options[default_features][]" />
|
258 |
-
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
259 |
-
</td>
|
260 |
-
</tr>
|
261 |
-
</table>
|
262 |
-
<?php if ( $has_criteria_filter ) : ?>
|
263 |
-
<p class="description"><?php _e('Default features are set by a filter function. Remove it to change.', 'wp-review'); ?></p>
|
264 |
-
<?php else : ?>
|
265 |
-
<a class="add-row button" data-target="#wp-review-item" href="#"><?php _e( 'Add default feature', 'wp-review' ) ?></a>
|
266 |
-
<?php endif; ?>
|
267 |
-
</td>
|
268 |
-
</tr>
|
269 |
-
</table>
|
270 |
-
|
271 |
-
<p class="submit">
|
272 |
-
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
273 |
-
</p>
|
274 |
-
|
275 |
-
</div>
|
276 |
-
|
277 |
-
<div class="settings-tab-help">
|
278 |
-
<p>
|
279 |
-
<object type="application/x-shockwave-flash" style="width:450px; height:366px;" data="//www.youtube.com/v/NzMe-QY_WZY?version=3">
|
280 |
-
<param name="movie" value="//www.youtube.com/v/NzMe-QY_WZY?version=3" />
|
281 |
-
<param name="allowFullScreen" value="true" />
|
282 |
-
<param name="allowscriptaccess" value="always" />
|
283 |
-
</object>
|
284 |
-
</p>
|
285 |
-
<p>
|
286 |
-
<?php _e('All support for this plugin is provided through our forums. If you have not registered yet, you can do so here for <strong>FREE</strong>: ', 'wp-review'); ?>
|
287 |
-
<a target="_blank" href="https://mythemeshop.com/#signup">https://mythemeshop.com/#signup</a>
|
288 |
-
</p>
|
289 |
-
<p>
|
290 |
-
<?php _e('Check our free WordPress video tutorials here: ', 'wp-review'); ?>
|
291 |
-
<a target="_blank" href="https://mythemeshop.com/wordpress-101/">https://mythemeshop.com/wordpress-101/</a>
|
292 |
-
<?php _e('(no registration required)', 'wp-review'); ?>
|
293 |
-
</p>
|
294 |
-
<p>
|
295 |
-
<?php _e('Thank you for using our plugin.', 'wp-review'); ?>
|
296 |
-
</p>
|
297 |
-
|
298 |
-
<p class="submit">
|
299 |
-
<a href="https://mythemeshop.com/#login" target="_blank" class="button-primary"><?php _e('Get Support') ?></a>
|
300 |
-
</p>
|
301 |
-
</div>
|
302 |
-
|
303 |
-
<div class="settings-tab-pro">
|
304 |
-
<p>
|
305 |
-
<?php _e('Create Reviews Easily & Rank Higher In Search Engines', 'wp-review'); ?> - <a target="_blank" href="https://mythemeshop.com/plugins/wp-review-pro/?utm_source=WP+Review&utm_medium=Notification+Link&utm_content=WP+Review+Pro+LP&utm_campaign=WordPressOrg"><strong><?php _e('WP Review Pro Plugin', 'wp-review'); ?></strong></a>
|
306 |
-
</p>
|
307 |
-
|
308 |
-
<p class="submit">
|
309 |
-
<a href="https://mythemeshop.com/plugins/wp-review-pro/?utm_source=WP+Review&utm_medium=Link+CPC&utm_content=WP+Review+Pro+LP&utm_campaign=WordPressOrg" target="_blank" class="button-primary"><?php _e('Check the Pro Version') ?></a>
|
310 |
-
</p>
|
311 |
-
</div>
|
312 |
-
|
313 |
-
<?php if ( $rows_left ) : ?>
|
314 |
-
<div class="settings-tab-migrate">
|
315 |
-
<div id="settings-allow-migrate">
|
316 |
-
<p><?php _e('Here you can import your existing user ratings from WP Review < 4.0', 'wp-review'); ?></p>
|
317 |
-
<p class="migrate-items"><?php printf( __( '%s ratings left to import.', 'wp-review'), '<span id="migrate-items-num">'.$rows_left.'</span>' ); ?></p>
|
318 |
-
<a href="#" class="button button-secondary" id="start-migrate" data-start="<?php echo $migrated_rows; ?>"><?php _e('Start import', 'wp-review'); ?></a>
|
319 |
-
<textarea id="wp-review-migrate-log"></textarea>
|
320 |
-
</div>
|
321 |
-
<p class="already-migrated-msg"><?php _e('Ratings have already been migrated.', 'wp-review'); ?></p>
|
322 |
-
</div>
|
323 |
-
<?php endif; ?>
|
324 |
-
|
325 |
-
</div>
|
326 |
-
|
327 |
-
</form>
|
328 |
-
</div>
|
329 |
-
<?php if (!apply_filters( 'wp_review_remove_branding', false )) : ?>
|
330 |
-
<div id="col-left" style="float: right; margin-top: 47px;">
|
331 |
-
<a href="https://mythemeshop.com/plugins/wp-review-pro/?utm_source=WP+Review&utm_medium=Link+CPC&utm_content=WP+Review+Pro+LP&utm_campaign=WordPressOrg" target="_blank">
|
332 |
-
<img src="<?php echo trailingslashit( WP_REVIEW_ASSETS ); ?>/images/wp-review-pro.jpg">
|
333 |
-
</a>
|
334 |
-
</div>
|
335 |
-
<?php endif; ?>
|
336 |
-
<?php }
|
337 |
-
|
338 |
-
// Add settings link on plugin page
|
339 |
-
function wpreview_plugin_settings_link($links) {
|
340 |
-
$dir = explode('/', WP_REVIEW_PLUGIN_BASE);
|
341 |
-
$dir = $dir[0];
|
342 |
-
$settings_link = '<a href="options-general.php?page='.$dir.'/admin/options.php">'.__('Settings', 'wp-review').'</a>';
|
343 |
-
array_unshift($links, $settings_link);
|
344 |
-
return $links;
|
345 |
-
}
|
346 |
-
add_filter('plugin_action_links_'.WP_REVIEW_PLUGIN_BASE, 'wpreview_plugin_settings_link' );
|
347 |
-
|
348 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/options/facebook.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Facebook options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<div class="wp-review-field no-flex">
|
10 |
+
<?php
|
11 |
+
printf(
|
12 |
+
/* translators: Facebook App link. */
|
13 |
+
esc_html__( '%s to create Facebook App. Remember to add your domain to app.', 'wp-review' ),
|
14 |
+
'<a href="https://mythemeshop.com/kb/wp-review-pro/facebook-reviews/" target="_blank">' . esc_html__( 'Click here', 'wp-review' ) . '</a>'
|
15 |
+
);
|
16 |
+
?>
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<div class="wp-review-field">
|
20 |
+
<div class="wp-review-field-label">
|
21 |
+
<label for="wp_review_facebook_app_id"><?php esc_html_e( 'App ID', 'wp-review' ); ?></label>
|
22 |
+
<?php wp_review_print_pro_text(); ?>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
<div class="wp-review-field-option">
|
26 |
+
<span class="wp-review-disabled inline-block large-text">
|
27 |
+
<input name="wp_review_options[facebook_app_id]" id="wp_review_facebook_app_id" type="text" class="widefat" disabled>
|
28 |
+
</span>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
<div class="wp-review-field">
|
33 |
+
<div class="wp-review-field-label">
|
34 |
+
<label for="wp_review_facebook_app_secret"><?php esc_html_e( 'App secret', 'wp-review' ); ?></label>
|
35 |
+
<?php wp_review_print_pro_text(); ?>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div class="wp-review-field-option">
|
39 |
+
<span class="wp-review-disabled inline-block large-text">
|
40 |
+
<input name="wp_review_options[facebook_app_secret]" id="wp_review_facebook_app_secret" class="widefat" type="password" disabled>
|
41 |
+
</span>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
|
45 |
+
<p class="description"><?php esc_html_e( 'Please re-generate access token in shortcodes and widgets each time you change App ID or App secret.', 'wp-review' ); ?></p>
|
admin/options/google.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Google options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<div class="wp-review-field">
|
10 |
+
<div class="wp-review-field-label">
|
11 |
+
<label for="wp_review_google_api_key"><?php esc_html_e( 'API Key', 'wp-review' ); ?></label>
|
12 |
+
<?php wp_review_print_pro_text(); ?>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="wp-review-field-option">
|
16 |
+
<span class="wp-review-disabled inline-block large-text">
|
17 |
+
<input name="wp_review_options[google_api_key]" id="wp_review_google_api_key" class="widefat" type="password" disabled>
|
18 |
+
</span>
|
19 |
+
</div>
|
20 |
+
|
21 |
+
<span class="description">
|
22 |
+
<?php
|
23 |
+
printf(
|
24 |
+
/* translators: Google API link. */
|
25 |
+
esc_html__( '%s to get Google API key.', 'wp-review' ),
|
26 |
+
'<a href="https://mythemeshop.com/kb/wp-review-pro/google-reviews/" target="_blank">' . esc_html__( 'Click here', 'wp-review' ) . '</a>'
|
27 |
+
);
|
28 |
+
?>
|
29 |
+
</span>
|
30 |
+
</div>
|
admin/options/hello-bar.php
ADDED
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Notification bar options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<div data-nav-tabs>
|
10 |
+
<div class="nav-tab-wrapper">
|
11 |
+
<a href="#hello-bar-content" class="nav-tab nav-tab-active" data-tab="hello-bar-content"><?php esc_html_e( 'Content', 'wp-review' ); ?></a>
|
12 |
+
<a href="#hello-bar-styling" class="nav-tab" data-tab="hello-bar-styling"><?php esc_html_e( 'Styling', 'wp-review' ); ?></a>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div id="hello-bar-content" class="tab-content">
|
16 |
+
<h3><?php esc_html_e( 'Content Settings', 'wp-review' ); ?></h3>
|
17 |
+
|
18 |
+
<div class="wp-review-field">
|
19 |
+
<div class="wp-review-field-label">
|
20 |
+
<label><?php esc_html_e( 'Enable Global Notification Bar', 'wp-review' ); ?></label>
|
21 |
+
<?php wp_review_print_pro_text(); ?>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
<div class="wp-review-field-option">
|
25 |
+
<?php
|
26 |
+
$form_field->render_switch( array(
|
27 |
+
'id' => 'wp_review_hello_bar_enable',
|
28 |
+
'name' => 'wp_review_hello_bar[enable]',
|
29 |
+
'disabled' => true,
|
30 |
+
) );
|
31 |
+
?>
|
32 |
+
</div>
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<div class="hide-if-hello-bar-disable">
|
36 |
+
|
37 |
+
<div class="wp-review-field">
|
38 |
+
<div class="wp-review-field-label">
|
39 |
+
<label for="wp_review_text"><?php esc_html_e( 'Text', 'wp-review' ); ?></label>
|
40 |
+
<?php wp_review_print_pro_text(); ?>
|
41 |
+
</div>
|
42 |
+
<div class="wp-review-field-option">
|
43 |
+
<span class="wp-review-disabled inline-block">
|
44 |
+
<input name="wp_review_hello_bar[text]" id="wp_review_text" class="large-text" type="text" disabled>
|
45 |
+
</span>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
|
49 |
+
<div class="wp-review-field">
|
50 |
+
<div class="wp-review-field-label">
|
51 |
+
<label for="wp_review_star_rating"><?php esc_html_e( 'Star Rating', 'wp-review' ); ?></label>
|
52 |
+
<?php wp_review_print_pro_text(); ?>
|
53 |
+
</div>
|
54 |
+
<div class="wp-review-field-option">
|
55 |
+
<span class="wp-review-disabled inline-block">
|
56 |
+
<input name="wp_review_hello_bar[star_rating]" id="wp_review_star_rating" class="small-text" type="number" min="0.5" max="5" step="0.5" value="5" disabled>
|
57 |
+
</span>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
|
61 |
+
<div class="wp-review-field">
|
62 |
+
<div class="wp-review-field-label">
|
63 |
+
<label for="wp_review_price"><?php esc_html_e( 'Price', 'wp-review' ); ?></label>
|
64 |
+
<?php wp_review_print_pro_text(); ?>
|
65 |
+
</div>
|
66 |
+
<div class="wp-review-field-option">
|
67 |
+
<span class="wp-review-disabled inline-block">
|
68 |
+
<input name="wp_review_hello_bar[price]" id="wp_review_price" type="text" value="$20" disabled>
|
69 |
+
</span>
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
|
73 |
+
<div class="wp-review-field">
|
74 |
+
<div class="wp-review-field-label">
|
75 |
+
<label for="wp_review_button_label"><?php esc_html_e( 'Button label', 'wp-review' ); ?></label>
|
76 |
+
<?php wp_review_print_pro_text(); ?>
|
77 |
+
</div>
|
78 |
+
<div class="wp-review-field-option">
|
79 |
+
<span class="wp-review-disabled inline-block">
|
80 |
+
<input name="wp_review_hello_bar[button_label]" id="wp_review_button_label" type="text" value="<?php esc_attr_e( 'Buy Now', 'wp-review' ); ?>" disabled>
|
81 |
+
</span>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div class="wp-review-field">
|
86 |
+
<div class="wp-review-field-label">
|
87 |
+
<label for="wp_review_button_url"><?php esc_html_e( 'Button URL', 'wp-review' ); ?></label>
|
88 |
+
<?php wp_review_print_pro_text(); ?>
|
89 |
+
</div>
|
90 |
+
<div class="wp-review-field-option">
|
91 |
+
<span class="wp-review-disabled inline-block">
|
92 |
+
<input name="wp_review_hello_bar[button_url]" id="wp_review_button_url" class="large-text" type="text" value="#" disabled>
|
93 |
+
</span>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<div class="wp-review-field">
|
98 |
+
<div class="wp-review-field-label">
|
99 |
+
<label><?php esc_html_e( 'Open link in new tab', 'wp-review' ); ?></label>
|
100 |
+
<?php wp_review_print_pro_text(); ?>
|
101 |
+
</div>
|
102 |
+
<div class="wp-review-field-option">
|
103 |
+
<?php
|
104 |
+
$form_field->render_switch( array(
|
105 |
+
'id' => 'wp_review_hello_bar_target_blank',
|
106 |
+
'name' => 'wp_review_hello_bar[target_blank]',
|
107 |
+
'disabled' => true,
|
108 |
+
) );
|
109 |
+
?>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
</div>
|
113 |
+
</div><!-- End .settings-tab-content -->
|
114 |
+
|
115 |
+
<div id="hello-bar-styling" style="display: none;" class="tab-content">
|
116 |
+
<h3><?php esc_html_e( 'Styling Settings', 'wp-review' ); ?></h3>
|
117 |
+
|
118 |
+
<div class="wp-review-field">
|
119 |
+
<div class="wp-review-field-label">
|
120 |
+
<label for="wp_review_hello_bar_location"><?php esc_html_e( 'Location', 'wp-review' ); ?></label>
|
121 |
+
<?php wp_review_print_pro_text(); ?>
|
122 |
+
</div>
|
123 |
+
|
124 |
+
<div class="wp-review-field-option">
|
125 |
+
<span class="wp-review-disabled inline-block has-bg">
|
126 |
+
<select name="wp_review_hello_bar[location]" id="wp_review_hello_bar_location" disabled>
|
127 |
+
<option value="top"><?php esc_html_e( 'Top', 'wp-review' ); ?></option>
|
128 |
+
<option value="bottom"><?php esc_html_e( 'Bottom', 'wp-review' ); ?></option>
|
129 |
+
</select>
|
130 |
+
</span>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
|
134 |
+
<div class="wp-review-field">
|
135 |
+
<div class="wp-review-field-label">
|
136 |
+
<label for="wp_review_max_container"><?php esc_html_e( 'Max container(px/%)', 'wp-review' ); ?></label>
|
137 |
+
<?php wp_review_print_pro_text(); ?>
|
138 |
+
</div>
|
139 |
+
|
140 |
+
<div class="wp-review-field-option">
|
141 |
+
<span class="wp-review-disabled inline-block">
|
142 |
+
<input name="wp_review_hello_bar[max_container]" id="wp_review_max_container" type="text" value="1010px" disabled>
|
143 |
+
</span>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
|
147 |
+
<div class="wp-review-field">
|
148 |
+
<div class="wp-review-field-label">
|
149 |
+
<label for="wp_review_bg_color"><?php esc_html_e( 'Background color', 'wp-review' ); ?></label>
|
150 |
+
<?php wp_review_print_pro_text(); ?>
|
151 |
+
</div>
|
152 |
+
|
153 |
+
<div class="wp-review-field-option">
|
154 |
+
<span class="wp-review-disabled inline-block has-bg">
|
155 |
+
<input type="text" class="wp-review-color" name="wp_review_hello_bar[bg_color]" id="wp_review_bg_color" disabled>
|
156 |
+
</span>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<div class="wp-review-field">
|
161 |
+
<div class="wp-review-field-label">
|
162 |
+
<label for="wp_review_bg_image"><?php esc_html_e( 'Background image', 'wp-review' ); ?></label>
|
163 |
+
<?php wp_review_print_pro_text(); ?>
|
164 |
+
</div>
|
165 |
+
|
166 |
+
<div class="wp-review-field-option">
|
167 |
+
<span class="wpr_image_upload_field wp-review-disabled">
|
168 |
+
<span class="clearfix" id="wp_review_bg_image-preview"></span>
|
169 |
+
<button type="button" class="button" name="wp_review_bg_image-upload" id="wp_review_bg_image-upload" data-id="wp_review_bg_image" disabled><?php esc_html_e( 'Select Image', 'wp-review' ); ?></button>
|
170 |
+
<span class="clear"></span>
|
171 |
+
</span>
|
172 |
+
</div>
|
173 |
+
</div>
|
174 |
+
|
175 |
+
<div class="wp-review-field">
|
176 |
+
<div class="wp-review-field-label">
|
177 |
+
<label for="wp_review_text_color"><?php esc_html_e( 'Text color', 'wp-review' ); ?></label>
|
178 |
+
<?php wp_review_print_pro_text(); ?>
|
179 |
+
</div>
|
180 |
+
|
181 |
+
<div class="wp-review-field-option">
|
182 |
+
<span class="wp-review-disabled inline-block has-bg">
|
183 |
+
<input type="text" class="wp-review-color" name="wp_review_hello_bar[text_color]" id="wp_review_text_color" disabled>
|
184 |
+
</span>
|
185 |
+
</div>
|
186 |
+
</div>
|
187 |
+
|
188 |
+
<div class="wp-review-field">
|
189 |
+
<div class="wp-review-field-label">
|
190 |
+
<label for="wp_review_star_color"><?php esc_html_e( 'Star color', 'wp-review' ); ?></label>
|
191 |
+
<?php wp_review_print_pro_text(); ?>
|
192 |
+
</div>
|
193 |
+
|
194 |
+
<div class="wp-review-field-option">
|
195 |
+
<span class="wp-review-disabled inline-block has-bg">
|
196 |
+
<input type="text" class="wp-review-color" name="wp_review_hello_bar[star_color]" id="wp_review_star_color" disabled>
|
197 |
+
</span>
|
198 |
+
</div>
|
199 |
+
</div>
|
200 |
+
|
201 |
+
<div class="wp-review-field">
|
202 |
+
<div class="wp-review-field-label">
|
203 |
+
<label for="wp_review_button_bg_color"><?php esc_html_e( 'Button background color', 'wp-review' ); ?></label>
|
204 |
+
<?php wp_review_print_pro_text(); ?>
|
205 |
+
</div>
|
206 |
+
|
207 |
+
<div class="wp-review-field-option">
|
208 |
+
<span class="wp-review-disabled inline-block has-bg">
|
209 |
+
<input type="text" class="wp-review-color" name="wp_review_hello_bar[button_bg_color]" id="wp_review_button_bg_color" disabled>
|
210 |
+
</span>
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
|
214 |
+
<div class="wp-review-field">
|
215 |
+
<div class="wp-review-field-label">
|
216 |
+
<label for="wp_review_button_text_color"><?php esc_html_e( 'Button text color', 'wp-review' ); ?></label>
|
217 |
+
<?php wp_review_print_pro_text(); ?>
|
218 |
+
</div>
|
219 |
+
|
220 |
+
<div class="wp-review-field-option">
|
221 |
+
<span class="wp-review-disabled inline-block has-bg">
|
222 |
+
<input type="text" class="wp-review-color" name="wp_review_hello_bar[button_text_color]" id="wp_review_button_text_color" disabled>
|
223 |
+
</span>
|
224 |
+
</div>
|
225 |
+
</div>
|
226 |
+
</div><!-- End .settings-tab-styling -->
|
227 |
+
</div>
|
admin/options/help.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Help tab
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<p>
|
10 |
+
<object type="application/x-shockwave-flash" style="width:450px; height:366px;" data="//www.youtube.com/v/NzMe-QY_WZY?version=3">
|
11 |
+
<param name="movie" value="//www.youtube.com/v/NzMe-QY_WZY?version=3" />
|
12 |
+
<param name="allowFullScreen" value="true" />
|
13 |
+
<param name="allowscriptaccess" value="always" />
|
14 |
+
</object>
|
15 |
+
</p>
|
16 |
+
<p>
|
17 |
+
<?php _e( 'All support for this plugin is provided through our forums. If you have not registered yet, you can do so here for <strong>FREE</strong>: ', 'wp-review' ); ?>
|
18 |
+
<a target="_blank" href="https://mythemeshop.com/#signup">https://mythemeshop.com/#signup</a>
|
19 |
+
</p>
|
20 |
+
<p>
|
21 |
+
<?php _e( 'Check our free WordPress video tutorials here: ', 'wp-review' ); ?>
|
22 |
+
<a target="_blank" href="https://mythemeshop.com/wordpress-101/">https://mythemeshop.com/wordpress-101/</a>
|
23 |
+
<?php _e( '(no registration required)', 'wp-review' ); ?>
|
24 |
+
</p>
|
25 |
+
<p>
|
26 |
+
<?php _e( 'Thank you for using our plugin.', 'wp-review' ); ?>
|
27 |
+
</p>
|
28 |
+
|
29 |
+
<p class="submit">
|
30 |
+
<a href="https://mythemeshop.com/#login" target="_blank" class="button-primary"><?php _e( 'Get Support' ); ?></a>
|
31 |
+
</p>
|
admin/options/import.php
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Import options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
|
10 |
+
<div class="wp-review-field">
|
11 |
+
<div class="wp-review-field-label">
|
12 |
+
<label><?php esc_html_e( 'Demo data import', 'wp-review' ); ?></label>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="wp-review-field-option">
|
16 |
+
<button type="button" id="wp-review-import-demo-button" class="button" data-nonce="<?php echo esc_attr( wp_create_nonce( 'wp_review_import_demo' ) ); ?>"><?php esc_html_e( 'Import', 'wp-review' ); ?></button>
|
17 |
+
<p class="description"><?php esc_html_e( 'Click above button to import demo data, imported data will be saved as new draft posts.', 'wp-review' ); ?></p>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
|
21 |
+
<div class="wp-review-field">
|
22 |
+
<div class="wp-review-field-label">
|
23 |
+
<label for="wp-review-import-source"><?php esc_html_e( 'Select plugin', 'wp-review' ); ?></label>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div class="wp-review-field-option">
|
27 |
+
<select id="wp-review-import-source">
|
28 |
+
<option value="">---</option>
|
29 |
+
<option value="yet-another-stars-rating">Yasr – Yet Another Stars Rating</option>
|
30 |
+
<option value="author-hreview">Author hReview</option>
|
31 |
+
<option value="wp-rich-snippets">WP Rich Snippets</option>
|
32 |
+
<option value="ultimate-reviews">Reviews</option>
|
33 |
+
<option value="wp-product-review">WP Product Review</option>
|
34 |
+
<option value="gd-rating-system">GD Rating System</option>
|
35 |
+
</select>
|
36 |
+
|
37 |
+
<span class="wp-review-disabled">
|
38 |
+
<?php submit_button( __( 'Import', 'wp-review' ), 'large', 'wp-review-import', false, array( 'disabled' => 'disabled' ) ); ?>
|
39 |
+
</span>
|
40 |
+
|
41 |
+
<p class="description">
|
42 |
+
<?php
|
43 |
+
printf(
|
44 |
+
'<strong>%1$s</strong>: %2$s ',
|
45 |
+
esc_html__( 'Warning', 'wp-review' ),
|
46 |
+
esc_html__( 'This action is IRREVERSIBLE! Take a backup of your database before proceeding.', 'wp-review' )
|
47 |
+
);
|
48 |
+
?>
|
49 |
+
</p>
|
50 |
+
|
51 |
+
<input type="hidden" id="wp-review-import-nonce" value="<?php echo esc_attr( wp_create_nonce( 'wp_review_import_rating' ) ); ?>">
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
|
55 |
+
<div class="wp-review-field">
|
56 |
+
<div class="wp-review-field-label">
|
57 |
+
<label><?php esc_html_e( 'Import settings', 'wp-review' ); ?></label>
|
58 |
+
</div>
|
59 |
+
|
60 |
+
<div class="wp-review-field-option">
|
61 |
+
<button type="button" class="button" onclick="jQuery(this).next().slideToggle( 'fast' )"><?php esc_html_e( 'Import code', 'wp-review' ); ?></button>
|
62 |
+
<div style="display: none;">
|
63 |
+
<p class="description"><?php esc_html_e( 'Insert your backup code below and hit Import to restore your plugin options from a backup.', 'wp-review' ); ?></p>
|
64 |
+
<p><textarea id="wp-review-import-options-code" class="widefat" cols="30" rows="10"></textarea></p>
|
65 |
+
<p><button type="button" class="button button-primary" id="wp-review-import-options-btn"><?php esc_html_e( 'Import', 'wp-review' ); ?></button></p>
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<div class="wp-review-field">
|
71 |
+
<div class="wp-review-field-label">
|
72 |
+
<label><?php esc_html_e( 'Export settings', 'wp-review' ); ?></label>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="wp-review-field-option">
|
76 |
+
<button type="button" class="button" onclick="jQuery(this).next().slideToggle( 'fast' )"><?php esc_html_e( 'Show export code', 'wp-review' ); ?></button>
|
77 |
+
<p style="display: none;"><textarea class="widefat" cols="30" rows="10" onfocus="this.select()"><?php echo esc_textarea( wp_review_get_options_export_code() ); ?></textarea></p>
|
78 |
+
</div>
|
79 |
+
</div>
|
admin/options/multisite.php
ADDED
@@ -0,0 +1,313 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Multisite options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<?php $sites = get_sites(); ?>
|
10 |
+
<div class="wp-review-field wp-review-select-site">
|
11 |
+
<div class="wp-review-field-label">
|
12 |
+
<label for="wp_review_select_iste"><strong><?php esc_html_e( 'Site: ', 'wp-review' ); ?></strong></label>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="wp-review-field-option">
|
16 |
+
<select id="wp-review-select-site">
|
17 |
+
<option value=""><?php _e('Select site', 'wp-review'); ?></option>
|
18 |
+
<?php if ( ! empty( $sites ) ) {
|
19 |
+
foreach ( $sites as $site ) {
|
20 |
+
if ( ! is_main_site( $site->blog_id ) ) {
|
21 |
+
$blog_details = get_blog_details( $site->blog_id );
|
22 |
+
?>
|
23 |
+
<option value="<?php echo $site->blog_id; ?>"><?php echo $blog_details->blogname; ?></option>
|
24 |
+
<?php
|
25 |
+
}
|
26 |
+
}
|
27 |
+
} ?>
|
28 |
+
</select>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
<?php
|
33 |
+
// $options = get_option('wp_review_options', true);
|
34 |
+
|
35 |
+
foreach ( $sites as $site ) {
|
36 |
+
if ( ! is_main_site( $site->blog_id ) ) {
|
37 |
+
$hide_options = wp_review_option( 'hide_global_options_' . $site->blog_id );
|
38 |
+
$hide_role_manager = wp_review_option( 'hide_role_manager_' . $site->blog_id );
|
39 |
+
$hide_import = wp_review_option( 'hide_import_' . $site->blog_id );
|
40 |
+
?>
|
41 |
+
<div class="wp-review-subsite-wrapper" id="wp-review-site-<?php echo $site->blog_id ?>-fields">
|
42 |
+
<h3><?php _e('General Settings', 'wp-review'); ?></h3>
|
43 |
+
<div class="wp-review-field wp-review-multisite-general-settings">
|
44 |
+
<div class="wp-review-field-label">
|
45 |
+
<label><?php esc_html_e( 'Hide global options panel', 'wp-review' ); ?></label>
|
46 |
+
</div>
|
47 |
+
|
48 |
+
<div class="wp-review-field-option">
|
49 |
+
<?php
|
50 |
+
$form_field->render_switch( array(
|
51 |
+
'id' => 'wp_review_show_global_options_' . $site->blog_id,
|
52 |
+
'name' => 'wp_review_options[hide_global_options_' . $site->blog_id . ']',
|
53 |
+
'value' => ! empty( $hide_options ),
|
54 |
+
) );
|
55 |
+
?>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<?php $hide = $hide_options ? 'style="display: none;"' : ''; ?>
|
59 |
+
<div class="wp-review-multisite-global-options" <?php echo $hide; ?>>
|
60 |
+
|
61 |
+
<div class="wp-review-field">
|
62 |
+
<div class="wp-review-field-label">
|
63 |
+
<label><?php esc_html_e( 'Hide Popup', 'wp-review' ); ?></label>
|
64 |
+
<?php wp_review_print_pro_text(); ?>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<div class="wp-review-field-option">
|
68 |
+
<?php
|
69 |
+
$form_field->render_switch( array(
|
70 |
+
'id' => 'wp_review_hide_general_popup_' . $site->blog_id,
|
71 |
+
'name' => 'wp_review_options[hide_general_popup_' . $site->blog_id . ']',
|
72 |
+
'disabled' => true,
|
73 |
+
) );
|
74 |
+
?>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
<div class="wp-review-field">
|
79 |
+
<div class="wp-review-field-label">
|
80 |
+
<label><?php esc_html_e( 'Hide Notification Bar', 'wp-review' ); ?></label>
|
81 |
+
<?php wp_review_print_pro_text(); ?>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<div class="wp-review-field-option">
|
85 |
+
<?php
|
86 |
+
$form_field->render_switch( array(
|
87 |
+
'id' => 'wp_review_hide_general_bar_' . $site->blog_id,
|
88 |
+
'name' => 'wp_review_options[hide_general_bar_' . $site->blog_id . ']',
|
89 |
+
'disabled' => true,
|
90 |
+
) );
|
91 |
+
?>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
<div class="wp-review-field">
|
96 |
+
<div class="wp-review-field-label">
|
97 |
+
<label><?php esc_html_e( 'Hide Yelp Reviews', 'wp-review' ); ?></label>
|
98 |
+
<?php wp_review_print_pro_text(); ?>
|
99 |
+
</div>
|
100 |
+
|
101 |
+
<div class="wp-review-field-option">
|
102 |
+
<?php
|
103 |
+
$form_field->render_switch( array(
|
104 |
+
'id' => 'wp_review_hide_yelp_reviews_' . $site->blog_id,
|
105 |
+
'name' => 'wp_review_options[hide_yelp_reviews_' . $site->blog_id . ']',
|
106 |
+
'disabled' => true,
|
107 |
+
) );
|
108 |
+
?>
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
|
112 |
+
<div class="wp-review-field">
|
113 |
+
<div class="wp-review-field-label">
|
114 |
+
<label><?php esc_html_e( 'Hide Facebook Reviews', 'wp-review' ); ?></label>
|
115 |
+
<?php wp_review_print_pro_text(); ?>
|
116 |
+
</div>
|
117 |
+
|
118 |
+
<div class="wp-review-field-option">
|
119 |
+
<?php
|
120 |
+
$form_field->render_switch( array(
|
121 |
+
'id' => 'wp_review_hide_facebook_reviews_' . $site->blog_id,
|
122 |
+
'name' => 'wp_review_options[hide_facebook_reviews_' . $site->blog_id . ']',
|
123 |
+
'disabled' => true,
|
124 |
+
) );
|
125 |
+
?>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
<div class="wp-review-field">
|
130 |
+
<div class="wp-review-field-label">
|
131 |
+
<label><?php esc_html_e( 'Hide Google Reviews', 'wp-review' ); ?></label>
|
132 |
+
<?php wp_review_print_pro_text(); ?>
|
133 |
+
</div>
|
134 |
+
|
135 |
+
<div class="wp-review-field-option">
|
136 |
+
<?php
|
137 |
+
$form_field->render_switch( array(
|
138 |
+
'id' => 'wp_review_hide_google_reviews_' . $site->blog_id,
|
139 |
+
'name' => 'wp_review_options[hide_google_reviews_' . $site->blog_id . ']',
|
140 |
+
'disabled' => true,
|
141 |
+
) );
|
142 |
+
?>
|
143 |
+
</div>
|
144 |
+
</div>
|
145 |
+
|
146 |
+
<div class="wp-review-field">
|
147 |
+
<div class="wp-review-field-label">
|
148 |
+
<label><?php esc_html_e( 'Hide Role Manager', 'wp-review' ); ?></label>
|
149 |
+
</div>
|
150 |
+
|
151 |
+
<div class="wp-review-field-option">
|
152 |
+
<?php
|
153 |
+
$form_field->render_switch( array(
|
154 |
+
'id' => 'wp_review_hide_role_manager_' . $site->blog_id,
|
155 |
+
'name' => 'wp_review_options[hide_role_manager_' . $site->blog_id . ']',
|
156 |
+
'value' => ! empty( $hide_role_manager ),
|
157 |
+
) );
|
158 |
+
?>
|
159 |
+
</div>
|
160 |
+
</div>
|
161 |
+
|
162 |
+
<div class="wp-review-field">
|
163 |
+
<div class="wp-review-field-label">
|
164 |
+
<label><?php esc_html_e( 'Hide Import', 'wp-review' ); ?></label>
|
165 |
+
</div>
|
166 |
+
|
167 |
+
<div class="wp-review-field-option">
|
168 |
+
<?php
|
169 |
+
$form_field->render_switch( array(
|
170 |
+
'id' => 'wp_review_hide_import_' . $site->blog_id,
|
171 |
+
'name' => 'wp_review_options[hide_import_' . $site->blog_id . ']',
|
172 |
+
'value' => ! empty( $hide_import ),
|
173 |
+
) );
|
174 |
+
?>
|
175 |
+
</div>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
</div>
|
179 |
+
<br />
|
180 |
+
<h3><?php _e('Post Settings', 'wp-review') ?></h3>
|
181 |
+
<?php
|
182 |
+
$hide_in_posts = wp_review_option( 'hide_ratings_in_posts_' . $site->blog_id );
|
183 |
+
|
184 |
+
$hide_review_links = wp_review_option( 'hide_review_links_' . $site->blog_id );
|
185 |
+
$hide_user_reviews = wp_review_option( 'hide_user_reviews_' . $site->blog_id );
|
186 |
+
?>
|
187 |
+
<div class="wp-review-multisite-posts-options">
|
188 |
+
<div class="wp-review-field">
|
189 |
+
<div class="wp-review-field-label">
|
190 |
+
<label><?php esc_html_e( 'Hide reviews in single editor', 'wp-review' ); ?></label>
|
191 |
+
</div>
|
192 |
+
|
193 |
+
<div class="wp-review-field-option">
|
194 |
+
<?php
|
195 |
+
$form_field->render_switch( array(
|
196 |
+
'id' => 'wp_review_hide_ratings_in_posts_' . $site->blog_id,
|
197 |
+
'name' => 'wp_review_options[hide_ratings_in_posts_' . $site->blog_id . ']',
|
198 |
+
'value' => ! empty( $hide_in_posts ),
|
199 |
+
) );
|
200 |
+
?>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
<?php $hide = $hide_in_posts ? 'style="display: none;"' : ''; ?>
|
206 |
+
<div id="wp-review-multisite-posts-options" <?php echo $hide; ?>>
|
207 |
+
|
208 |
+
<div class="wp-review-field">
|
209 |
+
<div class="wp-review-field-label">
|
210 |
+
<label><?php esc_html_e( 'Hide Popup Box', 'wp-review' ); ?></label>
|
211 |
+
<?php wp_review_print_pro_text(); ?>
|
212 |
+
</div>
|
213 |
+
|
214 |
+
<div class="wp-review-field-option">
|
215 |
+
<?php
|
216 |
+
$form_field->render_switch( array(
|
217 |
+
'id' => 'wp_review_hide_popup_box__' . $site->blog_id,
|
218 |
+
'name' => 'wp_review_options[hide_popup_box_' . $site->blog_id . ']',
|
219 |
+
'disabled' => true,
|
220 |
+
) );
|
221 |
+
?>
|
222 |
+
</div>
|
223 |
+
</div>
|
224 |
+
|
225 |
+
<div class="wp-review-field">
|
226 |
+
<div class="wp-review-field-label">
|
227 |
+
<label><?php esc_html_e( 'Hide Notification Bar', 'wp-review' ); ?></label>
|
228 |
+
<?php wp_review_print_pro_text(); ?>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<div class="wp-review-field-option">
|
232 |
+
<?php
|
233 |
+
$form_field->render_switch( array(
|
234 |
+
'id' => 'wp_review_hide_notification_bar__' . $site->blog_id,
|
235 |
+
'name' => 'wp_review_options[hide_notification_bar_' . $site->blog_id . ']',
|
236 |
+
'disabled' => true,
|
237 |
+
) );
|
238 |
+
?>
|
239 |
+
</div>
|
240 |
+
</div>
|
241 |
+
|
242 |
+
<div class="wp-review-field">
|
243 |
+
<div class="wp-review-field-label">
|
244 |
+
<label><?php esc_html_e( 'Hide Features', 'wp-review' ); ?></label>
|
245 |
+
<?php wp_review_print_pro_text(); ?>
|
246 |
+
</div>
|
247 |
+
|
248 |
+
<div class="wp-review-field-option">
|
249 |
+
<?php
|
250 |
+
$form_field->render_switch( array(
|
251 |
+
'id' => 'wp_review_hide_features__' . $site->blog_id,
|
252 |
+
'name' => 'wp_review_options[hide_features_' . $site->blog_id . ']',
|
253 |
+
'disabled' => true,
|
254 |
+
) );
|
255 |
+
?>
|
256 |
+
</div>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<div class="wp-review-field">
|
260 |
+
<div class="wp-review-field-label">
|
261 |
+
<label><?php esc_html_e( 'Hide Review Links', 'wp-review' ); ?></label>
|
262 |
+
</div>
|
263 |
+
|
264 |
+
<div class="wp-review-field-option">
|
265 |
+
<?php
|
266 |
+
$form_field->render_switch( array(
|
267 |
+
'id' => 'wp_review_hide_review_links__' . $site->blog_id,
|
268 |
+
'name' => 'wp_review_options[hide_review_links_' . $site->blog_id . ']',
|
269 |
+
'value' => ! empty( $hide_review_links ),
|
270 |
+
) );
|
271 |
+
?>
|
272 |
+
</div>
|
273 |
+
</div>
|
274 |
+
|
275 |
+
<div class="wp-review-field">
|
276 |
+
<div class="wp-review-field-label">
|
277 |
+
<label><?php esc_html_e( 'Hide Review Description, Pros/Cons & Total Rating', 'wp-review' ); ?></label>
|
278 |
+
<?php wp_review_print_pro_text(); ?>
|
279 |
+
</div>
|
280 |
+
|
281 |
+
<div class="wp-review-field-option">
|
282 |
+
<?php
|
283 |
+
$form_field->render_switch( array(
|
284 |
+
'id' => 'wp_review_hide_review_description__' . $site->blog_id,
|
285 |
+
'name' => 'wp_review_options[hide_review_description_' . $site->blog_id . ']',
|
286 |
+
'disabled' => true,
|
287 |
+
) );
|
288 |
+
?>
|
289 |
+
</div>
|
290 |
+
</div>
|
291 |
+
|
292 |
+
<div class="wp-review-field">
|
293 |
+
<div class="wp-review-field-label">
|
294 |
+
<label><?php esc_html_e( 'Hide User Reviews', 'wp-review' ); ?></label>
|
295 |
+
</div>
|
296 |
+
|
297 |
+
<div class="wp-review-field-option">
|
298 |
+
<?php
|
299 |
+
$form_field->render_switch( array(
|
300 |
+
'id' => 'wp_review_hide_user_reviews__' . $site->blog_id,
|
301 |
+
'name' => 'wp_review_options[hide_user_reviews_' . $site->blog_id . ']',
|
302 |
+
'value' => ! empty( $hide_user_reviews ),
|
303 |
+
) );
|
304 |
+
?>
|
305 |
+
</div>
|
306 |
+
</div>
|
307 |
+
|
308 |
+
</div>
|
309 |
+
|
310 |
+
</div>
|
311 |
+
<?php
|
312 |
+
}
|
313 |
+
} ?>
|
admin/options/popup.php
ADDED
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Popup options tab
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
<div class="wp-review-field">
|
10 |
+
<div class="wp-review-field-label">
|
11 |
+
<label><?php esc_html_e( 'Enable Popup', 'wp-review' ); ?></label>
|
12 |
+
<?php wp_review_print_pro_text(); ?>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="wp-review-field-option">
|
16 |
+
<?php
|
17 |
+
$form_field->render_switch( array(
|
18 |
+
'id' => 'wp_review_popup_enable',
|
19 |
+
'name' => 'wp_review_popup[enable]',
|
20 |
+
'disabled' => true,
|
21 |
+
) );
|
22 |
+
?>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<div id="wp-review-popup-options">
|
27 |
+
|
28 |
+
<div class="wp-review-field">
|
29 |
+
<div class="wp-review-field-label">
|
30 |
+
<label for="wp_review_popup_width"><?php esc_html_e( 'Popup width', 'wp-review' ); ?></label>
|
31 |
+
<?php wp_review_print_pro_text(); ?>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
<div class="wp-review-field-option">
|
35 |
+
<span class="wp-review-disabled inline-block">
|
36 |
+
<input name="wp_review_popup[width]" id="wp_review_popup_width" type="text" value="800px" disabled>
|
37 |
+
</span>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<div class="wp-review-field">
|
42 |
+
<div class="wp-review-field-label">
|
43 |
+
<label for="wp_review_popup_animation_in"><?php esc_html_e( 'Popup animation in', 'wp-review' ); ?></label>
|
44 |
+
<?php wp_review_print_pro_text(); ?>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<div class="wp-review-field-option">
|
48 |
+
<span class="wp-review-disabled inline-block has-bg">
|
49 |
+
<?php
|
50 |
+
wp_review_animations_dropdown(
|
51 |
+
'wp_review_popup_animation_in',
|
52 |
+
'wp_review_popup[animation_in]'
|
53 |
+
);
|
54 |
+
?>
|
55 |
+
</span>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
|
59 |
+
<div class="wp-review-field">
|
60 |
+
<div class="wp-review-field-label">
|
61 |
+
<label for="wp_review_popup_animation_out"><?php esc_html_e( 'Popup animation out', 'wp-review' ); ?></label>
|
62 |
+
<?php wp_review_print_pro_text(); ?>
|
63 |
+
</div>
|
64 |
+
|
65 |
+
<div class="wp-review-field-option">
|
66 |
+
<span class="wp-review-disabled inline-block has-bg">
|
67 |
+
<?php
|
68 |
+
wp_review_animations_dropdown(
|
69 |
+
'wp_review_popup_animation_out',
|
70 |
+
'wp_review_popup[animation_out]',
|
71 |
+
true
|
72 |
+
);
|
73 |
+
?>
|
74 |
+
</span>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
<div class="wp-review-field">
|
79 |
+
<div class="wp-review-field-label">
|
80 |
+
<label for="wp_review_popup_overlay_color"><?php esc_html_e( 'Popup overlay color', 'wp-review' ); ?></label>
|
81 |
+
<?php wp_review_print_pro_text(); ?>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<div class="wp-review-field-option">
|
85 |
+
<span class="wp-review-disabled inline-block has-bg">
|
86 |
+
<input type="text" class="wp-review-color" name="wp_review_popup[overlay_color]" id="wp_review_popup_overlay_color">
|
87 |
+
</span>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
|
91 |
+
<div class="wp-review-field">
|
92 |
+
<div class="wp-review-field-label">
|
93 |
+
<label for="wp_review_popup_overlay_opacity"><?php esc_html_e( 'Popup overlay opacity', 'wp-review' ); ?></label>
|
94 |
+
<span class="description">(0.1 - 1)</span>
|
95 |
+
<?php wp_review_print_pro_text(); ?>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
<div class="wp-review-field-option">
|
99 |
+
<span class="wp-review-disabled inline-block has-bg">
|
100 |
+
<input type="text" name="wp_review_popup[overlay_opacity]" id="wp_review_popup_overlay_opacity" class=" small-text" value="0.8">
|
101 |
+
</span>
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
|
105 |
+
<?php $post_types = get_post_types( array( 'public' => true ) ); ?>
|
106 |
+
<div class="wp-review-field">
|
107 |
+
<div class="wp-review-field-label">
|
108 |
+
<label for="wp_review_popup_post_type"><?php esc_html_e( 'Post type', 'wp-review' ); ?></label>
|
109 |
+
<?php wp_review_print_pro_text(); ?>
|
110 |
+
</div>
|
111 |
+
|
112 |
+
<div class="wp-review-field-option">
|
113 |
+
<span class="wp-review-disabled inline-block has-bg">
|
114 |
+
<select name="wp_review_popup[post_type]" id="wp_review_popup_post_type" disabled>
|
115 |
+
<option value=""><?php esc_html_e( 'Any', 'wp-review' ); ?></option>
|
116 |
+
<?php foreach ( $post_types as $key => $value ) : ?>
|
117 |
+
<option value="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $value ); ?></option>
|
118 |
+
<?php endforeach; ?>
|
119 |
+
</select>
|
120 |
+
</span>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
|
124 |
+
<div class="wp-review-field">
|
125 |
+
<div class="wp-review-field-label">
|
126 |
+
<label for="wp_review_popup_queryby"><?php esc_html_e( 'Popup content', 'wp-review' ); ?></label>
|
127 |
+
<?php wp_review_print_pro_text(); ?>
|
128 |
+
</div>
|
129 |
+
|
130 |
+
<div class="wp-review-field-option">
|
131 |
+
<span class="wp-review-disabled inline-block has-bg">
|
132 |
+
<select name="wp_review_popup[queryby]" id="wp_review_popup_queryby" disabled>
|
133 |
+
<option value="category"><?php esc_html_e( 'From category', 'wp-review' ); ?></option>
|
134 |
+
<option value="tag"><?php esc_html_e( 'From tag', 'wp-review' ); ?></option>
|
135 |
+
<option value="review_type"><?php esc_html_e( 'From review type', 'wp-review' ); ?></option>
|
136 |
+
<option value="latest"><?php esc_html_e( 'Latest reviews', 'wp-review' ); ?></option>
|
137 |
+
</select>
|
138 |
+
</span>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<div class="wp-review-field based-on-queryby" data-value="category">
|
143 |
+
<div class="wp-review-field-label">
|
144 |
+
<label for="wp_review_popup_category"><?php esc_html_e( 'Choose category', 'wp-review' ); ?></label>
|
145 |
+
<?php wp_review_print_pro_text(); ?>
|
146 |
+
</div>
|
147 |
+
|
148 |
+
<div class="wp-review-field-option">
|
149 |
+
<span class="wp-review-disabled inline-block has-bg">
|
150 |
+
<?php
|
151 |
+
wp_dropdown_categories( array(
|
152 |
+
'show_option_all' => esc_html__( 'All categories', 'wp-review' ),
|
153 |
+
'orderby' => 'name',
|
154 |
+
'hide_empty' => false,
|
155 |
+
'name' => 'wp_review_popup[category]',
|
156 |
+
'id' => 'wp_review_popup_category',
|
157 |
+
) );
|
158 |
+
?>
|
159 |
+
</span>
|
160 |
+
</div>
|
161 |
+
</div>
|
162 |
+
|
163 |
+
<div class="wp-review-field">
|
164 |
+
<div class="wp-review-field-label">
|
165 |
+
<label for="wp_review_popup_limit"><?php esc_html_e( 'Number of Reviews', 'wp-review' ); ?></label>
|
166 |
+
<?php wp_review_print_pro_text(); ?>
|
167 |
+
</div>
|
168 |
+
|
169 |
+
<div class="wp-review-field-option">
|
170 |
+
<span class="wp-review-disabled inline-block">
|
171 |
+
<input type="number" min="-1" step="1" class="small-text" name="wp_review_popup[limit]" id="wp_review_popup_limit" value="6" disabled>
|
172 |
+
</span>
|
173 |
+
</div>
|
174 |
+
</div>
|
175 |
+
|
176 |
+
<div class="wp-review-field">
|
177 |
+
<div class="wp-review-field-label">
|
178 |
+
<label for="wp_review_popup_orderby"><?php esc_html_e( 'Popup content order', 'wp-review' ); ?></label>
|
179 |
+
<?php wp_review_print_pro_text(); ?>
|
180 |
+
</div>
|
181 |
+
|
182 |
+
<div class="wp-review-field-option">
|
183 |
+
<span class="wp-review-disabled inline-block has-bg">
|
184 |
+
<select name="wp_review_popup[orderby]" id="wp_review_popup_orderby" disabled>
|
185 |
+
<option value="random"><?php esc_html_e( 'Random', 'wp-review' ); ?></option>
|
186 |
+
<option value="popular"><?php esc_html_e( 'Most popular', 'wp-review' ); ?></option>
|
187 |
+
<option value="rated"><?php esc_html_e( 'Most rated', 'wp-review' ); ?></option>
|
188 |
+
<option value="latest"><?php esc_html_e( 'Latest', 'wp-review' ); ?></option>
|
189 |
+
</select>
|
190 |
+
</span>
|
191 |
+
</div>
|
192 |
+
</div>
|
193 |
+
</div>
|
194 |
+
|
195 |
+
<div class="wp-review-field">
|
196 |
+
<div class="wp-review-field-label">
|
197 |
+
<label for="wp_review_popup_expiration"><?php esc_html_e( 'Hide popup for', 'wp-review' ); ?></label>
|
198 |
+
<?php wp_review_print_pro_text(); ?>
|
199 |
+
</div>
|
200 |
+
|
201 |
+
<div class="wp-review-field-option">
|
202 |
+
<span class="wp-review-disabled inline-block">
|
203 |
+
<input type="number" min="0" step="1" name="wp_review_popup[expiration]" class="small-text" id="wp_review_popup_expiration" value="30" disabled>
|
204 |
+
<span><?php esc_html_e( 'day(s).', 'wp-review' ); ?></span>
|
205 |
+
</span>
|
206 |
+
</div>
|
207 |
+
|
208 |
+
<div class="description" style="margin-top: 10px;"><?php esc_html_e( 'Set to 0 if you want to show popup on each page load.', 'wp-review' ); ?></div>
|
209 |
+
</div>
|
210 |
+
|
211 |
+
<div class="wp-review-field no-flex">
|
212 |
+
<span class="wp-review-disabled inline-block">
|
213 |
+
<label>
|
214 |
+
<input type="checkbox" name="wp_review_popup[show_on_load]" value="1" disabled>
|
215 |
+
<?php
|
216 |
+
printf(
|
217 |
+
// translators: number input.
|
218 |
+
esc_html__( 'Show popup after %s second(s)', 'wp-review' ),
|
219 |
+
'<input type="number" min="0" step="1" name="wp_review_popup[delay]" class="small-text" id="wp_review_popup_delay" value="0" disabled>'
|
220 |
+
);
|
221 |
+
?>
|
222 |
+
</label>
|
223 |
+
</span>
|
224 |
+
|
225 |
+
<?php wp_review_print_pro_text(); ?>
|
226 |
+
|
227 |
+
<p class="description" style="margin-top: 10px;"><?php esc_html_e( 'Set to 0 if you want to show popup instantly.', 'wp-review' ); ?></p>
|
228 |
+
</div>
|
229 |
+
|
230 |
+
<div class="wp-review-field no-flex">
|
231 |
+
<span class="wp-review-disabled inline-block">
|
232 |
+
<label>
|
233 |
+
<input type="checkbox" name="wp_review_popup[show_on_reach_bottom]" value="1" disabled>
|
234 |
+
<?php esc_html_e( 'Show popup when visitor reaches the end of the content (only on single posts or pages)', 'wp-review' ); ?>
|
235 |
+
<?php wp_review_print_pro_text( true ); ?>
|
236 |
+
</label>
|
237 |
+
</span>
|
238 |
+
</div>
|
239 |
+
|
240 |
+
<div class="wp-review-field no-flex">
|
241 |
+
<span class="wp-review-disabled inline-block">
|
242 |
+
<label>
|
243 |
+
<input type="checkbox" name="wp_review_popup[exit_intent]" value="1" disabled>
|
244 |
+
<?php esc_html_e( 'Show popup when visitor is about to leave (exit intent)', 'wp-review' ); ?>
|
245 |
+
<?php wp_review_print_pro_text( true ); ?>
|
246 |
+
</label>
|
247 |
+
</span>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
<div class="wp-review-field">
|
251 |
+
<span class="wp-review-disabled inline-block">
|
252 |
+
<label>
|
253 |
+
<input type="checkbox" name="wp_review_popup[screen_size_check]" value="1" disabled>
|
254 |
+
<?php
|
255 |
+
printf(
|
256 |
+
// translators: width input.
|
257 |
+
esc_html__( 'Show popup on screens larger than %s pixels', 'wp-review' ),
|
258 |
+
'<input type="number" min="0" step="1" name="wp_review_popup[screen_width]" class="small-text" id="wp_review_popup_screen_width" value="0">'
|
259 |
+
);
|
260 |
+
?>
|
261 |
+
<?php wp_review_print_pro_text( true ); ?>
|
262 |
+
</label>
|
263 |
+
</span>
|
264 |
+
</div>
|
265 |
+
|
266 |
+
<div class="wp-review-field">
|
267 |
+
<button type="button" class="button" id="wp_review_generate_popup_cookie" disabled><?php esc_html_e( 'Generate new cookie', 'wp-review' ); ?></button>
|
268 |
+
<div class="description" style="margin-top: 10px; width: 100%;"><?php esc_html_e( 'Use this option to override old cookie.', 'wp-review' ); ?></div>
|
269 |
+
<?php wp_review_print_pro_text(); ?>
|
270 |
+
</div>
|
admin/options/review.php
ADDED
@@ -0,0 +1,962 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Review options tab
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
$options = get_option( 'wp_review_options' );
|
9 |
+
|
10 |
+
$default_options = array(
|
11 |
+
'colors' => array(
|
12 |
+
'color' => '',
|
13 |
+
'inactive_color' => '',
|
14 |
+
'fontcolor' => '',
|
15 |
+
'bgcolor1' => '',
|
16 |
+
'bgcolor2' => '',
|
17 |
+
'bordercolor' => '',
|
18 |
+
),
|
19 |
+
'default_features' => array(),
|
20 |
+
'default_link_texts' => array(),
|
21 |
+
'default_link_urls' => array(),
|
22 |
+
'default_schema_type' => 'Thing',
|
23 |
+
'default_user_review_type' => WP_REVIEW_REVIEW_DISABLED,
|
24 |
+
'image_sizes' => array(),
|
25 |
+
);
|
26 |
+
// Set defaults.
|
27 |
+
if ( empty( $options ) ) {
|
28 |
+
$options = $default_options;
|
29 |
+
update_option( 'wp_review_options', $options );
|
30 |
+
}
|
31 |
+
|
32 |
+
if ( empty( $options['image_sizes'] ) ) {
|
33 |
+
$options['image_sizes'] = array();
|
34 |
+
}
|
35 |
+
|
36 |
+
$opt_name = 'wp_review_options_' . wp_get_theme();
|
37 |
+
$options_updated = get_option( $opt_name );
|
38 |
+
$suggest_theme_defaults = true;
|
39 |
+
if ( ! empty( $_GET['wp-review-theme-defaults'] ) && empty( $_GET['settings-updated'] ) ) {
|
40 |
+
wp_review_theme_defaults( $options_updated, true );
|
41 |
+
$options = get_option( 'wp_review_options' );
|
42 |
+
$suggest_theme_defaults = false;
|
43 |
+
}
|
44 |
+
|
45 |
+
// Test to see if we need to sugges setting theme defaults.
|
46 |
+
if ( empty( $options_updated ) ) {
|
47 |
+
$options_updated = array();
|
48 |
+
}
|
49 |
+
|
50 |
+
$opts_tmp = array_merge( $options, $options_updated );
|
51 |
+
if ( $opts_tmp == $options ) {
|
52 |
+
$suggest_theme_defaults = false;
|
53 |
+
}
|
54 |
+
|
55 |
+
// Migrate.
|
56 |
+
global $wpdb;
|
57 |
+
$current_blog_id = get_current_blog_id();
|
58 |
+
$total_rows = 0;
|
59 |
+
$rows_left = 0;
|
60 |
+
$migrated_rows = get_option( 'wp_review_migrated_rows', 0 );
|
61 |
+
$has_migrated = get_option( 'wp_review_has_migrated', false );
|
62 |
+
if ( ! $has_migrated && $wpdb->get_var( "SHOW TABLES LIKE '{$wpdb->base_prefix}mts_wp_reviews'" ) == "{$wpdb->base_prefix}mts_wp_reviews" ) {
|
63 |
+
// Table exists and not migrated (fully) yet.
|
64 |
+
$total_rows = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->base_prefix}mts_wp_reviews WHERE blog_id = {$current_blog_id}" );
|
65 |
+
$rows_left = $total_rows - $migrated_rows;
|
66 |
+
}
|
67 |
+
|
68 |
+
$comment_form_integration = ( ! empty( $options['comment_form_integration'] ) ? $options['comment_form_integration'] : 'replace' );
|
69 |
+
if ( 'replace' != $comment_form_integration ) {
|
70 |
+
$comment_form_integration = 'extend';
|
71 |
+
}
|
72 |
+
|
73 |
+
$comments_template = ( ! empty( $options['comments_template'] ) ? $options['comments_template'] : 'theme' );
|
74 |
+
if ( 'theme' != $comments_template ) {
|
75 |
+
$comments_template = 'plugin';
|
76 |
+
}
|
77 |
+
|
78 |
+
$default_colors = wp_review_get_default_colors();
|
79 |
+
$default_location = wp_review_get_default_location();
|
80 |
+
$default_criteria = wp_review_get_default_criteria();
|
81 |
+
|
82 |
+
$default_items = array();
|
83 |
+
foreach ( $default_criteria as $item ) {
|
84 |
+
$default_items[] = array(
|
85 |
+
'wp_review_item_title' => $item,
|
86 |
+
'wp_review_item_star' => '',
|
87 |
+
);
|
88 |
+
}
|
89 |
+
$default_schema = $default_options['default_schema_type'];
|
90 |
+
$default_user_review_type = empty( $options['default_user_review_type'] ) ? WP_REVIEW_REVIEW_DISABLED : $options['default_user_review_type'];
|
91 |
+
|
92 |
+
$options['colors'] = apply_filters( 'wp_review_colors', $options['colors'], 0 );
|
93 |
+
if ( ! isset( $options['default'] ) ) {
|
94 |
+
$options['default'] = array();
|
95 |
+
}
|
96 |
+
/* Retrieve an existing value from the database. */
|
97 |
+
$items = ! empty( $options['default_features'] ) ? $options['default_features'] : '';
|
98 |
+
$link_texts = ! empty( $options['default_link_text'] ) ? $options['default_link_text'] : array();
|
99 |
+
$link_urls = ! empty( $options['default_link_url'] ) ? $options['default_link_url'] : array();
|
100 |
+
$location = wp_review_option( 'review_location' );
|
101 |
+
$color = ! empty( $options['colors']['color'] ) ? $options['colors']['color'] : '';
|
102 |
+
$inactive_color = ! empty( $options['colors']['inactive_color'] ) ? $options['colors']['inactive_color'] : '';
|
103 |
+
$fontcolor = ! empty( $options['colors']['fontcolor'] ) ? $options['colors']['fontcolor'] : '';
|
104 |
+
$bgcolor1 = ! empty( $options['colors']['bgcolor1'] ) ? $options['colors']['bgcolor1'] : '';
|
105 |
+
$bgcolor2 = ! empty( $options['colors']['bgcolor2'] ) ? $options['colors']['bgcolor2'] : '';
|
106 |
+
$bordercolor = ! empty( $options['colors']['bordercolor'] ) ? $options['colors']['bordercolor'] : '';
|
107 |
+
|
108 |
+
$force_user_ratings = wp_review_option( 'force_user_ratings' );
|
109 |
+
|
110 |
+
$rating_icon = wp_review_option( 'rating_icon', apply_filters( 'wp_review_default_rating_icon', 'fa fa-star' ) );
|
111 |
+
$rating_image = wp_review_option( 'rating_image' );
|
112 |
+
|
113 |
+
$review_templates = wp_review_get_box_templates();
|
114 |
+
$box_template = wp_review_option( 'box_template', 'default' );
|
115 |
+
$box_template_img = ! empty( $review_templates[ $box_template ] ) ? $review_templates[ $box_template ]['image'] : WP_REVIEW_ASSETS . 'images/largethumb.png';
|
116 |
+
|
117 |
+
$review_types = wp_review_get_rating_types();
|
118 |
+
$review_type = wp_review_option( 'review_type', 'none' );
|
119 |
+
|
120 |
+
if ( '' == $items ) {
|
121 |
+
$items = $default_items;
|
122 |
+
}
|
123 |
+
if ( '' == $color ) {
|
124 |
+
$color = $default_colors['color'];
|
125 |
+
}
|
126 |
+
if ( '' == $location ) {
|
127 |
+
$location = $default_location;
|
128 |
+
}
|
129 |
+
if ( '' == $fontcolor ) {
|
130 |
+
$fontcolor = $default_colors['fontcolor'];
|
131 |
+
}
|
132 |
+
if ( '' == $bgcolor1 ) {
|
133 |
+
$bgcolor1 = $default_colors['bgcolor1'];
|
134 |
+
}
|
135 |
+
if ( '' == $bgcolor2 ) {
|
136 |
+
$bgcolor2 = $default_colors['bgcolor2'];
|
137 |
+
}
|
138 |
+
if ( '' == $bordercolor ) {
|
139 |
+
$bordercolor = $default_colors['bordercolor'];
|
140 |
+
}
|
141 |
+
if ( empty( $width ) ) {
|
142 |
+
$width = 100;
|
143 |
+
}
|
144 |
+
|
145 |
+
$fields = array(
|
146 |
+
'location' => true,
|
147 |
+
'color' => true,
|
148 |
+
'inactive_color' => true,
|
149 |
+
'fontcolor' => true,
|
150 |
+
'bgcolor1' => true,
|
151 |
+
'bgcolor2' => true,
|
152 |
+
'bordercolor' => true,
|
153 |
+
'custom_colors' => true,
|
154 |
+
'custom_location' => true,
|
155 |
+
);
|
156 |
+
|
157 |
+
$displayed_fields = apply_filters( 'wp_review_metabox_item_fields', $fields );
|
158 |
+
|
159 |
+
$available_types = apply_filters( 'wp_review_metabox_types', array(
|
160 |
+
'star' => __( 'Star', 'wp-review' ),
|
161 |
+
'point' => __( 'Point', 'wp-review' ),
|
162 |
+
'percentage' => __( 'Percentage', 'wp-review' ),
|
163 |
+
'circle' => __( 'Circle', 'wp-review' ),
|
164 |
+
'thumbs' => __( 'Thumbs', 'wp-review' ),
|
165 |
+
));
|
166 |
+
|
167 |
+
$form_field = new WP_Review_Form_Field();
|
168 |
+
?>
|
169 |
+
<div data-nav-tabs>
|
170 |
+
<div class="nav-tab-wrapper">
|
171 |
+
<a href="#review-general" class="nav-tab nav-tab-active"><?php esc_html_e( 'General', 'wp-review' ); ?></a>
|
172 |
+
<a href="#review-styling" class="nav-tab"><?php esc_html_e( 'Styling', 'wp-review' ); ?></a>
|
173 |
+
<a href="#review-defaults" class="nav-tab"><?php esc_html_e( 'Defaults', 'wp-review' ); ?></a>
|
174 |
+
<a href="#review-embed" class="nav-tab"><?php esc_html_e( 'Embed', 'wp-review' ); ?></a>
|
175 |
+
<?php if ( $rows_left ) : ?>
|
176 |
+
<a href="#review-migrate" class="nav-tab"><?php esc_html_e( 'Migrate Ratings', 'wp-review' ); ?></a>
|
177 |
+
<?php endif; ?>
|
178 |
+
</div>
|
179 |
+
|
180 |
+
<div id="review-general" class="settings-tab-general tab-content">
|
181 |
+
<h3><?php esc_html_e( 'General Settings', 'wp-review' ); ?></h3>
|
182 |
+
<?php
|
183 |
+
$location = apply_filters( 'wp_review_location', $location, 0 );
|
184 |
+
if ( has_filter( 'wp_review_location' ) ) {
|
185 |
+
echo '<p class="wp-review-filter-msg"><div class="dashicons dashicons-info"></div>' . esc_html__( 'There is a filter set for the review location that may modify the options below.', 'wp-review' ) . '</p>';
|
186 |
+
}
|
187 |
+
|
188 |
+
if ( $suggest_theme_defaults ) { ?>
|
189 |
+
<div class="wp-review-theme-defaults-msg updated settings-error">
|
190 |
+
<p class="wp-review-field">
|
191 |
+
<?php esc_html_e( 'The current theme provides default settings for the plugin.', 'wp-review' ); ?><br />
|
192 |
+
</p>
|
193 |
+
<a href="<?php echo admin_url( 'options-general.php?page=wp-review/admin/options.php&wp-review-theme-defaults=1' ); ?>" class="button button-primary"><?php esc_html_e( 'Set to theme defaults', 'wp-review' ); ?></a>
|
194 |
+
<a href="#" class="dashicons dashicons-no-alt close-notice"></a>
|
195 |
+
</div>
|
196 |
+
<?php } ?>
|
197 |
+
|
198 |
+
<div class="wp-review-field">
|
199 |
+
<div class="wp-review-field-label">
|
200 |
+
<label><?php esc_html_e( 'Restrict rating to registered users only', 'wp-review' ); ?></label>
|
201 |
+
</div>
|
202 |
+
|
203 |
+
<div class="wp-review-field-option">
|
204 |
+
<?php
|
205 |
+
$form_field->render_switch( array(
|
206 |
+
'id' => 'wp_review_registered_only',
|
207 |
+
'name' => 'wp_review_options[registered_only]',
|
208 |
+
'value' => ! empty( $options['registered_only'] ),
|
209 |
+
) );
|
210 |
+
?>
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
|
214 |
+
<div class="wp-review-field">
|
215 |
+
<div class="wp-review-field-label">
|
216 |
+
<label><?php esc_html_e( 'Add total rating to thumbnails', 'wp-review' ); ?></label>
|
217 |
+
<?php wp_review_print_pro_text(); ?>
|
218 |
+
</div>
|
219 |
+
|
220 |
+
<div class="wp-review-field-option">
|
221 |
+
<?php
|
222 |
+
$form_field->render_switch( array(
|
223 |
+
'id' => 'wp_review_show_on_thumbnails',
|
224 |
+
'name' => 'wp_review_options[show_on_thumbnails]',
|
225 |
+
'disabled' => true,
|
226 |
+
) );
|
227 |
+
?>
|
228 |
+
</div>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<div class="wp-review-field">
|
232 |
+
<div class="wp-review-field-label">
|
233 |
+
<label><?php esc_html_e( 'Enable User rating in old posts', 'wp-review' ); ?></label>
|
234 |
+
<?php wp_review_print_pro_text(); ?>
|
235 |
+
</div>
|
236 |
+
|
237 |
+
<div class="wp-review-field-option">
|
238 |
+
<?php
|
239 |
+
$form_field->render_switch( array(
|
240 |
+
'id' => 'wp_review_global_user_rating',
|
241 |
+
'name' => 'wp_review_options[global_user_rating]',
|
242 |
+
'disabled' => true,
|
243 |
+
) );
|
244 |
+
?>
|
245 |
+
</div>
|
246 |
+
</div>
|
247 |
+
|
248 |
+
<?php if ( class_exists( 'WooCommerce' ) ) : ?>
|
249 |
+
<div class="wp-review-field">
|
250 |
+
<div class="wp-review-field-label">
|
251 |
+
<label><?php esc_html_e( 'Replace WooCommerce rating', 'wp-review' ); ?></label>
|
252 |
+
<?php wp_review_print_pro_text(); ?>
|
253 |
+
</div>
|
254 |
+
|
255 |
+
<div class="wp-review-field-option">
|
256 |
+
<?php
|
257 |
+
$form_field->render_switch( array(
|
258 |
+
'id' => 'wp_review_replace_wc_rating',
|
259 |
+
'name' => 'wp_review_options[replace_wc_rating]',
|
260 |
+
'disabled' => true,
|
261 |
+
) );
|
262 |
+
?>
|
263 |
+
</div>
|
264 |
+
</div>
|
265 |
+
<?php endif; ?>
|
266 |
+
|
267 |
+
<div class="wp-review-field">
|
268 |
+
<div class="wp-review-field-label">
|
269 |
+
<label><?php esc_html_e( 'Disable Map Script in the Backend', 'wp-review' ); ?></label>
|
270 |
+
<?php wp_review_print_pro_text(); ?>
|
271 |
+
</div>
|
272 |
+
|
273 |
+
<div class="wp-review-field-option">
|
274 |
+
<?php
|
275 |
+
$form_field->render_switch( array(
|
276 |
+
'id' => 'wp_review_dequeue_map_backend',
|
277 |
+
'name' => 'wp_review_options[dequeue_map_backend]',
|
278 |
+
'disabled' => true,
|
279 |
+
) );
|
280 |
+
?>
|
281 |
+
</div>
|
282 |
+
|
283 |
+
<p class="description" style="margin-top: 10px;"><?php esc_html_e( 'If map script is conflicting with other plugin in the single post editor, please enable this option.', 'wp-review' ); ?></p>
|
284 |
+
</div>
|
285 |
+
|
286 |
+
<div class="wp-review-field">
|
287 |
+
<div class="wp-review-field-label">
|
288 |
+
<label><?php esc_html_e( 'Comments template', 'wp-review' ); ?></label>
|
289 |
+
<?php wp_review_print_pro_text(); ?>
|
290 |
+
</div>
|
291 |
+
|
292 |
+
<div class="wp-review-field-option">
|
293 |
+
<div class="wpr-flex">
|
294 |
+
<div class="pr-10 wpr-col-1-2">
|
295 |
+
<label for="wp_review_comments_template_theme">
|
296 |
+
<span class="wp-review-disabled inline-block has-bg">
|
297 |
+
<input name="wp_review_options[comments_template]" id="wp_review_comments_template_theme" type="radio" value="theme" <?php checked( $comments_template, 'theme' ); ?> disabled />
|
298 |
+
<strong><?php esc_html_e( 'Theme', 'wp-review' ); ?></strong>
|
299 |
+
</span>
|
300 |
+
</label>
|
301 |
+
<br>
|
302 |
+
<span class="description"><?php esc_html_e( 'Use theme comments template. Might need customization of comments.php', 'wp-review' ); ?></span>
|
303 |
+
</div>
|
304 |
+
|
305 |
+
<div class="pl-10 wpr-col-1-2">
|
306 |
+
<label for="wp_review_comments_template_plugin">
|
307 |
+
<span class="wp-review-disabled inline-block has-bg">
|
308 |
+
<input name="wp_review_options[comments_template]" id="wp_review_comments_template_plugin" type="radio" value="plugin" <?php checked( $comments_template, 'plugin' ); ?> disabled />
|
309 |
+
<strong><?php esc_html_e( 'WP Review', 'wp-review' ); ?></strong>
|
310 |
+
</span>
|
311 |
+
</label>
|
312 |
+
<br>
|
313 |
+
<span class="description"><?php esc_html_e( 'Use WP Review comments template. Better chances for out of the box integration.', 'wp-review' ); ?></span>
|
314 |
+
</div>
|
315 |
+
</div>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
|
319 |
+
<div class="wp-review-field">
|
320 |
+
<div class="wp-review-field-label">
|
321 |
+
<label><?php esc_html_e( 'Comment form integration', 'wp-review' ); ?></label>
|
322 |
+
<?php wp_review_print_pro_text(); ?>
|
323 |
+
</div>
|
324 |
+
|
325 |
+
<div class="wp-review-field-option">
|
326 |
+
<div class="wpr-flex">
|
327 |
+
<div class="pr-10 wpr-col-1-2">
|
328 |
+
<label for="wp_review_comment_form_integration_replace">
|
329 |
+
<span class="wp-review-disabled inline-block has-bg">
|
330 |
+
<input name="wp_review_options[comment_form_integration]" id="wp_review_comment_form_integration_replace" type="radio" value="replace" <?php checked( $comment_form_integration, 'replace' ); ?> disabled />
|
331 |
+
<strong><?php esc_html_e( 'Replace', 'wp-review' ); ?></strong>
|
332 |
+
</span>
|
333 |
+
</label>
|
334 |
+
<br>
|
335 |
+
<span class="description"><?php esc_html_e( 'Replace form fields.', 'wp-review' ); ?></span>
|
336 |
+
</div>
|
337 |
+
|
338 |
+
<div class="pl-10 wpr-col-1-2">
|
339 |
+
<label for="wp_review_comment_form_integration_extend">
|
340 |
+
<span class="wp-review-disabled inline-block has-bg">
|
341 |
+
<input name="wp_review_options[comment_form_integration]" id="wp_review_comment_form_integration_extend" type="radio" value="extend" <?php checked( $comment_form_integration, 'extend' ); ?> disabled />
|
342 |
+
<strong><?php esc_html_e( 'Extend', 'wp-review' ); ?></strong>
|
343 |
+
</span>
|
344 |
+
</label>
|
345 |
+
<br>
|
346 |
+
<span class="description"><?php esc_html_e( 'Add new fields without modifying the default fields.', 'wp-review' ); ?></span>
|
347 |
+
</div>
|
348 |
+
</div>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
|
352 |
+
<div class="wp-review-field">
|
353 |
+
<div class="wp-review-field-label">
|
354 |
+
<label><?php esc_html_e( 'Require a rating when commenting', 'wp-review' ); ?></label>
|
355 |
+
<?php wp_review_print_pro_text(); ?>
|
356 |
+
</div>
|
357 |
+
|
358 |
+
<div class="wp-review-field-option">
|
359 |
+
<?php
|
360 |
+
$form_field->render_switch( array(
|
361 |
+
'id' => 'wp_review_require_rating',
|
362 |
+
'name' => 'wp_review_options[require_rating]',
|
363 |
+
'disabled' => true,
|
364 |
+
) );
|
365 |
+
?>
|
366 |
+
</div>
|
367 |
+
</div>
|
368 |
+
|
369 |
+
<div class="wp-review-field">
|
370 |
+
<div class="wp-review-field-label">
|
371 |
+
<label><?php esc_html_e( 'Allow comment feedback (helpful/unhelpful)', 'wp-review' ); ?></label>
|
372 |
+
<?php wp_review_print_pro_text(); ?>
|
373 |
+
</div>
|
374 |
+
|
375 |
+
<div class="wp-review-field-option">
|
376 |
+
<?php
|
377 |
+
$form_field->render_switch( array(
|
378 |
+
'id' => 'wp_review_allow_comment_feedback',
|
379 |
+
'name' => 'wp_review_options[allow_comment_feedback]',
|
380 |
+
'disabled' => true,
|
381 |
+
) );
|
382 |
+
?>
|
383 |
+
</div>
|
384 |
+
</div>
|
385 |
+
|
386 |
+
<div class="wp-review-field">
|
387 |
+
<div class="wp-review-field-label">
|
388 |
+
<label for="wp_review_record_ratings_by"><?php esc_html_e( 'Record User Ratings', 'wp-review' ); ?></label>
|
389 |
+
<?php wp_review_print_pro_text(); ?>
|
390 |
+
</div>
|
391 |
+
|
392 |
+
<div class="wp-review-field-option">
|
393 |
+
<span class="wp-review-disabled inline-block has-bg">
|
394 |
+
<select name="wp_review_options[record_ratings_by]" id="wp_review_record_ratings_by" disabled>
|
395 |
+
<option value="ip"><?php esc_html_e( 'Based on IP address', 'wp-review' ); ?></option>
|
396 |
+
<option value="cookie"><?php esc_html_e( 'Based on browser cookie', 'wp-review' ); ?></option>
|
397 |
+
</select>
|
398 |
+
</span>
|
399 |
+
</div>
|
400 |
+
</div>
|
401 |
+
|
402 |
+
<?php /*<div class="wp-review-field">
|
403 |
+
<div class="wp-review-field-label">
|
404 |
+
<label><?php esc_html_e( 'Show text count with Star ratings', 'wp-review' ); ?></label>
|
405 |
+
</div>
|
406 |
+
|
407 |
+
<div class="wp-review-field-option">
|
408 |
+
<?php
|
409 |
+
$form_field->render_switch( array(
|
410 |
+
'id' => 'wp_review_show_star_rating_count',
|
411 |
+
'name' => 'wp_review_options[show_star_rating_count]',
|
412 |
+
'value' => ! empty( $options['show_star_rating_count'] ),
|
413 |
+
) );
|
414 |
+
?>
|
415 |
+
</div>
|
416 |
+
</div>*/ ?>
|
417 |
+
|
418 |
+
<div class="wp-review-field">
|
419 |
+
<div class="wp-review-field-label">
|
420 |
+
<label><?php esc_html_e( 'Allow multiple reviews per account', 'wp-review' ); ?></label>
|
421 |
+
</div>
|
422 |
+
|
423 |
+
<div class="wp-review-field-option">
|
424 |
+
<?php
|
425 |
+
$form_field->render_switch( array(
|
426 |
+
'id' => 'wp_review_multi_reviews_per_account',
|
427 |
+
'name' => 'wp_review_options[multi_reviews_per_account]',
|
428 |
+
'value' => ! empty( $options['multi_reviews_per_account'] ),
|
429 |
+
) );
|
430 |
+
?>
|
431 |
+
</div>
|
432 |
+
</div>
|
433 |
+
|
434 |
+
<div class="wp-review-field">
|
435 |
+
<div class="wp-review-field-label">
|
436 |
+
<label><?php esc_html_e( 'Include Pros/Cons in comment reviews', 'wp-review' ); ?></label>
|
437 |
+
<?php wp_review_print_pro_text(); ?>
|
438 |
+
</div>
|
439 |
+
|
440 |
+
<div class="wp-review-field-option">
|
441 |
+
<?php
|
442 |
+
$form_field->render_switch( array(
|
443 |
+
'id' => 'wp_review_comment_pros_cons',
|
444 |
+
'name' => 'wp_review_options[comment_pros_cons]',
|
445 |
+
'disabled' => true,
|
446 |
+
) );
|
447 |
+
?>
|
448 |
+
</div>
|
449 |
+
</div>
|
450 |
+
|
451 |
+
<div class="wp-review-field">
|
452 |
+
<div class="wp-review-field-label">
|
453 |
+
<label><?php esc_html_e( 'Approve Comment Reviews without Moderation', 'wp-review' ); ?></label>
|
454 |
+
<?php wp_review_print_pro_text(); ?>
|
455 |
+
</div>
|
456 |
+
|
457 |
+
<div class="wp-review-field-option">
|
458 |
+
<?php
|
459 |
+
$form_field->render_switch( array(
|
460 |
+
'id' => 'wp_review_approve_ratings',
|
461 |
+
'name' => 'wp_review_options[approve_ratings]',
|
462 |
+
'disabled' => true,
|
463 |
+
) );
|
464 |
+
?>
|
465 |
+
</div>
|
466 |
+
</div>
|
467 |
+
<?php if(current_user_can('wp_review_purge_visitor_ratings')) { ?>
|
468 |
+
<p style="margin-top: 50px;">
|
469 |
+
<button
|
470 |
+
type="button"
|
471 |
+
class="button"
|
472 |
+
data-remove-ratings
|
473 |
+
data-type="visitor"
|
474 |
+
data-processing-text="<?php esc_attr_e( 'Processing...', 'wp-review' ); ?>"
|
475 |
+
><?php esc_html_e( 'Purge visitor ratings', 'wp-review' ); ?></button>
|
476 |
+
<span class="description"><?php esc_html_e( 'Click to remove all visitor ratings of all posts.', 'wp-review' ); ?></span>
|
477 |
+
</p>
|
478 |
+
<?php } ?>
|
479 |
+
</div>
|
480 |
+
|
481 |
+
<div id="review-styling" class="settings-tab-styling tab-content" style="display: none;">
|
482 |
+
|
483 |
+
<h3><?php esc_html_e( 'Styling', 'wp-review' ); ?></h3>
|
484 |
+
|
485 |
+
<div class="wp-review-field vertical">
|
486 |
+
<div class="wp-review-field-label">
|
487 |
+
<label for="wp_review_box_template"><?php esc_html_e( 'Default', 'wp-review' ); ?></label>
|
488 |
+
</div>
|
489 |
+
<div class="wp-review-field-option">
|
490 |
+
<div id="wp_review_box_template_wrapper">
|
491 |
+
<select name="wp_review_options[box_template]" id="wp_review_box_template">
|
492 |
+
<?php
|
493 |
+
foreach ( $review_templates as $key => $value ) {
|
494 |
+
$disabled = 'default' !== $key && 'aqua' !== $key;
|
495 |
+
printf(
|
496 |
+
'<option value="%1$s" %2$s %3$s>%4$s</option>',
|
497 |
+
esc_attr( $key ),
|
498 |
+
selected( $key, $box_template, false ),
|
499 |
+
$disabled ? 'disabled' : '',
|
500 |
+
esc_html( $value['title'] )
|
501 |
+
);
|
502 |
+
}
|
503 |
+
?>
|
504 |
+
</select>
|
505 |
+
|
506 |
+
<div id="wp_review_box_template_preview" style="display: none;">
|
507 |
+
<img src="#" alt="" id="wp_review_box_template_preview_img">
|
508 |
+
</div>
|
509 |
+
</div>
|
510 |
+
|
511 |
+
<div style="margin-top: 10px;">
|
512 |
+
<img src="<?php echo esc_url( $box_template_img ); ?>" alt="" id="wp_review_box_template_img">
|
513 |
+
</div>
|
514 |
+
</div>
|
515 |
+
</div>
|
516 |
+
|
517 |
+
<?php
|
518 |
+
if ( has_filter( 'wp_review_colors' ) ) {
|
519 |
+
echo '<p class="wp-review-filter-msg"><div class="dashicons dashicons-info"></div>' . esc_html__( 'There is a filter set for the review colors that may modify the options below.', 'wp-review' ) . '</p>';
|
520 |
+
}
|
521 |
+
?>
|
522 |
+
|
523 |
+
<div class="wp-review-color-options">
|
524 |
+
|
525 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['color'] ) ) echo ' style="display: none;"'; ?>>
|
526 |
+
<div class="wp-review-field-label">
|
527 |
+
<label for="wp_review_color"><?php esc_html_e( 'Review Color', 'wp-review' ); ?></label>
|
528 |
+
</div>
|
529 |
+
|
530 |
+
<div class="wp-review-field-option">
|
531 |
+
<input type="text" id="wp_review_color" class="wp-review-color" name="wp_review_options[colors][color]" value="<?php echo esc_attr( $color ); ?>" data-default-color="<?php echo esc_attr( $color ); ?>">
|
532 |
+
</div>
|
533 |
+
</div>
|
534 |
+
|
535 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['inactive_color'] ) ) echo ' style="display: none;"'; ?>>
|
536 |
+
<div class="wp-review-field-label">
|
537 |
+
<label for="wp_review_inactive_color"><?php esc_html_e( 'Inactive Review Color', 'wp-review' ); ?></label>
|
538 |
+
</div>
|
539 |
+
|
540 |
+
<div class="wp-review-field-option">
|
541 |
+
<input type="text" id="wp_review_inactive_color" class="wp-review-color" name="wp_review_options[colors][inactive_color]" value="<?php echo esc_attr( $inactive_color ); ?>" data-default-color="<?php echo esc_attr( $inactive_color ); ?>">
|
542 |
+
</div>
|
543 |
+
</div>
|
544 |
+
|
545 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['fontcolor'] ) ) echo ' style="display: none;"'; ?>>
|
546 |
+
<div class="wp-review-field-label">
|
547 |
+
<label for="wp_review_fontcolor"><?php esc_html_e( 'Font Color', 'wp-review' ); ?></label>
|
548 |
+
</div>
|
549 |
+
|
550 |
+
<div class="wp-review-field-option">
|
551 |
+
<input type="text" class="wp-review-color" name="wp_review_options[colors][fontcolor]" id ="wp_review_fontcolor" value="<?php echo esc_attr( $fontcolor ); ?>" data-default-color="<?php echo esc_attr( $fontcolor ); ?>">
|
552 |
+
</div>
|
553 |
+
</div>
|
554 |
+
|
555 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['bgcolor1'] ) ) echo ' style="display: none;"'; ?>>
|
556 |
+
<div class="wp-review-field-label">
|
557 |
+
<label for="wp_review_bgcolor1"><?php esc_html_e( 'Heading Background Color', 'wp-review' ); ?></label>
|
558 |
+
</div>
|
559 |
+
|
560 |
+
<div class="wp-review-field-option">
|
561 |
+
<input type="text" class="wp-review-color" name="wp_review_options[colors][bgcolor1]" id ="wp_review_bgcolor1" value="<?php echo esc_attr( $bgcolor1 ); ?>" data-default-color="<?php echo esc_attr( $bgcolor1 ); ?>">
|
562 |
+
</div>
|
563 |
+
</div>
|
564 |
+
|
565 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['bgcolor2'] ) ) echo ' style="display: none;"'; ?>>
|
566 |
+
<div class="wp-review-field-label">
|
567 |
+
<label for="wp_review_bgcolor2"><?php esc_html_e( 'Background Color', 'wp-review' ); ?></label>
|
568 |
+
</div>
|
569 |
+
|
570 |
+
<div class="wp-review-field-option">
|
571 |
+
<input type="text" class="wp-review-color" name="wp_review_options[colors][bgcolor2]" id="wp_review_bgcolor2" value="<?php echo esc_attr( $bgcolor2 ); ?>" data-default-color="<?php echo esc_attr( $bgcolor2 ); ?>">
|
572 |
+
</div>
|
573 |
+
</div>
|
574 |
+
|
575 |
+
<div class="wp-review-field"<?php if ( empty( $displayed_fields['bordercolor'] ) ) echo ' style="display: none;"'; ?>>
|
576 |
+
<div class="wp-review-field-label">
|
577 |
+
<label for="wp_review_bordercolor"><?php esc_html_e( 'Border Color', 'wp-review' ); ?></label>
|
578 |
+
</div>
|
579 |
+
|
580 |
+
<div class="wp-review-field-option">
|
581 |
+
<input type="text" class="wp-review-color" name="wp_review_options[colors][bordercolor]" id="wp_review_bordercolor" value="<?php echo esc_attr( $bordercolor ); ?>" data-default-color="<?php echo esc_attr( $bordercolor ); ?>">
|
582 |
+
</div>
|
583 |
+
</div>
|
584 |
+
</div>
|
585 |
+
|
586 |
+
|
587 |
+
<div class="wp-review-field">
|
588 |
+
<div class="wp-review-field-label">
|
589 |
+
<label for="wp_review_width"><?php esc_html_e( 'Review Box Width', 'wp-review' ); ?></label>
|
590 |
+
<?php wp_review_print_pro_text(); ?>
|
591 |
+
</div>
|
592 |
+
|
593 |
+
<div class="wp-review-field-option wp-review-disabled has-bg">
|
594 |
+
<input type="number" min="1" max="100" step="1" name="wp_review_options[width]" id="wp_review_width" value="100" disabled /> %
|
595 |
+
<div id="wp-review-width-slider"></div>
|
596 |
+
</div>
|
597 |
+
</div>
|
598 |
+
|
599 |
+
<div class="wp-review-field">
|
600 |
+
<div class="wp-review-field-label">
|
601 |
+
<label><?php esc_html_e( 'Google Font', 'wp-review' ); ?></label><br>
|
602 |
+
<span class="description">
|
603 |
+
<?php _e( 'Many templates use Google Font, select <code>No</code> to use default theme font.', 'wp-review' ); ?>
|
604 |
+
</span>
|
605 |
+
<?php wp_review_print_pro_text(); ?>
|
606 |
+
</div>
|
607 |
+
|
608 |
+
<div class="wp-review-field-option">
|
609 |
+
<?php
|
610 |
+
$form_field->render_switch( array(
|
611 |
+
'id' => 'wp_review_fontfamily',
|
612 |
+
'name' => 'wp_review_options[fontfamily]',
|
613 |
+
'disabled' => true,
|
614 |
+
) );
|
615 |
+
?>
|
616 |
+
</div>
|
617 |
+
</div>
|
618 |
+
|
619 |
+
<div class="wp-review-field">
|
620 |
+
<div class="wp-review-field-label">
|
621 |
+
<label><?php esc_html_e( 'Comment Rating Color', 'wp-review' ); ?></label><br>
|
622 |
+
<span class="description">
|
623 |
+
<?php esc_html_e( 'Use different color for ratings in comments', 'wp-review' ); ?>
|
624 |
+
</span>
|
625 |
+
<?php wp_review_print_pro_text(); ?>
|
626 |
+
</div>
|
627 |
+
|
628 |
+
<div class="wp-review-field-option">
|
629 |
+
<?php
|
630 |
+
$form_field->render_switch( array(
|
631 |
+
'id' => 'wp_review_custom_comment_colors',
|
632 |
+
'name' => 'wp_review_options[custom_comment_colors]',
|
633 |
+
'disabled' => true,
|
634 |
+
) );
|
635 |
+
?>
|
636 |
+
</div>
|
637 |
+
</div>
|
638 |
+
|
639 |
+
<div class="wp-review-field wp-review-rating-icon">
|
640 |
+
<div class="wp-review-field-label">
|
641 |
+
<label for="wp_review_rating_icon"><?php esc_html_e( 'Rating icon', 'wp-review' ); ?></label>
|
642 |
+
</div>
|
643 |
+
|
644 |
+
<div class="wp-review-field-option">
|
645 |
+
<select name="wp_review_options[rating_icon]" id="wp_review_rating_icon" class="js-select2">
|
646 |
+
<?php
|
647 |
+
$icons = wp_review_get_icons();
|
648 |
+
foreach ( $icons as $name => $icon ) {
|
649 |
+
printf(
|
650 |
+
'<option value="%1$s" data-icon="%1$s" %2$s %3$s>%4$s</option>',
|
651 |
+
esc_attr( $name ),
|
652 |
+
selected( $rating_icon, $name, false ),
|
653 |
+
'fa fa-star' !== $name ? 'disabled' : '',
|
654 |
+
esc_html( $icon['name'] )
|
655 |
+
);
|
656 |
+
}
|
657 |
+
?>
|
658 |
+
</select>
|
659 |
+
</div>
|
660 |
+
<a href="#" class="wpr-toggle-rating wp-review-disabled inline-block has-bg"><?php _e('Use Image', 'wp-review'); ?></a>
|
661 |
+
</div>
|
662 |
+
</div>
|
663 |
+
|
664 |
+
<div id="review-defaults" class="settings-tab-defaults tab-content" style="display: none;">
|
665 |
+
<h3><?php esc_html_e( 'Defaults', 'wp-review' ); ?></h3>
|
666 |
+
|
667 |
+
<?php $has_criteria_filter = has_filter( 'wp_review_default_criteria' ); ?>
|
668 |
+
<?php $schemas = wp_review_schema_types(); ?>
|
669 |
+
|
670 |
+
<div class="wp-review-field">
|
671 |
+
<div class="wp-review-field-label">
|
672 |
+
<label for="wp_review_type"><?php esc_html_e( 'Review type', 'wp-review' ); ?></label>
|
673 |
+
</div>
|
674 |
+
|
675 |
+
<div class="wp-review-field-option">
|
676 |
+
<select name="wp_review_options[review_type]" id="wp_review_type">
|
677 |
+
<option value="none" <?php selected( $review_type, 'none' ); ?>><?php esc_html_e( 'No Review', 'wp-review' ); ?></option>
|
678 |
+
<?php
|
679 |
+
foreach ( $review_types as $key => $value ) {
|
680 |
+
if ( ! isset( $available_types[ $key ] ) ) {
|
681 |
+
continue;
|
682 |
+
}
|
683 |
+
|
684 |
+
$disabled = 'circle' === $key || 'thumbs' === $key;
|
685 |
+
printf(
|
686 |
+
'<option value="%1$s" %2$s %3$s>%4$s</option>',
|
687 |
+
esc_attr( $key ),
|
688 |
+
selected( $review_type, $key, false ),
|
689 |
+
$disabled ? 'disabled' : '',
|
690 |
+
esc_html( $value['label'] )
|
691 |
+
);
|
692 |
+
}
|
693 |
+
?>
|
694 |
+
</select>
|
695 |
+
</div>
|
696 |
+
</div>
|
697 |
+
|
698 |
+
<div class="wp-review-field">
|
699 |
+
<div class="wp-review-field-label">
|
700 |
+
<label for="wp_review_location"><?php esc_html_e( 'Review Location', 'wp-review' ); ?></label>
|
701 |
+
</div>
|
702 |
+
|
703 |
+
<div class="wp-review-field-option">
|
704 |
+
<select name="wp_review_options[review_location]" id="wp_review_location">
|
705 |
+
<option value="bottom" <?php selected( $location, 'bottom' ); ?>><?php esc_html_e( 'After Content', 'wp-review' ); ?></option>
|
706 |
+
<option value="top" <?php selected( $location, 'top' ); ?>><?php esc_html_e( 'Before Content', 'wp-review' ); ?></option>
|
707 |
+
<option value="custom" <?php selected( $location, 'custom' ); ?>><?php esc_html_e( 'Custom (use shortcode)', 'wp-review' ); ?></option>
|
708 |
+
</select>
|
709 |
+
|
710 |
+
<p id="wp_review_shortcode_hint_field">
|
711 |
+
<input id="wp_review_shortcode_hint" type="text" value="[wp-review]" readonly="readonly">
|
712 |
+
<span><?php esc_html_e( 'Copy & paste this shortcode in the post content.', 'wp-review' ); ?></span>
|
713 |
+
</p>
|
714 |
+
</div>
|
715 |
+
</div>
|
716 |
+
|
717 |
+
<div class="wp-review-field">
|
718 |
+
<div class="wp-review-field-label">
|
719 |
+
<label for="wp_review_schema"><?php esc_html_e( 'Review Schema', 'wp-review' ); ?></label>
|
720 |
+
<?php wp_review_print_pro_text(); ?>
|
721 |
+
</div>
|
722 |
+
|
723 |
+
<div class="wp-review-field-option">
|
724 |
+
<select name="wp_review_options[default_schema_type]" id="wp_review_schema">
|
725 |
+
<?php foreach ( $schemas as $key => $arr ) : ?>
|
726 |
+
<option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, $default_schema ); ?> disabled><?php echo esc_html( $arr['label'] ); ?></option>
|
727 |
+
<?php endforeach; ?>
|
728 |
+
</select>
|
729 |
+
</div>
|
730 |
+
</div>
|
731 |
+
|
732 |
+
<div class="wp-review-field">
|
733 |
+
<div class="wp-review-field-label">
|
734 |
+
<label><?php esc_html_e( 'Features', 'wp-review' ); ?></label>
|
735 |
+
</div>
|
736 |
+
|
737 |
+
<div class="wp-review-field-option">
|
738 |
+
<table id="wp-review-item">
|
739 |
+
<?php if ( $has_criteria_filter ) : ?>
|
740 |
+
<?php foreach ( $default_criteria as $item ) : ?>
|
741 |
+
<?php if ( ! empty( $item ) ) : ?>
|
742 |
+
<tr>
|
743 |
+
<td style="padding:0">
|
744 |
+
<input type="text" name="wp_review_options[default_features][]" value="<?php if ( ! empty( $item ) ) echo esc_attr( $item ); ?>" <?php echo $has_criteria_filter ? 'disabled="disabled" readonly="readonly"' : ''; ?> />
|
745 |
+
<?php if ( ! $has_criteria_filter ) : ?>
|
746 |
+
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
747 |
+
<?php endif; ?>
|
748 |
+
</td>
|
749 |
+
</tr>
|
750 |
+
<?php endif; ?>
|
751 |
+
<?php endforeach; ?>
|
752 |
+
<?php else : ?>
|
753 |
+
<?php foreach ( $items as $item ) : ?>
|
754 |
+
<?php if ( ! empty( $item ) ) : ?>
|
755 |
+
<tr>
|
756 |
+
<td style="padding:0">
|
757 |
+
<input type="text" name="wp_review_options[default_features][]" value="<?php if ( ! empty( $item ) ) echo esc_attr( $item ); ?>" <?php echo $has_criteria_filter ? 'disabled="disabled" readonly="readonly"' : ''; ?> />
|
758 |
+
<?php if ( ! $has_criteria_filter ) : ?>
|
759 |
+
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
760 |
+
<?php endif; ?>
|
761 |
+
</td>
|
762 |
+
</tr>
|
763 |
+
<?php endif; ?>
|
764 |
+
<?php endforeach; ?>
|
765 |
+
<?php endif; ?>
|
766 |
+
<tr class="empty-row screen-reader-text">
|
767 |
+
<td style="padding:0">
|
768 |
+
<input class="focus-on-add" type="text" name="wp_review_options[default_features][]" />
|
769 |
+
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
770 |
+
</td>
|
771 |
+
</tr>
|
772 |
+
</table>
|
773 |
+
<?php if ( $has_criteria_filter ) : ?>
|
774 |
+
<p class="description"><?php _e( 'Default features are set by a filter function. Remove it to change.', 'wp-review' ); ?></p>
|
775 |
+
<?php else : ?>
|
776 |
+
<a class="add-row button" data-target="#wp-review-item" href="#"><?php _e( 'Add default feature', 'wp-review' ); ?></a>
|
777 |
+
<?php endif; ?>
|
778 |
+
</div>
|
779 |
+
</div>
|
780 |
+
|
781 |
+
<div class="wp-review-field">
|
782 |
+
<div class="wp-review-field-label">
|
783 |
+
<label><?php esc_html_e( 'Links', 'wp-review' ); ?></label>
|
784 |
+
</div>
|
785 |
+
|
786 |
+
<div class="wp-review-field-option">
|
787 |
+
<table id="wp-review-link">
|
788 |
+
<?php if ( ! empty ( $link_texts ) ) : ?>
|
789 |
+
<?php foreach ( $link_texts as $key => $text ) : ?>
|
790 |
+
<?php if ( ! empty( $text ) && ! empty( $link_urls[ $key ] ) ) : ?>
|
791 |
+
<tr>
|
792 |
+
<td style="padding:0">
|
793 |
+
<input type="text" name="wp_review_options[default_link_text][]" placeholder="Text" value="<?php echo esc_attr( $text ); ?>" />
|
794 |
+
<input type="url" name="wp_review_options[default_link_url][]" placeholder="URL" value="<?php echo esc_url( $link_urls[ $key ] ); ?>" />
|
795 |
+
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
796 |
+
</td>
|
797 |
+
</tr>
|
798 |
+
<?php endif; ?>
|
799 |
+
<?php endforeach; ?>
|
800 |
+
<?php endif; ?>
|
801 |
+
<tr class="empty-row screen-reader-text">
|
802 |
+
<td style="padding:0">
|
803 |
+
<input class="focus-on-add" type="text" name="wp_review_options[default_link_text][]" placeholder="Text" />
|
804 |
+
<input type="url" name="wp_review_options[default_link_url][]" placeholder="URL" />
|
805 |
+
<a class="button remove-row" href="#"><?php _e( 'Delete', 'wp-review' ); ?></a>
|
806 |
+
</td>
|
807 |
+
</tr>
|
808 |
+
</table>
|
809 |
+
<a class="add-row button" data-target="#wp-review-link" href="#"><?php _e( 'Add default link', 'wp-review' ); ?></a>
|
810 |
+
</div>
|
811 |
+
</div>
|
812 |
+
|
813 |
+
<div class="wp-review-field">
|
814 |
+
<div class="wp-review-field-label">
|
815 |
+
<label><?php esc_html_e( 'User Ratings', 'wp-review' ); ?></label>
|
816 |
+
</div>
|
817 |
+
|
818 |
+
<div class="wp-review-field-option">
|
819 |
+
<label>
|
820 |
+
<input type="radio" name="wp_review_options[default_user_review_type]" id="wp-review-userReview-disable" value="<?php echo esc_attr( WP_REVIEW_REVIEW_DISABLED ); ?>" <?php checked( WP_REVIEW_REVIEW_DISABLED, $default_user_review_type ); ?> />
|
821 |
+
<?php esc_html_e( 'Disabled', 'wp-review' ); ?>
|
822 |
+
</label>
|
823 |
+
<br>
|
824 |
+
<label>
|
825 |
+
<input type="radio" name="wp_review_options[default_user_review_type]" id="wp-review-userReview-visitor" value="<?php echo esc_attr( WP_REVIEW_REVIEW_VISITOR_ONLY ); ?>" <?php checked( WP_REVIEW_REVIEW_VISITOR_ONLY, $default_user_review_type ); ?> />
|
826 |
+
<?php esc_html_e( 'Visitor Rating Only', 'wp-review' ); ?>
|
827 |
+
</label>
|
828 |
+
<br>
|
829 |
+
<label class="wp-review-disabled">
|
830 |
+
<input type="radio" name="wp_review_options[default_user_review_type]" id="wp-review-userReview-comment" value="<?php echo esc_attr( WP_REVIEW_REVIEW_COMMENT_ONLY ); ?>" <?php checked( WP_REVIEW_REVIEW_COMMENT_ONLY, $default_user_review_type ); ?> disabled />
|
831 |
+
<?php esc_html_e( 'Comment Rating Only', 'wp-review' ); ?>
|
832 |
+
<?php wp_review_print_pro_text( true ); ?>
|
833 |
+
</label>
|
834 |
+
<br>
|
835 |
+
<label class="wp-review-disabled">
|
836 |
+
<input type="radio" name="wp_review_options[default_user_review_type]" id="wp-review-userReview-both" value="<?php echo esc_attr( WP_REVIEW_REVIEW_ALLOW_BOTH ); ?>" <?php checked( WP_REVIEW_REVIEW_ALLOW_BOTH, $default_user_review_type ); ?> disabled />
|
837 |
+
<?php esc_html_e( 'Both', 'wp-review' ); ?>
|
838 |
+
<?php wp_review_print_pro_text( true ); ?>
|
839 |
+
</label>
|
840 |
+
</div>
|
841 |
+
</div>
|
842 |
+
</div>
|
843 |
+
|
844 |
+
<div id="review-embed" class="settings-tab-embed tab-content" style="display: none;">
|
845 |
+
<h3><?php esc_html_e( 'Embed', 'wp-review' ); ?></h3>
|
846 |
+
<p class="description"><?php esc_html_e( 'From here you can enable embed feature, which will show embed code in the frontend which site visitors can use to embed review on their site.', 'wp-review' ); ?></p>
|
847 |
+
|
848 |
+
<div class="wp-review-field">
|
849 |
+
<div class="wp-review-field-label">
|
850 |
+
<label><?php esc_html_e( 'Enable Embed', 'wp-review' ); ?></label>
|
851 |
+
<?php wp_review_print_pro_text(); ?>
|
852 |
+
</div>
|
853 |
+
|
854 |
+
<div class="wp-review-field-option">
|
855 |
+
<?php
|
856 |
+
$form_field->render_switch( array(
|
857 |
+
'id' => 'wp_review_enable_embed',
|
858 |
+
'name' => 'wp_review_options[enable_embed]',
|
859 |
+
'disabled' => true,
|
860 |
+
) );
|
861 |
+
?>
|
862 |
+
</div>
|
863 |
+
</div>
|
864 |
+
|
865 |
+
<div class="wp-review-field">
|
866 |
+
<div class="wp-review-field-label">
|
867 |
+
<label><?php esc_html_e( 'Show Title', 'wp-review' ); ?></label>
|
868 |
+
<?php wp_review_print_pro_text(); ?>
|
869 |
+
</div>
|
870 |
+
|
871 |
+
<div class="wp-review-field-option">
|
872 |
+
<?php
|
873 |
+
$form_field->render_switch( array(
|
874 |
+
'id' => 'wp_review_embed_show_title',
|
875 |
+
'name' => 'wp_review_options[embed_show_title]',
|
876 |
+
'disabled' => true,
|
877 |
+
) );
|
878 |
+
?>
|
879 |
+
</div>
|
880 |
+
</div>
|
881 |
+
|
882 |
+
<div class="wp-review-field">
|
883 |
+
<div class="wp-review-field-label">
|
884 |
+
<label><?php esc_html_e( 'Show Thumbnail', 'wp-review' ); ?></label>
|
885 |
+
<?php wp_review_print_pro_text(); ?>
|
886 |
+
</div>
|
887 |
+
|
888 |
+
<div class="wp-review-field-option">
|
889 |
+
<?php
|
890 |
+
$form_field->render_switch( array(
|
891 |
+
'id' => 'wp_review_embed_show_thumbnail',
|
892 |
+
'name' => 'wp_review_options[embed_show_thumbnail]',
|
893 |
+
'disabled' => true,
|
894 |
+
) );
|
895 |
+
?>
|
896 |
+
</div>
|
897 |
+
</div>
|
898 |
+
|
899 |
+
<div class="wp-review-field">
|
900 |
+
<div class="wp-review-field-label">
|
901 |
+
<label><?php esc_html_e( 'Show Excerpt', 'wp-review' ); ?></label>
|
902 |
+
<?php wp_review_print_pro_text(); ?>
|
903 |
+
</div>
|
904 |
+
|
905 |
+
<div class="wp-review-field-option">
|
906 |
+
<?php
|
907 |
+
$form_field->render_switch( array(
|
908 |
+
'id' => 'wp_review_embed_show_excerpt',
|
909 |
+
'name' => 'wp_review_options[embed_show_excerpt]',
|
910 |
+
'disabled' => true,
|
911 |
+
) );
|
912 |
+
?>
|
913 |
+
</div>
|
914 |
+
</div>
|
915 |
+
|
916 |
+
<div class="wp-review-field">
|
917 |
+
<div class="wp-review-field-label">
|
918 |
+
<label><?php esc_html_e( 'Show Rating Box', 'wp-review' ); ?></label>
|
919 |
+
<?php wp_review_print_pro_text(); ?>
|
920 |
+
</div>
|
921 |
+
|
922 |
+
<div class="wp-review-field-option">
|
923 |
+
<?php
|
924 |
+
$form_field->render_switch( array(
|
925 |
+
'id' => 'wp_review_embed_show_rating_box',
|
926 |
+
'name' => 'wp_review_options[embed_show_rating_box]',
|
927 |
+
'disabled' => true,
|
928 |
+
) );
|
929 |
+
?>
|
930 |
+
</div>
|
931 |
+
</div>
|
932 |
+
|
933 |
+
<div class="wp-review-field">
|
934 |
+
<div class="wp-review-field-label">
|
935 |
+
<label><?php esc_html_e( 'Show Credit', 'wp-review' ); ?></label>
|
936 |
+
<?php wp_review_print_pro_text(); ?>
|
937 |
+
</div>
|
938 |
+
|
939 |
+
<div class="wp-review-field-option">
|
940 |
+
<?php
|
941 |
+
$form_field->render_switch( array(
|
942 |
+
'id' => 'wp_review_embed_show_credit',
|
943 |
+
'name' => 'wp_review_options[embed_show_credit]',
|
944 |
+
'disabled' => true,
|
945 |
+
) );
|
946 |
+
?>
|
947 |
+
</div>
|
948 |
+
</div>
|
949 |
+
</div>
|
950 |
+
|
951 |
+
<?php if ( $rows_left ) : ?>
|
952 |
+
<div id="review-migrate" class="settings-tab-migrate tab-content" style="display: none;">
|
953 |
+
<div id="settings-allow-migrate">
|
954 |
+
<p><?php esc_html_e( 'Here you can import your existing user ratings from WP Review 1.x and WP Review Pro 1.x.', 'wp-review' ); ?></p>
|
955 |
+
<p class="migrate-items"><?php printf( esc_html__( '%s ratings left to import.', 'wp-review' ), '<span id="migrate-items-num">' . $rows_left . '</span>' ); ?></p>
|
956 |
+
<a href="#" class="button button-secondary" id="start-migrate" data-start="<?php echo esc_attr( $migrated_rows ); ?>"><?php esc_html_e( 'Start import', 'wp-review' ); ?></a>
|
957 |
+
<textarea id="wp-review-migrate-log"></textarea>
|
958 |
+
</div>
|
959 |
+
<p class="already-migrated-msg"><?php esc_html_e( 'Ratings have already been migrated.', 'wp-review' ); ?></p>
|
960 |
+
</div>
|
961 |
+
<?php endif; ?>
|
962 |
+
</div>
|
admin/options/role-manager.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Role Manager options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
|
10 |
+
<div class="wp-review-role-manager-wrap">
|
11 |
+
|
12 |
+
<?php
|
13 |
+
$roles = get_editable_roles();
|
14 |
+
foreach ( $roles as $slug => $role ) {
|
15 |
+
$role_caps = $role['capabilities'];
|
16 |
+
?>
|
17 |
+
<div class="wp-review-field">
|
18 |
+
<div class="wp-review-field-label">
|
19 |
+
<label><strong><?php echo esc_html( $role['name'] ); ?></strong></label>
|
20 |
+
<?php wp_review_print_pro_text(); ?>
|
21 |
+
</div>
|
22 |
+
|
23 |
+
<div class="wp-review-field-option">
|
24 |
+
<div class="wpr-flex">
|
25 |
+
<?php
|
26 |
+
foreach ( wp_review_get_capabilities() as $cap => $capability ) {
|
27 |
+
$checked = isset( $role_caps[ $cap ] ) ? 'checked="checked"' : '';
|
28 |
+
?>
|
29 |
+
<div class="pr-10 wpr-col-1-3">
|
30 |
+
<span class="wp-review-disabled inline-block">
|
31 |
+
<label for="wp_review_<?php echo esc_attr( $slug . '_' . $cap ); ?>">
|
32 |
+
<input name="wp_review_capabilities[<?php echo esc_attr( $slug ); ?>][<?php echo esc_attr( $cap ); ?>]" id="wp_review_<?php echo esc_attr( $slug . '_' . $cap ); ?>" type="checkbox" value="<?php echo esc_attr( $cap ); ?>" <?php echo $checked; ?> disabled>
|
33 |
+
<?php echo $capability; ?>
|
34 |
+
</label>
|
35 |
+
</span>
|
36 |
+
</div>
|
37 |
+
<?php } ?>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
<?php } ?>
|
42 |
+
</div>
|
admin/options/yelp.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Yelp options
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
|
10 |
+
<div class="wp-review-field">
|
11 |
+
<div class="wp-review-field-label">
|
12 |
+
<label for="wp_review_yelp_api_key"><?php esc_html_e( 'API Key', 'wp-review' ); ?></label>
|
13 |
+
<?php wp_review_print_pro_text(); ?>
|
14 |
+
</div>
|
15 |
+
|
16 |
+
<div class="wp-review-field-option">
|
17 |
+
<span class="wp-review-disabled inline-block large-text">
|
18 |
+
<input name="wp_review_options[yelp_api_key]" id="wp_review_yelp_api_key" class="widefat" type="password" disabled>
|
19 |
+
</span>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<span class="description">
|
23 |
+
<?php
|
24 |
+
printf(
|
25 |
+
/* translators: Yelp App link. */
|
26 |
+
esc_html__( '%s to get Yelp API Key.', 'wp-review' ),
|
27 |
+
'<a href="https://mythemeshop.com/kb/wp-review-pro/yelp-reviews/" target="_blank">' . esc_html__( 'Click here', 'wp-review' ) . '</a>'
|
28 |
+
);
|
29 |
+
?>
|
30 |
+
</span>
|
31 |
+
</div>
|
admin/review-options-meta-box.php
ADDED
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Review options meta box
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Render the meta box.
|
10 |
+
*
|
11 |
+
* @since 1.0
|
12 |
+
*/
|
13 |
+
function wp_review_render_meta_box_review_options( $post ) {
|
14 |
+
global $post, $wp_review_rating_types;
|
15 |
+
|
16 |
+
/* Add an nonce field so we can check for it later. */
|
17 |
+
wp_nonce_field( 'wp-review-meta-box-options', 'wp-review-review-options-nonce' );
|
18 |
+
|
19 |
+
/* Retrieve an existing value from the database. */
|
20 |
+
$type_post_value = get_post_meta( $post->ID, 'wp_review_type', true );
|
21 |
+
if ( '' === $type_post_value ) {
|
22 |
+
// Default value when create post.
|
23 |
+
$type_post_value = wp_review_option( 'review_type', 'none' );
|
24 |
+
}
|
25 |
+
$type = $type_post_value;
|
26 |
+
|
27 |
+
$heading = get_post_meta( $post->ID, 'wp_review_heading', true );
|
28 |
+
// $available_types = apply_filters('wp_review_metabox_types', wp_review_get_review_types() );
|
29 |
+
$available_types = wp_review_get_rating_types();
|
30 |
+
$schemas = wp_review_schema_types();
|
31 |
+
|
32 |
+
$rating_schema = wp_review_get_rating_schema( $post->ID );
|
33 |
+
$custom_author = get_post_meta( $post->ID, 'wp_review_custom_author', true );
|
34 |
+
$author = get_post_meta( $post->ID, 'wp_review_author', true );
|
35 |
+
|
36 |
+
$form_field = new WP_Review_Form_Field();
|
37 |
+
?>
|
38 |
+
|
39 |
+
<div class="js-tabs wpr-tabs">
|
40 |
+
<div class="nav-tab-wrapper tab-titles">
|
41 |
+
<a href="#review-box" class="nav-tab tab-title nav-tab-active"><?php esc_html_e( 'Review Box', 'wp-review' ); ?></a>
|
42 |
+
<?php if ( ! wp_review_network_option( 'hide_popup_box_' ) && current_user_can( 'wp_review_popup' ) ) { ?>
|
43 |
+
<a href="#popup" class="nav-tab tab-title"><?php esc_html_e( 'Popup', 'wp-review' ); ?></a>
|
44 |
+
<?php } ?>
|
45 |
+
<?php if ( ! wp_review_network_option( 'hide_notification_bar_' ) && current_user_can( 'wp_review_notification_bar' ) ) { ?>
|
46 |
+
<a href="#hello-bar" class="nav-tab tab-title"><?php esc_html_e( 'Notification Bar', 'wp-review' ); ?></a>
|
47 |
+
<?php } ?>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<div id="review-box" class="tab-content">
|
51 |
+
<div class="wp-review-field">
|
52 |
+
<div class="wp-review-field-label">
|
53 |
+
<label for="wp_review_type"><?php esc_html_e( 'Review Type', 'wp-review' ); ?></label>
|
54 |
+
</div>
|
55 |
+
|
56 |
+
<div class="wp-review-field-option">
|
57 |
+
<select id="wp_review_type">
|
58 |
+
<option value="none" <?php selected( $type, 'none' ); ?>><?php esc_html_e( 'No review', 'wp-review' ); ?></option>
|
59 |
+
<?php
|
60 |
+
foreach ( $available_types as $key => $available_type ) {
|
61 |
+
$disabled = 'circle' === $key || 'thumbs' === $key;
|
62 |
+
printf(
|
63 |
+
'<option value="%1$s" data-max="%2$s" data-decimals="%3$s" %4$s %5$s>%6$s</option>',
|
64 |
+
esc_attr( $key ),
|
65 |
+
intval( $available_type['max'] ),
|
66 |
+
intval( $available_type['decimals'] ),
|
67 |
+
selected( $type, $key, false ),
|
68 |
+
$disabled ? 'disabled' : '',
|
69 |
+
esc_html( $available_type['label'] )
|
70 |
+
);
|
71 |
+
}
|
72 |
+
?>
|
73 |
+
</select>
|
74 |
+
<input type="hidden" name="wp_review_type" value="<?php echo esc_attr( $type_post_value ); ?>">
|
75 |
+
|
76 |
+
<span id="wp_review_id_hint"><?php printf( esc_html__( 'Review ID: %s', 'wp-review' ), '<strong>' . intval( $post->ID ) . '</strong>' ); ?></span>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
|
80 |
+
<div class="wp-review-field" id="wp_review_heading_group">
|
81 |
+
<div class="wp-review-field-label">
|
82 |
+
<label for="wp_review_heading"><?php esc_html_e( 'Review Heading', 'wp-review' ); ?></label>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div class="wp-review-field-option">
|
86 |
+
<input type="text" name="wp_review_heading" id="wp_review_heading" class="large-text" value="<?php echo esc_attr( $heading ); ?>" />
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
|
90 |
+
<div id="wp_review_schema_options_wrapper">
|
91 |
+
|
92 |
+
<div class="wp-review-field" id="wp_review_schema_group">
|
93 |
+
<div class="wp-review-field-label">
|
94 |
+
<label for="wp_review_schema"><?php esc_html_e( 'Reviewed Item Schema', 'wp-review' ); ?></label>
|
95 |
+
<?php wp_review_print_pro_text(); ?>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
<div class="wp-review-field-option">
|
99 |
+
<select name="wp_review_schema" id="wp_review_schema">
|
100 |
+
<?php foreach ( $schemas as $key => $arr ) : ?>
|
101 |
+
<option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, 'Thing' ); ?> disabled><?php echo esc_html( $arr['label'] ); ?></option>
|
102 |
+
<?php endforeach; ?>
|
103 |
+
</select>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
|
107 |
+
<div id="wp_review_schema_type_options_wrap">
|
108 |
+
<div class="wp-review-field" id="wp_review_schema_rating_group">
|
109 |
+
<div class="wp-review-field-label">
|
110 |
+
<label for="wp_review_rating_schema"><?php esc_html_e( 'Rating Schema', 'wp-review' ); ?></label>
|
111 |
+
</div>
|
112 |
+
<div class="wp-review-field-option">
|
113 |
+
<select name="wp_review_rating_schema" id="wp_review_rating_schema">
|
114 |
+
<option value="author" <?php selected( 'author', $rating_schema ); ?>><?php esc_html_e( 'Author Review Rating', 'wp-review' ); ?></option>
|
115 |
+
<option value="visitors" <?php selected( 'visitors', $rating_schema ); ?>><?php esc_html_e( 'Visitors Aggregate Rating (if enabled)', 'wp-review' ); ?></option>
|
116 |
+
<option value="comments" <?php selected( 'comments', $rating_schema ); ?> disabled><?php esc_html_e( 'Comments Reviews Aggregate Rating (if enabled)', 'wp-review' ); ?></option>
|
117 |
+
</select>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
<div id="wp_review_schema_author_wrapper"<?php if ( 'author' !== $rating_schema ) echo ' style="display: none;"'; ?>>
|
121 |
+
<div class="wp-review-field">
|
122 |
+
<div class="wp-review-field-label">
|
123 |
+
<label><?php esc_html_e( 'Custom Author', 'wp-review' ); ?></label>
|
124 |
+
</div>
|
125 |
+
<div class="wp-review-field-option">
|
126 |
+
<?php
|
127 |
+
$form_field->render_switch( array(
|
128 |
+
'id' => 'wp_review_custom_author',
|
129 |
+
'name' => 'wp_review_custom_author',
|
130 |
+
'value' => $custom_author,
|
131 |
+
) );
|
132 |
+
?>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
|
136 |
+
<div class="wp-review-author-options"<?php if ( empty( $custom_author ) ) echo ' style="display: none;"'; ?>>
|
137 |
+
<div class="wp-review-field">
|
138 |
+
<div class="wp-review-field-label">
|
139 |
+
<label for="wp_review_author"><?php esc_html_e( 'Review Author', 'wp-review' ); ?></label>
|
140 |
+
</div>
|
141 |
+
<div class="wp-review-field-option">
|
142 |
+
<input type="text" name="wp_review_author" id="wp_review_author" value="<?php echo esc_attr( $author ); ?>">
|
143 |
+
</div>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
</div>
|
148 |
+
</div><!-- End #wp_review_schema_options_wrapper -->
|
149 |
+
|
150 |
+
<div class="wp-review-field" id="wp_review_show_schema_data_wrapper">
|
151 |
+
<div class="wp-review-field-label">
|
152 |
+
<label><?php esc_html_e( 'Display Schema Data in the Box (if available)', 'wp-review' ); ?></label>
|
153 |
+
<?php wp_review_print_pro_text(); ?>
|
154 |
+
</div>
|
155 |
+
|
156 |
+
<div class="wp-review-field-option">
|
157 |
+
<?php
|
158 |
+
$form_field->render_switch( array(
|
159 |
+
'id' => 'wp_review_show_schema_data',
|
160 |
+
'name' => 'wp_review_show_schema_data',
|
161 |
+
'disabled' => true,
|
162 |
+
) );
|
163 |
+
?>
|
164 |
+
</div>
|
165 |
+
</div>
|
166 |
+
|
167 |
+
<div id="wp_review_embed_options_wrapper">
|
168 |
+
<div class="wp-review-field">
|
169 |
+
<div class="wp-review-field-label">
|
170 |
+
<label><?php esc_html_e( 'Show Embed Code', 'wp-review' ); ?></label>
|
171 |
+
<?php wp_review_print_pro_text(); ?>
|
172 |
+
</div>
|
173 |
+
|
174 |
+
<div class="wp-review-field-option">
|
175 |
+
<?php
|
176 |
+
$form_field->render_switch( array(
|
177 |
+
'id' => 'wp_review_enable_embed',
|
178 |
+
'name' => 'wp_review_enable_embed',
|
179 |
+
'disabled' => true,
|
180 |
+
) );
|
181 |
+
?>
|
182 |
+
</div>
|
183 |
+
</div>
|
184 |
+
</div>
|
185 |
+
</div><!-- End #review-box -->
|
186 |
+
|
187 |
+
<?php if ( ! wp_review_network_option( 'hide_popup_box_' ) && current_user_can( 'wp_review_popup' ) ) { ?>
|
188 |
+
<div id="popup" class="tab-content wp-review-popup" style="display: none;">
|
189 |
+
<div class="wp-review-field">
|
190 |
+
<div class="wp-review-field-label">
|
191 |
+
<label for="wp_review_popup_enable"><?php esc_html_e( 'Enable', 'wp-review' ); ?></label>
|
192 |
+
<?php wp_review_print_pro_text(); ?>
|
193 |
+
</div>
|
194 |
+
|
195 |
+
<div class="wp-review-field-option">
|
196 |
+
<span class="wp-review-disabled inline-block has-bg">
|
197 |
+
<select name="wp_review_popup[enable]" id="wp_review_popup_enable" disabled>
|
198 |
+
<option value="default"><?php esc_html_e( 'Use global options', 'wp-review' ); ?></option>
|
199 |
+
<option value="custom"><?php esc_html_e( 'Use custom options', 'wp-review' ); ?></option>
|
200 |
+
<option value="none"><?php esc_html_e( 'None', 'wp-review' ); ?></option>
|
201 |
+
</select>
|
202 |
+
</span>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
</div><!-- End #popup -->
|
206 |
+
<?php } ?>
|
207 |
+
|
208 |
+
<?php if ( ! wp_review_network_option( 'hide_notification_bar_' ) && current_user_can( 'wp_review_notification_bar' ) ) { ?>
|
209 |
+
<div id="hello-bar" class="tab-content wp-review-hello-bar" style="display: none;">
|
210 |
+
<div class="wp-review-field">
|
211 |
+
<div class="wp-review-field-label">
|
212 |
+
<label for="wp_review_hello_bar_enable"><?php esc_html_e( 'Enable', 'wp-review' ); ?></label>
|
213 |
+
<?php wp_review_print_pro_text(); ?>
|
214 |
+
</div>
|
215 |
+
|
216 |
+
<div class="wp-review-field-option">
|
217 |
+
<span class="wp-review-disabled inline-block has-bg">
|
218 |
+
<select name="wp_review_hello_bar[enable]" id="wp_review_hello_bar_enable" disabled>
|
219 |
+
<option value="default"><?php esc_html_e( 'Use global options', 'wp-review' ); ?></option>
|
220 |
+
<option value="custom"><?php esc_html_e( 'Use custom options', 'wp-review' ); ?></option>
|
221 |
+
<option value="none"><?php esc_html_e( 'None', 'wp-review' ); ?></option>
|
222 |
+
</select>
|
223 |
+
</span>
|
224 |
+
</div>
|
225 |
+
</div>
|
226 |
+
</div><!-- End #hello-bar -->
|
227 |
+
<?php } ?>
|
228 |
+
</div>
|
229 |
+
<?php
|
230 |
+
}
|
assets/css/admin.css
DELETED
@@ -1,208 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI: https://wordpress.org/plugins/wp-review/
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
.wp-review-field label {
|
9 |
-
width: 15%;
|
10 |
-
display: inline-block;
|
11 |
-
*display: inline;
|
12 |
-
*zoom: 1;
|
13 |
-
}
|
14 |
-
#wp-review-metabox-userReview .wp-review-field label { width: 18%; }
|
15 |
-
.wp-review-field select { width: 15em }
|
16 |
-
.wp-review-field .wp-color-result { margin: 0 }
|
17 |
-
.wp-review-item th { text-align: left }
|
18 |
-
.wp-review-item td:first-child, .wp-review-links td:first-child { text-align: center }
|
19 |
-
.wp-review-item .handle, .wp-review-links .handle { cursor: move }
|
20 |
-
.has-border-bottom {
|
21 |
-
border-bottom: 1px solid #ddd;
|
22 |
-
margin-bottom: 20px;
|
23 |
-
padding-bottom: 20px;
|
24 |
-
}
|
25 |
-
.review-total { text-align: right }
|
26 |
-
.wp-review-color-options .wp-picker-holder {
|
27 |
-
position: absolute;
|
28 |
-
z-index: 9;
|
29 |
-
}
|
30 |
-
#wp-review-item .review-value-incorrect { border-color: #F00 }
|
31 |
-
#wp_review_shortcode_hint_field span {
|
32 |
-
color: #777;
|
33 |
-
font-style: italic;
|
34 |
-
display: block;
|
35 |
-
margin-left: 15%;
|
36 |
-
margin-top: 2px;
|
37 |
-
}
|
38 |
-
/*#wp_review_shortcode_hint { width: 94px }*/
|
39 |
-
#wp_review_id_hint { margin-left: 8px }
|
40 |
-
.wp-review-admin-options .form-table td {
|
41 |
-
padding: 20px 10px;
|
42 |
-
vertical-align: top;
|
43 |
-
}
|
44 |
-
.wp-review-admin-options p.description { font-weight: normal }
|
45 |
-
.wp-review-admin-options .wp-review-field label { width: 20% }
|
46 |
-
.wp-review-admin-options #wp_review_shortcode_hint_field span {
|
47 |
-
display: inline;
|
48 |
-
margin-left: 6px;
|
49 |
-
}
|
50 |
-
.wp-review-theme-defaults-msg { position: relative }
|
51 |
-
.wp-review-theme-defaults-msg a.button {
|
52 |
-
display: inline-block;
|
53 |
-
margin-bottom: 8px;
|
54 |
-
}
|
55 |
-
.wp-review-theme-defaults-msg a.close-notice {
|
56 |
-
position: absolute;
|
57 |
-
top: 0;
|
58 |
-
right: 0;
|
59 |
-
}
|
60 |
-
#wp-review-width-slider {
|
61 |
-
width: 68%;
|
62 |
-
float: right;
|
63 |
-
margin-top: 12px;
|
64 |
-
margin-right: 10px;
|
65 |
-
border-radius: 0;
|
66 |
-
max-width: 600px;
|
67 |
-
border: 0;
|
68 |
-
background: #d8d8d8;
|
69 |
-
height: 8px;
|
70 |
-
}
|
71 |
-
#wp-review-width-slider.ui-slider-horizontal .ui-slider-handle {
|
72 |
-
margin-left: -21px;
|
73 |
-
background: #fff;
|
74 |
-
box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
|
75 |
-
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
|
76 |
-
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
|
77 |
-
height: 24px;
|
78 |
-
min-width: 30px;
|
79 |
-
padding-left: 5px;
|
80 |
-
padding-right: 5px;
|
81 |
-
top: 0;
|
82 |
-
margin-top: -9px;
|
83 |
-
border: 0;
|
84 |
-
}
|
85 |
-
#wp-review-width-slider.ui-slider-horizontal .ui-slider-range-min {
|
86 |
-
border: 0;
|
87 |
-
border-radius: 0;
|
88 |
-
background: #27c470;
|
89 |
-
}
|
90 |
-
#wp_review_width { width: 50px }
|
91 |
-
.wrap.wp-review .nav-tab-wrapper { border-bottom: 1px solid #ccc }
|
92 |
-
.nav-tab-hidden { display: none }
|
93 |
-
.nav-tab-hidden.nav-tab-active { display: block }
|
94 |
-
textarea#wp-review-migrate-log {
|
95 |
-
width: 600px;
|
96 |
-
max-width: 100%;
|
97 |
-
height: 200px;
|
98 |
-
display: none;
|
99 |
-
}
|
100 |
-
.already-migrated-msg { display: none }
|
101 |
-
#start-migrate { margin-bottom: 12px }
|
102 |
-
#wp-review-settings-tab-contents > div { display: none;max-width: 900px;}
|
103 |
-
#wp-review-settings-tab-contents .settings-tab-general { display: block }
|
104 |
-
|
105 |
-
.column-wp_review_rating,
|
106 |
-
.column-wp_review_comment_rating {
|
107 |
-
text-align: center;
|
108 |
-
position: relative;
|
109 |
-
width: 110px;
|
110 |
-
}
|
111 |
-
.column-wp_review_rating .review-star,
|
112 |
-
.column-wp_review_comment_rating .review-star {
|
113 |
-
position: relative;
|
114 |
-
}
|
115 |
-
.column-wp_review_rating .no-rating,
|
116 |
-
.column-wp_review_comment_rating .no-rating {
|
117 |
-
color: #aaa;
|
118 |
-
font-style: italic;
|
119 |
-
}
|
120 |
-
#editwpreview {
|
121 |
-
overflow: hidden;
|
122 |
-
}
|
123 |
-
#editwpreview .inside {
|
124 |
-
float: left;
|
125 |
-
padding: 3px 0 2px 5px;
|
126 |
-
margin: 0;
|
127 |
-
text-align: center;
|
128 |
-
}
|
129 |
-
#editwpreview .inside input {
|
130 |
-
width: 180px
|
131 |
-
}
|
132 |
-
#editwpreview label {
|
133 |
-
padding: 2px 0
|
134 |
-
}
|
135 |
-
h4.wp-review-comment-title {
|
136 |
-
margin-top: 0;
|
137 |
-
margin-bottom: 1em;
|
138 |
-
}
|
139 |
-
|
140 |
-
@font-face {
|
141 |
-
font-family: 'font-icons';
|
142 |
-
src: url('../fonts/font-icons.eot');
|
143 |
-
src: url('../fonts/font-icons.eot') format('embedded-opentype'), url('../fonts/font-icons.woff') format('woff'), url('../fonts/font-icons.ttf') format('truetype'), url('../fonts/font-icons.svg') format('svg');
|
144 |
-
font-weight: normal;
|
145 |
-
font-style: normal;
|
146 |
-
}
|
147 |
-
.mts-icon-star:before { content: '\e800' }
|
148 |
-
[class^="mts-icon-"]:before, [class*=" mts-icon-"]:before {
|
149 |
-
font-family: "font-icons";
|
150 |
-
font-style: normal;
|
151 |
-
font-weight: normal;
|
152 |
-
speak: none;
|
153 |
-
display: inline-block;
|
154 |
-
text-decoration: inherit;
|
155 |
-
width: 1em;
|
156 |
-
margin-right: 0;
|
157 |
-
text-align: center;
|
158 |
-
font-variant: normal;
|
159 |
-
text-transform: none;
|
160 |
-
line-height: 1em;
|
161 |
-
margin-left: 2px;
|
162 |
-
font-size: 13px;
|
163 |
-
}
|
164 |
-
.review-result-wrapper {
|
165 |
-
position: relative;
|
166 |
-
display: inline-block;
|
167 |
-
font-size: 0;
|
168 |
-
}
|
169 |
-
.postbox .review-result-wrapper a, .postbox .review-result i { cursor: pointer }
|
170 |
-
.review-result {
|
171 |
-
position: absolute;
|
172 |
-
top: 0;
|
173 |
-
left: 0;
|
174 |
-
height: 22px;
|
175 |
-
overflow: hidden;
|
176 |
-
white-space: nowrap;
|
177 |
-
}
|
178 |
-
.wp-review-rating-feature { display: inline-block }
|
179 |
-
.wp-review-notice {
|
180 |
-
position: relative;
|
181 |
-
}
|
182 |
-
.wp-review-notice .notice-dismiss {
|
183 |
-
text-decoration: none;
|
184 |
-
}
|
185 |
-
|
186 |
-
.settings-tab-styling .wp-review-plugin-backlink {
|
187 |
-
display: inline;
|
188 |
-
margin-bottom: 0;
|
189 |
-
}
|
190 |
-
#wpfooter .wpreview-rating-link:hover {
|
191 |
-
text-decoration: none;
|
192 |
-
}
|
193 |
-
|
194 |
-
#wpfooter .wpreview-rating-link .dashicons {
|
195 |
-
font-size: 16px;
|
196 |
-
width: 16px;
|
197 |
-
height: 16px;
|
198 |
-
}
|
199 |
-
|
200 |
-
.wp-review-admin-options #col-left {
|
201 |
-
width: 32%;
|
202 |
-
}
|
203 |
-
|
204 |
-
@media screen and (max-width: 782px) {
|
205 |
-
.wp-review-admin-options #col-left {
|
206 |
-
width: 100%;
|
207 |
-
}
|
208 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/wp-review-ie7.css
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI: https://wordpress.org/plugins/wp-review/
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
[class^="icon-"], [class*=" icon-"] {
|
9 |
-
font-family: 'font-icons';
|
10 |
-
font-style: normal;
|
11 |
-
font-weight: normal;
|
12 |
-
line-height: 1em;
|
13 |
-
}
|
14 |
-
.icon-star { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/wp-review-tab-widget.css
DELETED
@@ -1,191 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI: https://wordpress.org/plugins/wp-review/
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
.wp_review_tab_widget_content {
|
9 |
-
position: relative;
|
10 |
-
border: 1px solid #E4E4E4;
|
11 |
-
}
|
12 |
-
.wp_review_tab_widget_content img {
|
13 |
-
max-width: 100%;
|
14 |
-
height: auto;
|
15 |
-
}
|
16 |
-
.wp_review_tab_widget_content a { color: #444 }
|
17 |
-
.wp_review_tab_widget_content ul.wp-review-tabs li {
|
18 |
-
list-style: none;
|
19 |
-
display: block;
|
20 |
-
width: 50%;
|
21 |
-
float: left;
|
22 |
-
text-align: center;
|
23 |
-
margin: 0;
|
24 |
-
padding: 0 !important;
|
25 |
-
}
|
26 |
-
.wp_review_tab_widget_content ul.has-1-tabs li {
|
27 |
-
width: 100%;
|
28 |
-
float: none;
|
29 |
-
margin: 0 auto;
|
30 |
-
}
|
31 |
-
.wp_review_tab_widget_content ul.has-2-tabs li {
|
32 |
-
|
33 |
-
}
|
34 |
-
.wp_review_tab_widget_content ul.has-3-tabs li { width: 33.33% }
|
35 |
-
.wp_review_tab_widget_content ul.has-4-tabs li { width: 50% }
|
36 |
-
.wp_review_tab_widget_content .tab_title a {
|
37 |
-
display: block;
|
38 |
-
background: #f0f0f0;
|
39 |
-
border-left: 1px solid #E4E4E4;
|
40 |
-
border-bottom: 1px solid #E4E4E4;
|
41 |
-
padding: 2px 0 4px;
|
42 |
-
line-height: 2.4;
|
43 |
-
text-decoration: none;
|
44 |
-
position: relative;
|
45 |
-
font-weight: bold;
|
46 |
-
}
|
47 |
-
.wp_review_tab_widget_content .tab_title:first-child a {
|
48 |
-
margin-left: 0;
|
49 |
-
border-left: 0;
|
50 |
-
}
|
51 |
-
.wp_review_tab_widget_content .tab_title.selected a {
|
52 |
-
background: #fff;
|
53 |
-
border-bottom: 1px solid #fff;
|
54 |
-
}
|
55 |
-
.wp_review_tab_widget_content .inside {
|
56 |
-
background: #fff;
|
57 |
-
padding-top: 10px;
|
58 |
-
}
|
59 |
-
.wp_review_tab_widget_content .tab-content li {
|
60 |
-
list-style-type: none;
|
61 |
-
float: left;
|
62 |
-
width: 100%;
|
63 |
-
box-sizing: border-box;
|
64 |
-
margin: 0 0 15px 0;
|
65 |
-
padding: 0px 15px 10px 15px;
|
66 |
-
border-bottom: 1px solid #E4E4E4;
|
67 |
-
text-align: left;
|
68 |
-
color: #444;
|
69 |
-
background: none;
|
70 |
-
position: relative;
|
71 |
-
}
|
72 |
-
.wp_review_tab_widget_content .tab-content li:last-child {
|
73 |
-
border: none;
|
74 |
-
margin-bottom: 0;
|
75 |
-
}
|
76 |
-
.wp_review_tab_widget_content .tab-content li:first-child { padding-top: 5px }
|
77 |
-
.wp_review_tab_thumb_small {
|
78 |
-
float: left;
|
79 |
-
margin-right: 12px;
|
80 |
-
padding-top: 4px;
|
81 |
-
width: 65px;
|
82 |
-
height: 65px;
|
83 |
-
overflow: hidden;
|
84 |
-
}
|
85 |
-
.wp_review_tab_thumb_large {
|
86 |
-
float: none;
|
87 |
-
max-width: 100%;
|
88 |
-
display: inline-block;
|
89 |
-
margin-bottom: 4px;
|
90 |
-
position: relative;
|
91 |
-
}
|
92 |
-
.wp_review_tab_widget_content .entry-title {
|
93 |
-
font-weight: bold;
|
94 |
-
margin: 0;
|
95 |
-
padding: 0;
|
96 |
-
}
|
97 |
-
.wp_review_tab_widget_content .wp-review-tab-postmeta {
|
98 |
-
color: #999;
|
99 |
-
font-size: 13px;
|
100 |
-
float: right;
|
101 |
-
margin-top: 5px;
|
102 |
-
}
|
103 |
-
.wp_review_tab_widget_content .wp-post-image { margin: 0 !important }
|
104 |
-
/* Pagination */
|
105 |
-
.wp_review_tab_widget_content .wp-review-tab-pagination {
|
106 |
-
margin: 0;
|
107 |
-
width: 100%;
|
108 |
-
padding-top: 0;
|
109 |
-
padding-bottom: 15px;
|
110 |
-
float: left;
|
111 |
-
}
|
112 |
-
.wp_review_tab_widget_content .wp-review-tab-pagination a { margin: 0 15px }
|
113 |
-
.wp-review-tab-pagination a.next { float: right }
|
114 |
-
/* Loading... */
|
115 |
-
.wp-review-tab-loading { min-height: 120px }
|
116 |
-
.wp-review-tab-loading:before {
|
117 |
-
content: "";
|
118 |
-
display: block;
|
119 |
-
position: absolute;
|
120 |
-
top: 0;
|
121 |
-
right: 0;
|
122 |
-
bottom: 0;
|
123 |
-
left: 0;
|
124 |
-
background-color: rgba(255,255,255,0.8);
|
125 |
-
z-index: 11;
|
126 |
-
}
|
127 |
-
.clear { clear: both }
|
128 |
-
.wp-review-tab-loading:after {
|
129 |
-
content: "";
|
130 |
-
margin: 0 auto 3em auto;
|
131 |
-
font-size: 10px;
|
132 |
-
position: absolute;
|
133 |
-
top: 45%;
|
134 |
-
left: 49%;
|
135 |
-
z-index: 12;
|
136 |
-
text-indent: -9999em;
|
137 |
-
border-top: 0.4em solid rgba(0, 0, 0, 0.2);
|
138 |
-
border-right: 0.4em solid rgba(0, 0, 0, 0.2);
|
139 |
-
border-bottom: 0.4em solid rgba(0, 0, 0, 0.2);
|
140 |
-
border-left: 0.4em solid #000;
|
141 |
-
-webkit-animation: load8 0.5s infinite linear;
|
142 |
-
animation: load8 0.5s infinite linear;
|
143 |
-
border-radius: 50%;
|
144 |
-
width: 2em;
|
145 |
-
height: 2em;
|
146 |
-
}
|
147 |
-
@-webkit-keyframes load8 {
|
148 |
-
0% {
|
149 |
-
-webkit-transform: rotate(0deg);
|
150 |
-
transform: rotate(0deg);
|
151 |
-
}
|
152 |
-
100% {
|
153 |
-
-webkit-transform: rotate(360deg);
|
154 |
-
transform: rotate(360deg);
|
155 |
-
}
|
156 |
-
}
|
157 |
-
@keyframes load8 {
|
158 |
-
0% {
|
159 |
-
-webkit-transform: rotate(0deg);
|
160 |
-
transform: rotate(0deg);
|
161 |
-
}
|
162 |
-
100% {
|
163 |
-
-webkit-transform: rotate(360deg);
|
164 |
-
transform: rotate(360deg);
|
165 |
-
}
|
166 |
-
}
|
167 |
-
/* Rating... */
|
168 |
-
.review-total-only.small-thumb {
|
169 |
-
font-size: 15px;
|
170 |
-
font-weight: bold;
|
171 |
-
padding: 0 4px;
|
172 |
-
margin-top: 4px;
|
173 |
-
float: left;
|
174 |
-
}
|
175 |
-
.review-total-only.small-thumb.review-type-star {
|
176 |
-
background: none;
|
177 |
-
padding: 0;
|
178 |
-
}
|
179 |
-
.review-total-only.large-thumb {
|
180 |
-
position: absolute;
|
181 |
-
top: 0;
|
182 |
-
right: 15px;
|
183 |
-
}
|
184 |
-
li:first-child .review-total-only.large-thumb {
|
185 |
-
top: 5px;
|
186 |
-
right: 15px;
|
187 |
-
display: block;
|
188 |
-
}
|
189 |
-
.wp_review_tab_widget_content .has-4-tabs .tab_title.selected a { border-bottom: 1px solid #E4E4E4 }
|
190 |
-
.wp_review_tab_widget_content .has-4-tabs .tab_title:nth-child(3) a { border-left: 0 }
|
191 |
-
.title-right { overflow: hidden }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/wp-review.css
DELETED
@@ -1,605 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI: https://wordpress.org/plugins/wp-review/
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
.review-wrapper {
|
9 |
-
border: 1px solid #e7e7e7;
|
10 |
-
margin-bottom: 1.5em;
|
11 |
-
clear: both;
|
12 |
-
box-sizing: border-box;
|
13 |
-
}
|
14 |
-
.review-title {
|
15 |
-
background-color: #f6f6f6;
|
16 |
-
border-bottom: 1px solid #e7e7e7;
|
17 |
-
margin: 0;
|
18 |
-
padding: 10px 15px;
|
19 |
-
}
|
20 |
-
.review-wrapper .review-list {
|
21 |
-
margin: 0;
|
22 |
-
list-style: none;
|
23 |
-
padding: 0;
|
24 |
-
}
|
25 |
-
.review-links {
|
26 |
-
list-style: none;
|
27 |
-
padding: 10px 15px 15px;
|
28 |
-
margin: 0;
|
29 |
-
overflow: hidden;
|
30 |
-
}
|
31 |
-
.review-links li { display: inline-block; }
|
32 |
-
.review-links:not(:last-child) a { margin-right: 10px }
|
33 |
-
.review-links li a {
|
34 |
-
display: block;
|
35 |
-
padding: 4px 10px;
|
36 |
-
margin: 0 10px 0 0;
|
37 |
-
border: 1px solid currentColor;
|
38 |
-
border-radius: 5px;
|
39 |
-
}
|
40 |
-
|
41 |
-
|
42 |
-
.entry-content .review-wrapper li:last-child a {
|
43 |
-
margin-right: 0;
|
44 |
-
}
|
45 |
-
.review-list li {
|
46 |
-
border-bottom: 1px solid #e7e7e7;
|
47 |
-
padding: 10px 15px;
|
48 |
-
position: relative;
|
49 |
-
list-style: none;
|
50 |
-
}
|
51 |
-
.review-list li:nth-child(even) { background-color: #fafafa }
|
52 |
-
.review-list li:last-child { border-bottom: 1px solid #e7e7e7 }
|
53 |
-
.review-summary-title { margin-bottom: 5px }
|
54 |
-
.review-desc {
|
55 |
-
float: left;
|
56 |
-
width: 75%;
|
57 |
-
padding: 10px 15px;
|
58 |
-
box-sizing: border-box;
|
59 |
-
}
|
60 |
-
.rtl .review-desc { float: right }
|
61 |
-
.review-desc p:last-child { margin-bottom: 0 }
|
62 |
-
.review-result-wrapper i {
|
63 |
-
font-style: normal;
|
64 |
-
font-size: 16px;
|
65 |
-
}
|
66 |
-
.review-result {
|
67 |
-
position: absolute;
|
68 |
-
top: 0;
|
69 |
-
left: 0;
|
70 |
-
height: 22px;
|
71 |
-
overflow: hidden;
|
72 |
-
white-space: nowrap;
|
73 |
-
}
|
74 |
-
.rtl .review-result {
|
75 |
-
left: auto;
|
76 |
-
right: 0;
|
77 |
-
}
|
78 |
-
.review-total-wrapper {
|
79 |
-
float: right;
|
80 |
-
margin: 0;
|
81 |
-
margin-right: 0;
|
82 |
-
padding-right: 0;
|
83 |
-
position: relative;
|
84 |
-
box-sizing: border-box;
|
85 |
-
margin: 10px 15px;
|
86 |
-
}
|
87 |
-
.review-total-wrapper span.review-total-box {
|
88 |
-
border-top: 0;
|
89 |
-
border-bottom: 0;
|
90 |
-
border-left: 0;
|
91 |
-
border-right: 0;
|
92 |
-
display: block;
|
93 |
-
font-size: 40px;
|
94 |
-
font-weight: 700;
|
95 |
-
text-align: right;
|
96 |
-
margin: 0;
|
97 |
-
padding: 35px 0 20px;
|
98 |
-
width: 100%;
|
99 |
-
box-sizing: border-box;
|
100 |
-
}
|
101 |
-
.circle-point span.review-total-box { height: 180px }
|
102 |
-
.review-total-wrapper span.review-total-box small {
|
103 |
-
font-size: 12px;
|
104 |
-
display: block;
|
105 |
-
}
|
106 |
-
.percentage-icon {
|
107 |
-
font-size: 22px;
|
108 |
-
position: relative;
|
109 |
-
top: -14px;
|
110 |
-
}
|
111 |
-
.review-total-star {
|
112 |
-
position: relative;
|
113 |
-
margin-top: 5px;
|
114 |
-
margin: 0 auto;
|
115 |
-
float: right;
|
116 |
-
}
|
117 |
-
.review-star.review-total { position: relative }
|
118 |
-
.wp-review-loading-msg { display: none }
|
119 |
-
.wp-review-loading .wp-review-loading-msg { display: block }
|
120 |
-
.review-total {
|
121 |
-
position: absolute;
|
122 |
-
top: 0px;
|
123 |
-
left: 0px;
|
124 |
-
height: 16px;
|
125 |
-
z-index: 99;
|
126 |
-
}
|
127 |
-
.rtl .review-total {
|
128 |
-
left: auto;
|
129 |
-
right: 0;
|
130 |
-
}
|
131 |
-
.review-star {
|
132 |
-
position: relative;
|
133 |
-
margin-top: 5px;
|
134 |
-
margin: 3px auto;
|
135 |
-
display: inline-block;
|
136 |
-
}
|
137 |
-
.postbox .review-star {
|
138 |
-
position: relative;
|
139 |
-
right: auto;
|
140 |
-
top: auto;
|
141 |
-
}
|
142 |
-
.review-list .review-star, .user-review-area .review-star, .review-total-circle .review-star, .wp-review-point-type .review-total-circle .review-star, .wp-review-percentage-type .review-total-circle .review-star {
|
143 |
-
position: absolute;
|
144 |
-
right: 15px;
|
145 |
-
top: 10px;
|
146 |
-
}
|
147 |
-
.rtl .review-list .review-star, .rtl .user-review-area .review-star, .rtl .review-total-circle .review-star, .rtl .wp-review-point-type .review-total-circle .review-star, .rtl .wp-review-percentage-type .review-total-circle .review-star {
|
148 |
-
right: auto;
|
149 |
-
left: 15px;
|
150 |
-
}
|
151 |
-
.review-total-star .review-result { background: none !important }
|
152 |
-
.review-total-circle .review-result-wrapper { background: none !important }
|
153 |
-
/**
|
154 |
-
* Bar & Percentage Point
|
155 |
-
*/
|
156 |
-
.circle-point .review-list li { padding: 14px 15px }
|
157 |
-
.review-point .review-result-wrapper, .review-percentage .review-result-wrapper {
|
158 |
-
background: rgba(0,0,0,0.1);
|
159 |
-
width: 100%;
|
160 |
-
height: 22px;
|
161 |
-
}
|
162 |
-
.review-point .review-result-wrapper { background-color: rgba(0,0,0,0.1) }
|
163 |
-
.wp-review-point-type .review-result, .wp-review-percentage-type .review-result, .review-total-point .review-result {
|
164 |
-
position: absolute;
|
165 |
-
top: 0px;
|
166 |
-
left: 0px;
|
167 |
-
height: 22px;
|
168 |
-
z-index: 99;
|
169 |
-
}
|
170 |
-
.rtl .wp-review-point-type .review-result, .rtl .wp-review-percentage-type .review-result, .rtl .review-total-point .review-result {
|
171 |
-
left: auto;
|
172 |
-
right: 0px;
|
173 |
-
}
|
174 |
-
.review-total-star.allowed-to-rate .review-result-wrapper { background: none }
|
175 |
-
.wp-review-point-type .review-total-point .review-result-wrapper { background: none }
|
176 |
-
.review-total-percentage.allowed-to-rate.has-not-rated-yet, .review-total-point.allowed-to-rate.has-not-rated-yet {
|
177 |
-
float: none;
|
178 |
-
cursor: pointer;
|
179 |
-
}
|
180 |
-
.review-percentage .review-result-wrapper, .review-point .review-result-wrapper {
|
181 |
-
position: relative;
|
182 |
-
width: 100%;
|
183 |
-
}
|
184 |
-
.review-percentage .review-result, .review-point .review-result { background: currentColor }
|
185 |
-
.wp-review-comment-rating.wp-review-comment-rating-point .review-result-wrapper, .wp-review-user-rating.wp-review-user-rating-point .review-result-wrapper, .wp-review-comment-rating.wp-review-comment-rating-percentage .review-result-wrapper, .wp-review-user-rating.wp-review-user-rating-percentage .review-result-wrapper { cursor: pointer }
|
186 |
-
.wp-review-user-rating.wp-review-user-rating-point.has-rated .review-result-wrapper, .wp-review-user-rating.wp-review-user-rating-percentage.has-rated .review-result-wrapper { cursor: default }
|
187 |
-
.wp-review-comment-rating.wp-review-comment-rating-point .review-result-wrapper:hover .review-result, .wp-review-user-rating.wp-review-user-rating-point .review-result-wrapper:hover .review-result, .wp-review-comment-rating.wp-review-comment-rating-percentage .review-result-wrapper:hover .review-result, .wp-review-user-rating.wp-review-user-rating-percentage .review-result-wrapper:hover .review-result {
|
188 |
-
display: block;
|
189 |
-
transition: none;
|
190 |
-
}
|
191 |
-
.review-point, .review-percentage {
|
192 |
-
position: relative;
|
193 |
-
clear: both;
|
194 |
-
}
|
195 |
-
.wp-review-your-rating {
|
196 |
-
position: absolute;
|
197 |
-
top: 102%;
|
198 |
-
left: 45%;
|
199 |
-
font-size: 12px;
|
200 |
-
line-height: 18px;
|
201 |
-
background: #f0f0f0;
|
202 |
-
color: #444;
|
203 |
-
pointer-events: none;
|
204 |
-
z-index: 999;
|
205 |
-
display: none;
|
206 |
-
white-space: nowrap;
|
207 |
-
padding: 2px 4px;
|
208 |
-
border-radius: 0 5px 5px 5px;
|
209 |
-
}
|
210 |
-
.rtl .wp-review-your-rating {
|
211 |
-
left: auto;
|
212 |
-
right: 45%;
|
213 |
-
}
|
214 |
-
.review-point:hover .wp-review-your-rating, .wp-review-input-set .review-point .wp-review-your-rating, .review-percentage:hover .wp-review-your-rating, .wp-review-input-set .review-percentage .wp-review-your-rating { display: block }
|
215 |
-
.review-result-text {
|
216 |
-
position: absolute;
|
217 |
-
left: 4px;
|
218 |
-
top: 0px;
|
219 |
-
font-size: 16px;
|
220 |
-
line-height: 22px;
|
221 |
-
display: none;
|
222 |
-
}
|
223 |
-
.rtl .review-result-text {
|
224 |
-
left: auto;
|
225 |
-
right: 4px;
|
226 |
-
}
|
227 |
-
.wp-review-usercomment-rating .review-result-text, .wp-admin .review-result-text { display: block }
|
228 |
-
/**
|
229 |
-
* Circle
|
230 |
-
*/
|
231 |
-
.review-total-circle.allowed-to-rate.has-not-rated-yet .review-result-wrapper { cursor: pointer }
|
232 |
-
.user-review-area .wp-review-user-rating-circle { float: right }
|
233 |
-
.wp-review-user-rating-circle .review-result-wrapper { text-align: right }
|
234 |
-
.wp-review-circle-rating-send-button { display: none }
|
235 |
-
.wp-review-circle-rating-send { text-decoration: underline }
|
236 |
-
.wp-review-circle-rating-send:hover { color: #444 }
|
237 |
-
.wp-review-input-set .wp-review-circle-rating-send-button {
|
238 |
-
display: block;
|
239 |
-
text-align: center;
|
240 |
-
}
|
241 |
-
.user-review-area .review-circle { float: right }
|
242 |
-
.wp-review-comment-rating-circle .wp-review-circle-rating-send-button { display: none !important }
|
243 |
-
.review-list .review-circle {
|
244 |
-
float: right;
|
245 |
-
margin-top: -4px;
|
246 |
-
}
|
247 |
-
.wp-review-circle-type .review-total-wrapper > .review-total-box { display: none }
|
248 |
-
.review-circle.review-total {
|
249 |
-
height: 100px;
|
250 |
-
width: 100px;
|
251 |
-
position: static;
|
252 |
-
}
|
253 |
-
/**
|
254 |
-
* Twenty series themes compatibilty
|
255 |
-
*/
|
256 |
-
.entry-content .review-title, #content .review-title { margin: 0 }
|
257 |
-
.entry-content .review-wrapper li { margin: 0 }
|
258 |
-
.entry-content .review-summary-title, #content .review-summary-title { margin-bottom: 5px }
|
259 |
-
#content .review-list { margin: 0 }
|
260 |
-
#content .review-desc p:last-child { margin-bottom: 0 }
|
261 |
-
/**
|
262 |
-
* Basic styling for wp_review_display_total
|
263 |
-
*/
|
264 |
-
.review-total-only {
|
265 |
-
padding: 3px 8px;
|
266 |
-
background: #fff;
|
267 |
-
display: inline-block;
|
268 |
-
}
|
269 |
-
.review-total-only .percentage-icon {
|
270 |
-
font-size: inherit;
|
271 |
-
top: 0;
|
272 |
-
}
|
273 |
-
.review-total-only .review-type-star {
|
274 |
-
font-size: 12px;
|
275 |
-
padding: 3px 6px;
|
276 |
-
}
|
277 |
-
.review-total-only .review-total-star {
|
278 |
-
font-size: 12px;
|
279 |
-
margin: 0;
|
280 |
-
}
|
281 |
-
.review-total-only canvas {
|
282 |
-
width: 21px!important;
|
283 |
-
height: auto!important;
|
284 |
-
}
|
285 |
-
.review-result-wrapper i {
|
286 |
-
opacity: 0.50;
|
287 |
-
filter: alpha(opacity=50);
|
288 |
-
}
|
289 |
-
.review-result-wrapper .review-result i {
|
290 |
-
opacity: 1;
|
291 |
-
filter: alpha(opacity=100);
|
292 |
-
}
|
293 |
-
.wp-review-box-float-left { margin-right: 20px }
|
294 |
-
.wp-review-box-float-right { margin-left: 20px }
|
295 |
-
/**
|
296 |
-
* Users review area
|
297 |
-
*/
|
298 |
-
.user-review-area {
|
299 |
-
border-top: 1px solid #e7e7e7;
|
300 |
-
padding: 10px 15px;
|
301 |
-
position: relative;
|
302 |
-
clear: both;
|
303 |
-
overflow: hidden;
|
304 |
-
}
|
305 |
-
.user-total-wrapper {
|
306 |
-
float: left;
|
307 |
-
margin: 0;
|
308 |
-
}
|
309 |
-
.rtl .user-total-wrapper { float: right }
|
310 |
-
.review-total-star.allowed-to-rate {
|
311 |
-
float: right;
|
312 |
-
margin: 0;
|
313 |
-
}
|
314 |
-
.rtl .review-total-star.allowed-to-rate { float: left }
|
315 |
-
.user-total-wrapper .user-review-title {
|
316 |
-
font-weight: bold;
|
317 |
-
margin: 0;
|
318 |
-
}
|
319 |
-
.wp-review-user-rating .review-result-wrapper span { cursor: pointer }
|
320 |
-
.wp-review-user-rating .review-result-wrapper span i { opacity: 0.2 }
|
321 |
-
.wp-review-user-rating .review-result-wrapper:hover span i { opacity: 1 }
|
322 |
-
.wp-review-user-rating .review-result-wrapper span:hover ~ span i { opacity: 0.2 }
|
323 |
-
.wp-review-user-rating .review-result-wrapper:hover .review-result { display: none }
|
324 |
-
.wp-review-user-rating.has-rated .review-result-wrapper:hover .review-result { display: block }
|
325 |
-
.wp-review-user-rating.wp-review-loading .review-result-wrapper, .wp-review-user-rating.wp-review-loading .wp-review-your-rating { display: none }
|
326 |
-
/**
|
327 |
-
* Review in comments
|
328 |
-
*/
|
329 |
-
.wp-review-comment-field { margin-bottom: 10px }
|
330 |
-
.review-comment-field-msg { margin-right: 12px }
|
331 |
-
.review-total-star-comments {
|
332 |
-
position: relative;
|
333 |
-
display: inline-block;
|
334 |
-
}
|
335 |
-
.comment-text-inner { clear: both }
|
336 |
-
.wp-review-comment-rating .review-result-wrapper span { cursor: pointer }
|
337 |
-
.wp-review-comment-rating .review-result-wrapper span i { opacity: 0.2 }
|
338 |
-
.wp-review-comment-rating .review-result-wrapper:hover span i {
|
339 |
-
opacity: 1;
|
340 |
-
color: #FFB300;
|
341 |
-
}
|
342 |
-
.wp-review-comment-rating .review-result-wrapper span:hover ~ span i {
|
343 |
-
opacity: 0.2;
|
344 |
-
color: currentColor;
|
345 |
-
}
|
346 |
-
.wp-review-comment-rating .review-result-wrapper:hover .review-result { display: none }
|
347 |
-
.wp-review-feedback .review-btn {
|
348 |
-
text-decoration: none;
|
349 |
-
border: 1px solid rgba(0, 0, 0, 0.1);
|
350 |
-
background: #eee;
|
351 |
-
padding: 3px 9px;
|
352 |
-
color: #333;
|
353 |
-
border-radius: 4px;
|
354 |
-
}
|
355 |
-
.wp-review-feedback .review-btn.voted {
|
356 |
-
background: #4CAF50;
|
357 |
-
color: #fff;
|
358 |
-
}
|
359 |
-
.wp-review-feedback .review-btn.voted, .wp-review-feedback .review-btn.voted ~ a { cursor: default }
|
360 |
-
.wp-review-feedback .review-btn:hover {
|
361 |
-
text-decoration: none;
|
362 |
-
background: #4CAF50;
|
363 |
-
color: #fff;
|
364 |
-
}
|
365 |
-
.wp-review-feedback .review-btn:nth-child(2) { margin-left: 5px }
|
366 |
-
.rtl .wp-review-feedback .review-btn:nth-child(2) { margin-left: auto; margin-right: 5px; }
|
367 |
-
.wp-review-feedback .review-btn:nth-child(2):hover, .wp-review-feedback .review-btn.voted:nth-child(2) {
|
368 |
-
background-color: #F44336;
|
369 |
-
color: #fff;
|
370 |
-
}
|
371 |
-
.wp-review-comment-title-field {
|
372 |
-
|
373 |
-
}
|
374 |
-
.wp-review-comment-title-field-input { /* margin-left: 20px; _NO__DOTCOMMA__AFTER__*/ }
|
375 |
-
.wp-review-comment-rating-circle-wrapper .review-comment-field-msg {
|
376 |
-
vertical-align: middle;
|
377 |
-
margin-right: 0;
|
378 |
-
}
|
379 |
-
.wp-review-comment-rating-circle-wrapper .wp-review-comment-field-inner {
|
380 |
-
display: inline-block;
|
381 |
-
vertical-align: middle;
|
382 |
-
}
|
383 |
-
.wp-review-comment-rating .review-result-wrapper a {
|
384 |
-
text-decoration: none;
|
385 |
-
border: none;
|
386 |
-
}
|
387 |
-
.wp-review-comment-rating-star .review-total-star { float: none }
|
388 |
-
.wp-review-comment-rating-circle-wrapper .wp-review-comment-field-inner { display: inline-block }
|
389 |
-
.wp-review-comment-rating-star-wrapper .wp-review-comment-field-inner { display: inline-block }
|
390 |
-
.wp-review-usercomment-rating .review-star {
|
391 |
-
position: relative;
|
392 |
-
top: 0;
|
393 |
-
right: 0;
|
394 |
-
display: inline-block;
|
395 |
-
}
|
396 |
-
.wp-review-usercomment-rating { margin-bottom: 10px }
|
397 |
-
.wp-review-comment-rating-star { display: inline-block }
|
398 |
-
form.wp-review-comment-form input, #commentform.wp-review-comment-form input {
|
399 |
-
width: 100%;
|
400 |
-
background: rgba(0, 0, 0, 0.035);
|
401 |
-
border: 1px solid rgba(0, 0, 0, 0.05);
|
402 |
-
color: rgba(0, 0, 0, 0.31);
|
403 |
-
max-width: 100%;
|
404 |
-
height: 48px;
|
405 |
-
font-size: 16px;
|
406 |
-
padding-left: 2.5%;
|
407 |
-
box-sizing: border-box;
|
408 |
-
}
|
409 |
-
.rtl form.wp-review-comment-form input, .rtl #commentform.wp-review-comment-form input {
|
410 |
-
padding-left: auto;
|
411 |
-
padding-right: 2.5%;
|
412 |
-
}
|
413 |
-
form.wp-review-comment-form textarea, #commentform.wp-review-comment-form textarea {
|
414 |
-
width: 100%;
|
415 |
-
background: rgba(0, 0, 0, 0.035);
|
416 |
-
border: 1px solid rgba(0, 0, 0, 0.05);
|
417 |
-
color: rgba(0, 0, 0, 0.31);
|
418 |
-
max-width: 100%;
|
419 |
-
font-size: 16px;
|
420 |
-
padding-left: 2.5%;
|
421 |
-
box-sizing: border-box;
|
422 |
-
}
|
423 |
-
.rtl form.wp-review-comment-form textarea, .rtl #commentform.wp-review-comment-form textarea {
|
424 |
-
padding-left: auto;
|
425 |
-
padding-right: 2.5%;
|
426 |
-
}
|
427 |
-
form.wp-review-comment-form > div, #commentform.wp-review-comment-form > div {
|
428 |
-
width: 100%;
|
429 |
-
margin-bottom: 10px;
|
430 |
-
float: left;
|
431 |
-
}
|
432 |
-
.rtl form.wp-review-comment-form > div, .rtl #commentform.wp-review-comment-form > div { float: right }
|
433 |
-
/**
|
434 |
-
* Show on thumbnails
|
435 |
-
*/
|
436 |
-
.wp-review-thumbnail-wrapper { position: relative }
|
437 |
-
.wp-review-on-thumbnail {
|
438 |
-
position: absolute;
|
439 |
-
top: 0;
|
440 |
-
right: 0;
|
441 |
-
background: #fff;
|
442 |
-
padding: 2px 4px;
|
443 |
-
}
|
444 |
-
.wp-review-on-thumbnail.review-type-star .review-total-star { margin: 0 }
|
445 |
-
.review-type-circle.latestPost-review-wrapper, .review-type-circle.wp-review-on-thumbnail {
|
446 |
-
height: 35px;
|
447 |
-
background: #fff;
|
448 |
-
}
|
449 |
-
.latestPost-review-wrapper .wp-review-circle-rating, .wp-review-on-thumbnail .wp-review-circle-rating { font-size: 11px !important }
|
450 |
-
.review-type-circle.review-total-only, .review-type-circle.wp-review-show-total {
|
451 |
-
padding-top: 6px;
|
452 |
-
height: 34px;
|
453 |
-
}
|
454 |
-
.review-type-star.latestPost-review-wrapper {
|
455 |
-
padding: 2px 8px;
|
456 |
-
}
|
457 |
-
.widget .wp-review-show-total .review-star, .widget .wp-review-user-rating .review-star {
|
458 |
-
position: relative;
|
459 |
-
top: 0;
|
460 |
-
right: 0;
|
461 |
-
}
|
462 |
-
/**
|
463 |
-
* Animation
|
464 |
-
*/
|
465 |
-
.review-wrapper .review-result { transition: width 2s ease }
|
466 |
-
.review-wrapper.delay-animation .review-result {
|
467 |
-
width: 0% !important;
|
468 |
-
transition: none;
|
469 |
-
}
|
470 |
-
/**
|
471 |
-
* Font icon
|
472 |
-
*/
|
473 |
-
@font-face {
|
474 |
-
font-family: 'font-icons';
|
475 |
-
src: url('../fonts/font-icons.eot');
|
476 |
-
src: url('../fonts/font-icons.eot') format('embedded-opentype'),
|
477 |
-
url('../fonts/font-icons.woff') format('woff'),
|
478 |
-
url('../fonts/font-icons.ttf') format('truetype'),
|
479 |
-
url('../fonts/font-icons.svg') format('svg');
|
480 |
-
font-weight: normal;
|
481 |
-
font-style: normal;
|
482 |
-
}
|
483 |
-
|
484 |
-
[class^="mts-icon-"]:before, [class*=" mts-icon-"]:before {
|
485 |
-
font-family: "font-icons";
|
486 |
-
font-style: normal;
|
487 |
-
font-weight: normal;
|
488 |
-
speak: none;
|
489 |
-
display: inline-block;
|
490 |
-
text-decoration: inherit;
|
491 |
-
width: 1em;
|
492 |
-
margin-right: 0;
|
493 |
-
text-align: center;
|
494 |
-
font-variant: normal;
|
495 |
-
text-transform: none;
|
496 |
-
line-height: 1em;
|
497 |
-
}
|
498 |
-
|
499 |
-
[class*="mts-icon-loader"]:before {
|
500 |
-
font-family: "font-icons";
|
501 |
-
font-style: normal;
|
502 |
-
font-weight: normal;
|
503 |
-
speak: none;
|
504 |
-
display: inline-block;
|
505 |
-
text-decoration: inherit;
|
506 |
-
width: 1em;
|
507 |
-
margin-right: .2em;
|
508 |
-
text-align: center;
|
509 |
-
font-variant: normal;
|
510 |
-
text-transform: none;
|
511 |
-
line-height: 1em;
|
512 |
-
margin-left: .2em;
|
513 |
-
}
|
514 |
-
.mts-icon-star:before { content: '\e800'; }
|
515 |
-
.mts-icon-loader:before { content: '\e801'; }
|
516 |
-
|
517 |
-
.wp-review-plugin-backlink {
|
518 |
-
display: block;
|
519 |
-
font-size: 11px;
|
520 |
-
margin-bottom: 1.5em;
|
521 |
-
}
|
522 |
-
|
523 |
-
#review.wp-review-box-with-backlink {
|
524 |
-
margin-bottom: 0;
|
525 |
-
}
|
526 |
-
|
527 |
-
/*
|
528 |
-
Spin Animation For Loader
|
529 |
-
*/
|
530 |
-
.animate-spin {
|
531 |
-
-webkit-animation: spin 1s infinite linear;
|
532 |
-
animation: spin 1s infinite linear;
|
533 |
-
display: inline-block;
|
534 |
-
}
|
535 |
-
@-webkit-keyframes spin {
|
536 |
-
0% {
|
537 |
-
-webkit-transform: rotate(0deg);
|
538 |
-
transform: rotate(0deg);
|
539 |
-
}
|
540 |
-
100% {
|
541 |
-
-webkit-transform: rotate(359deg);
|
542 |
-
transform: rotate(359deg);
|
543 |
-
}
|
544 |
-
}
|
545 |
-
@keyframes spin {
|
546 |
-
0% {
|
547 |
-
-webkit-transform: rotate(0deg);
|
548 |
-
transform: rotate(0deg);
|
549 |
-
}
|
550 |
-
100% {
|
551 |
-
-webkit-transform: rotate(359deg);
|
552 |
-
transform: rotate(359deg);
|
553 |
-
}
|
554 |
-
}
|
555 |
-
/*-----------------------------------------------------*/
|
556 |
-
/* Responsvie
|
557 |
-
/*-----------------------------------------------------*/
|
558 |
-
@media screen and (max-width:1040px) {
|
559 |
-
.review-desc { width: 71% }
|
560 |
-
}
|
561 |
-
@media screen and (max-width:860px) {
|
562 |
-
.review-desc { width: 66% }
|
563 |
-
}
|
564 |
-
@media screen and (max-width:470px) {
|
565 |
-
.review-desc {
|
566 |
-
padding: 4%;
|
567 |
-
width: 100%;
|
568 |
-
}
|
569 |
-
.review-total-wrapper {
|
570 |
-
width: 100%;
|
571 |
-
margin-right: 0;
|
572 |
-
}
|
573 |
-
.review-total-wrapper span.review-total-box {
|
574 |
-
padding: 10px 0 20px;
|
575 |
-
text-align: left;
|
576 |
-
padding-left: 10px;
|
577 |
-
}
|
578 |
-
.rtl .review-total-wrapper span.review-total-box {
|
579 |
-
padding: 10px 0 20px;
|
580 |
-
text-align: right;
|
581 |
-
padding-left: 0;
|
582 |
-
padding-right: 10px;
|
583 |
-
}
|
584 |
-
.review-total-star {
|
585 |
-
position: absolute;
|
586 |
-
right: 20px;
|
587 |
-
top: 5px;
|
588 |
-
}
|
589 |
-
.rtl .review-total-star {
|
590 |
-
right: auto;
|
591 |
-
left: 20px;
|
592 |
-
}
|
593 |
-
.user-total-wrapper { width: 96% }
|
594 |
-
.review-total-star.allowed-to-rate {
|
595 |
-
position: relative;
|
596 |
-
right: auto;
|
597 |
-
left: 0;
|
598 |
-
float: left;
|
599 |
-
}
|
600 |
-
.rtl .review-total-star.allowed-to-rat e{
|
601 |
-
right: 0;
|
602 |
-
left: auto;
|
603 |
-
float: right;
|
604 |
-
}
|
605 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/images/largethumb.png
DELETED
Binary file
|
assets/images/smallthumb.png
DELETED
Binary file
|
assets/images/wp-review-pro.jpg
DELETED
Binary file
|
assets/js/admin.js
DELETED
@@ -1,325 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI: https://wordpress.org/plugins/wp-review/
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
jQuery(document).ready(function($) {
|
9 |
-
/**
|
10 |
-
* Review total
|
11 |
-
*/
|
12 |
-
var current_rating_max = 100;
|
13 |
-
var current_rating_decimals = 0;
|
14 |
-
$.extend({
|
15 |
-
|
16 |
-
review_total: function(){
|
17 |
-
var sum = 0,
|
18 |
-
value = 0,
|
19 |
-
input = $('.review-star').length;
|
20 |
-
|
21 |
-
$('.review-star').each(function () {
|
22 |
-
value = Number($(this).val());
|
23 |
-
if (!isNaN(value)) sum += value / input;
|
24 |
-
});
|
25 |
-
|
26 |
-
$('.wp-review-total').val( sum.toFixed( current_rating_decimals ) );
|
27 |
-
|
28 |
-
$.validate_review_value( current_rating_max );
|
29 |
-
},
|
30 |
-
|
31 |
-
validate_review_value: function( max ){
|
32 |
-
|
33 |
-
var type = $('#wp_review_type'),
|
34 |
-
fields = $('input.review-star'),
|
35 |
-
minval = 0,
|
36 |
-
maxval = 999;
|
37 |
-
|
38 |
-
maxval = max;
|
39 |
-
|
40 |
-
fields.each(function () {
|
41 |
-
var value = Number($(this).val());
|
42 |
-
if ( (value) && (value<minval || value>maxval) )
|
43 |
-
$(this).addClass('review-value-incorrect');
|
44 |
-
else
|
45 |
-
$(this).removeClass('review-value-incorrect');
|
46 |
-
});
|
47 |
-
|
48 |
-
},
|
49 |
-
|
50 |
-
});
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Repeatable field
|
54 |
-
*/
|
55 |
-
$('.add-row').on('click', function(e) {
|
56 |
-
e.preventDefault();
|
57 |
-
var $target = $($(this).data('target'));
|
58 |
-
var row = $target.find('.empty-row').clone(true);
|
59 |
-
var input = row.find('input');
|
60 |
-
if (typeof input.data('name') !== 'undefined' && input.data('name')) input.prop('name', input.data('name'));
|
61 |
-
input.filter('[name="wp_review_item_star[]"]').addClass('review-star');
|
62 |
-
row.removeClass('empty-row screen-reader-text');
|
63 |
-
row.insertBefore($target.find('tbody>tr:last'));
|
64 |
-
row.find(".focus-on-add").focus();
|
65 |
-
$.review_total();
|
66 |
-
});
|
67 |
-
|
68 |
-
$('.remove-row').on('click', function(e) {
|
69 |
-
e.preventDefault();
|
70 |
-
$(this).closest('tr').remove();
|
71 |
-
$.review_total();
|
72 |
-
});
|
73 |
-
$('#wp-review-item').on('change', '.review-star', function(event) {
|
74 |
-
$.review_total();
|
75 |
-
});
|
76 |
-
|
77 |
-
$('#wp-review-metabox-item tbody').sortable({ handle: '.handle', revert: 100, containment: '#wp-review-metabox-item' });
|
78 |
-
$('#wp-review-metabox-reviewLinks tbody').sortable({ handle: '.handle', revert: 100, containment: '#wp-review-metabox-reviewLinks' });
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Toggle meta box
|
82 |
-
*/
|
83 |
-
$('#wp-review-metabox-item').hide();
|
84 |
-
$('#wp-review-metabox-heading').hide();
|
85 |
-
$('#wp-review-metabox-desc').hide();
|
86 |
-
$('#wp-review-metabox-userReview').hide();
|
87 |
-
$('#wp_review_shortcode_hint_field').hide();
|
88 |
-
$('#wp_review_id_hint').hide();
|
89 |
-
$('#wp_review_schema_group').hide();
|
90 |
-
$('#wp_review_heading_group').hide();
|
91 |
-
$('#wp-review-metabox-reviewLinks').hide();
|
92 |
-
|
93 |
-
var ratings_initiated = false;
|
94 |
-
$('#wp_review_type').on( 'change', function() {
|
95 |
-
var selected_val = $(this).val();
|
96 |
-
var $selected_option = $(this).find('option:selected');
|
97 |
-
$('#wp-review-metabox-item').toggle( selected_val != '' );
|
98 |
-
$('#wp-review-metabox-heading').toggle( selected_val != '' );
|
99 |
-
$('#wp-review-metabox-desc').toggle( selected_val != '' );
|
100 |
-
$('#wp-review-metabox-userReview').toggle( selected_val != '' );
|
101 |
-
$('#wp_review_id_hint').toggle( selected_val != '' );
|
102 |
-
$('#wp_review_schema_group').toggle( selected_val != '' );
|
103 |
-
$('#wp-review-metabox-reviewLinks').toggle( selected_val != '' );
|
104 |
-
$('#wp_review_heading_group').toggle( selected_val != '' );
|
105 |
-
|
106 |
-
// Build dynamic text
|
107 |
-
var max = $selected_option.data('max');
|
108 |
-
var decimals = $selected_option.data('decimals');
|
109 |
-
var val_text = $selected_option.text() + ' (1 - ' + max + ')';
|
110 |
-
$('.dynamic-text').text(val_text);
|
111 |
-
|
112 |
-
current_rating_max = max;
|
113 |
-
current_rating_decimals = decimals;
|
114 |
-
$.validate_review_value( max );
|
115 |
-
if (ratings_initiated) {
|
116 |
-
$.review_total();
|
117 |
-
}
|
118 |
-
ratings_initiated = true;
|
119 |
-
}).change();
|
120 |
-
|
121 |
-
$('#wp_review_custom_colors').change(function(e) {
|
122 |
-
if ( $(this).is(':checked') ) {
|
123 |
-
$('.wp-review-color-options').show();
|
124 |
-
} else {
|
125 |
-
$('.wp-review-color-options').hide();
|
126 |
-
}
|
127 |
-
});
|
128 |
-
$('#wp_review_custom_location').change(function(e) {
|
129 |
-
if ( $(this).is(':checked') ) {
|
130 |
-
$('.wp-review-location-options').show();
|
131 |
-
} else {
|
132 |
-
$('.wp-review-location-options').hide();
|
133 |
-
}
|
134 |
-
});
|
135 |
-
$('#wp_review_custom_width').change(function(e) {
|
136 |
-
if ( $(this).is(':checked') ) {
|
137 |
-
$('.wp-review-width-options').show();
|
138 |
-
} else {
|
139 |
-
$('.wp-review-width-options').hide();
|
140 |
-
}
|
141 |
-
});
|
142 |
-
$('#wp_review_custom_author').change(function(e) {
|
143 |
-
if ( $(this).is(':checked') ) {
|
144 |
-
$('.wp-review-author-options').show();
|
145 |
-
} else {
|
146 |
-
$('.wp-review-author-options').hide();
|
147 |
-
}
|
148 |
-
});
|
149 |
-
$('#wp_review_show_on_thumbnails').change(function(e) {
|
150 |
-
if ( $(this).is(':checked') ) {
|
151 |
-
$('.wp-review-thumbnail-options').show();
|
152 |
-
} else {
|
153 |
-
$('.wp-review-thumbnail-options').hide();
|
154 |
-
}
|
155 |
-
});
|
156 |
-
|
157 |
-
$('#wp-wp_review_desc-wrap').toggle(! $('#wp_review_hide_desc').is(':checked'));
|
158 |
-
$('#wp_review_hide_desc').change(function() {
|
159 |
-
$('#wp-wp_review_desc-wrap, #wp-review-desc-title').toggle(!$(this).is(':checked'));
|
160 |
-
});
|
161 |
-
|
162 |
-
$('#wp_review_location').on('change', function() {
|
163 |
-
$('#wp_review_shortcode_hint_field').toggle($(this).val() == 'custom');
|
164 |
-
});
|
165 |
-
$('#wp_review_shortcode_hint').click(function() {
|
166 |
-
$(this).select();
|
167 |
-
});
|
168 |
-
if ($('#wp_review_location').val() == 'custom') {
|
169 |
-
$('#wp_review_shortcode_hint_field').show();
|
170 |
-
}
|
171 |
-
$('#wp_review_width').on('change', function() {
|
172 |
-
var value = parseInt($(this).val());
|
173 |
-
if (value < 100) {
|
174 |
-
$('.wp-review-align-options').show();
|
175 |
-
} else {
|
176 |
-
$('.wp-review-align-options').hide();
|
177 |
-
}
|
178 |
-
$("#wp-review-width-slider").slider("value", parseInt(value));
|
179 |
-
});
|
180 |
-
$("#wp-review-width-slider").slider({
|
181 |
-
range: "min",
|
182 |
-
value: $('#wp_review_width').val(),
|
183 |
-
step: 1,
|
184 |
-
min: 1,
|
185 |
-
max: 100,
|
186 |
-
slide: function(event, ui) {
|
187 |
-
$("#wp_review_width").val(ui.value).trigger('change');
|
188 |
-
}
|
189 |
-
});
|
190 |
-
|
191 |
-
$('.wp-review-userReview-options').change(function(event) {
|
192 |
-
$('#wp-review-through-comment-option').toggle(!!parseInt($(this).val()));
|
193 |
-
});
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
//$.review_total();
|
198 |
-
//$.validate_review_value();
|
199 |
-
//$('.review-star').trigger('change');
|
200 |
-
|
201 |
-
/**
|
202 |
-
* Color picker setup
|
203 |
-
*/
|
204 |
-
$('.wp-review-color').wpColorPicker();
|
205 |
-
|
206 |
-
$('.wp-review-theme-defaults-msg .close-notice').click(function() {
|
207 |
-
$('.wp-review-theme-defaults-msg').remove();
|
208 |
-
});
|
209 |
-
$('.wp-review-theme-defaults-msg a.button').click(function() {
|
210 |
-
return confirm('Are you sure? This may override the current settings.');
|
211 |
-
});
|
212 |
-
/*
|
213 |
-
var $wrapper = $('.review-result-wrapper');
|
214 |
-
$wrapper.on('mouseenter', 'a, i', function(e){
|
215 |
-
var $this = $(this);
|
216 |
-
$this.closest('.review-result-wrapper').find('.review-result').width(parseInt($this.data('value'))*20 + '%');
|
217 |
-
});
|
218 |
-
$wrapper.on('click', 'a, i', function(e){
|
219 |
-
var $this = $(this);
|
220 |
-
var $wrapper = $this.closest('.review-result-wrapper');
|
221 |
-
var val = $this.data('value');
|
222 |
-
$wrapper.find('.review-result').data('value', val);
|
223 |
-
$wrapper.prev().val(val);
|
224 |
-
});
|
225 |
-
$wrapper.on('mouseleave', function(e){
|
226 |
-
var $result = $(this).find('.review-result');
|
227 |
-
$result.width(parseInt($result.data('value'))*20 + '%');
|
228 |
-
});
|
229 |
-
*/
|
230 |
-
$('[name=wp_review_userReview]').change(function(e){
|
231 |
-
var val = $(this).val();
|
232 |
-
var $type = $('#wp_review_comment_rating_type');
|
233 |
-
if(wprVars.ratingPermissionsCommentOnly === val || wprVars.ratingPermissionsBoth === val){
|
234 |
-
$type.show();
|
235 |
-
} else {
|
236 |
-
$type.hide();
|
237 |
-
}
|
238 |
-
});
|
239 |
-
|
240 |
-
|
241 |
-
$('td.wp_review_comment_rating, #wp-review-comment-rating').each(function(){
|
242 |
-
var $features = $(this).find('.wp-review-rating-feature');
|
243 |
-
var maxWidth = 0;
|
244 |
-
$features.each(function(){
|
245 |
-
var width = $(this).outerWidth();
|
246 |
-
if ( width > maxWidth ) maxWidth = width;
|
247 |
-
});
|
248 |
-
$features.width( maxWidth + 10 );
|
249 |
-
});
|
250 |
-
|
251 |
-
/*$('.wrap.wp-review .nav-tab-wrapper .nav-tab').click(function(event) {
|
252 |
-
event.preventDefault();
|
253 |
-
var $this = $(this);
|
254 |
-
window.location.hash = $this.data('tab');
|
255 |
-
$this.addClass('nav-tab-active').siblings().removeClass('nav-tab-active');
|
256 |
-
$('#wp-review-settings-tab-contents').find('.settings-tab-'+$this.data('tab')).show().siblings().hide();
|
257 |
-
});*/
|
258 |
-
var hash = window.location.hash.substr(1);
|
259 |
-
if (hash == '') hash = $('#wp_review_last_tab').val();
|
260 |
-
if ($('#wp-review-settings-tab-contents').find('.settings-tab-'+hash).length) {
|
261 |
-
$('.wrap.wp-review .nav-tab-wrapper .nav-tab').filter('[data-tab='+hash+']').addClass('nav-tab-active').siblings().removeClass('nav-tab-active');
|
262 |
-
$('#wp-review-settings-tab-contents').find('.settings-tab-'+hash).show().siblings().hide();
|
263 |
-
}
|
264 |
-
$(window).on('hashchange', function() {
|
265 |
-
var hash = window.location.hash.substr(1);
|
266 |
-
if ($('#wp-review-settings-tab-contents').find('.settings-tab-'+hash).length) {
|
267 |
-
$('.wrap.wp-review .nav-tab-wrapper .nav-tab').filter('[data-tab='+hash+']').addClass('nav-tab-active').siblings().removeClass('nav-tab-active');
|
268 |
-
$('#wp-review-settings-tab-contents').find('.settings-tab-'+hash).show().siblings().hide();
|
269 |
-
$('#wp_review_last_tab').val(hash);
|
270 |
-
}
|
271 |
-
});
|
272 |
-
if ($('#wp-review-migrate-log').length) {
|
273 |
-
var $migrate_log = $('#wp-review-migrate-log');
|
274 |
-
var migrate_started = false;
|
275 |
-
var rows_left = parseInt($('#migrate-items-num').text());
|
276 |
-
var migrated_rows = $('#start-migrate').data('start');
|
277 |
-
var migrate_finished = false;
|
278 |
-
var updatelog = function( text ) {
|
279 |
-
$migrate_log.css('display', 'block').val(function(index, old) { return text + "\n" + old });
|
280 |
-
}
|
281 |
-
var ajax_migrate = function( startindex ) {
|
282 |
-
$.ajax({
|
283 |
-
url: ajaxurl,
|
284 |
-
type: 'POST',
|
285 |
-
dataType: 'json',
|
286 |
-
data: { action: 'wp_review_migrate_ratings', start: startindex },
|
287 |
-
})
|
288 |
-
.done(function( data ) {
|
289 |
-
$('#migrate-items-num').text(data.rowsleft);
|
290 |
-
updatelog( 'Imported ratings: ' + (startindex + 1) + ' - ' + data.lastrow + '...' );
|
291 |
-
if ( ! data.finished )
|
292 |
-
ajax_migrate( data.lastrow );
|
293 |
-
else
|
294 |
-
updatelog('Import complete.');
|
295 |
-
});
|
296 |
-
|
297 |
-
}
|
298 |
-
$('#start-migrate').click(function(event) {
|
299 |
-
event.preventDefault();
|
300 |
-
if (migrate_started)
|
301 |
-
return false;
|
302 |
-
|
303 |
-
migrate_started = true;
|
304 |
-
updatelog('Import started, please wait...');
|
305 |
-
|
306 |
-
ajax_migrate(migrated_rows);
|
307 |
-
});
|
308 |
-
|
309 |
-
}
|
310 |
-
|
311 |
-
jQuery(document).on('click', '.wpreview-notice-dismiss', function(e){
|
312 |
-
e.preventDefault();
|
313 |
-
jQuery(this).parent().remove();
|
314 |
-
jQuery.ajax({
|
315 |
-
type: "POST",
|
316 |
-
url: ajaxurl,
|
317 |
-
data: {
|
318 |
-
action: 'mts_dismiss_wpreview_notice',
|
319 |
-
dismiss: jQuery(this).data('ignore')
|
320 |
-
}
|
321 |
-
});
|
322 |
-
return false;
|
323 |
-
});
|
324 |
-
|
325 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/main.js
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Plugin Name: WP Review
|
3 |
-
* Plugin URI: https://wordpress.org/plugins/wp-review/
|
4 |
-
* Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
|
5 |
-
* Author: MyThemesShop
|
6 |
-
* Author URI: http://mythemeshop.com/
|
7 |
-
*/
|
8 |
-
jQuery(document).ready(function($) {
|
9 |
-
|
10 |
-
$('.wp-review-comment-field.allowed-to-rate a').on('click', function() {
|
11 |
-
var $this = $(this),
|
12 |
-
$elem = $this.closest('.wp-review-comment-field');
|
13 |
-
if ($elem.hasClass('allowed-to-rate')) {
|
14 |
-
$elem.removeClass('has-not-rated-yet');
|
15 |
-
$elem.find('.review-result').css('width', parseInt($this.data('input-value'))*20+'%');
|
16 |
-
$elem.find('.wp_review_comment_rating').val($this.data('input-value'));
|
17 |
-
}
|
18 |
-
});
|
19 |
-
|
20 |
-
var $commentFeedback = $('.wp-review-feedback');
|
21 |
-
$commentFeedback.on('click', 'a', function(e){
|
22 |
-
var $this = $(this);
|
23 |
-
|
24 |
-
e.preventDefault();
|
25 |
-
|
26 |
-
if ( $this.hasClass('voted') || $this.siblings().hasClass('voted') || $commentFeedback.hasClass('processing') ) return;
|
27 |
-
|
28 |
-
$.ajax({
|
29 |
-
type: 'POST',
|
30 |
-
url: wpreview.ajaxurl,
|
31 |
-
beforeSend: function(){
|
32 |
-
$commentFeedback.addClass('processing');
|
33 |
-
},
|
34 |
-
data: { action: 'mts_review_feedback', isHelpful: $this.data('value'), commentId: $this.data('comment-id') },
|
35 |
-
success: function(data){
|
36 |
-
$this.closest('.wp-review-feedback').find('a').removeClass('voted');
|
37 |
-
$this.addClass('voted').find('.feedback-count').text('('+data+')');
|
38 |
-
},
|
39 |
-
error: function(jqXHR){
|
40 |
-
alert(jqXHR.responseText);
|
41 |
-
},
|
42 |
-
complete: function() {
|
43 |
-
$commentFeedback.removeClass('processing');
|
44 |
-
}
|
45 |
-
});
|
46 |
-
});
|
47 |
-
|
48 |
-
|
49 |
-
/*
|
50 |
-
Add class to comment form
|
51 |
-
*/
|
52 |
-
if ($('#wp-review-comment-title-field').length) {
|
53 |
-
$('#wp-review-comment-title-field').closest('form').addClass('wp-review-comment-form');
|
54 |
-
}
|
55 |
-
|
56 |
-
});
|
57 |
-
|
58 |
-
function wp_review_rate( $elem ) {// rating, postid, nonce ) {
|
59 |
-
var is_comment_rating = ($elem.is('.wp-review-comment-rating-star') || !!$elem.closest('.wp-review-comment-rating-star').length);
|
60 |
-
if ( is_comment_rating ) {
|
61 |
-
return ''; // don't do anything if it's a comment rating element
|
62 |
-
}
|
63 |
-
var rating = $elem.find('.wp-review-user-rating-val').val();
|
64 |
-
var postid = $elem.find('.wp-review-user-rating-postid').val();
|
65 |
-
var token = $elem.find('.wp-review-user-rating-nonce').val();
|
66 |
-
var $target = $elem;
|
67 |
-
|
68 |
-
if ( ! $target.is('.wp-review-user-rating') )
|
69 |
-
$target = $elem.closest('.wp-review-user-rating');
|
70 |
-
|
71 |
-
if (rating == 0) {
|
72 |
-
return '';
|
73 |
-
}
|
74 |
-
|
75 |
-
jQuery.ajax ({
|
76 |
-
beforeSend: function() {
|
77 |
-
$target.addClass('wp-review-loading');
|
78 |
-
},
|
79 |
-
data: { action: 'wp_review_rate', post_id: postid, nonce: token, review: rating },
|
80 |
-
type: 'post',
|
81 |
-
dataType: 'json',
|
82 |
-
url: wpreview.ajaxurl,
|
83 |
-
success: function( response ){
|
84 |
-
$target.removeClass('wp-review-loading');
|
85 |
-
if (typeof response.html !== 'undefined' && response.html != '') {
|
86 |
-
$target.empty().append(response.html).addClass('has-rated');
|
87 |
-
}
|
88 |
-
|
89 |
-
// update text total
|
90 |
-
if (typeof response.rating_total !== 'undefined' && response.rating_total != '') {
|
91 |
-
$target.parent().find('.wp-review-user-rating-total').text(response.rating_total);
|
92 |
-
}
|
93 |
-
// update rating count
|
94 |
-
if (typeof response.rating_count !== 'undefined' && response.rating_count != '') {
|
95 |
-
$target.parent().find('.wp-review-user-rating-counter').text(response.rating_count);
|
96 |
-
}
|
97 |
-
}
|
98 |
-
});
|
99 |
-
|
100 |
-
|
101 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
box-templates/aqua.php
ADDED
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WP Review: Aqua
|
4 |
+
* Description: Aqua Review Box template for WP Review
|
5 |
+
* Version: 1.0.0
|
6 |
+
* Author: MyThemesShop
|
7 |
+
* Author URI: http://mythemeshop.com/
|
8 |
+
*
|
9 |
+
* @package WP_Review
|
10 |
+
* @since 3.0.0
|
11 |
+
* @copyright Copyright (c) 2017, MyThemesShop
|
12 |
+
* @author MyThemesShop
|
13 |
+
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
14 |
+
*/
|
15 |
+
|
16 |
+
/*
|
17 |
+
* Available items in $review array:
|
18 |
+
*
|
19 |
+
* 'post_id',
|
20 |
+
'type',
|
21 |
+
'heading',
|
22 |
+
'author',
|
23 |
+
'items',
|
24 |
+
'hide_desc',
|
25 |
+
'desc',
|
26 |
+
'desc_title',
|
27 |
+
'pros',
|
28 |
+
'cons',
|
29 |
+
'total',
|
30 |
+
'colors',
|
31 |
+
'width',
|
32 |
+
'align',
|
33 |
+
'schema',
|
34 |
+
'schema_data',
|
35 |
+
'show_schema_data',
|
36 |
+
'rating_schema',
|
37 |
+
'links',
|
38 |
+
'user_review',
|
39 |
+
'user_review_type',
|
40 |
+
'user_review_total',
|
41 |
+
'user_review_count',
|
42 |
+
'user_has_reviewed',
|
43 |
+
'comments_review'
|
44 |
+
*
|
45 |
+
*/
|
46 |
+
|
47 |
+
// Exit if accessed directly.
|
48 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
49 |
+
exit;
|
50 |
+
}
|
51 |
+
|
52 |
+
$rating_types = wp_review_get_rating_types();
|
53 |
+
|
54 |
+
$classes = implode( ' ', $review['css_classes'] );
|
55 |
+
|
56 |
+
?>
|
57 |
+
|
58 |
+
<link href="https://fonts.googleapis.com/css?family=Comfortaa:400,700" rel="stylesheet">
|
59 |
+
<style type="text/css">
|
60 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper { font-family: 'Comfortaa', cursive; }
|
61 |
+
</style>
|
62 |
+
|
63 |
+
<div id="review" class="<?php echo esc_attr( $classes ); ?>">
|
64 |
+
<?php if ( empty( $review['heading'] ) ) : ?>
|
65 |
+
<?php echo esc_html( apply_filters( 'wp_review_item_title_fallback', '' ) ); ?>
|
66 |
+
<?php else : ?>
|
67 |
+
<div class="review-heading">
|
68 |
+
<h5 class="review-title">
|
69 |
+
<?php echo esc_html( $review['heading'] ); ?>
|
70 |
+
|
71 |
+
<?php if ( ! empty( $review['product_price'] ) ) : ?>
|
72 |
+
<span class="review-price"><?php echo esc_html( $review['product_price'] ); ?></span>
|
73 |
+
<?php endif; ?>
|
74 |
+
</h5>
|
75 |
+
</div>
|
76 |
+
<?php endif; ?>
|
77 |
+
|
78 |
+
<?php wp_review_load_template( 'global/partials/review-schema.php', compact( 'review' ) ); ?>
|
79 |
+
|
80 |
+
<?php if ( ! empty( $review['total'] && ! $review['hide_desc'] ) ) :
|
81 |
+
$total_text = $review['total'];
|
82 |
+
if ( 'star' != $review['type'] ) {
|
83 |
+
$total_text = sprintf( $rating_types[ $review['type'] ]['value_text'], $total_text );
|
84 |
+
}
|
85 |
+
?>
|
86 |
+
<div class="review-total-wrapper">
|
87 |
+
<span class="review-total-box">
|
88 |
+
<h5><?php esc_html_e( 'Overall', 'wp-review' ); ?></h5>
|
89 |
+
<div><?php echo $total_text; ?></div>
|
90 |
+
</span>
|
91 |
+
<?php
|
92 |
+
echo wp_review_rating( $review['total'], $review['post_id'], array(
|
93 |
+
'review_total' => true,
|
94 |
+
'class' => 'review-total',
|
95 |
+
) );
|
96 |
+
?>
|
97 |
+
</div>
|
98 |
+
<?php endif; ?>
|
99 |
+
|
100 |
+
<?php if ( $review['items'] && is_array( $review['items'] ) ) : ?>
|
101 |
+
<ul class="review-list">
|
102 |
+
<?php foreach ( $review['items'] as $item ) :
|
103 |
+
$item = wp_parse_args( $item, array(
|
104 |
+
'wp_review_item_star' => '',
|
105 |
+
'wp_review_item_title' => '',
|
106 |
+
'wp_review_item_color' => '',
|
107 |
+
'wp_review_item_inactive_color' => '',
|
108 |
+
) );
|
109 |
+
$value_text = '';
|
110 |
+
if ( 'star' != $review['type'] ) {
|
111 |
+
$value_text = ' - <span>' . sprintf( $rating_types[ $review['type'] ]['value_text'], $item['wp_review_item_star'] ) . '</span>';
|
112 |
+
}
|
113 |
+
?>
|
114 |
+
<li>
|
115 |
+
<span><?php echo wp_kses_post( $item['wp_review_item_title'] ); ?><?php echo $value_text; ?></span>
|
116 |
+
<?php
|
117 |
+
echo wp_review_rating(
|
118 |
+
$item['wp_review_item_star'],
|
119 |
+
$review['post_id'],
|
120 |
+
array(
|
121 |
+
'color' => $item['wp_review_item_color'],
|
122 |
+
'inactive_color' => $item['wp_review_item_inactive_color'],
|
123 |
+
)
|
124 |
+
);
|
125 |
+
?>
|
126 |
+
</li>
|
127 |
+
<?php endforeach; ?>
|
128 |
+
</ul>
|
129 |
+
<?php endif; ?>
|
130 |
+
|
131 |
+
<?php if ( $review['user_review'] ) : ?>
|
132 |
+
<div class="user-review-area visitors-review-area">
|
133 |
+
<?php echo wp_review_user_rating( $review['post_id'] ); ?>
|
134 |
+
<div class="user-total-wrapper">
|
135 |
+
<h5 class="user-review-title"><?php esc_html_e( 'User Review', 'wp-review' ); ?></h5>
|
136 |
+
<span class="review-total-box">
|
137 |
+
<?php
|
138 |
+
$usertotal_text = $review['user_review_total'];
|
139 |
+
if ( 'star' != $review['user_review_type'] ) {
|
140 |
+
$usertotal_text = sprintf( $rating_types[ $review['user_review_type'] ]['value_text'], $review['user_review_total'] );
|
141 |
+
}
|
142 |
+
?>
|
143 |
+
<span class="wp-review-user-rating-total"><?php echo esc_html( $usertotal_text ); ?></span>
|
144 |
+
<small>(<span class="wp-review-user-rating-counter"><?php echo esc_html( $review['user_review_count'] ); ?></span> <?php echo esc_html( _n( 'vote', 'votes', $review['user_review_count'], 'wp-review' ) ); ?>)</small>
|
145 |
+
</span>
|
146 |
+
</div>
|
147 |
+
</div>
|
148 |
+
<?php endif; // $review['user_review'] ?>
|
149 |
+
|
150 |
+
<?php if ( ! $review['hide_desc'] ) : ?>
|
151 |
+
|
152 |
+
<?php if ( $review['desc'] ) : ?>
|
153 |
+
<div class="review-desc">
|
154 |
+
<p class="review-summary-title"><strong><?php echo $review['desc_title']; ?></strong></p>
|
155 |
+
<?php // echo do_shortcode( shortcode_unautop( wp_kses_post( wpautop( $review['desc'] ) ) ) ); ?>
|
156 |
+
<?php echo apply_filters( 'wp_review_desc', $review['desc'], $review['post_id'] ); ?>
|
157 |
+
</div>
|
158 |
+
<?php endif; ?>
|
159 |
+
|
160 |
+
<?php endif; ?>
|
161 |
+
|
162 |
+
<?php wp_review_load_template( 'global/partials/review-links.php', compact( 'review' ) ); ?>
|
163 |
+
</div>
|
164 |
+
|
165 |
+
<?php
|
166 |
+
if ( ! function_exists( 'color_luminance' ) ) {
|
167 |
+
/**
|
168 |
+
* Lightens/darkens a given colour (hex format), returning the altered colour in hex format.
|
169 |
+
*
|
170 |
+
* @param string $hex Colour as hexadecimal (with or without hash).
|
171 |
+
* @param float $percent Decimal ( 0.2 = lighten by 20%(), -0.4 = darken by 40%() ).
|
172 |
+
* @return string Lightened/Darkend colour as hexadecimal (with hash);
|
173 |
+
*/
|
174 |
+
function color_luminance( $hex, $percent ) {
|
175 |
+
// Validate hex string.
|
176 |
+
$hex = preg_replace( '/[^0-9a-f]/i', '', $hex );
|
177 |
+
$new_hex = '#';
|
178 |
+
|
179 |
+
if ( strlen( $hex ) < 6 ) {
|
180 |
+
$hex = $hex[0] + $hex[0] + $hex[1] + $hex[1] + $hex[2] + $hex[2];
|
181 |
+
}
|
182 |
+
|
183 |
+
// Convert to decimal and change luminosity.
|
184 |
+
for ( $i = 0; $i < 3; $i++ ) {
|
185 |
+
$dec = hexdec( substr( $hex, $i * 2, 2 ) );
|
186 |
+
$dec = min( max( 0, $dec + $dec * $percent ), 255 );
|
187 |
+
$new_hex .= str_pad( dechex( $dec ), 2, 0, STR_PAD_LEFT );
|
188 |
+
}
|
189 |
+
|
190 |
+
return $new_hex;
|
191 |
+
}
|
192 |
+
}
|
193 |
+
$colors = $review['colors'];
|
194 |
+
$dark_color = color_luminance( $colors['color'], '-0.2' );
|
195 |
+
|
196 |
+
ob_start();
|
197 |
+
// phpcs:disable
|
198 |
+
?>
|
199 |
+
<style type="text/css">
|
200 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper {
|
201 |
+
width: <?php echo $review['width']; ?>%;
|
202 |
+
float: <?php echo $review['align']; ?>;
|
203 |
+
border: 1px solid <?php echo $colors['bordercolor']; ?>;
|
204 |
+
}
|
205 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-desc {
|
206 |
+
padding: 25px 30px 25px 30px;
|
207 |
+
line-height: 26px;
|
208 |
+
clear: both;
|
209 |
+
border-bottom: 1px solid;
|
210 |
+
}
|
211 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper,
|
212 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-title,
|
213 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-desc p,
|
214 |
+
.wp-review-<?php echo $review['post_id']; ?> .reviewed-item p {
|
215 |
+
color: <?php echo $colors['fontcolor']; ?>;
|
216 |
+
}
|
217 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-links a {
|
218 |
+
background: <?php echo $colors['color']; ?>;
|
219 |
+
padding: 9px 20px 6px 20px;
|
220 |
+
box-shadow: 0 2px <?php echo $dark_color; ?>, inset 0 1px rgba(255,255,255,0.2);
|
221 |
+
border: none;
|
222 |
+
color: #fff;
|
223 |
+
border: 1px solid <?php echo $dark_color; ?>;
|
224 |
+
cursor: pointer;
|
225 |
+
}
|
226 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li,
|
227 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper {
|
228 |
+
background: <?php echo $colors['bgcolor2']; ?>;
|
229 |
+
}
|
230 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li {
|
231 |
+
padding: 30px 30px 20px 30px;
|
232 |
+
width: 50%;
|
233 |
+
float: left;
|
234 |
+
border-right: 1px solid <?php echo $colors['bordercolor']; ?>;
|
235 |
+
box-sizing: border-box;
|
236 |
+
}
|
237 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-star-type .wpr-user-features-rating .review-list {
|
238 |
+
width: 100%;
|
239 |
+
}
|
240 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-point-type .review-list li,
|
241 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-percentage-type .review-list li {
|
242 |
+
width: 100%;
|
243 |
+
padding: 15px 30px;
|
244 |
+
}
|
245 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-point-type .review-list li > span,
|
246 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-percentage-type .review-list li > span {
|
247 |
+
display: inline-block;
|
248 |
+
position: absolute;
|
249 |
+
z-index: 1;
|
250 |
+
top: 23px;
|
251 |
+
left: 45px;
|
252 |
+
font-size: 14px;
|
253 |
+
line-height: 1;
|
254 |
+
color: <?php echo $colors['bgcolor2']; ?>;
|
255 |
+
-webkit-touch-callout: none;
|
256 |
+
-webkit-user-select: none;
|
257 |
+
-khtml-user-select: none;
|
258 |
+
-moz-user-select: none;
|
259 |
+
-ms-user-select: none;
|
260 |
+
user-select: none;
|
261 |
+
}
|
262 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-point-type .wpr-user-features-rating .review-list li > span,
|
263 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-percentage-type .wpr-user-features-rating .review-list li > span {
|
264 |
+
color: inherit;
|
265 |
+
}
|
266 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-point-type .wpr-user-features-rating .review-list li .wp-review-input-set + span,
|
267 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-percentage-type .wpr-user-features-rating .review-list li .wp-review-input-set + span,
|
268 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-point-type .wpr-user-features-rating .review-list li .wp-review-user-rating:hover + span,
|
269 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-percentage-type .wpr-user-features-rating .review-list li .wp-review-user-rating:hover + span {
|
270 |
+
color: #fff;
|
271 |
+
}
|
272 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper.wp-review-star-type .review-list li:nth-child(2n+1) { clear: left; border-right: 1px solid <?php echo $colors['bordercolor']; ?>; }
|
273 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-links {
|
274 |
+
padding: 30px 30px 20px 30px;
|
275 |
+
}
|
276 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper.wp-review-point-type .review-result,
|
277 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper.wp-review-percentage-type .review-result,
|
278 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-point .review-result-wrapper,
|
279 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-percentage .review-result-wrapper {
|
280 |
+
height: 28px;
|
281 |
+
}
|
282 |
+
.wp-review-comment-<?php echo $review['post_id']; ?> .wp-review-comment-rating .review-point .review-result-wrapper .review-result,
|
283 |
+
.wp-review-comment-<?php echo $review['post_id']; ?> .wp-review-comment-rating .review-percentage .review-result-wrapper .review-result {
|
284 |
+
height: 22px;
|
285 |
+
}
|
286 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-result-wrapper i {
|
287 |
+
font-size: 18px;
|
288 |
+
}
|
289 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .mb-5 {
|
290 |
+
text-transform: uppercase;
|
291 |
+
}
|
292 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .wpr-user-features-rating {
|
293 |
+
margin-top: -1px;
|
294 |
+
clear: both;
|
295 |
+
float: left;
|
296 |
+
width: 100%;
|
297 |
+
}
|
298 |
+
.wp-review-<?php echo $review['post_id']; ?> .user-review-area {
|
299 |
+
padding: 18px 30px;
|
300 |
+
border-top: 1px solid;
|
301 |
+
margin-top: -1px;
|
302 |
+
float: left;
|
303 |
+
width: 100%;
|
304 |
+
}
|
305 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-title {
|
306 |
+
letter-spacing: 1px;
|
307 |
+
font-weight: 700;
|
308 |
+
padding: 15px 30px;
|
309 |
+
text-transform: none;
|
310 |
+
background: <?php echo $colors['bgcolor1']; ?>;
|
311 |
+
color: #fff;
|
312 |
+
}
|
313 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-total-wrapper {
|
314 |
+
width: 40%;
|
315 |
+
margin: 0;
|
316 |
+
padding: 42px 0;
|
317 |
+
color: #fff;
|
318 |
+
text-align: center;
|
319 |
+
}
|
320 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list {
|
321 |
+
clear: none;
|
322 |
+
width: 60%;
|
323 |
+
}
|
324 |
+
<?php if( $review['hide_desc'] ) { ?>
|
325 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list {
|
326 |
+
width: 100%;
|
327 |
+
}
|
328 |
+
<?php } ?>
|
329 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .review-star,
|
330 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .wp-review-user-feature-rating-star {
|
331 |
+
float: left;
|
332 |
+
display: block;
|
333 |
+
margin: 10px 0 0 0;
|
334 |
+
}
|
335 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .wp-review-user-feature-rating-star + span { clear: left; display: block; }
|
336 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .wp-review-user-rating.wp-review-user-feature-rating-star,
|
337 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .wp-review-user-rating.wp-review-user-feature-rating-star .review-star {
|
338 |
+
margin: 0;
|
339 |
+
}
|
340 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .wp-review-user-rating.wp-review-user-feature-rating-star .review-result-wrapper {
|
341 |
+
margin-left: -5px;
|
342 |
+
margin-bottom: 6px;
|
343 |
+
}
|
344 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list .wp-review-user-feature-rating-star .review-result { letter-spacing: -2.2px; }
|
345 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-total-wrapper .review-point.review-total,
|
346 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-total-wrapper .review-percentage.review-total {
|
347 |
+
width: 70%;
|
348 |
+
display: inline-block;
|
349 |
+
margin: 20px auto 0 auto;
|
350 |
+
}
|
351 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-total-wrapper span.review-total-box {
|
352 |
+
float: left;
|
353 |
+
text-align: center;
|
354 |
+
padding: 0;
|
355 |
+
color: <?php echo $colors['fontcolor']; ?>;
|
356 |
+
line-height: 1.5;
|
357 |
+
}
|
358 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-total-wrapper span.review-total-box h5 {
|
359 |
+
margin-top: 6px;
|
360 |
+
color: inherit;
|
361 |
+
}
|
362 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper.wp-review-point-type .review-total-wrapper span.review-total-box,
|
363 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper.wp-review-percentage-type .review-total-wrapper span.review-total-box,
|
364 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .wpr-user-features-rating .review-list {
|
365 |
+
width: 100%;
|
366 |
+
}
|
367 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .wpr-user-features-rating .review-list li {
|
368 |
+
border-right: 0;
|
369 |
+
}
|
370 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-star.review-total {
|
371 |
+
color: #fff;
|
372 |
+
margin-top: 10px;
|
373 |
+
}
|
374 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-title {
|
375 |
+
color: inherit;
|
376 |
+
padding: 18px 30px 16px;
|
377 |
+
margin: 0;
|
378 |
+
border-bottom: 1px solid;
|
379 |
+
border-top: 1px solid;
|
380 |
+
}
|
381 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-total-wrapper .user-review-title {
|
382 |
+
display: inline-block;
|
383 |
+
color: inherit;
|
384 |
+
text-transform: uppercase;
|
385 |
+
letter-spacing: 1px;
|
386 |
+
padding: 0;
|
387 |
+
border: 0;
|
388 |
+
margin-top: 3px;
|
389 |
+
}
|
390 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .reviewed-item {
|
391 |
+
padding: 30px;
|
392 |
+
}
|
393 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-area .review-percentage,
|
394 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-area .review-point {
|
395 |
+
width: 20%;
|
396 |
+
float: right;
|
397 |
+
margin-top: -2px;
|
398 |
+
}
|
399 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper,
|
400 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-title,
|
401 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li,
|
402 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li:last-child,
|
403 |
+
.wp-review-<?php echo $review['post_id']; ?> .user-review-area,
|
404 |
+
.wp-review-<?php echo $review['post_id']; ?> .reviewed-item,
|
405 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-links,
|
406 |
+
.wp-review-<?php echo $review['post_id']; ?> .wpr-user-features-rating,
|
407 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-title,
|
408 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-total-wrapper,
|
409 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-desc {
|
410 |
+
border-color: <?php echo $colors['bordercolor']; ?>;
|
411 |
+
}
|
412 |
+
.wp-review-<?php echo $review['post_id']; ?> .wpr-rating-accept-btn {
|
413 |
+
background: <?php echo $colors['color']; ?>;
|
414 |
+
margin: 10px 30px;
|
415 |
+
width: -moz-calc(100% - 60px);
|
416 |
+
width: -webkit-calc(100% - 60px);
|
417 |
+
width: -o-calc(100% - 60px);
|
418 |
+
width: calc(100% - 60px);
|
419 |
+
border-radius: 3px;
|
420 |
+
}
|
421 |
+
@media screen and (max-width:570px) {
|
422 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list {
|
423 |
+
width: 100%;
|
424 |
+
}
|
425 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-total-wrapper {
|
426 |
+
width: 100%;
|
427 |
+
border-bottom: 1px solid <?php echo $colors['bordercolor']; ?>;
|
428 |
+
border-left: 0;
|
429 |
+
padding: 15px 0;
|
430 |
+
}
|
431 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper.wp-review-star-type .review-list li:nth-child(2n+1) { clear: none; border-right: 0; }
|
432 |
+
}
|
433 |
+
@media screen and (max-width:480px) {
|
434 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-title,
|
435 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .reviewed-item,
|
436 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-desc,
|
437 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-area { padding: 15px; }
|
438 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-list li,
|
439 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-title { padding: 12px 15px; border-right: 0; }
|
440 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .ui-tabs-nav { padding: 0 15px; }
|
441 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .review-links { padding: 15px 15px 5px; }
|
442 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-total-wrapper { max-width: 60%; font-size: 14px; }
|
443 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-point-type .review-list li > span,
|
444 |
+
.wp-review-<?php echo $review['post_id']; ?>.wp-review-percentage-type .review-list li > span {
|
445 |
+
top: 12px;
|
446 |
+
left: 30px;
|
447 |
+
}
|
448 |
+
}
|
449 |
+
</style>
|
450 |
+
<?php
|
451 |
+
$color_output = ob_get_clean();
|
452 |
+
|
453 |
+
// Apply legacy filter.
|
454 |
+
$color_output = apply_filters( 'wp_review_color_output', $color_output, $review['post_id'], $colors );
|
455 |
+
|
456 |
+
/**
|
457 |
+
* Filters style output of aqua template.
|
458 |
+
*
|
459 |
+
* @since 3.0.0
|
460 |
+
*
|
461 |
+
* @param string $style Style output (include <style> tag).
|
462 |
+
* @param int $post_id Current post ID.
|
463 |
+
* @param array $colors Color data.
|
464 |
+
*/
|
465 |
+
$color_output = apply_filters( 'wp_review_box_template_aqua_style', $color_output, $review['post_id'], $colors );
|
466 |
+
|
467 |
+
echo $color_output;
|
468 |
+
|
469 |
+
// Schema json-dl.
|
470 |
+
echo wp_review_get_schema( $review );
|
471 |
+
// phpcs:enable
|
box-templates/default.php
CHANGED
@@ -1,153 +1,234 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* WP Review: Default
|
4 |
-
* Description: Default Review Box template for WP Review
|
5 |
-
* Version: 1.0.
|
6 |
-
* Author: MyThemesShop
|
7 |
-
* Author URI: http://mythemeshop.com/
|
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 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
<?php else: ?>
|
67 |
-
<
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
<?php
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
<?php
|
134 |
-
|
135 |
-
<?php endif; ?>
|
136 |
-
<?php
|
137 |
-
|
138 |
-
$
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WP Review: Default
|
4 |
+
* Description: Default Review Box template for WP Review
|
5 |
+
* Version: 1.0.2
|
6 |
+
* Author: MyThemesShop
|
7 |
+
* Author URI: http://mythemeshop.com/
|
8 |
+
*
|
9 |
+
* @package WP_Review
|
10 |
+
* @since 2.0
|
11 |
+
* @copyright Copyright (c) 2017, MyThemesShop
|
12 |
+
* @author MyThemesShop
|
13 |
+
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
14 |
+
*/
|
15 |
+
|
16 |
+
/*
|
17 |
+
* Available items in $review array:
|
18 |
+
*
|
19 |
+
* 'post_id',
|
20 |
+
'type',
|
21 |
+
'heading',
|
22 |
+
'author',
|
23 |
+
'items',
|
24 |
+
'hide_desc',
|
25 |
+
'desc',
|
26 |
+
'desc_title',
|
27 |
+
'pros',
|
28 |
+
'cons',
|
29 |
+
'total',
|
30 |
+
'colors',
|
31 |
+
'width',
|
32 |
+
'align',
|
33 |
+
'schema',
|
34 |
+
'schema_data',
|
35 |
+
'show_schema_data',
|
36 |
+
'rating_schema',
|
37 |
+
'links',
|
38 |
+
'user_review',
|
39 |
+
'user_review_type',
|
40 |
+
'user_review_total',
|
41 |
+
'user_review_count',
|
42 |
+
'user_has_reviewed',
|
43 |
+
'comments_review'
|
44 |
+
*
|
45 |
+
*/
|
46 |
+
|
47 |
+
// Exit if accessed directly.
|
48 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
49 |
+
exit;
|
50 |
+
}
|
51 |
+
|
52 |
+
$rating_types = wp_review_get_rating_types();
|
53 |
+
|
54 |
+
$classes = implode( ' ', $review['css_classes'] );
|
55 |
+
|
56 |
+
if ( ! empty( $review['fontfamily'] ) ) : ?>
|
57 |
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
|
58 |
+
<style type="text/css">
|
59 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper { font-family: 'Open Sans', sans-serif; }
|
60 |
+
</style>
|
61 |
+
<?php endif; ?>
|
62 |
+
|
63 |
+
<div id="review" class="<?php echo esc_attr( $classes ); ?>">
|
64 |
+
<?php if ( empty( $review['heading'] ) ) : ?>
|
65 |
+
<?php echo esc_html( apply_filters( 'wp_review_item_title_fallback', '' ) ); ?>
|
66 |
+
<?php else : ?>
|
67 |
+
<div class="review-heading">
|
68 |
+
<h5 class="review-title">
|
69 |
+
<?php echo esc_html( $review['heading'] ); ?>
|
70 |
+
|
71 |
+
<?php if ( ! empty( $review['product_price'] ) ) : ?>
|
72 |
+
<span class="review-price"><?php echo esc_html( $review['product_price'] ); ?></span>
|
73 |
+
<?php endif; ?>
|
74 |
+
</h5>
|
75 |
+
</div>
|
76 |
+
<?php endif; ?>
|
77 |
+
|
78 |
+
<?php wp_review_load_template( 'global/partials/review-schema.php', compact( 'review' ) ); ?>
|
79 |
+
|
80 |
+
<?php if ( $review['items'] && is_array( $review['items'] ) ) : ?>
|
81 |
+
<ul class="review-list">
|
82 |
+
<?php foreach ( $review['items'] as $item ) :
|
83 |
+
$item = wp_parse_args( $item, array(
|
84 |
+
'wp_review_item_star' => '',
|
85 |
+
'wp_review_item_title' => '',
|
86 |
+
'wp_review_item_color' => '',
|
87 |
+
'wp_review_item_inactive_color' => '',
|
88 |
+
) );
|
89 |
+
$value_text = '';
|
90 |
+
if ( 'star' != $review['type'] ) {
|
91 |
+
$value_text = ' - <span>' . sprintf( $rating_types[ $review['type'] ]['value_text'], $item['wp_review_item_star'] ) . '</span>';
|
92 |
+
}
|
93 |
+
?>
|
94 |
+
<li>
|
95 |
+
<?php
|
96 |
+
echo wp_review_rating(
|
97 |
+
$item['wp_review_item_star'],
|
98 |
+
$review['post_id'],
|
99 |
+
array(
|
100 |
+
'color' => $item['wp_review_item_color'],
|
101 |
+
'inactive_color' => $item['wp_review_item_inactive_color'],
|
102 |
+
)
|
103 |
+
);
|
104 |
+
?>
|
105 |
+
<span><?php echo wp_kses_post( $item['wp_review_item_title'] ); ?><?php echo $value_text; ?></span>
|
106 |
+
</li>
|
107 |
+
<?php endforeach; ?>
|
108 |
+
</ul>
|
109 |
+
<?php endif; ?>
|
110 |
+
|
111 |
+
<?php if ( ! $review['hide_desc'] ) : ?>
|
112 |
+
<?php if ( ! empty( $review['total'] ) ) :
|
113 |
+
$total_text = $review['total'];
|
114 |
+
if ( 'star' != $review['type'] ) {
|
115 |
+
$total_text = sprintf( $rating_types[ $review['type'] ]['value_text'], $total_text );
|
116 |
+
}
|
117 |
+
?>
|
118 |
+
<div class="review-total-wrapper">
|
119 |
+
<span class="review-total-box"><?php echo $total_text; ?></span>
|
120 |
+
<?php if ( 'point' != $review['type'] && 'percentage' != $review['type'] ) :
|
121 |
+
echo wp_review_rating( $review['total'], $review['post_id'], array(
|
122 |
+
'review_total' => true,
|
123 |
+
'class' => 'review-total',
|
124 |
+
) );
|
125 |
+
endif; ?>
|
126 |
+
</div>
|
127 |
+
<?php endif; ?>
|
128 |
+
|
129 |
+
<?php if ( $review['desc'] ) : ?>
|
130 |
+
<div class="review-desc">
|
131 |
+
<p class="review-summary-title"><strong><?php echo $review['desc_title']; ?></strong></p>
|
132 |
+
<?php // echo do_shortcode( shortcode_unautop( wp_kses_post( wpautop( $review['desc'] ) ) ) ); ?>
|
133 |
+
<?php echo apply_filters( 'wp_review_desc', $review['desc'], $review['post_id'] ); ?>
|
134 |
+
</div>
|
135 |
+
<?php endif; ?>
|
136 |
+
<?php endif; ?>
|
137 |
+
|
138 |
+
<?php if ( $review['user_review'] ) : ?>
|
139 |
+
<div class="user-review-area visitors-review-area">
|
140 |
+
<?php echo wp_review_user_rating( $review['post_id'] ); ?>
|
141 |
+
<div class="user-total-wrapper">
|
142 |
+
<h5 class="user-review-title"><?php esc_html_e( 'User Review', 'wp-review' ); ?></h5>
|
143 |
+
<span class="review-total-box">
|
144 |
+
<?php
|
145 |
+
$usertotal_text = $review['user_review_total'];
|
146 |
+
if ( 'star' != $review['user_review_type'] ) {
|
147 |
+
$usertotal_text = sprintf( $rating_types[ $review['user_review_type'] ]['value_text'], $review['user_review_total'] );
|
148 |
+
}
|
149 |
+
?>
|
150 |
+
<span class="wp-review-user-rating-total"><?php echo esc_html( $usertotal_text ); ?></span>
|
151 |
+
<small>(<span class="wp-review-user-rating-counter"><?php echo esc_html( $review['user_review_count'] ); ?></span> <?php echo esc_html( _n( 'vote', 'votes', $review['user_review_count'], 'wp-review' ) ); ?>)</small>
|
152 |
+
</span>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<?php endif; // $review['user_review'] ?>
|
156 |
+
|
157 |
+
<?php wp_review_load_template( 'global/partials/review-links.php', compact( 'review' ) ); ?>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<?php
|
161 |
+
$colors = $review['colors'];
|
162 |
+
ob_start();
|
163 |
+
// phpcs:disable
|
164 |
+
?>
|
165 |
+
<style type="text/css">
|
166 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper {
|
167 |
+
width: <?php echo $review['width']; ?>%;
|
168 |
+
float: <?php echo $review['align']; ?>;
|
169 |
+
}
|
170 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper,
|
171 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-title,
|
172 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-desc p,
|
173 |
+
.wp-review-<?php echo $review['post_id']; ?> .reviewed-item p {
|
174 |
+
color: <?php echo $colors['fontcolor']; ?>;
|
175 |
+
}
|
176 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-title {
|
177 |
+
padding-top: 15px;
|
178 |
+
font-weight: bold;
|
179 |
+
}
|
180 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-links a {
|
181 |
+
color: <?php echo $colors['color'] ?>;
|
182 |
+
}
|
183 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-links a:hover {
|
184 |
+
background: <?php echo $colors['color']; ?>;
|
185 |
+
color: #fff;
|
186 |
+
}
|
187 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li,
|
188 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper {
|
189 |
+
background: <?php echo $colors['bgcolor2'] ?>;
|
190 |
+
}
|
191 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-title,
|
192 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li:nth-child(2n),
|
193 |
+
.wp-review-<?php echo $review['post_id']; ?> .wpr-user-features-rating .user-review-title {
|
194 |
+
background: <?php echo $colors['bgcolor1']; ?>;
|
195 |
+
}
|
196 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper,
|
197 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-title,
|
198 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li,
|
199 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-list li:last-child,
|
200 |
+
.wp-review-<?php echo $review['post_id']; ?> .user-review-area,
|
201 |
+
.wp-review-<?php echo $review['post_id']; ?> .reviewed-item,
|
202 |
+
.wp-review-<?php echo $review['post_id']; ?> .review-links,
|
203 |
+
.wp-review-<?php echo $review['post_id']; ?> .wpr-user-features-rating {
|
204 |
+
border-color: <?php echo $colors['bordercolor']; ?>;
|
205 |
+
}
|
206 |
+
.wp-review-<?php echo $review['post_id']; ?> .wpr-rating-accept-btn {
|
207 |
+
background: <?php echo $colors['color']; ?>;
|
208 |
+
}
|
209 |
+
.wp-review-<?php echo $review['post_id']; ?>.review-wrapper .user-review-title {
|
210 |
+
color: inherit;
|
211 |
+
}
|
212 |
+
</style>
|
213 |
+
<?php
|
214 |
+
$color_output = ob_get_clean();
|
215 |
+
|
216 |
+
// Apply legacy filter.
|
217 |
+
$color_output = apply_filters( 'wp_review_color_output', $color_output, $review['post_id'], $colors );
|
218 |
+
|
219 |
+
/**
|
220 |
+
* Filters style output of default template.
|
221 |
+
*
|
222 |
+
* @since 3.0.0
|
223 |
+
*
|
224 |
+
* @param string $style Style output (include <style> tag).
|
225 |
+
* @param int $post_id Current post ID.
|
226 |
+
* @param array $colors Color data.
|
227 |
+
*/
|
228 |
+
$color_output = apply_filters( 'wp_review_box_template_default_style', $color_output, $review['post_id'], $colors );
|
229 |
+
|
230 |
+
echo $color_output;
|
231 |
+
|
232 |
+
// Schema json-dl.
|
233 |
+
echo wp_review_get_schema( $review );
|
234 |
+
// phpcs:enable
|
box-templates/global/partials/review-links.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template for review links
|
4 |
+
*
|
5 |
+
* @since 3.0.0
|
6 |
+
*
|
7 |
+
* @package WP_Review
|
8 |
+
* @var array $review
|
9 |
+
*/
|
10 |
+
|
11 |
+
if ( empty( $review['links'] ) || ! is_array( $review['links'] ) ) {
|
12 |
+
return;
|
13 |
+
}
|
14 |
+
?>
|
15 |
+
<ul class="review-links">
|
16 |
+
<?php foreach ( $review['links'] as $link ) :
|
17 |
+
$link = wp_parse_args( $link, array(
|
18 |
+
'url' => '',
|
19 |
+
'text' => '',
|
20 |
+
));
|
21 |
+
?>
|
22 |
+
<li>
|
23 |
+
<a href="<?php echo esc_url( $link['url'] ); ?>" target="_blank"><?php echo wp_kses_post( $link['text'] ); ?></a>
|
24 |
+
</li>
|
25 |
+
<?php endforeach; ?>
|
26 |
+
</ul>
|
box-templates/global/partials/review-schema.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template for review schema
|
4 |
+
*
|
5 |
+
* @since 3.0.0
|
6 |
+
* @package WP_Review
|
7 |
+
* @var array $review
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( empty( $review['show_schema_data'] ) || empty( $review['schema'] ) || 'Thing' === $review['schema'] || 'none' === $review['schema'] ) {
|
11 |
+
return;
|
12 |
+
}
|
13 |
+
$schema = wp_review_get_schema_type_data( $review['schema'] );
|
14 |
+
if ( ! $schema ) {
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
$fields = wp_review_get_schema_fields( $schema );
|
18 |
+
$image = $reviewed_item_data = $url = '';
|
19 |
+
$schema_data = ! empty( $review['schema_data'][ $review['schema'] ] ) ? (array) $review['schema_data'][ $review['schema'] ] : array();
|
20 |
+
?>
|
21 |
+
<div class="reviewed-item">
|
22 |
+
|
23 |
+
<?php
|
24 |
+
foreach ( $fields as $key => $data ) {
|
25 |
+
if ( ! empty( $data['omit'] ) || empty( $schema_data[ $data['name'] ] ) ) {
|
26 |
+
continue;
|
27 |
+
}
|
28 |
+
|
29 |
+
if ( ! empty( $data['multiline'] ) ) {
|
30 |
+
$reviewed_item_data .= '<p><strong class="reviewed-item-data-label">' . $data['label'] . ':</strong> ' . preg_replace( '/\r\n|[\r\n]/', ', ', $schema_data[ $data['name'] ] ) . '</p>';
|
31 |
+
continue;
|
32 |
+
}
|
33 |
+
|
34 |
+
if ( 'image' === $data['name'] && ! isset( $data['part_of'] ) ) {
|
35 |
+
|
36 |
+
if ( ! empty( $schema_data['image']['id'] ) ) {
|
37 |
+
$image = wp_get_attachment_image( $schema_data['image']['id'], apply_filters( 'wp_review_item_reviewed_image_size', 'medium' ) );
|
38 |
+
}
|
39 |
+
continue;
|
40 |
+
}
|
41 |
+
|
42 |
+
if ( 'image' === $data['type'] ) {
|
43 |
+
$reviewed_item_data .= '<p><strong class="reviewed-item-data-label">' . $data['label'] . ':</strong> ' . wp_get_attachment_image( $schema_data[ $data['name'] ]['id'] ) . '</p>';
|
44 |
+
continue;
|
45 |
+
}
|
46 |
+
|
47 |
+
if ( 'url' === $data['name'] && ! isset( $data['part_of'] ) ) {
|
48 |
+
if ( ! empty( $schema_data['url'] ) ) {
|
49 |
+
$more_text = ! empty( $schema_data['more_text'] ) ? $schema_data['more_text'] : __( '[ More ]', 'wp-review' );
|
50 |
+
$link = '<a href="' . esc_url( $schema_data['url'] ) . '" class="reviewed-item-link">' . esc_html( $more_text ) . '</a>';
|
51 |
+
if ( ! empty( $schema_data['use_button_style'] ) ) {
|
52 |
+
$url = '<ul class="review-links" style="padding-left: 0; padding-right: 0;"><li>' . $link . '</li></ul>';
|
53 |
+
} else {
|
54 |
+
$url = '<p>' . $link . '</p>';
|
55 |
+
}
|
56 |
+
}
|
57 |
+
continue;
|
58 |
+
}
|
59 |
+
|
60 |
+
$reviewed_item_data .= '<p><strong class="reviewed-item-data-label">' . $data['label'] . ':</strong> ' . $schema_data[ $data['name'] ] . '</p>';
|
61 |
+
}
|
62 |
+
if ( ! empty( $image ) ) {
|
63 |
+
echo '<div class="reviewed-item-image">' . $image . '</div>';
|
64 |
+
}
|
65 |
+
if ( ! empty( $reviewed_item_data ) ) {
|
66 |
+
echo '<div class="reviewed-item-data">' . $reviewed_item_data . $url . '</div>';
|
67 |
+
}
|
68 |
+
?>
|
69 |
+
</div>
|
box-templates/global/partials/schema-link.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template for schema link
|
4 |
+
*
|
5 |
+
* @since 3.0.0
|
6 |
+
* @package WP_Review
|
7 |
+
* @var array $schema_data
|
8 |
+
*/
|
box-templates/global/review-items.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template for review items
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
* @version 3.0.0
|
8 |
+
*
|
9 |
+
* @var array $items
|
10 |
+
* @var int $post_id
|
11 |
+
*/
|
12 |
+
|
13 |
+
$types = wp_review_get_rating_types();
|
14 |
+
$type = wp_review_get_post_review_type( $post_id );
|
15 |
+
?>
|
16 |
+
<ul class="review-items">
|
17 |
+
<?php foreach ( $items as $item ) :
|
18 |
+
$item = wp_parse_args( $item, array(
|
19 |
+
'wp_review_item_star' => '',
|
20 |
+
'wp_review_item_title' => '',
|
21 |
+
'wp_review_item_color' => '',
|
22 |
+
'wp_review_item_inactive_color' => '',
|
23 |
+
'wp_review_item_positive' => '',
|
24 |
+
'wp_review_item_negative' => '',
|
25 |
+
) );
|
26 |
+
|
27 |
+
$value_text = '';
|
28 |
+
if ( 'star' !== $type ) {
|
29 |
+
$value_text = ' - <span>' . sprintf( $types[ $type ]['value_text'], $item['wp_review_item_star'] ) . '</span>';
|
30 |
+
}
|
31 |
+
?>
|
32 |
+
<li>
|
33 |
+
<div><?php echo wp_kses_post( $item['wp_review_item_title'] ); ?><?php echo wp_kses_post( $value_text ); ?></div>
|
34 |
+
<?php
|
35 |
+
echo wp_review_rating(
|
36 |
+
$item['wp_review_item_star'],
|
37 |
+
$post_id,
|
38 |
+
array(
|
39 |
+
'color' => $item['wp_review_item_color'],
|
40 |
+
'inactive_color' => $item['wp_review_item_inactive_color'],
|
41 |
+
'positive_count' => $item['wp_review_item_positive'],
|
42 |
+
'negative_count' => $item['wp_review_item_negative'],
|
43 |
+
)
|
44 |
+
);
|
45 |
+
?>
|
46 |
+
</li>
|
47 |
+
<?php endforeach; ?>
|
48 |
+
</ul>
|
box-templates/shortcodes/comparison-table.php
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template for comparison table shortcode
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
* @version 3.0.0
|
8 |
+
*
|
9 |
+
* @var WP_Query $query
|
10 |
+
* @var array $atts
|
11 |
+
*/
|
12 |
+
|
13 |
+
?>
|
14 |
+
<div class="comparison-table-wrapper">
|
15 |
+
<table class="comparison-table">
|
16 |
+
<thead>
|
17 |
+
<tr>
|
18 |
+
<th><?php esc_html_e( 'Product', 'wp-review' ); ?></th>
|
19 |
+
<th><?php esc_html_e( 'Features', 'wp-review' ); ?></th>
|
20 |
+
<th><?php esc_html_e( 'Overall', 'wp-review' ); ?></th>
|
21 |
+
<th><?php esc_html_e( 'Price', 'wp-review' ); ?></th>
|
22 |
+
<th><?php esc_html_e( 'Buy Now', 'wp-review' ); ?></th>
|
23 |
+
</tr>
|
24 |
+
</thead>
|
25 |
+
|
26 |
+
<tbody>
|
27 |
+
<?php while ( $query->have_posts() ) : $query->the_post();
|
28 |
+
if ( ! wp_review_is_enable() ) {
|
29 |
+
continue;
|
30 |
+
}
|
31 |
+
$post_id = get_the_ID();
|
32 |
+
?>
|
33 |
+
<tr>
|
34 |
+
<td class="product-col">
|
35 |
+
<a href="<?php the_permalink(); ?>" class="product-title">
|
36 |
+
<?php if ( has_post_thumbnail() ) : ?>
|
37 |
+
<?php the_post_thumbnail( 'thumbnail' ); ?>
|
38 |
+
<?php endif; ?>
|
39 |
+
|
40 |
+
<p><?php the_title(); ?></p>
|
41 |
+
</a>
|
42 |
+
</td>
|
43 |
+
|
44 |
+
<td class="features-col">
|
45 |
+
<?php wp_review_review_items( $post_id ); ?>
|
46 |
+
</td>
|
47 |
+
|
48 |
+
<td class="review-total-col">
|
49 |
+
<?php echo do_shortcode( '[wp-review-total id="' . $post_id . '"]' ); ?>
|
50 |
+
</td>
|
51 |
+
|
52 |
+
<td class="price-col">
|
53 |
+
<?php wp_review_product_price(); ?>
|
54 |
+
</td>
|
55 |
+
|
56 |
+
<td class="button-col">
|
57 |
+
<?php
|
58 |
+
$review_links = wp_review_get_review_links();
|
59 |
+
if ( $review_links ) {
|
60 |
+
foreach ( $review_links as $link ) {
|
61 |
+
$link = wp_parse_args( $link, array(
|
62 |
+
'url' => '#',
|
63 |
+
'text' => '',
|
64 |
+
) );
|
65 |
+
|
66 |
+
if ( ! $link['text'] ) {
|
67 |
+
continue;
|
68 |
+
}
|
69 |
+
|
70 |
+
printf(
|
71 |
+
'<a href="%1$s" target="_blank" class="review-link">%2$s</a>',
|
72 |
+
esc_url( $link['url'] ),
|
73 |
+
wp_kses_post( $link['text'] )
|
74 |
+
);
|
75 |
+
}
|
76 |
+
}
|
77 |
+
?>
|
78 |
+
</td>
|
79 |
+
</tr>
|
80 |
+
<?php endwhile; wp_reset_postdata(); ?>
|
81 |
+
</tbody>
|
82 |
+
</table>
|
83 |
+
</div>
|
comments/comments.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The template for displaying the comments.
|
4 |
+
*
|
5 |
+
* This contains both the comments and the comment form.
|
6 |
+
*/
|
7 |
+
|
8 |
+
// Do not delete these lines
|
9 |
+
if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
|
10 |
+
die ( __('Please do not load this page directly. Thanks!', 'wp-review' ) );
|
11 |
+
}
|
12 |
+
|
13 |
+
if ( post_password_required() ) { ?>
|
14 |
+
<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'wp-review' ); ?></p>
|
15 |
+
<?php
|
16 |
+
return;
|
17 |
+
}
|
18 |
+
?>
|
19 |
+
<!-- You can start editing here. -->
|
20 |
+
<?php if ( have_comments() ) : ?>
|
21 |
+
<div id="comments">
|
22 |
+
<h4 class="total-comments"><?php comments_number( __( 'No Responses', 'wp-review' ), __( 'One Response', 'wp-review' ), __( '% Comments', 'wp-review' ) ); ?></h4>
|
23 |
+
<ol class="commentlist">
|
24 |
+
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) { // are there comments to navigate through ?>
|
25 |
+
<div class="navigation">
|
26 |
+
<div class="alignleft"><?php previous_comments_link(); ?></div>
|
27 |
+
<div class="alignright"><?php next_comments_link(); ?></div>
|
28 |
+
</div>
|
29 |
+
<?php }
|
30 |
+
|
31 |
+
wp_list_comments( 'callback=wp_review_comments' );
|
32 |
+
|
33 |
+
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) { // are there comments to navigate through ?>
|
34 |
+
<div class="navigation">
|
35 |
+
<div class="alignleft"><?php previous_comments_link(); ?></div>
|
36 |
+
<div class="alignright"><?php next_comments_link(); ?></div>
|
37 |
+
</div>
|
38 |
+
<?php } ?>
|
39 |
+
</ol>
|
40 |
+
</div>
|
41 |
+
<?php endif; ?>
|
42 |
+
|
43 |
+
<?php if ( comments_open() ) : ?>
|
44 |
+
<div id="commentsAdd">
|
45 |
+
<div id="respond" class="box m-t-6">
|
46 |
+
<?php
|
47 |
+
global $aria_req;
|
48 |
+
$comments_args = array(
|
49 |
+
'title_reply' => '<h4>' . __( 'Leave a Reply', 'wp-review' ) . '</h4>',
|
50 |
+
'comment_notes_before' => '',
|
51 |
+
'comment_notes_after' => '',
|
52 |
+
'label_submit' => __( 'Post Comment', 'wp-review' ),
|
53 |
+
'comment_field' => '<p class="comment-form-comment"><label for="comment" class="review-comment-field-msg">' . __( 'Comment*', 'wp-review' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
|
54 |
+
'fields' => apply_filters(
|
55 |
+
'comment_form_default_fields',
|
56 |
+
array(
|
57 |
+
'author' => '<p class="comment-form-author">' . ( $req ? '' : '' ) . '<label for="author" class="review-comment-field-msg">' . __( 'Name*', 'wp-review' ) . '</label><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',
|
58 |
+
'email' => '<p class="comment-form-email">' . ( $req ? '' : '' ) . '<label for="email" class="review-comment-field-msg">' . __( 'Email*', 'wp-review' ) . '</label><input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',
|
59 |
+
'url' => '<p class="comment-form-url"><label for="url" class="review-comment-field-msg">' . __( 'Website', 'wp-review' ) . '</label><input id="url" name="url" type="text" value="' . esc_url( $commenter['comment_author_url'] ) . '" size="30" /></p>',
|
60 |
+
'cookies' => '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" />' .
|
61 |
+
'<label for="wp-comment-cookies-consent">' . __( 'Save my name, email, and website in this browser for the next time I comment.' ) . '</label></p>',
|
62 |
+
)
|
63 |
+
)
|
64 |
+
);
|
65 |
+
comment_form( $comments_args );
|
66 |
+
?>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<?php endif; // if you delete this the sky will fall on your head ?>
|
filter-list.php
CHANGED
@@ -1,132 +1,543 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
List of available filters in WP Review plugin.
|
4 |
-
You can use these filterns in your theme in funtions.php file
|
5 |
-
and set different default settings.
|
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 |
-
add_filter( '
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
$
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
*
|
86 |
-
*/
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
List of available filters in WP Review plugin.
|
4 |
+
You can use these filterns in your theme in funtions.php file
|
5 |
+
and set different default settings.
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Changes number of posts to import per request.
|
10 |
+
*
|
11 |
+
* @param int $numposts Number of posts.
|
12 |
+
* @return int
|
13 |
+
*/
|
14 |
+
function mts_wp_review_import_numposts( $numposts ) {
|
15 |
+
return 20;
|
16 |
+
}
|
17 |
+
add_filter( 'wp_review_import_numposts', 'mts_wp_review_import_numposts' );
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Excludes post types from review.
|
21 |
+
*
|
22 |
+
* @param array $excluded List of post types.
|
23 |
+
* @return array
|
24 |
+
*/
|
25 |
+
function mts_wp_review_exclude_post_types( $excluded ) {
|
26 |
+
// default: $excluded = array('attachment');
|
27 |
+
$excluded[] = 'page'; // Don't allow reviews on pages.
|
28 |
+
return $excluded;
|
29 |
+
}
|
30 |
+
add_filter( 'wp_review_excluded_post_types', 'mts_wp_review_exclude_post_types' );
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Hides fields in meta box.
|
34 |
+
*
|
35 |
+
* @param array $fields List of displayed fields.
|
36 |
+
* @return array
|
37 |
+
*/
|
38 |
+
function mts_wp_review_hide_item_metabox_fields( $fields ) {
|
39 |
+
unset( $fields['location'], $fields['fontcolor'], $fields['bordercolor'] );
|
40 |
+
// Or remove all (except features which can't be removed) with:
|
41 |
+
// $fields = array();
|
42 |
+
return $fields;
|
43 |
+
}
|
44 |
+
add_filter( 'wp_review_metabox_item_fields', 'mts_wp_review_hide_item_metabox_fields' );
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Hides rating types.
|
48 |
+
*
|
49 |
+
* @param array $types List of available types.
|
50 |
+
* @return array
|
51 |
+
*/
|
52 |
+
function mts_wp_review_hide_rating_types( $types ) {
|
53 |
+
unset( $types['point'] );
|
54 |
+
return $types;
|
55 |
+
}
|
56 |
+
add_filter( 'wp_review_rating_types', 'mts_wp_review_hide_rating_types' );
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Set colors for selected or all reviews.
|
60 |
+
*
|
61 |
+
* @param array $colors Color data.
|
62 |
+
* @param int $id Post ID.
|
63 |
+
* @return array
|
64 |
+
*/
|
65 |
+
function mts_wp_review_new_review_colors($colors, $id) {
|
66 |
+
$colors['bgcolor1'] = '#ff0000';
|
67 |
+
return $colors;
|
68 |
+
}
|
69 |
+
add_filter( 'wp_review_colors', 'mts_wp_review_new_review_colors', 10, 2 );
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Sets location for selected or all reviews.
|
73 |
+
*
|
74 |
+
* @param string $location Review location.
|
75 |
+
* @param int $id Post ID.
|
76 |
+
* @return string
|
77 |
+
*/
|
78 |
+
function mts_new_review_location( $location, $id ) {
|
79 |
+
$location = 'bottom';
|
80 |
+
return $location;
|
81 |
+
}
|
82 |
+
add_filter( 'wp_review_location', 'mts_new_review_location', 10, 2 );
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Shows post title as review heading when the review heading field is empty.
|
86 |
+
*/
|
87 |
+
function mts_wp_review_item_title_fallback( $title ) {
|
88 |
+
return '<h5 class="review-title">' . get_the_title() . '</h5>';
|
89 |
+
}
|
90 |
+
add_filter( 'wp_review_item_title_fallback', 'mts_wp_review_item_title_fallback' );
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Filters review description.
|
94 |
+
*
|
95 |
+
* @param string $desc Review description.
|
96 |
+
* @return string
|
97 |
+
*/
|
98 |
+
function mts_wp_review_desc( $desc, $review_id = '' ) {
|
99 |
+
$desc .= '<br>Thank you';
|
100 |
+
return $desc;
|
101 |
+
}
|
102 |
+
add_filter( 'wp_review_desc', 'mts_wp_review_desc', 10, 2 );
|
103 |
+
|
104 |
+
|
105 |
+
/**
|
106 |
+
* Changes color css output for all templates.
|
107 |
+
*
|
108 |
+
* @param string $output CSS output, includes `<style` tag.
|
109 |
+
* @param int $review_id Review ID.
|
110 |
+
* @param array $colors Review colors data.
|
111 |
+
* @return string
|
112 |
+
*/
|
113 |
+
function mts_wp_review_color_output( $output, $review_id, $colors ) {
|
114 |
+
$css = ".wp-review-{$review_id} { color: {$colors['color']}; }";
|
115 |
+
// $output = str_replace( '<style type="text/css">', '<style type="text/css">' . $css, $output ); // Add to the top.
|
116 |
+
$output = str_replace( '</style>', $css . '</style>', $output ); // Add to the bottom.
|
117 |
+
return $output;
|
118 |
+
}
|
119 |
+
apply_filters( 'wp_review_color_output', 'mts_wp_review_color_output', 10, 3 );
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Changes color css output for a specific template
|
123 |
+
* Replace `aqua` with template name
|
124 |
+
* Eg: wp_review_box_template_dash_style.
|
125 |
+
*
|
126 |
+
* @param string $output CSS output, includes `<style` tag.
|
127 |
+
* @param int $review_id Review ID.
|
128 |
+
* @param array $colors Review colors data.
|
129 |
+
* @return string
|
130 |
+
*/
|
131 |
+
function mts_wp_review_box_template_aqua_style( $output, $review_id, $colors ) {
|
132 |
+
$css = ".wp-review-{$review_id} { color: {$colors['color']}; }";
|
133 |
+
// $output = str_replace( '<style type="text/css">', '<style type="text/css">' . $css, $output ); // Add to the top.
|
134 |
+
$output = str_replace( '</style>', $css . '</style>', $output ); // Add to the bottom.
|
135 |
+
return $output;
|
136 |
+
}
|
137 |
+
apply_filters( 'wp_review_box_template_aqua_style', 'mts_wp_review_box_template_aqua_style', 10, 3 );
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Changes review item image size.
|
141 |
+
*
|
142 |
+
* @param string $size Image size.
|
143 |
+
* @return string
|
144 |
+
*/
|
145 |
+
function mts_wp_review_item_reviewed_image_size( $size ) {
|
146 |
+
return 'thumbnail';
|
147 |
+
}
|
148 |
+
add_filter( 'wp_review_item_reviewed_image_size', 'mts_wp_review_item_reviewed_image_size' );
|
149 |
+
|
150 |
+
// Hides review comments from comments list.
|
151 |
+
add_filter( 'wp_review_to_comment_type_list', '__return_false' );
|
152 |
+
|
153 |
+
/**
|
154 |
+
* Filters value of an option
|
155 |
+
* Hook: wp_review_option_{$option_name}.
|
156 |
+
*
|
157 |
+
* @param mixed $value Option value.
|
158 |
+
* @return mixed
|
159 |
+
*/
|
160 |
+
function mts_wp_review_option_rating_icon( $value ) {
|
161 |
+
$value = 'fa fa-thumbs-up';
|
162 |
+
return $value;
|
163 |
+
}
|
164 |
+
add_filter( 'wp_review_option_rating_icon', 'mts_wp_review_option_rating_icon' );
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Filters value of any options
|
168 |
+
*
|
169 |
+
* @param mixed $value Option value.
|
170 |
+
* @param string $option_name Option name.
|
171 |
+
* @return mixed
|
172 |
+
*/
|
173 |
+
function mts_wp_review_option( $value, $option_name ) {
|
174 |
+
if ( 'rating_icon' == $option_name ) {
|
175 |
+
$value = 'fa fa-thumbs-up';
|
176 |
+
}
|
177 |
+
return $value;
|
178 |
+
}
|
179 |
+
add_filter( 'wp_review_option', 'mts_wp_review_option', 10, 2 );
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Filters default review colors.
|
183 |
+
*
|
184 |
+
* @param array $colors Review colors.
|
185 |
+
* @return array
|
186 |
+
*/
|
187 |
+
function mts_wp_review_default_colors( $colors ) {
|
188 |
+
$colors = array(
|
189 |
+
'color' => '#1e73be',
|
190 |
+
'inactive_color' => '',
|
191 |
+
'fontcolor' => '#555555',
|
192 |
+
'bgcolor1' => '#e7e7e7',
|
193 |
+
'bgcolor2' => '#ffffff',
|
194 |
+
'bordercolor' => '#e7e7e7',
|
195 |
+
);
|
196 |
+
|
197 |
+
return $colors;
|
198 |
+
}
|
199 |
+
add_filter( 'wp_review_default_colors', 'mts_wp_review_default_colors' );
|
200 |
+
|
201 |
+
/**
|
202 |
+
* Filters default location of review.
|
203 |
+
*
|
204 |
+
* @param string $location Review location.
|
205 |
+
* @return string
|
206 |
+
*/
|
207 |
+
function mts_wp_review_default_location( $location ) {
|
208 |
+
$location = 'top'; // accepts 'top', 'bottom', 'custom'. Default is 'bottom'.
|
209 |
+
|
210 |
+
return $location;
|
211 |
+
}
|
212 |
+
add_filter( 'wp_review_default_location', 'mts_wp_review_default_location' );
|
213 |
+
|
214 |
+
/**
|
215 |
+
* Adds default items.
|
216 |
+
*
|
217 |
+
* @param array $items List of default items.
|
218 |
+
* @return array
|
219 |
+
*/
|
220 |
+
function mts_add_default_items( $items ) {
|
221 |
+
$items = array(
|
222 |
+
__( 'Audio', 'theme-slug' ),
|
223 |
+
__( 'Visual', 'theme-slug' ),
|
224 |
+
__( 'UX', 'theme-slug' ),
|
225 |
+
__( 'Price', 'theme-slug' ),
|
226 |
+
);
|
227 |
+
return $items;
|
228 |
+
}
|
229 |
+
add_filter( 'wp_review_default_criteria', 'mts_add_default_items' );
|
230 |
+
|
231 |
+
/**
|
232 |
+
* Customizes wp_review_show_total() output.
|
233 |
+
*
|
234 |
+
* @param string $output The output.
|
235 |
+
* @param int $id Post ID.
|
236 |
+
* @param string $type Rating type.
|
237 |
+
* @param float $total Total value.
|
238 |
+
* @return string
|
239 |
+
*/
|
240 |
+
function mts_wp_review_custom_review_total( $output, $id, $type, $total ) {
|
241 |
+
if ( get_the_title( $id ) == 'Special Post With Blue Rating' ) {
|
242 |
+
$color = '#0000FF';
|
243 |
+
$output = preg_replace( '/"review-type-[^"]+"/', '$0 style="background-color: ' . $color . ';"', $output );
|
244 |
+
}
|
245 |
+
return $output;
|
246 |
+
}
|
247 |
+
add_filter( 'wp_review_show_total', 'mts_wp_review_custom_review_total', 10, 4 );
|
248 |
+
|
249 |
+
/**
|
250 |
+
* Filters review total output.
|
251 |
+
*
|
252 |
+
* @param string $review Review total output.
|
253 |
+
* @param int $post_id Post ID.
|
254 |
+
* @param string $type Review type.
|
255 |
+
* @param float $total Review total value.
|
256 |
+
* @param string $class CSS class.
|
257 |
+
* @param array $args Custom arguments.
|
258 |
+
* @return string
|
259 |
+
*/
|
260 |
+
function mts_wp_review_total_output( $review, $post_id, $type, $total, $class, $args ) {
|
261 |
+
$review = '<p>Total:</p>' . $review;
|
262 |
+
return $review;
|
263 |
+
}
|
264 |
+
add_filter( 'wp_review_total_output', 'mts_wp_review_total_output', 10, 6 );
|
265 |
+
|
266 |
+
/**
|
267 |
+
* Filters post review type.
|
268 |
+
*
|
269 |
+
* @param string $type Review type.
|
270 |
+
* @param int $post_id Post ID.
|
271 |
+
* @return string
|
272 |
+
*/
|
273 |
+
function mts_wp_review_get_review_type( $type, $post_id ) {
|
274 |
+
$type = 'star'; // Force using star.
|
275 |
+
return $type;
|
276 |
+
}
|
277 |
+
add_filter( 'wp_review_get_review_type', 'mts_wp_review_get_review_type', 10, 2 );
|
278 |
+
|
279 |
+
/**
|
280 |
+
* Filters user review type.
|
281 |
+
*
|
282 |
+
* @param string $type Review type.
|
283 |
+
* @param int $post_id Post ID.
|
284 |
+
* @return string
|
285 |
+
*/
|
286 |
+
function mts_wp_review_get_user_review_type( $type, $post_id ) {
|
287 |
+
$type = 'star'; // Force using star.
|
288 |
+
return $type;
|
289 |
+
}
|
290 |
+
add_filter( 'wp_review_get_user_review_type', 'mts_wp_review_get_user_review_type', 10, 2 );
|
291 |
+
|
292 |
+
/**
|
293 |
+
* Editing/overriding the review box template
|
294 |
+
*
|
295 |
+
* Create a 'wp-review' directory in your (child) theme folder,
|
296 |
+
* and make a copy there of /wp-review/box-templates/default.php
|
297 |
+
* to override it.
|
298 |
+
*
|
299 |
+
* Use different file name to add new template, which can be applied using filter:
|
300 |
+
*
|
301 |
+
*/
|
302 |
+
function mts_wp_review_select_box_template( $template, $post_id ) {
|
303 |
+
// Change box template for specific post
|
304 |
+
if ( $post_id == '128' ) {
|
305 |
+
$template = 'new-box.php';
|
306 |
+
// "new-box.php" must be present in one of the template path folders (see below)
|
307 |
+
}
|
308 |
+
return $template;
|
309 |
+
}
|
310 |
+
add_filter( 'wp_review_get_box_template', 'mts_wp_review_select_box_template', 10, 2 );
|
311 |
+
|
312 |
+
/**
|
313 |
+
* Template Path Directories
|
314 |
+
*
|
315 |
+
* By default the plugin looks for box templates in:
|
316 |
+
* 1. wp-review/box-templates
|
317 |
+
* 2. theme_dir/wp-review
|
318 |
+
* 3. childtheme_dir/wp-review
|
319 |
+
* 4... Use filter to add more
|
320 |
+
*
|
321 |
+
*/
|
322 |
+
function mts_wp_review_add_template_path( $paths ) {
|
323 |
+
// Add a new path where we look for review box template files
|
324 |
+
// The $paths holds default paths in reversed
|
325 |
+
$paths[] = '/absolute/path/to/additional/templates/dir';
|
326 |
+
return $paths;
|
327 |
+
}
|
328 |
+
add_filter( 'wp_review_box_template_paths', 'mts_wp_review_add_template_path' );
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Filters review data. This data is passed to template.
|
332 |
+
*
|
333 |
+
* @param array $data Review data.
|
334 |
+
* @param array $args Custom arguments.
|
335 |
+
* @return array
|
336 |
+
*/
|
337 |
+
function mts_wp_review_get_review_data( $data, $args ) {
|
338 |
+
$data['type'] = 'circle';
|
339 |
+
return $data;
|
340 |
+
}
|
341 |
+
add_filter( 'wp_review_get_review_data', 'mts_wp_review_get_review_data', 10, 2 );
|
342 |
+
|
343 |
+
/**
|
344 |
+
* Filters review box output.
|
345 |
+
*
|
346 |
+
* @param string $review Review box output.
|
347 |
+
* @param int $post_id Post ID.
|
348 |
+
* @param string $type Review type.
|
349 |
+
* @param float $total Review total.
|
350 |
+
* @param array $items Review items.
|
351 |
+
* @return string
|
352 |
+
*/
|
353 |
+
function mts_wp_review_get_data( $review, $post_id, $type, $total, $items ) {
|
354 |
+
$review .= '<p>Custom content</p>';
|
355 |
+
return $review;
|
356 |
+
}
|
357 |
+
add_filter( 'wp_review_get_data', 'mts_wp_review_get_data', 10, 5 );
|
358 |
+
|
359 |
+
/**
|
360 |
+
* Changes reviewed item name.
|
361 |
+
*
|
362 |
+
* @param string $item_name Item name.
|
363 |
+
* @param array $review Review data.
|
364 |
+
* @return string
|
365 |
+
*/
|
366 |
+
function mts_wp_review_get_reviewed_item_name( $item_name, $review ) {
|
367 |
+
// Modify the $item_name.
|
368 |
+
return $item_name;
|
369 |
+
}
|
370 |
+
add_filter( 'wp_review_get_reviewed_item_name', 'mts_wp_review_get_reviewed_item_name', 10, 2 );
|
371 |
+
|
372 |
+
/**
|
373 |
+
* Changes transient expired time.
|
374 |
+
*
|
375 |
+
* @param int $time Transient expired time.
|
376 |
+
* @return int
|
377 |
+
*/
|
378 |
+
function mts_wp_review_transient_expired_time( $time ) {
|
379 |
+
$time = MONTH_IN_SECONDS;
|
380 |
+
return $time;
|
381 |
+
}
|
382 |
+
add_filter( 'wp_review_transient_expired_time', 'mts_wp_review_transient_expired_time' );
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Filters reviews query args.
|
386 |
+
*
|
387 |
+
* @param array $query_args Query args.
|
388 |
+
* @param array $options Query options.
|
389 |
+
* @return array
|
390 |
+
*/
|
391 |
+
function mts_wp_review_reviews_query_args( $query_args, $options ) {
|
392 |
+
$query_args['post_type'] = 'post'; // Only show post reviews.
|
393 |
+
return $query_args;
|
394 |
+
}
|
395 |
+
add_filter( 'wp_review_reviews_query_args', 'mts_wp_review_reviews_query_args' );
|
396 |
+
|
397 |
+
/**
|
398 |
+
* Hide selected review types in metabox dropdown.
|
399 |
+
*
|
400 |
+
* @deprecated 3.0.0 Now use `wp_review_rating_types` filter.
|
401 |
+
*
|
402 |
+
* @param array $types List of rating types.
|
403 |
+
* @return array
|
404 |
+
*/
|
405 |
+
function mts_hide_review_types( $types ) {
|
406 |
+
unset( $types['point'], $types['percentage'] ); // remove types.
|
407 |
+
$types['star'] = __( 'Enable Reviews' ); // Change label.
|
408 |
+
return $types;
|
409 |
+
}
|
410 |
+
add_filter( 'wp_review_metabox_types', 'mts_hide_review_types' );
|
411 |
+
|
412 |
+
/**
|
413 |
+
* Add new rating types with wp_review_register_rating_type()
|
414 |
+
*
|
415 |
+
* Refer to existing rating template files, e.g.
|
416 |
+
* point-output.php, point-input.php
|
417 |
+
*
|
418 |
+
* This is an alternative way to add new rating type instead of using `wp_review_rating_types` hook.
|
419 |
+
*/
|
420 |
+
function wp_review_register_additional_rating_types() {
|
421 |
+
wp_review_register_rating_type( 'star10', array(
|
422 |
+
'label' => __( '10 Stars', 'wp-review' ),
|
423 |
+
'max' => 10,
|
424 |
+
'decimals' => 1,
|
425 |
+
'value_text' => __( '%s Stars', 'wp-review' ),
|
426 |
+
'value_text_singular' => __( '%s Star', 'wp-review' ),
|
427 |
+
'input_template' => WP_REVIEW_DIR . 'rating-types/star10-input.php', // Replace with path to input template
|
428 |
+
'output_template' => WP_REVIEW_DIR . 'rating-types/star10-output.php', // Replace with path to output template
|
429 |
+
) );
|
430 |
+
}
|
431 |
+
add_action( 'init', 'wp_review_register_additional_rating_types' );
|
432 |
+
|
433 |
+
/**
|
434 |
+
* Adds new box template.
|
435 |
+
*
|
436 |
+
* @param array $templates Review box templates.
|
437 |
+
* @return array
|
438 |
+
*/
|
439 |
+
function mts_wp_review_box_templates( $templates ) {
|
440 |
+
$templates['custom-template'] = array(
|
441 |
+
'title' => __( 'Custom template', 'wp-review' ),
|
442 |
+
'image' => WP_REVIEW_ASSETS . 'images/largethumb.png',
|
443 |
+
'color' => '#1e73be',
|
444 |
+
'fontcolor' => '#555',
|
445 |
+
'bgcolor1' => '#e7e7e7',
|
446 |
+
'bgcolor2' => '#fff',
|
447 |
+
'bordercolor' => '#e7e7e7',
|
448 |
+
'width' => 100, // In percentage.
|
449 |
+
'align' => 'left',
|
450 |
+
'custom_comment_colors' => 0,
|
451 |
+
'comment_color' => '#ffb300',
|
452 |
+
'rating_icon' => 'fa fa-star',
|
453 |
+
);
|
454 |
+
return $templates;
|
455 |
+
}
|
456 |
+
add_filter( 'wp_review_box_templates', 'mts_wp_review_box_templates' );
|
457 |
+
|
458 |
+
|
459 |
+
/**
|
460 |
+
* Changes the output of [wp-review] shortcode.
|
461 |
+
*
|
462 |
+
* @param string $output Shortcode output.
|
463 |
+
* @param array $atts Shortcode attributes.
|
464 |
+
* @return string
|
465 |
+
*/
|
466 |
+
function mts_wp_review_shortcode( $output, $atts ) {
|
467 |
+
// Modify the output.
|
468 |
+
return $output;
|
469 |
+
}
|
470 |
+
add_filter( 'wp_review_shortcode', 'mts_wp_review_shortcode', 10, 2 );
|
471 |
+
|
472 |
+
|
473 |
+
/**
|
474 |
+
* Changes the output of [wp-review-total] shortcode.
|
475 |
+
*
|
476 |
+
* @param string $output Shortcode output.
|
477 |
+
* @param array $atts Shortcode attributes.
|
478 |
+
* @return string
|
479 |
+
*/
|
480 |
+
function mts_wp_review_total_shortcode( $output, $atts ) {
|
481 |
+
// Modify the output.
|
482 |
+
return $output;
|
483 |
+
}
|
484 |
+
add_filter( 'wp_review_total_shortcode', 'mts_wp_review_total_shortcode', 10, 2 );
|
485 |
+
|
486 |
+
|
487 |
+
/**
|
488 |
+
* Changes the output of [wp-review-visitor-rating] shortcode.
|
489 |
+
*
|
490 |
+
* @param string $output Shortcode output.
|
491 |
+
* @param array $atts Shortcode attributes.
|
492 |
+
* @return string
|
493 |
+
*/
|
494 |
+
function mts_wp_review_visitor_rating_shortcode( $output, $atts ) {
|
495 |
+
// Modify the output.
|
496 |
+
return $output;
|
497 |
+
}
|
498 |
+
add_filter( 'wp_review_visitor_rating_shortcode', 'mts_wp_review_visitor_rating_shortcode', 10, 2 );
|
499 |
+
|
500 |
+
|
501 |
+
/**
|
502 |
+
* Changes the output of [wp-review-comments-rating] shortcode.
|
503 |
+
*
|
504 |
+
* @param string $output Shortcode output.
|
505 |
+
* @param array $atts Shortcode attributes.
|
506 |
+
* @return string
|
507 |
+
*/
|
508 |
+
function mts_wp_review_comments_rating_shortcode( $output, $atts ) {
|
509 |
+
// Modify the output.
|
510 |
+
return $output;
|
511 |
+
}
|
512 |
+
add_filter( 'wp_review_comments_rating_shortcode', 'mts_wp_review_comments_rating_shortcode', 10, 2 );
|
513 |
+
|
514 |
+
|
515 |
+
/**
|
516 |
+
* Changes the default length of review title in WP Review Widget.
|
517 |
+
*
|
518 |
+
* @param int $length Title length.
|
519 |
+
* @return int
|
520 |
+
*/
|
521 |
+
function mts_wpt_title_length_default( $length ) {
|
522 |
+
$length = 10;
|
523 |
+
return $length;
|
524 |
+
}
|
525 |
+
add_filter( 'wpt_title_length_default', 'mts_wpt_title_length_default' );
|
526 |
+
|
527 |
+
printf( '<script type="application/ld+json">%s</script>', wp_json_encode( $markup ) );
|
528 |
+
|
529 |
+
// Set the review options in your theme
|
530 |
+
// These will be set as the global options for the plugin upon theme activation
|
531 |
+
$new_options = array(
|
532 |
+
'colors' => array(
|
533 |
+
'color' => '#dd3333',
|
534 |
+
'inactive_color' => '#dd3333',
|
535 |
+
'fontcolor' => '#555555',
|
536 |
+
'bgcolor1' => '#e7e7e7',
|
537 |
+
'bgcolor2' => '#ffffff',
|
538 |
+
'bordercolor' => '#e7e7e7',
|
539 |
+
),
|
540 |
+
);
|
541 |
+
if ( function_exists( 'wp_review_theme_defaults' ) ) {
|
542 |
+
wp_review_theme_defaults( $new_options );
|
543 |
+
}
|
includes/ajax.php
ADDED
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Ajax handles
|
4 |
+
*
|
5 |
+
* @package WP_Review
|
6 |
+
* @since 3.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
/* Get review with Ajax */
|
10 |
+
//add_action('wp_ajax_mts_review_get_review', 'mts_review_get_review');
|
11 |
+
//add_action('wp_ajax_nopriv_mts_review_get_review', 'mts_review_get_review');
|
12 |
+
|
13 |
+
add_action( 'wp_ajax_wp_review_rate', 'wp_review_ajax_rate' );
|
14 |
+
add_action( 'wp_ajax_nopriv_wp_review_rate', 'wp_review_ajax_rate' );
|
15 |
+
|
16 |
+
add_action( 'wp_ajax_wp_review_migrate_ratings', 'wp_review_ajax_migrate_ratings' );
|
17 |
+
|
18 |
+
add_action( 'wp_ajax_wp-review-load-reviews', 'wp_review_ajax_load_reviews' );
|
19 |
+
add_action( 'wp_ajax_nopriv_wp-review-load-reviews', 'wp_review_ajax_load_reviews' );
|
20 |
+
|
21 |
+
add_action( 'wp_ajax_wpr-visitor-features-rating', 'wp_review_ajax_visitor_features_rating' );
|
22 |
+
add_action( 'wp_ajax_nopriv_wpr-visitor-features-rating', 'wp_review_ajax_visitor_features_rating' );
|
23 |
+
|
24 |
+
add_action( 'wp_ajax_wpr-purge-ratings', 'wp_review_ajax_purge_ratings' );
|
25 |
+
|
26 |
+
add_action( 'wp_ajax_wpr-upload-comment-image', 'wp_review_upload_comment_image' );
|
27 |
+
add_action( 'wp_ajax_nopriv_wpr-upload-comment-image', 'wp_review_upload_comment_image' );
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Upload Comment Image with Ajax.
|
31 |
+
*/
|
32 |
+
|
33 |
+
function wp_review_upload_comment_image() {
|
34 |
+
|
35 |
+
$files = array_filter( $_FILES['files'] );
|
36 |
+
$attachment_id = '';
|
37 |
+
if( !empty($files) ) {
|
38 |
+
$file_data['name'] = $files['name'][0];
|
39 |
+
$file_data['type'] = $files['type'][0];
|
40 |
+
$file_data['tmp_name'] = $files['tmp_name'][0];
|
41 |
+
$file_data['error'] = $files['error'][0];
|
42 |
+
$file_data['size'] = $files['size'][0];
|
43 |
+
|
44 |
+
// these files need to be included as dependencies when on the front end
|
45 |
+
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
46 |
+
require_once( ABSPATH . 'wp-admin/includes/file.php' );
|
47 |
+
require_once( ABSPATH . 'wp-admin/includes/media.php' );
|
48 |
+
|
49 |
+
$attachment_id = media_handle_sideload( $file_data, 0);
|
50 |
+
if ( is_wp_error( $attachment_id ) ) {
|
51 |
+
$attachment_id = false;
|
52 |
+
}
|
53 |
+
}
|
54 |
+
echo $attachment_id;
|
55 |
+
die();
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Get review with Ajax.
|
60 |
+
*/
|
61 |
+
function mts_review_get_review() {
|
62 |
+
// Security.
|
63 |
+
check_ajax_referer( 'wp-review-security', 'nonce' );
|
64 |
+
|
65 |
+
$post_id = intval( $_POST['post_id'] );
|
66 |
+
$user_id = is_user_logged_in() ? get_current_user_id() : 0;
|
67 |
+
$review = round( abs( filter_input( INPUT_POST, 'review' ) ), 2 );
|
68 |
+
|
69 |
+
$review_text = $review;
|
70 |
+
|
71 |
+
$uip = wp_review_get_user_ip();
|
72 |
+
|
73 |
+
if ( ! function_exists( 'wp_review_comment_duplicate_trigger' ) ) {
|
74 |
+
/**
|
75 |
+
* Shows comment duplicate message.
|
76 |
+
*/
|
77 |
+
function wp_review_comment_duplicate_trigger() {
|
78 |
+
echo 'MTS_REVIEW_DUP_ERROR';
|
79 |
+
exit;
|
80 |
+
}
|
81 |
+
}
|
82 |
+
add_action( 'comment_duplicate_trigger', 'wp_review_comment_duplicate_trigger' );
|
83 |
+
|
84 |
+
if (
|
85 |
+
$review > 0 &&
|
86 |
+
! wp_review_has_reviewed( $post_id, $user_id, $uip, WP_REVIEW_COMMENT_TYPE_VISITOR ) &&
|
87 |
+
( is_user_logged_in() || ! wp_review_option( 'registered_only' ) )
|
88 |
+
) {
|
89 |
+
$insert = wp_insert_comment( array(
|
90 |
+
'user_id' => $user_id,
|
91 |
+
'comment_type' => WP_REVIEW_COMMENT_TYPE_VISITOR,
|
92 |
+
'comment_post_ID' => $post_id,
|
93 |
+
'comment_parent' => 0,
|
94 |
+
'comment_author_IP' => $uip,
|
95 |
+
'comment_content' => sprintf( __( 'Visitor Rating: %s', 'wp-review' ), $review_text ),
|
96 |
+
'comment_agent' => isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : '',
|
97 |
+
'comment_date' => current_time( 'mysql' ),
|
98 |
+
'comment_date_gmt' => current_time( 'mysql', 1 ),
|
99 |
+
'comment_approved' => 1,
|
100 |
+
) );
|
101 |
+
|
102 |
+
if ( $insert ) {
|
103 |
+
if ( update_comment_meta( $insert, WP_REVIEW_VISITOR_RATING_METAKEY, $review ) ) {
|
104 |
+
$post_reviews = mts_get_post_reviews( $post_id, true );
|
105 |
+
|
106 |
+
echo $post_reviews['rating'] . '|' . $post_reviews['count'];
|
107 |
+
exit;
|
108 |
+
} else {
|
109 |
+
wp_delete_comment( $insert );
|
110 |
+
}
|
111 |
+
}
|
112 |
+
}
|
113 |
+
|
114 |
+
echo 'MTS_REVIEW_DB_ERROR';
|
115 |
+
exit;
|
116 |
+
}
|
117 |
+
|
118 |
+
|
119 |
+
/**
|
120 |
+
* AJAX User review rating
|
121 |
+
* Replaces mts_review_get_review().
|
122 |
+
*/
|
123 |
+
function wp_review_ajax_rate() {
|
124 |
+
check_ajax_referer( 'wp-review-security', 'nonce' );
|
125 |
+
$post_id = intval( $_POST['post_id'] );
|
126 |
+
$review = filter_input( INPUT_POST, 'review' );
|
127 |
+
$review = round( $review, 2 );
|
128 |
+
$review_data = array(
|
129 |
+
'total' => $review,
|
130 |
+
);
|
131 |
+
wp_review_visitor_rate( $post_id, $review_data );
|
132 |
+
exit;
|
133 |
+
}
|
134 |
+
|
135 |
+
|
136 |
+
/**
|
137 |
+
* Migrates ratings.
|
138 |
+
*/
|
139 |
+
function wp_review_ajax_migrate_ratings() {
|
140 |
+
$start = isset( $_POST['start'] ) ? intval( $_POST['start'] ) : 0;
|
141 |
+
$limit = 100;
|
142 |
+
|
143 |
+
if ( get_option( 'wp_review_has_migrated', false ) ) {
|
144 |
+
return;
|
145 |
+
}
|
146 |
+
|
147 |
+
global $wpdb;
|
148 |
+
|
149 |
+
$current_blog_id = get_current_blog_id();
|
150 |
+
|
151 |
+
$query = $wpdb->get_results( 'SELECT * FROM ' . $wpdb->base_prefix . 'mts_wp_reviews WHERE blog_id = ' . $current_blog_id . ' LIMIT ' . $limit . ' OFFSET ' . $start );
|
152 |
+
|
153 |
+
foreach ( $query as $review ) {
|
154 |
+
|
155 |
+
if ( 0 == $review->rate ) {
|
156 |
+
continue; // Skip 0-star ratings.
|
157 |
+
}
|
158 |
+
|
159 |
+
$insert = wp_insert_comment( array(
|
160 |
+
'user_id' => $review->user_id,
|
161 |
+
'comment_type' => WP_REVIEW_COMMENT_TYPE_VISITOR,
|
162 |
+
'comment_post_ID' => $review->post_id,
|
163 |
+
'comment_parent' => 0,
|
164 |
+
'comment_content' => sprintf( __( 'Visitor Rating: %s', 'wp-review' ), sprintf( __( '%s Stars' , 'wp-review' ), $review->rate ) ),
|
165 |
+
'comment_author_IP' => $review->user_ip,
|
166 |
+
'comment_date' => gmdate( 'Y-m-d H:i:s', ( strtotime( $review->date ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ) ),
|
167 |
+
'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', strtotime( $review->date ) ),
|
168 |
+
'comment_approved' => 1,
|
169 |
+
) );
|
170 |
+
|
171 |
+
if ( $insert ) {
|
172 |
+
if ( update_comment_meta( $insert, WP_REVIEW_VISITOR_RATING_METAKEY, $review->rate ) ) {
|
173 |
+
// Purge cache.
|
174 |
+
mts_get_post_reviews( $review->post_id, true );
|
175 |
+
} else {
|
176 |
+
wp_delete_comment( $insert );
|
177 |
+
}
|
178 |
+
}
|
179 |
+
}
|
180 |
+
|
181 |
+
$end = $start + count( $query ); //$wpdb->num_rows;
|
182 |
+
//$migrated_rows = get_option( 'wp_review_migrated_rows', 0 );
|
183 |
+
update_option( 'wp_review_migrated_rows', $end );
|
184 |
+
|
185 |
+
$total_rows = $wpdb->get_var( 'SELECT COUNT(*) FROM '.$wpdb->base_prefix.'mts_wp_reviews WHERE blog_id = '.$current_blog_id );
|
186 |
+
$migration_finished = 0;
|
187 |
+
if ( $total_rows == $end ) {
|
188 |
+
update_option( 'wp_review_has_migrated', 1 );
|
189 |
+
$migration_finished = 1;
|
190 |
+
}
|
191 |
+
|
192 |
+
echo wp_json_encode( array(
|
193 |
+
'start' => $start,
|
194 |
+
'lastrow' => $end,
|
195 |
+
'rowsleft' => $total_rows - $end,
|
196 |
+
'finished' => $migration_finished,
|
197 |
+
) );
|
198 |
+
|
199 |
+
die();
|
200 |
+
}
|
201 |
+
|
202 |
+
|
203 |
+
/**
|
204 |
+
* Ajax handle for loading reviews.
|
205 |
+
*/
|
206 |
+
function wp_review_ajax_load_reviews() {
|
207 |
+
$options = $_POST; // WPCS: csrf ok.
|
208 |
+
|
209 |
+
// Options are same as widgets args to keep compatibility.
|
210 |
+
$options = wp_parse_args( $options, array(
|
211 |
+
'post_num' => 5,
|
212 |
+
'page' => 1,
|
213 |
+
'review_type' => '',
|
214 |
+
'thumb_size' => 'small',
|
215 |
+
'cat' => '',
|
216 |
+
'number_of_days' => '',
|
217 |
+
) );
|
218 |
+
|
219 |
+
$type = ! empty( $options['_type'] ) ? $options['_type'] : 'recent';
|
220 |
+
|
221 |
+
$query = wp_review_get_reviews_query( $type, $options );
|
222 |
+
|
223 |
+
if ( ! $query->have_posts() ) {
|
224 |
+
wp_send_json_success( '' );
|
225 |
+
}
|
226 |
+
|
227 |
+
$page = ! empty( $options['page'] ) ? intval( $options['page'] ) : 1;
|
228 |
+
$last_page = $query->max_num_pages;
|
229 |
+
$in_widget = ! empty( $options['widget_id'] );
|
230 |
+
$GLOBALS['in_widget'] = $in_widget;
|
231 |
+
|
232 |
+
ob_start();
|
233 |
+
echo '<ul>';
|
234 |
+
while ( $query->have_posts() ) {
|
235 |
+
$query->the_post();
|
236 |
+
$classes = array( 'thumbnail' );
|
237 |
+
$classes[] = 'thumb_' . $options['thumb_size'];
|
238 |
+
if ( ! has_post_thumbnail() ) {
|
239 |
+
$classes[] = 'wp-review-no-thumbnail';
|
240 |
+
}
|
241 |
+
$classes = implode( ' ', $classes );
|
242 |
+
?>
|
243 |
+
<li class="item">
|
244 |
+
<a title="<?php the_title(); ?>" rel="nofollow" href="<?php the_permalink(); ?>">
|
245 |
+
<div class="<?php echo esc_attr( $classes ); ?>">
|
246 |
+
<?php if ( has_post_thumbnail() ) : ?>
|
247 |
+
<?php the_post_thumbnail( 'wp_review_' . $options['thumb_size'] ); ?>
|
248 |
+
<?php else : ?>
|
249 |
+
<img src="<?php echo esc_url( WP_REVIEW_ASSETS . 'images/' . $options['thumb_size'] . 'thumb.png' ); ?>" alt="<?php the_title(); ?>" class="wp-post-image">
|
250 |
+
<?php endif; ?>
|
251 |
+
</div>
|
252 |
+
</a>
|
253 |
+
<div class="title-right">
|
254 |
+
<div class="entry-title">
|
255 |
+
<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">
|
256 |
+
<?php
|
257 |
+
if ( $options['title_length'] ) {
|
258 |
+
echo esc_html( wp_trim_words( get_the_title(), $options['title_length'], '…' ) );
|
259 |
+
} else {
|
260 |
+
the_title();
|
261 |
+
}
|
262 |
+
?>
|
263 |
+
</a>
|
264 |
+
<div class="review-count">
|
265 |
+
<?php
|
266 |
+
if ( $in_widget ) {
|
267 |
+
$args = array(
|
268 |
+
'in_widget' => $in_widget,
|
269 |
+
'color' => '#fff',
|
270 |
+
'inactive_color' => '#dedcdc',
|
271 |
+
);
|
272 |
+
} else {
|
273 |
+
$args = array();
|
274 |
+
}
|
275 |
+
wp_review_show_total( true, 'review-total-only ' . $options['thumb_size'] . '-thumb', null, $args );
|
276 |
+
?>
|
277 |
+
</div>
|
278 |
+
|
279 |
+
<?php wp_review_extra_info( get_the_ID(), intval( $options['show_date'] ) ); // Using `show_date` to keep compatibility. ?>
|
280 |
+
</div>
|
281 |
+
</div>
|
282 |
+
</li>
|
283 |
+
<?php
|
284 |
+
}
|
285 |
+
echo '</ul><!-- End Reviews -->';
|
286 |
+
wp_reset_postdata();
|
287 |
+
|
288 |
+
if ( intval( $options['allow_pagination'] ) && -1 != $options['post_num'] ) {
|
289 |
+
wp_review_ajax_pagination( $page, $last_page );
|
290 |
+
}
|
291 |
+
$output = ob_get_clean();
|
292 |
+
unset( $GLOBALS['in_widget'] );
|
293 |
+
|
294 |
+
wp_send_json_success( $output );
|
295 |
+
}
|
296 |
+
|
297 |
+
|
298 |
+
/**
|
299 |
+
* Shows review extra information like post date, reviews count.
|
300 |
+
*
|
301 |
+
* @since 3.0.8
|
302 |
+
*
|
303 |
+
* @param int $post_id Post ID.
|
304 |
+
* @param int $extra_info Extra info. 1 for date, 2 for reviews count, 0 for none.
|
305 |
+
* @param string $class Wrapper class.
|
306 |
+
*/
|
307 |
+
function wp_review_extra_info( $post_id, $extra_info, array $args = array() ) {
|
308 |
+
if ( ! $extra_info ) {
|
309 |
+
return;
|
310 |
+
}
|
311 |
+
|
312 |
+
$args = wp_parse_args( $args, array(
|
313 |
+
'class' => 'postmeta',
|
314 |
+
'date_format' => get_option( 'date_format' ),
|
315 |
+
));
|
316 |
+
|
317 |
+
if ( 1 === $extra_info ) {
|
318 |
+
?>
|
319 |
+
<div class="<?php echo esc_attr( $args['class'] ); ?>">
|
320 |
+
<?php the_time( $args['date_format'] ); // Hard coded to prevent styling issue. ?>
|
321 |
+
</div> <!-- End .<?php echo esc_attr( $args['class'] ); ?>-->
|
322 |
+
<?php
|
323 |
+
return;
|
324 |
+
}
|
325 |
+
|
326 |
+
$post_reviews = mts_get_post_reviews( $post_id );
|
327 |
+
?>
|
328 |
+
<div class="<?php echo esc_attr( $args['class'] ); ?>">
|
329 |
+
<?php
|
330 |
+
if ( ! $post_reviews['count'] ) {
|
331 |
+
printf( __( '%s review', 'wp-review' ), 0 );
|
332 |
+
} else {
|
333 |
+
printf( _n( '%s review', '%s reviews', $post_reviews['count'], 'wp-review' ), $post_reviews['count'] );
|
334 |
+
}
|
335 |
+
?>
|
336 |
+
</div> <!-- End .<?php echo esc_attr( $args['class'] ); ?>-->
|
337 |
+
<?php
|
338 |
+
}
|
339 |
+
|
340 |
+
|
341 |
+
/**
|
342 |
+
* Ajax handler for visitor features rating.
|
343 |
+
*
|
344 |
+
* @since 3.0.0
|
345 |
+
*/
|
346 |
+
function wp_review_ajax_visitor_features_rating() {
|
347 |
+
check_ajax_referer( 'wpr_user_features_rating', 'nonce' );
|
348 |
+
if ( empty( $_POST['post_id'] ) ) {
|
349 |
+
wp_send_json_error( __( 'Empty post ID', 'wp-review' ) );
|
350 |
+
}
|
351 |
+
if ( empty( $_POST['rating'] ) ) {
|
352 |
+
wp_send_json_error( __( 'Empty rating data', 'wp-review' ) );
|
353 |
+
}
|
354 |
+
if ( empty( $_POST['type'] ) ) {
|
355 |
+
wp_send_json_error( __( 'Empty type data', 'wp-review' ) );
|
356 |
+
}
|
357 |
+
$post_id = intval( $_POST['post_id'] );
|
358 |
+
$rating = $_POST['rating']; // WPCS: sanitization ok.
|
359 |
+
$type = wp_kses( wp_unslash( $_POST['type'] ), array() );
|
360 |
+
|
361 |
+
$total = 0;
|
362 |
+
$count = 0;
|
363 |
+
foreach ( $rating as $value ) {
|
364 |
+
$total += $value;
|
365 |
+
$count++;
|
366 |
+
}
|
367 |
+
|
368 |
+
$review_data = array(
|
369 |
+
'total' => $total / $count,
|
370 |
+
'type' => $type,
|
371 |
+
'features' => $rating,
|
372 |
+
);
|
373 |
+
wp_review_visitor_rate( $post_id, $review_data );
|
374 |
+
}
|
375 |
+
|
376 |
+
|
377 |
+
/**
|
378 |
+
* Ajax handler for purging ratings.
|
379 |
+
*
|
380 |
+
* @since 3.0.0
|
381 |
+
*/
|
382 |
+
function wp_review_ajax_purge_ratings() {
|
383 |
+
check_ajax_referer( 'wpr_purge_ratings', 'nonce' );
|
384 |
+
$query_args = array();
|
385 |
+
if ( ! empty( $_POST['type'] ) ) {
|
386 |
+
$query_args['type'] = 'visitor' === $_POST['type'] ? WP_REVIEW_COMMENT_TYPE_VISITOR : WP_REVIEW_COMMENT_TYPE_COMMENT;
|
387 |
+
} else {
|
388 |
+
$query_args['type_in'] = array( WP_REVIEW_COMMENT_TYPE_VISITOR, WP_REVIEW_COMMENT_TYPE_COMMENT );
|
389 |
+
}
|
390 |
+
if ( ! empty( $_POST['postId'] ) ) {
|
391 |
+
$query_args['post_id'] = intval( $_POST['postId'] );
|
392 |
+
}
|
393 |
+
$comments = get_comments( $query_args );
|
394 |
+
if ( ! $comments ) {
|
395 |
+
wp_send_json_success( esc_html__( 'Completed!', 'wp-review' ) );
|
396 |
+
}
|
397 |
+
|
398 |
+
$processed = array();
|
399 |
+
foreach ( $comments as $comment ) {
|
400 |
+
wp_delete_comment( $comment->comment_ID, false );
|
401 |
+
if ( in_array( $comment->comment_post_ID, $processed ) ) {
|
402 |
+
continue;
|
403 |
+
}
|
404 |
+
wp_review_clear_cached_reviews( $comment );
|
405 |
+
$processed[] = $comment->comment_post_ID;
|
406 |
+
}
|
407 |
+
wp_send_json_success( esc_html__( 'Completed!', 'wp-review' ) );
|
408 |
+
}
|
includes/comments.php
ADDED
@@ -0,0 +1,1153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$comments_template = wp_review_option( 'comments_template', 'theme' );
|
4 |
+
if ( 'theme' != $comments_template ) {
|
5 |
+
add_filter( 'comments_template', 'wp_review_comments_template', 99 );
|
6 |
+
add_filter( 'comment_form_fields', 'wp_review_move_comment_field_to_bottom' );
|
7 |
+
add_filter( 'body_class', 'wp_review_comments_template_body_class' );
|
8 |
+
add_filter( 'wp_enqueue_scripts', 'wp_review_comments_template_style' );
|
9 |
+
}
|
10 |
+
|
11 |
+
function wp_review_comments_template( $theme_template ) {
|
12 |
+
global $wp_query;
|
13 |
+
$wp_query->comments_by_type = array();
|
14 |
+
|
15 |
+
if ( file_exists( get_stylesheet_directory().'/wp-review/comments.php' ) ) {
|
16 |
+
return get_stylesheet_directory() . '/wp-review/comments.php';
|
17 |
+
}
|
18 |
+
return WP_REVIEW_DIR . 'comments/comments.php';
|
19 |
+
}
|
20 |
+
|
21 |
+
function wp_review_move_comment_field_to_bottom( $fields ) {
|
22 |
+
$comment_field = $fields['comment'];
|
23 |
+
$cookies_field = $fields['cookies'];
|
24 |
+
unset( $fields['comment'] );
|
25 |
+
unset( $fields['cookies'] );
|
26 |
+
$fields['comment'] = $comment_field;
|
27 |
+
$fields['cookies'] = $cookies_field;
|
28 |
+
return $fields;
|
29 |
+
}
|
30 |
+
|
31 |
+
function wp_review_comments_template_body_class( $classes ) {
|
32 |
+
|
33 |
+
if ( is_singular() ) {
|
34 |
+
$classes[] = 'wp_review_comments_template';
|
35 |
+
}
|
36 |
+
|
37 |
+
return $classes;
|
38 |
+
}
|
39 |
+
|
40 |
+
function wp_review_comments_template_style( ) {
|
41 |
+
wp_enqueue_style( 'wp_review_comments', trailingslashit( WP_REVIEW_ASSETS ) . 'css/comments.css', array(), WP_REVIEW_PLUGIN_VERSION, 'all' );
|
42 |
+
}
|
43 |
+
|
44 |
+
function wp_review_override_comments_count() {
|
45 |
+
remove_filter( 'get_comments_number', 'mts_comment_count', 0 );
|
46 |
+
add_filter( 'get_comments_number', 'wp_review_comment_count', 0 );
|
47 |
+
}
|
48 |
+
add_action( 'after_setup_theme', 'wp_review_override_comments_count', 30 );
|
49 |
+
|
50 |
+
function wp_review_comment_count( $count ) {
|
51 |
+
if ( ! is_admin() ) {
|
52 |
+
$comments = get_comments( 'status=approve&post_id=' . get_the_ID() );
|
53 |
+
$comments_by_type = separate_comments( $comments );
|
54 |
+
if ( isset( $comments_by_type['comment'] ) ) {
|
55 |
+
$wp_review_comments_count = isset( $comments_by_type['wp_review_comment'] ) ? count( $comments_by_type['wp_review_comment'] ) : 0;
|
56 |
+
return count( $comments_by_type['comment'] ) + $wp_review_comments_count;
|
57 |
+
} else {
|
58 |
+
return $count;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
return $count;
|
63 |
+
}
|
64 |
+
|
65 |
+
if ( ! function_exists( 'wp_review_comments' ) ) {
|
66 |
+
function wp_review_comments( $comment, $args, $depth ) {
|
67 |
+
$GLOBALS['comment'] = $comment;
|
68 |
+
|
69 |
+
//$mts_options = get_option( MTS_THEME_NAME ); ?>
|
70 |
+
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
|
71 |
+
|
72 |
+
<?php
|
73 |
+
|
74 |
+
switch( $comment->comment_type ) :
|
75 |
+
case 'pingback':
|
76 |
+
case 'trackback': ?>
|
77 |
+
<div id="comment-<?php comment_ID(); ?>">
|
78 |
+
<div class="comment-author vcard">
|
79 |
+
Pingback: <?php comment_author_link(); ?>
|
80 |
+
<?php //if ( ! empty( $mts_options['mts_comment_date'] ) ) { ?>
|
81 |
+
<span class="ago"><?php comment_date( get_option( 'date_format' ) ); ?></span>
|
82 |
+
<?php //} ?>
|
83 |
+
<span class="comment-meta">
|
84 |
+
<?php edit_comment_link( __( '( Edit )', 'wp-review' ), ' ', '' ); ?>
|
85 |
+
</span>
|
86 |
+
</div>
|
87 |
+
<?php if ( $comment->comment_approved == '0' ) : ?>
|
88 |
+
<em><?php _e( 'Your comment is awaiting moderation.', 'wp-review' ); ?></em>
|
89 |
+
<br />
|
90 |
+
<?php endif; ?>
|
91 |
+
</div>
|
92 |
+
<?php
|
93 |
+
break;
|
94 |
+
|
95 |
+
default: ?>
|
96 |
+
<div id="comment-<?php comment_ID(); ?>" itemscope itemtype="http://schema.org/UserComments">
|
97 |
+
<div class="comment-author vcard">
|
98 |
+
<?php echo get_avatar( $comment->comment_author_email, 50 ); ?>
|
99 |
+
<?php printf( '<span class="fn" itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">%s</span></span>', get_comment_author_link() ); ?>
|
100 |
+
<?php //if ( ! empty( $mts_options['mts_comment_date'] ) ) { ?>
|
101 |
+
<span class="ago"><?php comment_date( get_option( 'date_format' ) ); ?></span>
|
102 |
+
<?php //} ?>
|
103 |
+
<span class="comment-meta">
|
104 |
+
<?php edit_comment_link( __( '( Edit )', 'wp-review' ), ' ', '' ); ?>
|
105 |
+
</span>
|
106 |
+
</div>
|
107 |
+
<?php if ( $comment->comment_approved == '0' ) : ?>
|
108 |
+
<em><?php _e( 'Your comment is awaiting moderation.', 'wp-review' ); ?></em>
|
109 |
+
<br />
|
110 |
+
<?php endif; ?>
|
111 |
+
<div class="commentmetadata">
|
112 |
+
<div class="commenttext" itemprop="commentText">
|
113 |
+
<?php comment_text() ?>
|
114 |
+
</div>
|
115 |
+
<div class="reply">
|
116 |
+
<?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
|
117 |
+
</div>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
<?php
|
121 |
+
break;
|
122 |
+
endswitch; ?>
|
123 |
+
<!-- WP adds </li> -->
|
124 |
+
<?php
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
$comment_form_integration = wp_review_option( 'comment_form_integration', 'replace' );
|
129 |
+
if ( 'replace' != $comment_form_integration ) {
|
130 |
+
$comment_form_integration = 'extend';
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
// Filter comment fields.
|
135 |
+
if ( 'replace' == $comment_form_integration ) {
|
136 |
+
add_filter( 'comment_form_fields', 'wp_review_comment_fields_replace', 99 );
|
137 |
+
} else {
|
138 |
+
add_action( 'comment_form_logged_in_after', 'wp_review_comment_fields_extend' );
|
139 |
+
add_action( 'comment_form_after_fields', 'wp_review_comment_fields_extend' );
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Replace comment Name / Email / Website fields with our own for consistent styling.
|
144 |
+
* Also pushes the "comment" field (textarea) to the end of the comment form fields.
|
145 |
+
*
|
146 |
+
* @since 1.0.0
|
147 |
+
* @access public
|
148 |
+
* @param array $fields
|
149 |
+
* @return array
|
150 |
+
*/
|
151 |
+
function wp_review_comment_fields_replace( $fields ) {
|
152 |
+
global $post;
|
153 |
+
|
154 |
+
$hide_user_reviews = wp_review_network_option('hide_user_reviews_');
|
155 |
+
if ( wp_review_has_reviewed( $post->ID, get_current_user_id(), null, WP_REVIEW_COMMENT_TYPE_COMMENT ) || $hide_user_reviews) {
|
156 |
+
return $fields;
|
157 |
+
}
|
158 |
+
|
159 |
+
// Only touch review fields
|
160 |
+
if ( ! is_singular() || ! wp_review_get_post_user_review_type() || ! in_array( wp_review_get_user_rating_setup( $post->ID ), array( WP_REVIEW_REVIEW_COMMENT_ONLY, WP_REVIEW_REVIEW_ALLOW_BOTH ) ) ) {
|
161 |
+
return $fields;
|
162 |
+
}
|
163 |
+
//echo '<!-- '.print_r($fields,1).' -->'; return $fields;
|
164 |
+
|
165 |
+
$review_rating = wp_review_comment_rating_input();
|
166 |
+
|
167 |
+
$review_add_fields = array(
|
168 |
+
'review_title' => '<div class="wp-review-comment-form-title"><input id="author" type="text" name="wp_review_comment_title" class="wp-review-comment-title-field-input" size="30" id="wp-review-comment-title-field" placeholder="' . esc_attr__( 'Review Title', 'wp-review' ) . '" value="" /></div>',
|
169 |
+
'review_rating' => '<div class="wp-review-comment-form-rating wp-review-comment-'.$post->ID.'">' . $review_rating . '</div>',
|
170 |
+
);
|
171 |
+
$fields = $review_add_fields + $fields; // prepend our new fields.
|
172 |
+
|
173 |
+
if ( isset( $fields['author'] ) ) {
|
174 |
+
$fields['author'] = '<p class="wp-review-comment-form-author"><label for="author" class="review-comment-field-msg">'.__('Name', 'wp-review').'</label><input id="author" name="author" type="text" value="" size="30" /></p>';
|
175 |
+
}
|
176 |
+
if ( isset( $fields['email'] ) ) {
|
177 |
+
$fields['email'] = '<p class="wp-review-comment-form-email"><label for="email" class="review-comment-field-msg">'.__('Email', 'wp-review').'</label><input id="email" name="email" type="text" value="" size="30" /></p>';
|
178 |
+
}
|
179 |
+
if ( isset( $fields['url'] ) ) {
|
180 |
+
$fields['url'] = '<p class="wp-review-comment-form-url"><label for="url" class="review-comment-field-msg">'.__('Website', 'wp-review').'</label><input id="url" name="url" type="text" value="" size="30" /></p>';
|
181 |
+
}
|
182 |
+
|
183 |
+
|
184 |
+
if ( isset( $fields['comment'] ) ) {
|
185 |
+
|
186 |
+
// Grab the comment field.
|
187 |
+
$comment_field = $fields['comment'];
|
188 |
+
$cookies_field = isset($fields['cookies']) ? $fields['cookies'] : '';
|
189 |
+
|
190 |
+
// Remove the comment field from its current position.
|
191 |
+
unset( $fields['comment'] );
|
192 |
+
unset( $fields['cookies'] );
|
193 |
+
|
194 |
+
// Put the comment field at the end.
|
195 |
+
// Also add title & rating field when user is logged in
|
196 |
+
$new_comment_field = '';
|
197 |
+
if ( is_user_logged_in() ) {
|
198 |
+
foreach ($review_add_fields as $field_name => $field_html) {
|
199 |
+
$new_comment_field .= $field_html;
|
200 |
+
}
|
201 |
+
}
|
202 |
+
ob_start();
|
203 |
+
?>
|
204 |
+
<p class="wp-review-comment-form-comment">
|
205 |
+
<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" placeholder="<?php esc_attr_e( 'Review Text*', 'wp-review' ); ?>"></textarea>
|
206 |
+
</p>
|
207 |
+
<?php
|
208 |
+
|
209 |
+
if ( function_exists( 'is_product' ) && is_product() ) {
|
210 |
+
$comment_image = get_post_meta( $post->ID, 'wp_review_comment_image', true );
|
211 |
+
$comment_matches = get_post_meta( $post->ID, 'wp_review_comment_product_desc', true );
|
212 |
+
?>
|
213 |
+
<?php if ( 'yes' === $comment_matches ) { ?>
|
214 |
+
<p class="wp-review-comment-form-qualifier">
|
215 |
+
<label><?php echo apply_filters( 'wp_review_comment_qualifier', __( 'Does Product Matches the Description?', 'wp-review' ) ); ?></label>
|
216 |
+
<select id="wp_review_comment_qualifier" name="wp_review_comment_qualifier">
|
217 |
+
<option value=""><?php echo apply_filters( 'wp_review_comment_qualifier', __( 'Does Product Matches the Description?', 'wp-review' ) ); ?></option>
|
218 |
+
<option value="yes"><?php _e( 'Yes', 'wp-review' ); ?></option>
|
219 |
+
<option value="no"><?php _e( 'No', 'wp-review' ); ?></option>
|
220 |
+
</select>
|
221 |
+
</p>
|
222 |
+
<?php }
|
223 |
+
if ( 'yes' === $comment_image ) { ?>
|
224 |
+
<div class="wp-review-comment-form-photo">
|
225 |
+
<label><?php _e('Atach a photo', 'wp-review'); ?></label>
|
226 |
+
<p class="wp-review-comment-attachment-url wp-review-comment-img-field">
|
227 |
+
<a href="#" class="wp-review-toggle-src"><?php _e('Rather attach photo from your computer?', 'wp-review'); ?></a>
|
228 |
+
<input id="wp_review_comment_attachment_url" name="wp_review_comment_attachment_url" placeholder="<?php esc_attr_e( 'http://', 'wp-review' ); ?>" />
|
229 |
+
</p>
|
230 |
+
<p class="wp-review-comment-attachment-source wp-review-comment-img-field hide">
|
231 |
+
<a href="#" class="wp-review-toggle-source"><?php _e('Rather attach photo from your another website?', 'wp-review'); ?></a>
|
232 |
+
<input type="file" class="input-file" name="" id="wp_review_comment_attachment_src" accept="image/*">
|
233 |
+
<input type="hidden" name="wp_review_comment_attachment_src" value="" />
|
234 |
+
</p>
|
235 |
+
</div>
|
236 |
+
<?php }
|
237 |
+
}
|
238 |
+
$new_comment_field .= ob_get_clean();
|
239 |
+
$fields['comment'] = $new_comment_field;
|
240 |
+
$fields['cookies'] = $cookies_field;
|
241 |
+
}
|
242 |
+
|
243 |
+
return $fields;
|
244 |
+
}
|
245 |
+
|
246 |
+
|
247 |
+
function wp_review_comment_fields_extend() {
|
248 |
+
global $post;
|
249 |
+
|
250 |
+
if ( wp_review_has_reviewed( $post->ID, get_current_user_id(), null, WP_REVIEW_COMMENT_TYPE_COMMENT ) ) {
|
251 |
+
return;
|
252 |
+
}
|
253 |
+
|
254 |
+
$review_through_comment = in_array( wp_review_get_user_rating_setup( $post->ID ), array( WP_REVIEW_REVIEW_COMMENT_ONLY, WP_REVIEW_REVIEW_ALLOW_BOTH ) );
|
255 |
+
|
256 |
+
if ( $review_through_comment ) {
|
257 |
+
$type = wp_review_get_post_user_review_type( $post->ID );
|
258 |
+
?>
|
259 |
+
<div class="wp-review-comment-title-field">
|
260 |
+
<label for="wp-review-comment-title-field" class="wp-review-comment-title-field-msg"><?php esc_html_e( 'Review Title', 'wp-review' ); ?></label>
|
261 |
+
<span class="wp-review-comment-title-field-input-wrapper">
|
262 |
+
<input type="text" name="wp_review_comment_title" class="wp-review-comment-title-field-input" id="wp-review-comment-title-field">
|
263 |
+
</span>
|
264 |
+
</div>
|
265 |
+
|
266 |
+
<div class="wp-review-comment-field wp-review-comment-rating-<?php echo esc_attr( $type ); ?>-wrapper">
|
267 |
+
<div class="wp-review-comment-field-inner" >
|
268 |
+
<?php echo wp_review_comment_rating_input(); ?>
|
269 |
+
</div>
|
270 |
+
</div>
|
271 |
+
|
272 |
+
<?php
|
273 |
+
if(function_exists('is_product') && is_product()) {
|
274 |
+
$comment_image = apply_filters('wpr_comment_image_field', get_post_meta( $post->ID, 'wp_review_comment_image', true ));
|
275 |
+
$comment_matches = apply_filters('wpr_comment_product_desc', get_post_meta( $post->ID, 'wp_review_comment_product_desc', true ));
|
276 |
+
?>
|
277 |
+
<?php if('yes' === $comment_matches) { ?>
|
278 |
+
<p class="wp-review-comment-form-qualifier">
|
279 |
+
<label><?php echo apply_filters('wp_review_comment_qualifier', __('Does Product Matches the Description?', 'wp-review')); ?></label>
|
280 |
+
<select id="wp_review_comment_qualifier" name="wp_review_comment_qualifier">
|
281 |
+
<option value=""><?php _e('Does it match the description?', 'wp-review') ?></option>
|
282 |
+
<option value="yes"><?php _e('Yes', 'wp-review') ?></option>
|
283 |
+
<option value="no"><?php _e('No', 'wp-review') ?></option>
|
284 |
+
</select>
|
285 |
+
</p>
|
286 |
+
<?php }
|
287 |
+
if('yes' === $comment_image) {
|
288 |
+
?>
|
289 |
+
<div class="wp-review-comment-form-photo">
|
290 |
+
<label><?php _e('Atach a photo', 'wp-review'); ?></label>
|
291 |
+
<p class="wp-review-comment-attachment-url wp-review-comment-img-field">
|
292 |
+
<a href="#" class="wp-review-toggle-src"><?php _e('Rather attach photo from your computer?', 'wp-review'); ?></a>
|
293 |
+
<input id="wp_review_comment_attachment_url" name="wp_review_comment_attachment_url" placeholder="<?php esc_attr_e( 'http://', 'wp-review' ); ?>" />
|
294 |
+
</p>
|
295 |
+
<p class="wp-review-comment-attachment-source wp-review-comment-img-field hide">
|
296 |
+
<a href="#" class="wp-review-toggle-source"><?php _e('Rather attach photo from your another website?', 'wp-review'); ?></a>
|
297 |
+
<input type="file" class="input-file" name="" id="wp_review_comment_attachment_src" accept="image/*">
|
298 |
+
<input type="hidden" name="wp_review_comment_attachment_src" value="" />
|
299 |
+
</p>
|
300 |
+
</div>
|
301 |
+
<?php }
|
302 |
+
}
|
303 |
+
}
|
304 |
+
}
|
305 |
+
|
306 |
+
|
307 |
+
/**
|
308 |
+
* Add the title to our admin area, for editing, etc
|
309 |
+
*/
|
310 |
+
function wp_review_comment_add_meta_box() {
|
311 |
+
global $wp_review_rating_types, $comment;
|
312 |
+
$type = wp_review_get_post_user_review_type( $comment->comment_post_ID );
|
313 |
+
if ( ! $type ) {
|
314 |
+
$type = 'star';
|
315 |
+
}
|
316 |
+
add_meta_box( 'wp-review-comment-rating', sprintf(__( 'WP Review Rating (%s)', 'wp-review' ), $wp_review_rating_types[$type]['label']), 'wp_review_comment_meta_box_fields', 'comment', 'normal', 'high' );
|
317 |
+
}
|
318 |
+
add_action( 'add_meta_boxes_comment', 'wp_review_comment_add_meta_box' );
|
319 |
+
|
320 |
+
function wp_review_comment_meta_box_fields( $comment ) {
|
321 |
+
$comment_id = $comment->comment_ID;
|
322 |
+
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === get_comment_type( $comment_id ) ) {
|
323 |
+
$rating = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_RATING_METAKEY, true );
|
324 |
+
} else {
|
325 |
+
$rating = get_comment_meta( $comment_id, WP_REVIEW_VISITOR_RATING_METAKEY, true );
|
326 |
+
}
|
327 |
+
$title = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_TITLE_METAKEY, true );
|
328 |
+
$rating_items = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
|
329 |
+
wp_nonce_field( 'wp_review_comment_rating_update', 'wp_review_comment_rating_update', false );
|
330 |
+
?>
|
331 |
+
<div class="wp-review-field">
|
332 |
+
<div class="wp-review-field-label">
|
333 |
+
<label for="wp_review_comment_title"><?php esc_html_e( 'Review Title', 'wp-review' ); ?></label>
|
334 |
+
</div>
|
335 |
+
<div class="wp-review-field-option">
|
336 |
+
<input type="text" name="wp_review_comment_title" value="<?php echo esc_attr( $title ); ?>" id="wp_review_comment_title">
|
337 |
+
</div>
|
338 |
+
</div>
|
339 |
+
|
340 |
+
<div class="wp-review-field">
|
341 |
+
<div class="wp-review-field-label">
|
342 |
+
<label for="wp_review_comment_rating"><?php esc_html_e( 'Review total', 'wp-review' ); ?></label>
|
343 |
+
</div>
|
344 |
+
<div class="wp-review-field-option">
|
345 |
+
<input type="text" class="small-text" name="wp_review_comment_rating" value="<?php echo esc_attr( $rating ); ?>" id="wp_review_comment_rating">
|
346 |
+
</div>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<?php if ( ! empty( $rating_items ) ) :
|
350 |
+
$items = wp_review_get_review_items( $comment->comment_post_ID );
|
351 |
+
foreach ( $items as $item_id => $item ) :
|
352 |
+
$value = ! empty( $rating_items[ $item_id ] ) ? $rating_items[ $item_id ] : 0;
|
353 |
+
?>
|
354 |
+
<div class="wp-review-field">
|
355 |
+
<div class="wp-review-field-label">
|
356 |
+
<label for="wp_review_comment_rating_item-<?php echo esc_attr( $item_id ); ?>"><?php echo esc_html( $item['wp_review_item_title'] ); ?></label>
|
357 |
+
</div>
|
358 |
+
<div class="wp-review-field-option">
|
359 |
+
<input type="text" class="small-text" name="wp-review-comment-feature-rating[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $value ); ?>" id="wp_review_comment_rating_item-<?php echo esc_attr( $item_id ); ?>">
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
<?php endforeach; ?>
|
363 |
+
<?php endif; ?>
|
364 |
+
|
365 |
+
<?php
|
366 |
+
$comment_qualifier = get_comment_meta( $comment_id, 'wp_review_comment_qualifier', true );
|
367 |
+
$comment_image = get_comment_meta( $comment_id, 'wp_review_comment_attachment_url', true );
|
368 |
+
$comment_image_name = 'wp_review_comment_attachment_url';
|
369 |
+
if(!$comment_image) {
|
370 |
+
$comment_image = get_comment_meta( $comment_id, 'wp_review_comment_attachment_src', true );
|
371 |
+
if($comment_image) {
|
372 |
+
$comment_image_name = 'wp_review_comment_attachment_src';
|
373 |
+
}
|
374 |
+
}
|
375 |
+
|
376 |
+
if($comment_qualifier) {
|
377 |
+
?>
|
378 |
+
<div class="wp-review-field">
|
379 |
+
<div class="wp-review-field-label">
|
380 |
+
<label for="wp_review_comment_qualifier"><?php echo apply_filters('wp_review_comment_qualifier', __('Does Product Matches the Description?', 'wp-review')); ?></label>
|
381 |
+
</div>
|
382 |
+
<div class="wp-review-field-option">
|
383 |
+
<select id="wp_review_comment_qualifier" name="wp_review_comment_qualifier">
|
384 |
+
<option value=""><?php _e('Select', 'wp-review'); ?></option>
|
385 |
+
<option value="yes" <?php selected($comment_qualifier, 'yes', true); ?>><?php _e('Yes', 'wp-review'); ?></option>
|
386 |
+
<option value="no" <?php selected($comment_qualifier, 'no', true); ?>><?php _e('No', 'wp-review'); ?></option>
|
387 |
+
</select>
|
388 |
+
</div>
|
389 |
+
</div>
|
390 |
+
<?php }
|
391 |
+
if($comment_image) {
|
392 |
+
if(is_numeric($comment_image)) {
|
393 |
+
$comment_image = wp_get_attachment_url($comment_image);
|
394 |
+
}
|
395 |
+
?>
|
396 |
+
<div class="wp-review-field">
|
397 |
+
<div class="wp-review-field-label">
|
398 |
+
<label for="wp_review_comment_image"><?php esc_html_e( 'Comment Image', 'wp-review' ); ?></label>
|
399 |
+
</div>
|
400 |
+
<div class="wp-review-field-option">
|
401 |
+
<input type="text" name="<?php echo esc_attr($comment_image_name) ?>" value="<?php echo esc_attr($comment_image); ?>" />
|
402 |
+
</div>
|
403 |
+
</div>
|
404 |
+
<?php } ?>
|
405 |
+
<style>.wp-review-field { margin-bottom: 1em; }</style>
|
406 |
+
<?php
|
407 |
+
}
|
408 |
+
|
409 |
+
/**
|
410 |
+
* Save our comment (from the admin area)
|
411 |
+
*/
|
412 |
+
function wp_review_comment_edit_comment( $comment_id ) {
|
413 |
+
if (
|
414 |
+
! isset( $_POST['wp_review_comment_rating'] ) && ! isset( $_POST['wp-review-comment-feature-rating'] )
|
415 |
+
|| ! isset( $_POST['wp_review_comment_rating_update'] )
|
416 |
+
|| ! wp_verify_nonce( $_POST['wp_review_comment_rating_update'], 'wp_review_comment_rating_update' )
|
417 |
+
) {
|
418 |
+
return;
|
419 |
+
}
|
420 |
+
|
421 |
+
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === get_comment_type( $comment_id ) ) {
|
422 |
+
$meta_key = WP_REVIEW_COMMENT_RATING_METAKEY;
|
423 |
+
} else {
|
424 |
+
$meta_key = WP_REVIEW_VISITOR_RATING_METAKEY;
|
425 |
+
}
|
426 |
+
|
427 |
+
$rating = filter_input( INPUT_POST, 'wp_review_comment_rating', FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION );
|
428 |
+
|
429 |
+
// if ( ! empty( $rating ) ) {
|
430 |
+
$comment = get_comment( $comment_id );
|
431 |
+
update_comment_meta( $comment_id, $meta_key, $rating );
|
432 |
+
wp_review_clear_cached_reviews( $comment );
|
433 |
+
// }
|
434 |
+
|
435 |
+
if ( ! empty( $_POST['wp_review_comment_title'] ) ) {
|
436 |
+
$title = sanitize_text_field( wp_unslash( $_POST['wp_review_comment_title'] ) );
|
437 |
+
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_TITLE_METAKEY, $title );
|
438 |
+
}
|
439 |
+
|
440 |
+
if ( ! empty( $_POST['wp_review_comment_pros'] ) ) {
|
441 |
+
update_comment_meta( $comment_id, 'wp_review_comment_pros', wp_kses_post( wp_unslash( $_POST['wp_review_comment_pros'] ) ) );
|
442 |
+
}
|
443 |
+
if ( ! empty( $_POST['wp_review_comment_cons'] ) ) {
|
444 |
+
update_comment_meta( $comment_id, 'wp_review_comment_cons', wp_kses_post( wp_unslash( $_POST['wp_review_comment_cons'] ) ) );
|
445 |
+
}
|
446 |
+
if ( ! empty( $_POST['wp_review_comment_qualifier'] ) ) {
|
447 |
+
update_comment_meta( $comment_id, 'wp_review_comment_qualifier', wp_kses_post( wp_unslash( $_POST['wp_review_comment_qualifier'] ) ) );
|
448 |
+
}
|
449 |
+
|
450 |
+
if ( ! empty( $_POST['wp-review-comment-feature-rating'] ) ) {
|
451 |
+
$rating = ! is_array( $_POST['wp-review-comment-feature-rating'] ) ? json_decode( wp_unslash( $_POST['wp-review-comment-feature-rating'] ), true ) : $_POST['wp-review-comment-feature-rating'];
|
452 |
+
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, $rating );
|
453 |
+
|
454 |
+
$total = 0;
|
455 |
+
foreach ( $rating as $value ) {
|
456 |
+
$total += floatval( $value );
|
457 |
+
}
|
458 |
+
|
459 |
+
update_comment_meta( $comment_id, $meta_key, $total / count( $rating ) );
|
460 |
+
wp_review_clear_cached_reviews( $comment );
|
461 |
+
}
|
462 |
+
}
|
463 |
+
add_action( 'edit_comment', 'wp_review_comment_edit_comment' );
|
464 |
+
|
465 |
+
/**
|
466 |
+
* Save our title & rating (from the front end).
|
467 |
+
*
|
468 |
+
* @param int $comment_id Comment ID.
|
469 |
+
* @param bool $comment_approved Comment approved or not.
|
470 |
+
*/
|
471 |
+
function wp_review_comment_insert_comment( $comment_id, $comment_approved ) {
|
472 |
+
|
473 |
+
$rating = '';
|
474 |
+
$comment = get_comment( $comment_id );
|
475 |
+
$type = wp_review_get_post_user_review_type( $comment->comment_post_ID );
|
476 |
+
$rating_type = wp_review_get_rating_type_data( $type );
|
477 |
+
if ( ! $rating_type ) {
|
478 |
+
return;
|
479 |
+
}
|
480 |
+
|
481 |
+
if ( isset( $_POST['wp-review-user-rating-val'] ) ) {
|
482 |
+
|
483 |
+
$rating = filter_input( INPUT_POST, 'wp-review-user-rating-val', FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION );
|
484 |
+
|
485 |
+
if ( $rating > $rating_type['max'] ) {
|
486 |
+
$rating = $rating_type['max'];
|
487 |
+
}
|
488 |
+
if ( $rating < 0 ) {
|
489 |
+
$rating = 0;
|
490 |
+
}
|
491 |
+
}
|
492 |
+
|
493 |
+
if ( '' !== $rating ) {
|
494 |
+
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_RATING_METAKEY, $rating );
|
495 |
+
}
|
496 |
+
|
497 |
+
if ( ! empty( $_POST['wp_review_comment_title'] ) ) {
|
498 |
+
$title = sanitize_text_field( $_POST['wp_review_comment_title'] );
|
499 |
+
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_TITLE_METAKEY, $title );
|
500 |
+
}
|
501 |
+
|
502 |
+
if ( ! empty( $_POST['wp-review-comment-feature-rating'] ) ) {
|
503 |
+
$rating = json_decode( wp_unslash( $_POST['wp-review-comment-feature-rating'] ), true );
|
504 |
+
$total = 0;
|
505 |
+
foreach ( $rating as $key => $value ) {
|
506 |
+
if ( $value < 0 ) {
|
507 |
+
$value = 0;
|
508 |
+
}
|
509 |
+
$total += $value;
|
510 |
+
$rating[ $key ] = $value;
|
511 |
+
}
|
512 |
+
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, $rating );
|
513 |
+
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_RATING_METAKEY, $total / count( $rating ) );
|
514 |
+
}
|
515 |
+
|
516 |
+
if ( ! empty( $_POST['wp_review_comment_pros'] ) ) {
|
517 |
+
update_comment_meta( $comment_id, 'wp_review_comment_pros', wp_kses_post( wp_unslash( $_POST['wp_review_comment_pros'] ) ) );
|
518 |
+
}
|
519 |
+
if ( ! empty( $_POST['wp_review_comment_cons'] ) ) {
|
520 |
+
update_comment_meta( $comment_id, 'wp_review_comment_cons', wp_kses_post( wp_unslash( $_POST['wp_review_comment_cons'] ) ) );
|
521 |
+
}
|
522 |
+
if ( ! empty( $_POST['wp_review_comment_qualifier'] ) ) {
|
523 |
+
update_comment_meta( $comment_id, 'wp_review_comment_qualifier', wp_kses_post( wp_unslash( $_POST['wp_review_comment_qualifier'] ) ) );
|
524 |
+
}
|
525 |
+
|
526 |
+
if ( ! empty( $_POST['wp_review_comment_attachment_url'] ) ) {
|
527 |
+
update_comment_meta( $comment_id, 'wp_review_comment_attachment_url', wp_kses_post( wp_unslash( $_POST['wp_review_comment_attachment_url'] ) ) );
|
528 |
+
}
|
529 |
+
|
530 |
+
if ( ! empty( $_POST['wp_review_comment_attachment_src'] ) ) {
|
531 |
+
update_comment_meta( $comment_id, 'wp_review_comment_attachment_src', wp_kses_post( wp_unslash( $_POST['wp_review_comment_attachment_src'] ) ) );
|
532 |
+
}
|
533 |
+
|
534 |
+
if ( '' !== $rating && 1 === $comment_approved ) {
|
535 |
+
wp_review_clear_cached_reviews( $comment );
|
536 |
+
}
|
537 |
+
}
|
538 |
+
add_action( 'comment_post', 'wp_review_comment_insert_comment', 10, 2 );
|
539 |
+
|
540 |
+
/**
|
541 |
+
* Add our rating and title to the comment text.
|
542 |
+
*
|
543 |
+
* @param string $text Comment text.
|
544 |
+
* @param WP_Comment $comment Comment object.
|
545 |
+
* @return string
|
546 |
+
*/
|
547 |
+
function wp_review_comment_add_title_to_text( $text, $comment = null ) {
|
548 |
+
if ( null === $comment || ! in_array( $comment->comment_type, array( WP_REVIEW_COMMENT_TYPE_COMMENT, WP_REVIEW_COMMENT_TYPE_VISITOR ) ) ) {
|
549 |
+
return $text;
|
550 |
+
}
|
551 |
+
if ( is_admin() ) {
|
552 |
+
$comment_id = $comment->comment_ID;
|
553 |
+
$title = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_TITLE_METAKEY, true );
|
554 |
+
$title_html = '';
|
555 |
+
if ( $title ) {
|
556 |
+
$title_html = '<h4 class="wp-review-comment-title">' . $title . '</h4>';
|
557 |
+
}
|
558 |
+
|
559 |
+
$rating_html = '';
|
560 |
+
$type = get_comment_type( $comment_id );
|
561 |
+
$rating = '';
|
562 |
+
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === $type ) {
|
563 |
+
$rating = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_RATING_METAKEY, true );
|
564 |
+
} else if ( WP_REVIEW_COMMENT_TYPE_VISITOR === $type ) {
|
565 |
+
$rating = get_comment_meta( $comment_id, WP_REVIEW_VISITOR_RATING_METAKEY, true );
|
566 |
+
$text = ''; // Don't show text for Visitor Ratings.
|
567 |
+
}
|
568 |
+
if ( '' !== $rating ) {
|
569 |
+
$rating_html = wp_review_comment_rating( $rating, $comment_id );
|
570 |
+
}
|
571 |
+
|
572 |
+
$rating_data = wp_review_get_comment_feature_rating_data( $comment );
|
573 |
+
$rating_data = array_values( $rating_data );
|
574 |
+
$text .= '<div id="inline-commentreview-' . $comment_id . '" class="hidden">';
|
575 |
+
$text .= '<input type="hidden" class="comment-review-title" value="' . esc_attr( $title ) . '">';
|
576 |
+
$text .= '<input type="hidden" class="comment-review-rating" value="' . esc_attr( $rating ) . '">';
|
577 |
+
$text .= '<input type="hidden" class="comment-review-type" value="' . esc_attr( get_comment_type( $comment_id ) ) . '">';
|
578 |
+
if ( $rating_data ) {
|
579 |
+
$text .= '<input type="hidden" class="comment-review-feature-rating" value="' . esc_attr( wp_json_encode( $rating_data ) ) . '">';
|
580 |
+
}
|
581 |
+
$text .= '</div>';
|
582 |
+
|
583 |
+
return $title_html . $rating_html . $text;
|
584 |
+
}
|
585 |
+
|
586 |
+
$title = '';
|
587 |
+
$review = '';
|
588 |
+
$feedback = '';
|
589 |
+
$title_meta = get_comment_meta( $comment->comment_ID, WP_REVIEW_COMMENT_TITLE_METAKEY, true );
|
590 |
+
if ( $title_meta ) {
|
591 |
+
$title = '<h4 class="wp-review-comment-title">' . $title_meta . '</h4>';
|
592 |
+
}
|
593 |
+
|
594 |
+
$comment_id = $comment->comment_ID;
|
595 |
+
$rating = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_RATING_METAKEY, true );
|
596 |
+
$rating_items = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
|
597 |
+
|
598 |
+
if ( '' !== $rating ) {
|
599 |
+
echo wp_review_verified_comment($comment->comment_author_email);
|
600 |
+
|
601 |
+
if ( ! $rating_items || ! is_array( $rating_items ) ) {
|
602 |
+
$review .= wp_review_comment_rating( $rating );
|
603 |
+
} else {
|
604 |
+
$review .= wp_review_comment_rating( $rating, $comment_id );
|
605 |
+
}
|
606 |
+
|
607 |
+
// Comment Qualifier.
|
608 |
+
$comment_qualifier = get_comment_meta( $comment_id, 'wp_review_comment_qualifier', true );
|
609 |
+
if ( $comment_qualifier ) {
|
610 |
+
$review .= '<div class="wp-review-comment-qualifier"><strong>' . apply_filters( 'wp_review_comment_qualifier', __( 'Does Product Matches the Description?', 'wp-review' ) ) . '</strong> ' . ucwords( $comment_qualifier ) . '</div>';
|
611 |
+
}
|
612 |
+
|
613 |
+
// Comment Image.
|
614 |
+
$comment_image = get_comment_meta( $comment_id, 'wp_review_comment_attachment_url', true );
|
615 |
+
if ( ! $comment_image ) {
|
616 |
+
$comment_image_id = get_comment_meta( $comment_id, 'wp_review_comment_attachment_src', true );
|
617 |
+
if ( $comment_image_id ) {
|
618 |
+
$comment_image = wp_get_attachment_url( $comment_image_id );
|
619 |
+
}
|
620 |
+
}
|
621 |
+
if ( $comment_image ) {
|
622 |
+
$review .= '<div class="wp-review-usercomment-image"><img src="' . esc_url( $comment_image ) . '" /></div>';
|
623 |
+
}
|
624 |
+
}
|
625 |
+
|
626 |
+
return $title . $review . '<div class="comment-text-inner">' . $text . '</div>' . $feedback;
|
627 |
+
}
|
628 |
+
add_filter( 'comment_text', 'wp_review_comment_add_title_to_text', 99, 2 );
|
629 |
+
|
630 |
+
/**
|
631 |
+
* Add rating and title to the comment quick edit
|
632 |
+
*/
|
633 |
+
function wp_review_comment_reply_filter( $output, $args ) {
|
634 |
+
$table_row = true;
|
635 |
+
global $wp_list_table;
|
636 |
+
if ( ! $wp_list_table ) {
|
637 |
+
if ( 'single' === $args['mode'] ) {
|
638 |
+
$wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
|
639 |
+
} else {
|
640 |
+
$wp_list_table = _get_list_table('WP_Comments_List_Table');
|
641 |
+
}
|
642 |
+
}
|
643 |
+
ob_start();
|
644 |
+
?>
|
645 |
+
<form method="get">
|
646 |
+
<?php if ( $table_row ) : ?>
|
647 |
+
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange">
|
648 |
+
<?php else : ?>
|
649 |
+
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
|
650 |
+
<?php endif; ?>
|
651 |
+
|
652 |
+
<fieldset class="comment-reply">
|
653 |
+
<legend>
|
654 |
+
<span class="hidden" id="editlegend"><?php esc_html_e( 'Edit Comment', 'wp-review' ); ?></span>
|
655 |
+
<span class="hidden" id="replyhead"><?php esc_html_e( 'Reply to Comment', 'wp-review' ); ?></span>
|
656 |
+
<span class="hidden" id="addhead"><?php esc_html_e( 'Add new Comment', 'wp-review' ); ?></span>
|
657 |
+
</legend>
|
658 |
+
|
659 |
+
<div id="editwpreview"></div>
|
660 |
+
|
661 |
+
<div id="replycontainer">
|
662 |
+
<label for="replycontent" class="screen-reader-text"><?php esc_html_e( 'Comment', 'wp-review' ); ?></label>
|
663 |
+
<?php
|
664 |
+
$quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' );
|
665 |
+
wp_editor( '', 'replycontent', array(
|
666 |
+
'media_buttons' => false,
|
667 |
+
'tinymce' => false,
|
668 |
+
'quicktags' => $quicktags_settings,
|
669 |
+
) );
|
670 |
+
?>
|
671 |
+
</div>
|
672 |
+
|
673 |
+
<div id="edithead" style="display:none;">
|
674 |
+
<div class="inside">
|
675 |
+
<label for="author-name"><?php esc_html_e( 'Name', 'wp-review' ); ?></label>
|
676 |
+
<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
|
677 |
+
</div>
|
678 |
+
|
679 |
+
<div class="inside">
|
680 |
+
<label for="author-email"><?php esc_html_e( 'Email', 'wp-review' ); ?></label>
|
681 |
+
<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
|
682 |
+
</div>
|
683 |
+
|
684 |
+
<div class="inside">
|
685 |
+
<label for="author-url"><?php esc_html_e( 'URL', 'wp-review' ); ?></label>
|
686 |
+
<input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
|
687 |
+
</div>
|
688 |
+
</div>
|
689 |
+
|
690 |
+
<p id="replysubmit" class="submit">
|
691 |
+
<a href="#comments-form" class="save button-primary alignright">
|
692 |
+
<span id="addbtn" style="display:none;"><?php esc_html_e( 'Add Comment', 'wp-review' ); ?></span>
|
693 |
+
<span id="savebtn" style="display:none;"><?php esc_html_e( 'Update Comment', 'wp-review' ); ?></span>
|
694 |
+
<span id="replybtn" style="display:none;"><?php esc_html_e( 'Submit Reply', 'wp-review' ); ?></span>
|
695 |
+
</a>
|
696 |
+
<a href="#comments-form" class="cancel button-secondary alignleft"><?php esc_html_e( 'Cancel', 'wp-review' ); ?></a>
|
697 |
+
<span class="waiting spinner"></span>
|
698 |
+
<span class="error" style="display:none;"></span>
|
699 |
+
</p>
|
700 |
+
|
701 |
+
<input type="hidden" name="action" id="action" value="" />
|
702 |
+
<input type="hidden" name="comment_ID" id="comment_ID" value="" />
|
703 |
+
<input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
|
704 |
+
<input type="hidden" name="status" id="status" value="" />
|
705 |
+
<input type="hidden" name="position" id="position" value="<?php echo esc_attr( $args['position'] ); ?>" />
|
706 |
+
<input type="hidden" name="checkbox" id="checkbox" value="<?php echo $args['checkbox'] ? 1 : 0; ?>" />
|
707 |
+
<input type="hidden" name="mode" id="mode" value="<?php echo esc_attr( $args['mode'] ); ?>" />
|
708 |
+
<?php
|
709 |
+
wp_nonce_field( 'replyto-comment', '_ajax_nonce-replyto-comment', false );
|
710 |
+
if ( current_user_can( 'unfiltered_html' ) ) {
|
711 |
+
wp_nonce_field( 'unfiltered-html-comment', '_wp_unfiltered_html_comment', false );
|
712 |
+
}
|
713 |
+
|
714 |
+
wp_nonce_field( 'wp_review_comment_rating_update', 'wp_review_comment_rating_update', false );
|
715 |
+
|
716 |
+
?>
|
717 |
+
</fieldset>
|
718 |
+
|
719 |
+
<?php if ( $table_row ) : ?>
|
720 |
+
</td></tr></tbody></table>
|
721 |
+
<?php else : ?>
|
722 |
+
</div></div>
|
723 |
+
<?php endif; ?>
|
724 |
+
</form>
|
725 |
+
<?php
|
726 |
+
|
727 |
+
return ob_get_clean();
|
728 |
+
}
|
729 |
+
add_filter( 'wp_comment_reply', 'wp_review_comment_reply_filter', 10, 2 );
|
730 |
+
|
731 |
+
/**
|
732 |
+
* Script for Comments quick edit
|
733 |
+
*/
|
734 |
+
function wp_review_comment_quick_edit_javascript() {
|
735 |
+
?>
|
736 |
+
<script type="text/html" id="tmpl-wpr-comment-review-quick-edit">
|
737 |
+
<# if ( 'wp_review_comment' === data.type ) { #>
|
738 |
+
<div class="inside">
|
739 |
+
<label for="wp_review_comment_title"><?php esc_html_e( 'Review Title', 'wp-review' ); ?></label>
|
740 |
+
<input type="text" name="wp_review_comment_title" size="50" value="{{ data.title }}" id="wp_review_comment_title">
|
741 |
+
</div>
|
742 |
+
<# } #>
|
743 |
+
|
744 |
+
<# if ( ! data.features ) { #>
|
745 |
+
<div class="inside">
|
746 |
+
<label for="wp_review_comment_rating"><?php esc_html_e( 'Review Total', 'wp-review' ); ?></label>
|
747 |
+
<input type="text" name="wp_review_comment_rating" size="50" value="{{ data.rating }}" id="wp_review_comment_rating">
|
748 |
+
</div>
|
749 |
+
<# } else { #>
|
750 |
+
|
751 |
+
<# for ( var i = 0; i < data.features.length; i++ ) { #>
|
752 |
+
<# var feature = data.features[ i ]; #>
|
753 |
+
<div class="inside">
|
754 |
+
<label for="wp_review_comment_feature_{{ feature.id }}">{{ feature.wp_review_item_title }}</label>
|
755 |
+
<input type="text" name="wp-review-comment-feature-rating[{{ feature.id }}]" size="50" value="{{ feature.comment_rating }}" id="wp_review_comment_feature_{{ feature.id }}" />
|
756 |
+
</div>
|
757 |
+
<# } #>
|
758 |
+
|
759 |
+
<# } #>
|
760 |
+
|
761 |
+
<# if ( data.showProsCons ) { #>
|
762 |
+
<div style="clear: both;"></div>
|
763 |
+
<div class="inside">
|
764 |
+
<label for="wp_review_comment_pros"><?php esc_html_e( 'Pros', 'wp-review' ); ?></label>
|
765 |
+
<textarea id="wp_review_comment_pros" class="widefat" oninput="this.nextElementSibling.setAttribute( 'value', this.value )">{{ data.pros }}</textarea>
|
766 |
+
<input type="hidden" name="wp_review_comment_pros" value="{{ data.pros }}">
|
767 |
+
</div>
|
768 |
+
<div style="clear: both;"></div>
|
769 |
+
<div class="inside">
|
770 |
+
<label for="wp_review_comment_cons"><?php esc_html_e( 'Cons', 'wp-review' ); ?></label>
|
771 |
+
<textarea id="wp_review_comment_cons" class="widefat" oninput="this.nextElementSibling.setAttribute( 'value', this.value )">{{ data.cons }}</textarea>
|
772 |
+
<input type="hidden" name="wp_review_comment_cons" value="{{ data.cons }}">
|
773 |
+
</div>
|
774 |
+
<# } #>
|
775 |
+
</script>
|
776 |
+
|
777 |
+
<script type="text/javascript">
|
778 |
+
function wpreview_expandedOpen( id ) {
|
779 |
+
var tmpl, editRow, rowData, type, features, tmplData;
|
780 |
+
tmpl = wp.template( 'wpr-comment-review-quick-edit' );
|
781 |
+
editRow = jQuery( '#replyrow' );
|
782 |
+
rowData = jQuery( '#inline-commentreview-' + id );
|
783 |
+
type = jQuery( '.comment-review-type', rowData ).val();
|
784 |
+
|
785 |
+
if ( 'wp_review_comment' !== type && 'wp_review_visitor' !== type ) {
|
786 |
+
return;
|
787 |
+
}
|
788 |
+
|
789 |
+
if ( jQuery( '.comment-review-feature-rating', rowData ).length ) {
|
790 |
+
features = jQuery( '.comment-review-feature-rating', rowData ).val();
|
791 |
+
features = JSON.parse( features );
|
792 |
+
}
|
793 |
+
|
794 |
+
tmplData = {
|
795 |
+
title: jQuery( '.comment-review-title', rowData ).val(),
|
796 |
+
rating: jQuery( '.comment-review-rating', rowData ).val(),
|
797 |
+
type: type,
|
798 |
+
features: features,
|
799 |
+
showProsCons: parseInt( jQuery( '.comment-review-show-pros-cons', rowData ).val() ),
|
800 |
+
pros: jQuery( '.comment-review-pros', rowData ).val(),
|
801 |
+
cons: jQuery( '.comment-review-cons', rowData ).val()
|
802 |
+
};
|
803 |
+
|
804 |
+
jQuery( '#editwpreview', editRow ).html( tmpl( tmplData ) );
|
805 |
+
}
|
806 |
+
</script>
|
807 |
+
<?php
|
808 |
+
}
|
809 |
+
add_action( 'admin_footer-edit-comments.php', 'wp_review_comment_quick_edit_javascript' );
|
810 |
+
|
811 |
+
function wp_review_comment_quick_edit_action($actions, $comment ) {
|
812 |
+
$actions['quickedit'] = sprintf(
|
813 |
+
'<span class="quickedit hide-if-no-js"><a onclick="if (typeof(wpreview_expandedOpen) == \'function\') wpreview_expandedOpen(%1$s);" data-comment-id="%1$s" data-post-id="%2$s" data-action="edit" class="vim-q comment-inline" title="%3$s" href="#">%4$s</a></span>',
|
814 |
+
$comment->comment_ID,
|
815 |
+
$comment->comment_post_ID,
|
816 |
+
__( 'Edit this item inline', 'wp-review' ),
|
817 |
+
__( 'Quick Edit', 'wp-review' )
|
818 |
+
);
|
819 |
+
return $actions;
|
820 |
+
}
|
821 |
+
add_filter( 'comment_row_actions', 'wp_review_comment_quick_edit_action', 10, 2 );
|
822 |
+
|
823 |
+
function wp_review_preprocess_comment( $commentdata ) {
|
824 |
+
$options = get_option( 'wp_review_options' );
|
825 |
+
$review_through_comment = in_array( wp_review_get_user_rating_setup( $commentdata['comment_post_ID'] ), array( WP_REVIEW_REVIEW_COMMENT_ONLY, WP_REVIEW_REVIEW_ALLOW_BOTH ) );
|
826 |
+
|
827 |
+
$rating = filter_input( INPUT_POST, 'wp-review-user-rating-val', FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION );
|
828 |
+
|
829 |
+
if ( ! empty( $rating ) ) {
|
830 |
+
$commentdata['comment_type'] = WP_REVIEW_COMMENT_TYPE_COMMENT;
|
831 |
+
} elseif ( ( ! empty( $options['require_rating'] ) && $review_through_comment && ! is_admin() ) ) {
|
832 |
+
wp_die( esc_html__( 'A rating is required! Hit the back button to add your rating.', 'wp-review' ) );
|
833 |
+
}
|
834 |
+
|
835 |
+
return $commentdata;
|
836 |
+
}
|
837 |
+
add_action( 'preprocess_comment', 'wp_review_preprocess_comment' );
|
838 |
+
|
839 |
+
/**
|
840 |
+
* Replace "Comment" with "Review" in submit field
|
841 |
+
*
|
842 |
+
*/
|
843 |
+
function wp_review_change_submit_comment( $field ) {
|
844 |
+
global $post;
|
845 |
+
$review_through_comment = in_array( wp_review_get_user_rating_setup( $post->ID ), array( WP_REVIEW_REVIEW_COMMENT_ONLY, WP_REVIEW_REVIEW_ALLOW_BOTH ) );
|
846 |
+
if ( $review_through_comment ) {
|
847 |
+
$field = str_replace( __( 'Comment', 'wp-review' ), __( 'Review', 'wp-review' ), $field );
|
848 |
+
}
|
849 |
+
return $field;
|
850 |
+
}
|
851 |
+
add_filter( 'comment_form_submit_field', 'wp_review_change_submit_comment', 10 );
|
852 |
+
|
853 |
+
|
854 |
+
/**
|
855 |
+
* Show 'all' comment types instead of only 'comment' type in MTS themes.
|
856 |
+
*/
|
857 |
+
function wp_review_list_comments_args( $args ) {
|
858 |
+
if ( is_admin() ) {
|
859 |
+
return $args;
|
860 |
+
}
|
861 |
+
|
862 |
+
global $post;
|
863 |
+
$review_through_comment = in_array( wp_review_get_user_rating_setup( $post->ID ), array( WP_REVIEW_REVIEW_COMMENT_ONLY, WP_REVIEW_REVIEW_ALLOW_BOTH ) );
|
864 |
+
if ( ! $review_through_comment ) {
|
865 |
+
return $args;
|
866 |
+
}
|
867 |
+
|
868 |
+
if ( 'comment' === $args['type'] && apply_filters( 'wp_review_to_comment_type_list', true ) ) {
|
869 |
+
$args['type'] = 'all';
|
870 |
+
}
|
871 |
+
return $args;
|
872 |
+
}
|
873 |
+
add_filter( 'wp_list_comments_args', 'wp_review_list_comments_args' );
|
874 |
+
|
875 |
+
|
876 |
+
function wp_review_comment_rating_input( $args = array() ) {
|
877 |
+
global $post, $wp_review_rating_types;
|
878 |
+
$type = wp_review_get_post_user_review_type( $post->ID );
|
879 |
+
$rating_type_template = $wp_review_rating_types[ $type ]['input_template'];
|
880 |
+
$post_id = $post->ID;
|
881 |
+
$value = 0;
|
882 |
+
$comment_rating = true;
|
883 |
+
|
884 |
+
$colors = wp_review_get_colors( $post_id );
|
885 |
+
$color = $colors['color'];
|
886 |
+
|
887 |
+
set_query_var( 'rating', compact( 'value', 'post_id', 'comment_rating', 'args', 'color', 'colors' ) );
|
888 |
+
ob_start();
|
889 |
+
load_template( $rating_type_template, false );
|
890 |
+
$review = '<div class="wp-review-comment-rating wp-review-comment-rating-' . $type . '">' . ob_get_contents() . '</div>';
|
891 |
+
ob_end_clean();
|
892 |
+
|
893 |
+
return $review;
|
894 |
+
}
|
895 |
+
|
896 |
+
|
897 |
+
/**
|
898 |
+
* Gets comment rating items output.
|
899 |
+
*
|
900 |
+
* @since 3.0.0
|
901 |
+
*
|
902 |
+
* @param array $rating_items Rating items.
|
903 |
+
* @param WP_Comment $comment Comment object.
|
904 |
+
* @return string
|
905 |
+
*/
|
906 |
+
function wp_review_comment_rating_items( $rating_items, $comment ) {
|
907 |
+
$post_id = $comment->comment_post_ID;
|
908 |
+
$type = wp_review_get_post_user_review_type( $post_id );
|
909 |
+
if ( empty( $type ) ) {
|
910 |
+
return '';
|
911 |
+
}
|
912 |
+
$rating_type = wp_review_get_rating_type_data( $type );
|
913 |
+
$items = wp_review_get_review_items( $post_id );
|
914 |
+
|
915 |
+
$colors = wp_review_get_colors( $post_id );
|
916 |
+
$color = $colors['color'];
|
917 |
+
|
918 |
+
$template = $rating_type['output_template'];
|
919 |
+
$args['show_one'] = true;
|
920 |
+
// $comment_rating = true;
|
921 |
+
|
922 |
+
$output = '';
|
923 |
+
|
924 |
+
foreach ( $items as $item_id => $item ) {
|
925 |
+
if ( empty( $rating_items[ $item_id ] ) ) {
|
926 |
+
$value = 0;
|
927 |
+
} else {
|
928 |
+
$value = $rating_items[ $item_id ];
|
929 |
+
}
|
930 |
+
|
931 |
+
if ( ! empty( $items[ $item_id ]['wp_review_item_color'] ) ) {
|
932 |
+
$color = $items[ $item_id ]['wp_review_item_color'];
|
933 |
+
$colors['color'] = $color;
|
934 |
+
}
|
935 |
+
|
936 |
+
if ( ! empty( $items[ $item_id ]['wp_review_item_inactive_color'] ) ) {
|
937 |
+
$inactive_color = $items[ $item_id ]['wp_review_item_inactive_color'];
|
938 |
+
$colors['inactive_color'] = $inactive_color;
|
939 |
+
}
|
940 |
+
|
941 |
+
// don't allow higher rating than max.
|
942 |
+
if ( $value > $rating_type['max'] ) {
|
943 |
+
$value = $rating_type['max'];
|
944 |
+
}
|
945 |
+
|
946 |
+
$value_text = '';
|
947 |
+
if ( 'star' != $type ) {
|
948 |
+
$value_text = ' - <span>' . sprintf( $rating_type['value_text'], $value ) . '</span>';
|
949 |
+
}
|
950 |
+
|
951 |
+
set_query_var( 'rating', compact( 'value', 'type', 'args', 'comment_rating', 'post_id', 'color', 'colors' ) );
|
952 |
+
$output .= '<li>';
|
953 |
+
ob_start();
|
954 |
+
load_template( $template, false );
|
955 |
+
$output .= ob_get_clean();
|
956 |
+
$output .= '<span>' . wp_kses_post( $item['wp_review_item_title'] ) . $value_text . '</span>';
|
957 |
+
$output .= '</li>';
|
958 |
+
}
|
959 |
+
return '<div class="wpr-user-features-rating 115 wp-review-usercomment-rating-' . $type . '"><ul class="features-rating-list review-list">' . $output . '</ul></div>';
|
960 |
+
}
|
961 |
+
|
962 |
+
|
963 |
+
|
964 |
+
function wp_review_comment_rating( $value, $comment_id = null, $args = array() ) {
|
965 |
+
global $post;
|
966 |
+
|
967 |
+
if ( ! empty( $comment_id ) ) {
|
968 |
+
$comment = get_comment( $comment_id );
|
969 |
+
$post_id = $comment->comment_post_ID;
|
970 |
+
|
971 |
+
$rating_items = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
|
972 |
+
if ( $rating_items && is_array( $rating_items ) ) {
|
973 |
+
return wp_review_comment_rating_items( $rating_items, $comment );
|
974 |
+
}
|
975 |
+
} else {
|
976 |
+
$post_id = $post->ID;
|
977 |
+
}
|
978 |
+
|
979 |
+
$type = wp_review_get_post_user_review_type( $post_id );
|
980 |
+
|
981 |
+
if ( empty( $type ) ) {
|
982 |
+
return '';
|
983 |
+
}
|
984 |
+
|
985 |
+
$rating_type = wp_review_get_rating_type_data( $type );
|
986 |
+
|
987 |
+
$colors = wp_review_get_colors( $post_id );
|
988 |
+
|
989 |
+
$color = $colors['color'];
|
990 |
+
// don't allow higher rating than max.
|
991 |
+
if ( $value > $rating_type['max'] ) {
|
992 |
+
$value = $rating_type['max'];
|
993 |
+
}
|
994 |
+
$template = $rating_type['output_template'];
|
995 |
+
$comment_rating = true;
|
996 |
+
$args['show_one'] = true;
|
997 |
+
set_query_var( 'rating', compact( 'value', 'type', 'args', 'comment_rating', 'post_id', 'color', 'colors' ) );
|
998 |
+
ob_start();
|
999 |
+
load_template( $template, false );
|
1000 |
+
$review = '<div class="wp-review-usercomment-rating wp-review-usercomment-rating-' . $type . '">' . ob_get_contents() . '</div>';
|
1001 |
+
ob_end_clean();
|
1002 |
+
return $review;
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
|
1006 |
+
/**
|
1007 |
+
* Gets comment feature rating text only.
|
1008 |
+
*
|
1009 |
+
* @param WP_Comment|int $comment Comment object or comment ID.
|
1010 |
+
* @return string
|
1011 |
+
* @since 3.0.0
|
1012 |
+
*/
|
1013 |
+
function wp_review_get_comment_feature_rating_text_only( $comment ) {
|
1014 |
+
$comment = get_comment( $comment );
|
1015 |
+
$rating_items = get_comment_meta( $comment->comment_ID, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
|
1016 |
+
if ( ! $rating_items || ! is_array( $rating_items ) ) {
|
1017 |
+
return '';
|
1018 |
+
}
|
1019 |
+
|
1020 |
+
$items = wp_review_get_review_items( $comment->comment_post_ID );
|
1021 |
+
if ( ! $items ) {
|
1022 |
+
return '';
|
1023 |
+
}
|
1024 |
+
|
1025 |
+
$items = wp_list_pluck( $items, 'wp_review_item_title' );
|
1026 |
+
$output = '<ul>';
|
1027 |
+
foreach ( $rating_items as $key => $value ) {
|
1028 |
+
if ( ! isset( $items[ $key ] ) ) {
|
1029 |
+
continue;
|
1030 |
+
}
|
1031 |
+
$output .= sprintf( '<li>%1$s - %2$s</li>', esc_html( $items[ $key ] ), floatval( $rating_items[ $key ] ) );
|
1032 |
+
}
|
1033 |
+
$output .= '</ul>';
|
1034 |
+
return $output;
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
|
1038 |
+
// Keep "comment" class in 'wp_review_comment' comment type
|
1039 |
+
function wp_review_comment_type_classes( $classes, $class, $comment_ID, $comment, $post_id ) {
|
1040 |
+
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === $comment->comment_type ) {
|
1041 |
+
$classes[] = 'comment';
|
1042 |
+
}/* elseif ( wp_review_has_reviewed( $comment->comment_post_ID, WP_REVIEW_COMMENT_TYPE_COMMENT ) ) {
|
1043 |
+
$classes[] = 'wp_review_comment';
|
1044 |
+
}*/
|
1045 |
+
return $classes;
|
1046 |
+
}
|
1047 |
+
add_filter( 'comment_class', 'wp_review_comment_type_classes', 10, 6 );
|
1048 |
+
|
1049 |
+
// Enable avatar for 'wp_review_comment' comment type
|
1050 |
+
function wp_review_comment_type_avatar( $types ) {
|
1051 |
+
$types[] = 'wp_review_comment';
|
1052 |
+
return $types;
|
1053 |
+
}
|
1054 |
+
add_filter( 'get_avatar_comment_types', 'wp_review_comment_type_avatar' );
|
1055 |
+
|
1056 |
+
// Update user ratings total if comment status is changed
|
1057 |
+
function wp_review_update_comment_ratings( $new_status, $old_status, $comment ) {
|
1058 |
+
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === $comment->comment_type ) {
|
1059 |
+
mts_get_post_comments_reviews( $comment->comment_post_ID, true );
|
1060 |
+
}
|
1061 |
+
if ( WP_REVIEW_COMMENT_TYPE_VISITOR === $comment->comment_type ) {
|
1062 |
+
mts_get_post_reviews( $comment->comment_post_ID, true );
|
1063 |
+
}
|
1064 |
+
}
|
1065 |
+
add_action( 'transition_comment_status', 'wp_review_update_comment_ratings', 10, 3 );
|
1066 |
+
|
1067 |
+
|
1068 |
+
/**
|
1069 |
+
* Adds view links in comments list page.
|
1070 |
+
*
|
1071 |
+
* @since 3.0.0
|
1072 |
+
*
|
1073 |
+
* @param array $views View links.
|
1074 |
+
* @return array
|
1075 |
+
*/
|
1076 |
+
function wp_review_add_comments_list_view( $views ) {
|
1077 |
+
foreach ( $views as $key => $view ) {
|
1078 |
+
$view = str_replace( 'comment_type=' . WP_REVIEW_COMMENT_TYPE_COMMENT . '&', '', $view );
|
1079 |
+
$view = str_replace( 'comment_type=' . WP_REVIEW_COMMENT_TYPE_VISITOR . '&', '', $view );
|
1080 |
+
$views[ $key ] = $view;
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
// Comment reviews.
|
1084 |
+
$url = add_query_arg( 'comment_type', WP_REVIEW_COMMENT_TYPE_COMMENT );
|
1085 |
+
$url = remove_query_arg( 'comment_status', $url );
|
1086 |
+
$count = get_comments( array(
|
1087 |
+
'count' => true,
|
1088 |
+
'type' => WP_REVIEW_COMMENT_TYPE_COMMENT,
|
1089 |
+
) );
|
1090 |
+
$views['comment_reviews'] = sprintf(
|
1091 |
+
'<a href="%1$s" class="%2$s" aria-current="page">%3$s <span class="count">(<span class="all-count">%4$s</span>)</span></a>',
|
1092 |
+
esc_url( $url ),
|
1093 |
+
isset( $_GET['comment_type'] ) && WP_REVIEW_COMMENT_TYPE_COMMENT === $_GET['comment_type'] ? 'current' : '',
|
1094 |
+
esc_html__( 'Comment reviews', 'wp-review' ),
|
1095 |
+
$count
|
1096 |
+
);
|
1097 |
+
|
1098 |
+
// Visitor reviews.
|
1099 |
+
$url = add_query_arg( 'comment_type', WP_REVIEW_COMMENT_TYPE_VISITOR );
|
1100 |
+
$url = remove_query_arg( 'comment_status', $url );
|
1101 |
+
$count = get_comments( array(
|
1102 |
+
'count' => true,
|
1103 |
+
'type' => WP_REVIEW_COMMENT_TYPE_VISITOR,
|
1104 |
+
) );
|
1105 |
+
$views['visitor_reviews'] = sprintf(
|
1106 |
+
'<a href="%1$s" class="%2$s" aria-current="page">%3$s <span class="count">(<span class="all-count">%4$s</span>)</span></a>',
|
1107 |
+
esc_url( $url ),
|
1108 |
+
isset( $_GET['comment_type'] ) && WP_REVIEW_COMMENT_TYPE_VISITOR === $_GET['comment_type'] ? 'current' : '',
|
1109 |
+
esc_html__( 'Visitor reviews', 'wp-review' ),
|
1110 |
+
$count
|
1111 |
+
);
|
1112 |
+
|
1113 |
+
return $views;
|
1114 |
+
}
|
1115 |
+
add_filter( 'views_edit-comments', 'wp_review_add_comments_list_view' );
|
1116 |
+
|
1117 |
+
|
1118 |
+
/**
|
1119 |
+
* Gets comment feature rating data.
|
1120 |
+
*
|
1121 |
+
* @param WP_Comment|int $comment Comment object or comment ID.
|
1122 |
+
* @return array
|
1123 |
+
* @since 3.0.0
|
1124 |
+
*/
|
1125 |
+
function wp_review_get_comment_feature_rating_data( $comment ) {
|
1126 |
+
$comment = get_comment( $comment );
|
1127 |
+
$rating_items = get_comment_meta( $comment->comment_ID, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
|
1128 |
+
if ( ! $rating_items || ! is_array( $rating_items ) ) {
|
1129 |
+
return array();
|
1130 |
+
}
|
1131 |
+
|
1132 |
+
$items = wp_review_get_review_items( $comment->comment_post_ID );
|
1133 |
+
if ( ! $items ) {
|
1134 |
+
return array();
|
1135 |
+
}
|
1136 |
+
|
1137 |
+
foreach ( $items as $key => &$item ) {
|
1138 |
+
$item['id'] = $key;
|
1139 |
+
$item['comment_rating'] = isset( $rating_items[ $key ] ) ? floatval( $rating_items[ $key ] ) : false;
|
1140 |
+
}
|
1141 |
+
return $items;
|
1142 |
+
}
|
1143 |
+
|
1144 |
+
function wp_review_verified_comment($email) {
|
1145 |
+
if ( class_exists( 'WooCommerce' ) ) {
|
1146 |
+
global $product;
|
1147 |
+
$show_verified_product = apply_filters('wpr_show_verified_label', true);
|
1148 |
+
if(!empty($product) && wc_customer_bought_product( $email, '', $product->get_id() ) && $show_verified_product) {
|
1149 |
+
return '<span class="is_verified">'.apply_filters('wp_review_verified_label', __('Verified Purchase', 'wp-review')).'</span>';
|
1150 |
+
}
|
1151 |
+
}
|
1152 |
+
return '';
|
1153 |
+
}
|
includes/demo/demo-content.xml
ADDED
@@ -0,0 +1,38572 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2 |
+
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
3 |
+
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
4 |
+
<!-- You may use this file to transfer that content from one site to another. -->
|
5 |
+
<!-- This file is not intended to serve as a complete backup of your site. -->
|
6 |
+
|
7 |
+
<!-- To import this information into a WordPress site follow these steps: -->
|
8 |
+
<!-- 1. Log in to that site as an administrator. -->
|
9 |
+
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
10 |
+
<!-- 3. Install the "WordPress" importer from the list. -->
|
11 |
+
<!-- 4. Activate & Run Importer. -->
|
12 |
+
<!-- 5. Upload this file using the form provided on that page. -->
|
13 |
+
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
14 |
+
<!-- on the site. For each author, you may choose to map to an -->
|
15 |
+
<!-- existing user on the site or to create a new user. -->
|
16 |
+
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
17 |
+
<!-- contained in this file into your site. -->
|
18 |
+
|
19 |
+
<!-- generator="WordPress/4.9.5" created="2018-04-16 16:42" -->
|
20 |
+
<rss version="2.0"
|
21 |
+
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
22 |
+
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
23 |
+
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
24 |
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
25 |
+
xmlns:wp="http://wordpress.org/export/1.2/"
|
26 |
+
>
|
27 |
+
|
28 |
+
<channel>
|
29 |
+
<title>WP Review Pro</title>
|
30 |
+
<link>http://demo.mythemeshop.com/wp-review-pro</link>
|
31 |
+
<description>Just another MyThemeShop Playground site</description>
|
32 |
+
<pubDate>Mon, 16 Apr 2018 16:42:46 +0000</pubDate>
|
33 |
+
<language>en-US</language>
|
34 |
+
<wp:wxr_version>1.2</wp:wxr_version>
|
35 |
+
<wp:base_site_url>http://demo.mythemeshop.com/</wp:base_site_url>
|
36 |
+
<wp:base_blog_url>http://demo.mythemeshop.com/wp-review-pro</wp:base_blog_url>
|
37 |
+
|
38 |
+
<wp:author><wp:author_id>1</wp:author_id><wp:author_login><![CDATA[N8FnGO1Y]]></wp:author_login><wp:author_email><![CDATA[admin@mythemeshop.com]]></wp:author_email><wp:author_display_name><![CDATA[MyThemeShop]]></wp:author_display_name><wp:author_first_name><![CDATA[MyThemeShop]]></wp:author_first_name><wp:author_last_name><![CDATA[Staff]]></wp:author_last_name></wp:author>
|
39 |
+
|
40 |
+
<wp:category>
|
41 |
+
<wp:term_id>17</wp:term_id>
|
42 |
+
<wp:category_nicename><![CDATA[amazon]]></wp:category_nicename>
|
43 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
44 |
+
<wp:cat_name><![CDATA[Amazon]]></wp:cat_name>
|
45 |
+
</wp:category>
|
46 |
+
<wp:category>
|
47 |
+
<wp:term_id>18</wp:term_id>
|
48 |
+
<wp:category_nicename><![CDATA[aqua]]></wp:category_nicename>
|
49 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
50 |
+
<wp:cat_name><![CDATA[Aqua]]></wp:cat_name>
|
51 |
+
</wp:category>
|
52 |
+
<wp:category>
|
53 |
+
<wp:term_id>19</wp:term_id>
|
54 |
+
<wp:category_nicename><![CDATA[blue]]></wp:category_nicename>
|
55 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
56 |
+
<wp:cat_name><![CDATA[Blue]]></wp:cat_name>
|
57 |
+
</wp:category>
|
58 |
+
<wp:category>
|
59 |
+
<wp:term_id>20</wp:term_id>
|
60 |
+
<wp:category_nicename><![CDATA[darkside]]></wp:category_nicename>
|
61 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
62 |
+
<wp:cat_name><![CDATA[Darkside]]></wp:cat_name>
|
63 |
+
</wp:category>
|
64 |
+
<wp:category>
|
65 |
+
<wp:term_id>21</wp:term_id>
|
66 |
+
<wp:category_nicename><![CDATA[dash]]></wp:category_nicename>
|
67 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
68 |
+
<wp:cat_name><![CDATA[Dash]]></wp:cat_name>
|
69 |
+
</wp:category>
|
70 |
+
<wp:category>
|
71 |
+
<wp:term_id>16</wp:term_id>
|
72 |
+
<wp:category_nicename><![CDATA[default]]></wp:category_nicename>
|
73 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
74 |
+
<wp:cat_name><![CDATA[Default]]></wp:cat_name>
|
75 |
+
</wp:category>
|
76 |
+
<wp:category>
|
77 |
+
<wp:term_id>22</wp:term_id>
|
78 |
+
<wp:category_nicename><![CDATA[edge]]></wp:category_nicename>
|
79 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
80 |
+
<wp:cat_name><![CDATA[Edge]]></wp:cat_name>
|
81 |
+
</wp:category>
|
82 |
+
<wp:category>
|
83 |
+
<wp:term_id>23</wp:term_id>
|
84 |
+
<wp:category_nicename><![CDATA[enterprise]]></wp:category_nicename>
|
85 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
86 |
+
<wp:cat_name><![CDATA[Enterprise]]></wp:cat_name>
|
87 |
+
</wp:category>
|
88 |
+
<wp:category>
|
89 |
+
<wp:term_id>24</wp:term_id>
|
90 |
+
<wp:category_nicename><![CDATA[fizzy]]></wp:category_nicename>
|
91 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
92 |
+
<wp:cat_name><![CDATA[Fizzy]]></wp:cat_name>
|
93 |
+
</wp:category>
|
94 |
+
<wp:category>
|
95 |
+
<wp:term_id>25</wp:term_id>
|
96 |
+
<wp:category_nicename><![CDATA[gamer]]></wp:category_nicename>
|
97 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
98 |
+
<wp:cat_name><![CDATA[Gamer]]></wp:cat_name>
|
99 |
+
</wp:category>
|
100 |
+
<wp:category>
|
101 |
+
<wp:term_id>26</wp:term_id>
|
102 |
+
<wp:category_nicename><![CDATA[gravity]]></wp:category_nicename>
|
103 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
104 |
+
<wp:cat_name><![CDATA[Gravity]]></wp:cat_name>
|
105 |
+
</wp:category>
|
106 |
+
<wp:category>
|
107 |
+
<wp:term_id>27</wp:term_id>
|
108 |
+
<wp:category_nicename><![CDATA[shell]]></wp:category_nicename>
|
109 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
110 |
+
<wp:cat_name><![CDATA[Shell]]></wp:cat_name>
|
111 |
+
</wp:category>
|
112 |
+
<wp:category>
|
113 |
+
<wp:term_id>28</wp:term_id>
|
114 |
+
<wp:category_nicename><![CDATA[tabbed]]></wp:category_nicename>
|
115 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
116 |
+
<wp:cat_name><![CDATA[Tabbed]]></wp:cat_name>
|
117 |
+
</wp:category>
|
118 |
+
<wp:category>
|
119 |
+
<wp:term_id>29</wp:term_id>
|
120 |
+
<wp:category_nicename><![CDATA[tabbed2]]></wp:category_nicename>
|
121 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
122 |
+
<wp:cat_name><![CDATA[Tabbed2]]></wp:cat_name>
|
123 |
+
</wp:category>
|
124 |
+
<wp:category>
|
125 |
+
<wp:term_id>1</wp:term_id>
|
126 |
+
<wp:category_nicename><![CDATA[uncategorized]]></wp:category_nicename>
|
127 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
128 |
+
<wp:cat_name><![CDATA[Uncategorized]]></wp:cat_name>
|
129 |
+
</wp:category>
|
130 |
+
<wp:category>
|
131 |
+
<wp:term_id>30</wp:term_id>
|
132 |
+
<wp:category_nicename><![CDATA[xiaomi]]></wp:category_nicename>
|
133 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
134 |
+
<wp:cat_name><![CDATA[Xiaomi]]></wp:cat_name>
|
135 |
+
</wp:category>
|
136 |
+
<wp:category>
|
137 |
+
<wp:term_id>31</wp:term_id>
|
138 |
+
<wp:category_nicename><![CDATA[zine]]></wp:category_nicename>
|
139 |
+
<wp:category_parent><![CDATA[]]></wp:category_parent>
|
140 |
+
<wp:cat_name><![CDATA[Zine]]></wp:cat_name>
|
141 |
+
</wp:category>
|
142 |
+
<wp:term>
|
143 |
+
<wp:term_id><![CDATA[37]]></wp:term_id>
|
144 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
145 |
+
<wp:term_slug><![CDATA[exclude-from-catalog]]></wp:term_slug>
|
146 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
147 |
+
<wp:term_name><![CDATA[exclude-from-catalog]]></wp:term_name>
|
148 |
+
</wp:term>
|
149 |
+
<wp:term>
|
150 |
+
<wp:term_id><![CDATA[36]]></wp:term_id>
|
151 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
152 |
+
<wp:term_slug><![CDATA[exclude-from-search]]></wp:term_slug>
|
153 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
154 |
+
<wp:term_name><![CDATA[exclude-from-search]]></wp:term_name>
|
155 |
+
</wp:term>
|
156 |
+
<wp:term>
|
157 |
+
<wp:term_id><![CDATA[35]]></wp:term_id>
|
158 |
+
<wp:term_taxonomy><![CDATA[product_type]]></wp:term_taxonomy>
|
159 |
+
<wp:term_slug><![CDATA[external]]></wp:term_slug>
|
160 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
161 |
+
<wp:term_name><![CDATA[external]]></wp:term_name>
|
162 |
+
</wp:term>
|
163 |
+
<wp:term>
|
164 |
+
<wp:term_id><![CDATA[38]]></wp:term_id>
|
165 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
166 |
+
<wp:term_slug><![CDATA[featured]]></wp:term_slug>
|
167 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
168 |
+
<wp:term_name><![CDATA[featured]]></wp:term_name>
|
169 |
+
</wp:term>
|
170 |
+
<wp:term>
|
171 |
+
<wp:term_id><![CDATA[33]]></wp:term_id>
|
172 |
+
<wp:term_taxonomy><![CDATA[product_type]]></wp:term_taxonomy>
|
173 |
+
<wp:term_slug><![CDATA[grouped]]></wp:term_slug>
|
174 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
175 |
+
<wp:term_name><![CDATA[grouped]]></wp:term_name>
|
176 |
+
</wp:term>
|
177 |
+
<wp:term>
|
178 |
+
<wp:term_id><![CDATA[39]]></wp:term_id>
|
179 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
180 |
+
<wp:term_slug><![CDATA[outofstock]]></wp:term_slug>
|
181 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
182 |
+
<wp:term_name><![CDATA[outofstock]]></wp:term_name>
|
183 |
+
</wp:term>
|
184 |
+
<wp:term>
|
185 |
+
<wp:term_id><![CDATA[45]]></wp:term_id>
|
186 |
+
<wp:term_taxonomy><![CDATA[product_cat]]></wp:term_taxonomy>
|
187 |
+
<wp:term_slug><![CDATA[phones]]></wp:term_slug>
|
188 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
189 |
+
<wp:term_name><![CDATA[Phones]]></wp:term_name>
|
190 |
+
<wp:termmeta>
|
191 |
+
<wp:meta_key><![CDATA[product_count_product_cat]]></wp:meta_key>
|
192 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
193 |
+
</wp:termmeta>
|
194 |
+
</wp:term>
|
195 |
+
<wp:term>
|
196 |
+
<wp:term_id><![CDATA[40]]></wp:term_id>
|
197 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
198 |
+
<wp:term_slug><![CDATA[rated-1]]></wp:term_slug>
|
199 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
200 |
+
<wp:term_name><![CDATA[rated-1]]></wp:term_name>
|
201 |
+
</wp:term>
|
202 |
+
<wp:term>
|
203 |
+
<wp:term_id><![CDATA[41]]></wp:term_id>
|
204 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
205 |
+
<wp:term_slug><![CDATA[rated-2]]></wp:term_slug>
|
206 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
207 |
+
<wp:term_name><![CDATA[rated-2]]></wp:term_name>
|
208 |
+
</wp:term>
|
209 |
+
<wp:term>
|
210 |
+
<wp:term_id><![CDATA[42]]></wp:term_id>
|
211 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
212 |
+
<wp:term_slug><![CDATA[rated-3]]></wp:term_slug>
|
213 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
214 |
+
<wp:term_name><![CDATA[rated-3]]></wp:term_name>
|
215 |
+
</wp:term>
|
216 |
+
<wp:term>
|
217 |
+
<wp:term_id><![CDATA[43]]></wp:term_id>
|
218 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
219 |
+
<wp:term_slug><![CDATA[rated-4]]></wp:term_slug>
|
220 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
221 |
+
<wp:term_name><![CDATA[rated-4]]></wp:term_name>
|
222 |
+
</wp:term>
|
223 |
+
<wp:term>
|
224 |
+
<wp:term_id><![CDATA[44]]></wp:term_id>
|
225 |
+
<wp:term_taxonomy><![CDATA[product_visibility]]></wp:term_taxonomy>
|
226 |
+
<wp:term_slug><![CDATA[rated-5]]></wp:term_slug>
|
227 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
228 |
+
<wp:term_name><![CDATA[rated-5]]></wp:term_name>
|
229 |
+
</wp:term>
|
230 |
+
<wp:term>
|
231 |
+
<wp:term_id><![CDATA[32]]></wp:term_id>
|
232 |
+
<wp:term_taxonomy><![CDATA[product_type]]></wp:term_taxonomy>
|
233 |
+
<wp:term_slug><![CDATA[simple]]></wp:term_slug>
|
234 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
235 |
+
<wp:term_name><![CDATA[simple]]></wp:term_name>
|
236 |
+
</wp:term>
|
237 |
+
<wp:term>
|
238 |
+
<wp:term_id><![CDATA[34]]></wp:term_id>
|
239 |
+
<wp:term_taxonomy><![CDATA[product_type]]></wp:term_taxonomy>
|
240 |
+
<wp:term_slug><![CDATA[variable]]></wp:term_slug>
|
241 |
+
<wp:term_parent><![CDATA[]]></wp:term_parent>
|
242 |
+
<wp:term_name><![CDATA[variable]]></wp:term_name>
|
243 |
+
</wp:term>
|
244 |
+
<wp:term><wp:term_id>15</wp:term_id><wp:term_taxonomy>nav_menu</wp:term_taxonomy><wp:term_slug><![CDATA[menu]]></wp:term_slug><wp:term_name><![CDATA[Menu]]></wp:term_name>
|
245 |
+
</wp:term>
|
246 |
+
|
247 |
+
<generator>https://wordpress.org/?v=4.9.5</generator>
|
248 |
+
|
249 |
+
<item>
|
250 |
+
<title>fashion-glasses-go-pro-female-157888</title>
|
251 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fashion-glasses-go-pro-female-157888/</link>
|
252 |
+
<pubDate>Thu, 12 Jan 2017 06:22:28 +0000</pubDate>
|
253 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
254 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/fashion-glasses-go-pro-female-157888.jpeg</guid>
|
255 |
+
<description></description>
|
256 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
257 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
258 |
+
<wp:post_id>296</wp:post_id>
|
259 |
+
<wp:post_date><![CDATA[2017-01-12 06:22:28]]></wp:post_date>
|
260 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 06:22:28]]></wp:post_date_gmt>
|
261 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
262 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
263 |
+
<wp:post_name><![CDATA[fashion-glasses-go-pro-female-157888]]></wp:post_name>
|
264 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
265 |
+
<wp:post_parent>0</wp:post_parent>
|
266 |
+
<wp:menu_order>0</wp:menu_order>
|
267 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
268 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
269 |
+
<wp:is_sticky>0</wp:is_sticky>
|
270 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/fashion-glasses-go-pro-female-157888-e1522931222905.jpeg]]></wp:attachment_url>
|
271 |
+
<wp:postmeta>
|
272 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
273 |
+
<wp:meta_value><![CDATA[2016/03/fashion-glasses-go-pro-female-157888-e1522931222905.jpeg]]></wp:meta_value>
|
274 |
+
</wp:postmeta>
|
275 |
+
<wp:postmeta>
|
276 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
277 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:64:"2016/03/fashion-glasses-go-pro-female-157888-e1522931222905.jpeg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:48:"fashion-glasses-go-pro-female-157888-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-223x137.jpeg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-634x304.jpeg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:48:"fashion-glasses-go-pro-female-157888-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-770x430.jpeg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-370x430.jpeg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:50:"fashion-glasses-go-pro-female-157888-1024x683.jpeg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:47:"fashion-glasses-go-pro-female-157888-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:48:"fashion-glasses-go-pro-female-157888-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:49:"fashion-glasses-go-pro-female-157888-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
278 |
+
</wp:postmeta>
|
279 |
+
<wp:postmeta>
|
280 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
281 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
282 |
+
</wp:postmeta>
|
283 |
+
<wp:postmeta>
|
284 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
285 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1280;s:4:"file";s:41:"fashion-glasses-go-pro-female-157888.jpeg";}}]]></wp:meta_value>
|
286 |
+
</wp:postmeta>
|
287 |
+
</item>
|
288 |
+
<item>
|
289 |
+
<title>pexels-photo-icecream</title>
|
290 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/pexels-photo-icecream/</link>
|
291 |
+
<pubDate>Thu, 12 Jan 2017 06:26:53 +0000</pubDate>
|
292 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
293 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/pexels-photo-icecream.jpg</guid>
|
294 |
+
<description></description>
|
295 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
296 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
297 |
+
<wp:post_id>298</wp:post_id>
|
298 |
+
<wp:post_date><![CDATA[2017-01-12 06:26:53]]></wp:post_date>
|
299 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 06:26:53]]></wp:post_date_gmt>
|
300 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
301 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
302 |
+
<wp:post_name><![CDATA[pexels-photo-icecream]]></wp:post_name>
|
303 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
304 |
+
<wp:post_parent>0</wp:post_parent>
|
305 |
+
<wp:menu_order>0</wp:menu_order>
|
306 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
307 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
308 |
+
<wp:is_sticky>0</wp:is_sticky>
|
309 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/pexels-photo-icecream-e1522931205322.jpg]]></wp:attachment_url>
|
310 |
+
<wp:postmeta>
|
311 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
312 |
+
<wp:meta_value><![CDATA[2016/03/pexels-photo-icecream-e1522931205322.jpg]]></wp:meta_value>
|
313 |
+
</wp:postmeta>
|
314 |
+
<wp:postmeta>
|
315 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
316 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:266;s:4:"file";s:48:"2016/03/pexels-photo-icecream-e1522931205322.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:33:"pexels-photo-icecream-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:32:"pexels-photo-icecream-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:33:"pexels-photo-icecream-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:33:"pexels-photo-icecream-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:33:"pexels-photo-icecream-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:32:"pexels-photo-icecream-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:33:"pexels-photo-icecream-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:33:"pexels-photo-icecream-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:33:"pexels-photo-icecream-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:33:"pexels-photo-icecream-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:33:"pexels-photo-icecream-300x199.jpg";s:5:"width";i:300;s:6:"height";i:199;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:33:"pexels-photo-icecream-768x510.jpg";s:5:"width";i:768;s:6:"height";i:510;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:34:"pexels-photo-icecream-1024x681.jpg";s:5:"width";i:1024;s:6:"height";i:681;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:33:"pexels-photo-icecream-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:33:"pexels-photo-icecream-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:33:"pexels-photo-icecream-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:31:"pexels-photo-icecream-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:33:"pexels-photo-icecream-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:33:"pexels-photo-icecream-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-icecream-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:33:"pexels-photo-icecream-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
317 |
+
</wp:postmeta>
|
318 |
+
<wp:postmeta>
|
319 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
320 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
321 |
+
</wp:postmeta>
|
322 |
+
<wp:postmeta>
|
323 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
324 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1276;s:4:"file";s:25:"pexels-photo-icecream.jpg";}}]]></wp:meta_value>
|
325 |
+
</wp:postmeta>
|
326 |
+
</item>
|
327 |
+
<item>
|
328 |
+
<title>pexels-photo-211342</title>
|
329 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/pexels-photo-211342/</link>
|
330 |
+
<pubDate>Thu, 12 Jan 2017 07:15:43 +0000</pubDate>
|
331 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
332 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/pexels-photo-211342.jpeg</guid>
|
333 |
+
<description></description>
|
334 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
335 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
336 |
+
<wp:post_id>301</wp:post_id>
|
337 |
+
<wp:post_date><![CDATA[2017-01-12 07:15:43]]></wp:post_date>
|
338 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:15:43]]></wp:post_date_gmt>
|
339 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
340 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
341 |
+
<wp:post_name><![CDATA[pexels-photo-211342]]></wp:post_name>
|
342 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
343 |
+
<wp:post_parent>0</wp:post_parent>
|
344 |
+
<wp:menu_order>0</wp:menu_order>
|
345 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
346 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
347 |
+
<wp:is_sticky>0</wp:is_sticky>
|
348 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/pexels-photo-211342-e1522931178155.jpeg]]></wp:attachment_url>
|
349 |
+
<wp:postmeta>
|
350 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
351 |
+
<wp:meta_value><![CDATA[2016/03/pexels-photo-211342-e1522931178155.jpeg]]></wp:meta_value>
|
352 |
+
</wp:postmeta>
|
353 |
+
<wp:postmeta>
|
354 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
355 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:239;s:4:"file";s:47:"2016/03/pexels-photo-211342-e1522931178155.jpeg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-211342-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:31:"pexels-photo-211342-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-211342-223x137.jpeg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:32:"pexels-photo-211342-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:32:"pexels-photo-211342-634x304.jpeg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:31:"pexels-photo-211342-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-211342-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:32:"pexels-photo-211342-770x430.jpeg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:32:"pexels-photo-211342-370x430.jpeg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-211342-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-211342-300x179.jpeg";s:5:"width";i:300;s:6:"height";i:179;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-211342-768x458.jpeg";s:5:"width";i:768;s:6:"height";i:458;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:33:"pexels-photo-211342-1024x611.jpeg";s:5:"width";i:1024;s:6:"height";i:611;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:32:"pexels-photo-211342-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-211342-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-211342-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-211342-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-211342-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-211342-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-211342-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-211342-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
356 |
+
</wp:postmeta>
|
357 |
+
<wp:postmeta>
|
358 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
359 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
360 |
+
</wp:postmeta>
|
361 |
+
<wp:postmeta>
|
362 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
363 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1146;s:4:"file";s:24:"pexels-photo-211342.jpeg";}}]]></wp:meta_value>
|
364 |
+
</wp:postmeta>
|
365 |
+
</item>
|
366 |
+
<item>
|
367 |
+
<title>iphone-game-pad-gaming</title>
|
368 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/iphone-game-pad-gaming/</link>
|
369 |
+
<pubDate>Thu, 12 Jan 2017 07:19:07 +0000</pubDate>
|
370 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
371 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/iphone-game-pad-gaming.jpg</guid>
|
372 |
+
<description></description>
|
373 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
374 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
375 |
+
<wp:post_id>304</wp:post_id>
|
376 |
+
<wp:post_date><![CDATA[2017-01-12 07:19:07]]></wp:post_date>
|
377 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:19:07]]></wp:post_date_gmt>
|
378 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
379 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
380 |
+
<wp:post_name><![CDATA[iphone-game-pad-gaming]]></wp:post_name>
|
381 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
382 |
+
<wp:post_parent>0</wp:post_parent>
|
383 |
+
<wp:menu_order>0</wp:menu_order>
|
384 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
385 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
386 |
+
<wp:is_sticky>0</wp:is_sticky>
|
387 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/iphone-game-pad-gaming-e1522931146673.jpg]]></wp:attachment_url>
|
388 |
+
<wp:postmeta>
|
389 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
390 |
+
<wp:meta_value><![CDATA[2016/03/iphone-game-pad-gaming-e1522931146673.jpg]]></wp:meta_value>
|
391 |
+
</wp:postmeta>
|
392 |
+
<wp:postmeta>
|
393 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
394 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:49:"2016/03/iphone-game-pad-gaming-e1522931146673.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:33:"iphone-game-pad-gaming-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:33:"iphone-game-pad-gaming-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:35:"iphone-game-pad-gaming-1024x682.jpg";s:5:"width";i:1024;s:6:"height";i:682;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:32:"iphone-game-pad-gaming-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:33:"iphone-game-pad-gaming-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:34:"iphone-game-pad-gaming-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
395 |
+
</wp:postmeta>
|
396 |
+
<wp:postmeta>
|
397 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
398 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
399 |
+
</wp:postmeta>
|
400 |
+
<wp:postmeta>
|
401 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
402 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1280;s:6:"height";i:853;s:4:"file";s:26:"iphone-game-pad-gaming.jpg";}}]]></wp:meta_value>
|
403 |
+
</wp:postmeta>
|
404 |
+
</item>
|
405 |
+
<item>
|
406 |
+
<title>girl-checking-tumblr-on-her-macbook-pro-picjumbo-com</title>
|
407 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/girl-checking-tumblr-on-her-macbook-pro-picjumbo-com/</link>
|
408 |
+
<pubDate>Thu, 12 Jan 2017 07:40:39 +0000</pubDate>
|
409 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
410 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/girl-checking-tumblr-on-her-macbook-pro-picjumbo-com.jpg</guid>
|
411 |
+
<description></description>
|
412 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
413 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
414 |
+
<wp:post_id>312</wp:post_id>
|
415 |
+
<wp:post_date><![CDATA[2017-01-12 07:40:39]]></wp:post_date>
|
416 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:40:39]]></wp:post_date_gmt>
|
417 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
418 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
419 |
+
<wp:post_name><![CDATA[girl-checking-tumblr-on-her-macbook-pro-picjumbo-com]]></wp:post_name>
|
420 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
421 |
+
<wp:post_parent>0</wp:post_parent>
|
422 |
+
<wp:menu_order>0</wp:menu_order>
|
423 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
424 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
425 |
+
<wp:is_sticky>0</wp:is_sticky>
|
426 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-e1522931080817.jpg]]></wp:attachment_url>
|
427 |
+
<wp:postmeta>
|
428 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
429 |
+
<wp:meta_value><![CDATA[2016/03/girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-e1522931080817.jpg]]></wp:meta_value>
|
430 |
+
</wp:postmeta>
|
431 |
+
<wp:postmeta>
|
432 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
433 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:79:"2016/03/girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-e1522931080817.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:63:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:63:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:65:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-1024x683.jpg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:62:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:63:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:64:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
434 |
+
</wp:postmeta>
|
435 |
+
<wp:postmeta>
|
436 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
437 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
438 |
+
</wp:postmeta>
|
439 |
+
<wp:postmeta>
|
440 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
441 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1280;s:4:"file";s:56:"girl-checking-tumblr-on-her-macbook-pro-picjumbo-com.jpg";}}]]></wp:meta_value>
|
442 |
+
</wp:postmeta>
|
443 |
+
</item>
|
444 |
+
<item>
|
445 |
+
<title>b720c4c41cb9bc2cd64a95d692331521</title>
|
446 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/b720c4c41cb9bc2cd64a95d692331521/</link>
|
447 |
+
<pubDate>Thu, 12 Jan 2017 07:41:21 +0000</pubDate>
|
448 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
449 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/b720c4c41cb9bc2cd64a95d692331521.jpg</guid>
|
450 |
+
<description></description>
|
451 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
452 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
453 |
+
<wp:post_id>313</wp:post_id>
|
454 |
+
<wp:post_date><![CDATA[2017-01-12 07:41:21]]></wp:post_date>
|
455 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:41:21]]></wp:post_date_gmt>
|
456 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
457 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
458 |
+
<wp:post_name><![CDATA[b720c4c41cb9bc2cd64a95d692331521]]></wp:post_name>
|
459 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
460 |
+
<wp:post_parent>0</wp:post_parent>
|
461 |
+
<wp:menu_order>0</wp:menu_order>
|
462 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
463 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
464 |
+
<wp:is_sticky>0</wp:is_sticky>
|
465 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/b720c4c41cb9bc2cd64a95d692331521-e1522931069200.jpg]]></wp:attachment_url>
|
466 |
+
<wp:postmeta>
|
467 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
468 |
+
<wp:meta_value><![CDATA[2016/03/b720c4c41cb9bc2cd64a95d692331521-e1522931069200.jpg]]></wp:meta_value>
|
469 |
+
</wp:postmeta>
|
470 |
+
<wp:postmeta>
|
471 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
472 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:59:"2016/03/b720c4c41cb9bc2cd64a95d692331521-e1522931069200.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:43:"b720c4c41cb9bc2cd64a95d692331521-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:43:"b720c4c41cb9bc2cd64a95d692331521-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:45:"b720c4c41cb9bc2cd64a95d692331521-1024x682.jpg";s:5:"width";i:1024;s:6:"height";i:682;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:42:"b720c4c41cb9bc2cd64a95d692331521-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:43:"b720c4c41cb9bc2cd64a95d692331521-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:44:"b720c4c41cb9bc2cd64a95d692331521-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
473 |
+
</wp:postmeta>
|
474 |
+
<wp:postmeta>
|
475 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
476 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
477 |
+
</wp:postmeta>
|
478 |
+
<wp:postmeta>
|
479 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
480 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1280;s:6:"height";i:853;s:4:"file";s:36:"b720c4c41cb9bc2cd64a95d692331521.jpg";}}]]></wp:meta_value>
|
481 |
+
</wp:postmeta>
|
482 |
+
</item>
|
483 |
+
<item>
|
484 |
+
<title>healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com</title>
|
485 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com/</link>
|
486 |
+
<pubDate>Thu, 12 Jan 2017 07:42:54 +0000</pubDate>
|
487 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
488 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com.jpg</guid>
|
489 |
+
<description></description>
|
490 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
491 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
492 |
+
<wp:post_id>314</wp:post_id>
|
493 |
+
<wp:post_date><![CDATA[2017-01-12 07:42:54]]></wp:post_date>
|
494 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:42:54]]></wp:post_date_gmt>
|
495 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
496 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
497 |
+
<wp:post_name><![CDATA[healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com]]></wp:post_name>
|
498 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
499 |
+
<wp:post_parent>0</wp:post_parent>
|
500 |
+
<wp:menu_order>0</wp:menu_order>
|
501 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
502 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
503 |
+
<wp:is_sticky>0</wp:is_sticky>
|
504 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-e1522931060169.jpg]]></wp:attachment_url>
|
505 |
+
<wp:postmeta>
|
506 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
507 |
+
<wp:meta_value><![CDATA[2016/03/healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-e1522931060169.jpg]]></wp:meta_value>
|
508 |
+
</wp:postmeta>
|
509 |
+
<wp:postmeta>
|
510 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
511 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:92:"2016/03/healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-e1522931060169.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:76:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:76:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:78:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-1024x683.jpg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:75:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:76:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:77:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
512 |
+
</wp:postmeta>
|
513 |
+
<wp:postmeta>
|
514 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
515 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
516 |
+
</wp:postmeta>
|
517 |
+
<wp:postmeta>
|
518 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
519 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1280;s:4:"file";s:69:"healthy-pancakes-with-cottage-cheese-and-blueberries-picjumbo-com.jpg";}}]]></wp:meta_value>
|
520 |
+
</wp:postmeta>
|
521 |
+
</item>
|
522 |
+
<item>
|
523 |
+
<title>gloomy-mystical-style-mood-159069</title>
|
524 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gloomy-mystical-style-mood-159069/</link>
|
525 |
+
<pubDate>Thu, 12 Jan 2017 07:45:39 +0000</pubDate>
|
526 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
527 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/gloomy-mystical-style-mood-159069.jpeg</guid>
|
528 |
+
<description></description>
|
529 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
530 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
531 |
+
<wp:post_id>317</wp:post_id>
|
532 |
+
<wp:post_date><![CDATA[2017-01-12 07:45:39]]></wp:post_date>
|
533 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:45:39]]></wp:post_date_gmt>
|
534 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
535 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
536 |
+
<wp:post_name><![CDATA[gloomy-mystical-style-mood-159069]]></wp:post_name>
|
537 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
538 |
+
<wp:post_parent>0</wp:post_parent>
|
539 |
+
<wp:menu_order>0</wp:menu_order>
|
540 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
541 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
542 |
+
<wp:is_sticky>0</wp:is_sticky>
|
543 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/gloomy-mystical-style-mood-159069-e1522931041192.jpeg]]></wp:attachment_url>
|
544 |
+
<wp:postmeta>
|
545 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
546 |
+
<wp:meta_value><![CDATA[2016/03/gloomy-mystical-style-mood-159069-e1522931041192.jpeg]]></wp:meta_value>
|
547 |
+
</wp:postmeta>
|
548 |
+
<wp:postmeta>
|
549 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
550 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:225;s:4:"file";s:61:"2016/03/gloomy-mystical-style-mood-159069-e1522931041192.jpeg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:45:"gloomy-mystical-style-mood-159069-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-223x137.jpeg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-634x304.jpeg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:45:"gloomy-mystical-style-mood-159069-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-770x430.jpeg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-370x430.jpeg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-300x169.jpeg";s:5:"width";i:300;s:6:"height";i:169;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-768x432.jpeg";s:5:"width";i:768;s:6:"height";i:432;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:47:"gloomy-mystical-style-mood-159069-1024x576.jpeg";s:5:"width";i:1024;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:44:"gloomy-mystical-style-mood-159069-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:45:"gloomy-mystical-style-mood-159069-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:46:"gloomy-mystical-style-mood-159069-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
551 |
+
</wp:postmeta>
|
552 |
+
<wp:postmeta>
|
553 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
554 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
555 |
+
</wp:postmeta>
|
556 |
+
<wp:postmeta>
|
557 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
558 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1080;s:4:"file";s:38:"gloomy-mystical-style-mood-159069.jpeg";}}]]></wp:meta_value>
|
559 |
+
</wp:postmeta>
|
560 |
+
</item>
|
561 |
+
<item>
|
562 |
+
<title>pexels-photo-218724</title>
|
563 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/pexels-photo-218724/</link>
|
564 |
+
<pubDate>Thu, 12 Jan 2017 07:56:33 +0000</pubDate>
|
565 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
566 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/pexels-photo-218724.jpeg</guid>
|
567 |
+
<description></description>
|
568 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
569 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
570 |
+
<wp:post_id>318</wp:post_id>
|
571 |
+
<wp:post_date><![CDATA[2017-01-12 07:56:33]]></wp:post_date>
|
572 |
+
<wp:post_date_gmt><![CDATA[2017-01-12 07:56:33]]></wp:post_date_gmt>
|
573 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
574 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
575 |
+
<wp:post_name><![CDATA[pexels-photo-218724]]></wp:post_name>
|
576 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
577 |
+
<wp:post_parent>0</wp:post_parent>
|
578 |
+
<wp:menu_order>0</wp:menu_order>
|
579 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
580 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
581 |
+
<wp:is_sticky>0</wp:is_sticky>
|
582 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/pexels-photo-218724-e1522931032643.jpeg]]></wp:attachment_url>
|
583 |
+
<wp:postmeta>
|
584 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
585 |
+
<wp:meta_value><![CDATA[2016/03/pexels-photo-218724-e1522931032643.jpeg]]></wp:meta_value>
|
586 |
+
</wp:postmeta>
|
587 |
+
<wp:postmeta>
|
588 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
589 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:47:"2016/03/pexels-photo-218724-e1522931032643.jpeg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-218724-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:31:"pexels-photo-218724-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-218724-223x137.jpeg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:32:"pexels-photo-218724-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:32:"pexels-photo-218724-634x304.jpeg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:31:"pexels-photo-218724-100x65.jpeg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-218724-370x210.jpeg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:32:"pexels-photo-218724-770x430.jpeg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:32:"pexels-photo-218724-370x430.jpeg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-218724-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-218724-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-218724-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:33:"pexels-photo-218724-1024x683.jpeg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:32:"pexels-photo-218724-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-218724-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-218724-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-218724-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-218724-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-218724-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-218724-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-218724-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
590 |
+
</wp:postmeta>
|
591 |
+
<wp:postmeta>
|
592 |
+
<wp:meta_key><![CDATA[_mts_demo_post]]></wp:meta_key>
|
593 |
+
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
594 |
+
</wp:postmeta>
|
595 |
+
<wp:postmeta>
|
596 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
597 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1920;s:6:"height";i:1280;s:4:"file";s:24:"pexels-photo-218724.jpeg";}}]]></wp:meta_value>
|
598 |
+
</wp:postmeta>
|
599 |
+
</item>
|
600 |
+
<item>
|
601 |
+
<title>TBCE05</title>
|
602 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/tbce05/</link>
|
603 |
+
<pubDate>Mon, 18 Dec 2017 14:26:42 +0000</pubDate>
|
604 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
605 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/TBCE05.jpg</guid>
|
606 |
+
<description></description>
|
607 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
608 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
609 |
+
<wp:post_id>342</wp:post_id>
|
610 |
+
<wp:post_date><![CDATA[2017-12-18 14:26:42]]></wp:post_date>
|
611 |
+
<wp:post_date_gmt><![CDATA[2017-12-18 14:26:42]]></wp:post_date_gmt>
|
612 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
613 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
614 |
+
<wp:post_name><![CDATA[tbce05]]></wp:post_name>
|
615 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
616 |
+
<wp:post_parent>0</wp:post_parent>
|
617 |
+
<wp:menu_order>0</wp:menu_order>
|
618 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
619 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
620 |
+
<wp:is_sticky>0</wp:is_sticky>
|
621 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/TBCE05-e1522930442878.jpg]]></wp:attachment_url>
|
622 |
+
<wp:postmeta>
|
623 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
624 |
+
<wp:meta_value><![CDATA[2016/03/TBCE05-e1522930442878.jpg]]></wp:meta_value>
|
625 |
+
</wp:postmeta>
|
626 |
+
<wp:postmeta>
|
627 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
628 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:567;s:4:"file";s:33:"2016/03/TBCE05-e1522930442878.jpg";s:5:"sizes";a:20:{s:15:"wp_review_large";a:4:{s:4:"file";s:18:"TBCE05-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:17:"TBCE05-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:18:"TBCE05-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:18:"TBCE05-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:18:"TBCE05-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:17:"TBCE05-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:18:"TBCE05-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:18:"TBCE05-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:18:"TBCE05-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:18:"TBCE05-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:18:"TBCE05-212x300.jpg";s:5:"width";i:212;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:18:"TBCE05-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:18:"TBCE05-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:18:"TBCE05-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:18:"TBCE05-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:16:"TBCE05-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:18:"TBCE05-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:18:"TBCE05-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:17:"TBCE05-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:18:"TBCE05-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
629 |
+
</wp:postmeta>
|
630 |
+
<wp:postmeta>
|
631 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
632 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:640;s:6:"height";i:907;s:4:"file";s:10:"TBCE05.jpg";}}]]></wp:meta_value>
|
633 |
+
</wp:postmeta>
|
634 |
+
</item>
|
635 |
+
<item>
|
636 |
+
<title>0b350b39b80c2c6cf3f7a6ace18bacc1--fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas</title>
|
637 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas/</link>
|
638 |
+
<pubDate>Mon, 18 Dec 2017 15:17:30 +0000</pubDate>
|
639 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
640 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas.jpg</guid>
|
641 |
+
<description></description>
|
642 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
643 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
644 |
+
<wp:post_id>344</wp:post_id>
|
645 |
+
<wp:post_date><![CDATA[2017-12-18 15:17:30]]></wp:post_date>
|
646 |
+
<wp:post_date_gmt><![CDATA[2017-12-18 15:17:30]]></wp:post_date_gmt>
|
647 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
648 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
649 |
+
<wp:post_name><![CDATA[0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas]]></wp:post_name>
|
650 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
651 |
+
<wp:post_parent>0</wp:post_parent>
|
652 |
+
<wp:menu_order>0</wp:menu_order>
|
653 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
654 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
655 |
+
<wp:is_sticky>0</wp:is_sticky>
|
656 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-e1522931011845.jpg]]></wp:attachment_url>
|
657 |
+
<wp:postmeta>
|
658 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
659 |
+
<wp:meta_value><![CDATA[2016/03/0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-e1522931011845.jpg]]></wp:meta_value>
|
660 |
+
</wp:postmeta>
|
661 |
+
<wp:postmeta>
|
662 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
663 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:489;s:4:"file";s:124:"2016/03/0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-e1522931011845.jpg";s:5:"sizes";a:20:{s:15:"wp_review_large";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:108:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:108:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-246x300.jpg";s:5:"width";i:246;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:107:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:108:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:109:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
664 |
+
</wp:postmeta>
|
665 |
+
<wp:postmeta>
|
666 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
667 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:600;s:6:"height";i:733;s:4:"file";s:101:"0b350b39b80c2c6cf3f7a6ace18bacc1-fun-painting-ideas-for-kids-acrylic-painting-for-beginners-ideas.jpg";}}]]></wp:meta_value>
|
668 |
+
</wp:postmeta>
|
669 |
+
</item>
|
670 |
+
<item>
|
671 |
+
<title>051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main</title>
|
672 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/051sip112-grilled-mustard-rosemary-chicken-recipe-alt-main/</link>
|
673 |
+
<pubDate>Mon, 18 Dec 2017 15:35:30 +0000</pubDate>
|
674 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
675 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main.jpg</guid>
|
676 |
+
<description></description>
|
677 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
678 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
679 |
+
<wp:post_id>345</wp:post_id>
|
680 |
+
<wp:post_date><![CDATA[2017-12-18 15:35:30]]></wp:post_date>
|
681 |
+
<wp:post_date_gmt><![CDATA[2017-12-18 15:35:30]]></wp:post_date_gmt>
|
682 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
683 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
684 |
+
<wp:post_name><![CDATA[051sip112-grilled-mustard-rosemary-chicken-recipe-alt-main]]></wp:post_name>
|
685 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
686 |
+
<wp:post_parent>0</wp:post_parent>
|
687 |
+
<wp:menu_order>0</wp:menu_order>
|
688 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
689 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
690 |
+
<wp:is_sticky>0</wp:is_sticky>
|
691 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-e1522931003404.jpg]]></wp:attachment_url>
|
692 |
+
<wp:postmeta>
|
693 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
694 |
+
<wp:meta_value><![CDATA[2016/03/051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-e1522931003404.jpg]]></wp:meta_value>
|
695 |
+
</wp:postmeta>
|
696 |
+
<wp:postmeta>
|
697 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
698 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:333;s:4:"file";s:85:"2016/03/051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-e1522931003404.jpg";s:5:"sizes";a:20:{s:15:"wp_review_large";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:69:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:69:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-300x250.jpg";s:5:"width";i:300;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:68:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:69:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:70:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
699 |
+
</wp:postmeta>
|
700 |
+
<wp:postmeta>
|
701 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
702 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:600;s:6:"height";i:500;s:4:"file";s:62:"051SIP112-grilled-mustard-rosemary-chicken-recipe-alt-main.jpg";}}]]></wp:meta_value>
|
703 |
+
</wp:postmeta>
|
704 |
+
</item>
|
705 |
+
<item>
|
706 |
+
<title>46</title>
|
707 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/46/</link>
|
708 |
+
<pubDate>Mon, 18 Dec 2017 16:04:18 +0000</pubDate>
|
709 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
710 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/46.jpg</guid>
|
711 |
+
<description></description>
|
712 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
713 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
714 |
+
<wp:post_id>346</wp:post_id>
|
715 |
+
<wp:post_date><![CDATA[2017-12-18 16:04:18]]></wp:post_date>
|
716 |
+
<wp:post_date_gmt><![CDATA[2017-12-18 16:04:18]]></wp:post_date_gmt>
|
717 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
718 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
719 |
+
<wp:post_name><![CDATA[46]]></wp:post_name>
|
720 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
721 |
+
<wp:post_parent>0</wp:post_parent>
|
722 |
+
<wp:menu_order>0</wp:menu_order>
|
723 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
724 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
725 |
+
<wp:is_sticky>0</wp:is_sticky>
|
726 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/46-e1522930967671.jpg]]></wp:attachment_url>
|
727 |
+
<wp:postmeta>
|
728 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
729 |
+
<wp:meta_value><![CDATA[2016/03/46-e1522930967671.jpg]]></wp:meta_value>
|
730 |
+
</wp:postmeta>
|
731 |
+
<wp:postmeta>
|
732 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
733 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:400;s:4:"file";s:29:"2016/03/46-e1522930967671.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:14:"46-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:13:"46-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:14:"46-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:14:"46-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:14:"46-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:13:"46-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:14:"46-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:14:"46-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:14:"46-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:14:"46-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"46-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"46-768x768.jpg";s:5:"width";i:768;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:14:"46-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:14:"46-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:14:"46-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:14:"46-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:12:"46-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:14:"46-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:14:"46-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:13:"46-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:14:"46-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
734 |
+
</wp:postmeta>
|
735 |
+
<wp:postmeta>
|
736 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
737 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1000;s:6:"height";i:1000;s:4:"file";s:6:"46.jpg";}}]]></wp:meta_value>
|
738 |
+
</wp:postmeta>
|
739 |
+
</item>
|
740 |
+
<item>
|
741 |
+
<title>Season_1_Poster</title>
|
742 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/season_1_poster/</link>
|
743 |
+
<pubDate>Mon, 18 Dec 2017 16:20:16 +0000</pubDate>
|
744 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
745 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/Season_1_Poster.jpg</guid>
|
746 |
+
<description></description>
|
747 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
748 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
749 |
+
<wp:post_id>347</wp:post_id>
|
750 |
+
<wp:post_date><![CDATA[2017-12-18 16:20:16]]></wp:post_date>
|
751 |
+
<wp:post_date_gmt><![CDATA[2017-12-18 16:20:16]]></wp:post_date_gmt>
|
752 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
753 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
754 |
+
<wp:post_name><![CDATA[season_1_poster]]></wp:post_name>
|
755 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
756 |
+
<wp:post_parent>0</wp:post_parent>
|
757 |
+
<wp:menu_order>0</wp:menu_order>
|
758 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
759 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
760 |
+
<wp:is_sticky>0</wp:is_sticky>
|
761 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/Season_1_Poster-e1522930781521.jpg]]></wp:attachment_url>
|
762 |
+
<wp:postmeta>
|
763 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
764 |
+
<wp:meta_value><![CDATA[2016/03/Season_1_Poster-e1522930781521.jpg]]></wp:meta_value>
|
765 |
+
</wp:postmeta>
|
766 |
+
<wp:postmeta>
|
767 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
768 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:593;s:4:"file";s:42:"2016/03/Season_1_Poster-e1522930781521.jpg";s:5:"sizes";a:22:{s:15:"wp_review_large";a:4:{s:4:"file";s:27:"Season_1_Poster-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:26:"Season_1_Poster-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:27:"Season_1_Poster-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:27:"Season_1_Poster-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:27:"Season_1_Poster-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:26:"Season_1_Poster-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:27:"Season_1_Poster-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:27:"Season_1_Poster-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:27:"Season_1_Poster-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:27:"Season_1_Poster-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:27:"Season_1_Poster-202x300.jpg";s:5:"width";i:202;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:28:"Season_1_Poster-768x1138.jpg";s:5:"width";i:768;s:6:"height";i:1138;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:28:"Season_1_Poster-691x1024.jpg";s:5:"width";i:691;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:27:"Season_1_Poster-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:27:"Season_1_Poster-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:27:"Season_1_Poster-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:27:"Season_1_Poster-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:25:"Season_1_Poster-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:27:"Season_1_Poster-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:27:"Season_1_Poster-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:26:"Season_1_Poster-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:27:"Season_1_Poster-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
769 |
+
</wp:postmeta>
|
770 |
+
<wp:postmeta>
|
771 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
772 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:2000;s:6:"height";i:2963;s:4:"file";s:19:"Season_1_Poster.jpg";}}]]></wp:meta_value>
|
773 |
+
</wp:postmeta>
|
774 |
+
</item>
|
775 |
+
<item>
|
776 |
+
<title>penang-kek-lok-si-temple-cr-getty</title>
|
777 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/penang-kek-lok-si-temple-cr-getty/</link>
|
778 |
+
<pubDate>Tue, 19 Dec 2017 08:36:42 +0000</pubDate>
|
779 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
780 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/penang-kek-lok-si-temple-cr-getty.jpg</guid>
|
781 |
+
<description></description>
|
782 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
783 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
784 |
+
<wp:post_id>349</wp:post_id>
|
785 |
+
<wp:post_date><![CDATA[2017-12-19 08:36:42]]></wp:post_date>
|
786 |
+
<wp:post_date_gmt><![CDATA[2017-12-19 08:36:42]]></wp:post_date_gmt>
|
787 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
788 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
789 |
+
<wp:post_name><![CDATA[penang-kek-lok-si-temple-cr-getty]]></wp:post_name>
|
790 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
791 |
+
<wp:post_parent>0</wp:post_parent>
|
792 |
+
<wp:menu_order>0</wp:menu_order>
|
793 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
794 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
795 |
+
<wp:is_sticky>0</wp:is_sticky>
|
796 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/penang-kek-lok-si-temple-cr-getty-e1522930946723.jpg]]></wp:attachment_url>
|
797 |
+
<wp:postmeta>
|
798 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
799 |
+
<wp:meta_value><![CDATA[2016/03/penang-kek-lok-si-temple-cr-getty-e1522930946723.jpg]]></wp:meta_value>
|
800 |
+
</wp:postmeta>
|
801 |
+
<wp:postmeta>
|
802 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
803 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:300;s:4:"file";s:60:"2016/03/penang-kek-lok-si-temple-cr-getty-e1522930946723.jpg";s:5:"sizes";a:21:{s:15:"wp_review_large";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:44:"penang-kek-lok-si-temple-cr-getty-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:44:"penang-kek-lok-si-temple-cr-getty-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:43:"penang-kek-lok-si-temple-cr-getty-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:44:"penang-kek-lok-si-temple-cr-getty-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:45:"penang-kek-lok-si-temple-cr-getty-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
804 |
+
</wp:postmeta>
|
805 |
+
<wp:postmeta>
|
806 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
807 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:775;s:6:"height";i:581;s:4:"file";s:37:"penang-kek-lok-si-temple-cr-getty.jpg";}}]]></wp:meta_value>
|
808 |
+
</wp:postmeta>
|
809 |
+
</item>
|
810 |
+
<item>
|
811 |
+
<title>fbe68eab4723aaf9246600aa7c9abc69</title>
|
812 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fbe68eab4723aaf9246600aa7c9abc69/</link>
|
813 |
+
<pubDate>Tue, 19 Dec 2017 09:20:00 +0000</pubDate>
|
814 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
815 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/fbe68eab4723aaf9246600aa7c9abc69.jpg</guid>
|
816 |
+
<description></description>
|
817 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
818 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
819 |
+
<wp:post_id>351</wp:post_id>
|
820 |
+
<wp:post_date><![CDATA[2017-12-19 09:20:00]]></wp:post_date>
|
821 |
+
<wp:post_date_gmt><![CDATA[2017-12-19 09:20:00]]></wp:post_date_gmt>
|
822 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
823 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
824 |
+
<wp:post_name><![CDATA[fbe68eab4723aaf9246600aa7c9abc69]]></wp:post_name>
|
825 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
826 |
+
<wp:post_parent>0</wp:post_parent>
|
827 |
+
<wp:menu_order>0</wp:menu_order>
|
828 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
829 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
830 |
+
<wp:is_sticky>0</wp:is_sticky>
|
831 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/fbe68eab4723aaf9246600aa7c9abc69-e1522930932868.jpg]]></wp:attachment_url>
|
832 |
+
<wp:postmeta>
|
833 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
834 |
+
<wp:meta_value><![CDATA[2016/03/fbe68eab4723aaf9246600aa7c9abc69-e1522930932868.jpg]]></wp:meta_value>
|
835 |
+
</wp:postmeta>
|
836 |
+
<wp:postmeta>
|
837 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
838 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:564;s:4:"file";s:59:"2016/03/fbe68eab4723aaf9246600aa7c9abc69-e1522930932868.jpg";s:5:"sizes";a:22:{s:15:"wp_review_large";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:43:"fbe68eab4723aaf9246600aa7c9abc69-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:43:"fbe68eab4723aaf9246600aa7c9abc69-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-213x300.jpg";s:5:"width";i:213;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:45:"fbe68eab4723aaf9246600aa7c9abc69-768x1084.jpg";s:5:"width";i:768;s:6:"height";i:1084;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:45:"fbe68eab4723aaf9246600aa7c9abc69-726x1024.jpg";s:5:"width";i:726;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:42:"fbe68eab4723aaf9246600aa7c9abc69-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:43:"fbe68eab4723aaf9246600aa7c9abc69-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:44:"fbe68eab4723aaf9246600aa7c9abc69-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
839 |
+
</wp:postmeta>
|
840 |
+
<wp:postmeta>
|
841 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
842 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1280;s:6:"height";i:1806;s:4:"file";s:36:"fbe68eab4723aaf9246600aa7c9abc69.jpg";}}]]></wp:meta_value>
|
843 |
+
</wp:postmeta>
|
844 |
+
</item>
|
845 |
+
<item>
|
846 |
+
<title>201306-w-best-disney-restaurants-victoria-and-alberts</title>
|
847 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/201306-w-best-disney-restaurants-victoria-and-alberts/</link>
|
848 |
+
<pubDate>Tue, 19 Dec 2017 09:42:10 +0000</pubDate>
|
849 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
850 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2016/03/201306-w-best-disney-restaurants-victoria-and-alberts.jpg</guid>
|
851 |
+
<description></description>
|
852 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
853 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
854 |
+
<wp:post_id>352</wp:post_id>
|
855 |
+
<wp:post_date><![CDATA[2017-12-19 09:42:10]]></wp:post_date>
|
856 |
+
<wp:post_date_gmt><![CDATA[2017-12-19 09:42:10]]></wp:post_date_gmt>
|
857 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
858 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
859 |
+
<wp:post_name><![CDATA[201306-w-best-disney-restaurants-victoria-and-alberts]]></wp:post_name>
|
860 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
861 |
+
<wp:post_parent>0</wp:post_parent>
|
862 |
+
<wp:menu_order>0</wp:menu_order>
|
863 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
864 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
865 |
+
<wp:is_sticky>0</wp:is_sticky>
|
866 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2016/03/201306-w-best-disney-restaurants-victoria-and-alberts-e1522930923645.jpg]]></wp:attachment_url>
|
867 |
+
<wp:postmeta>
|
868 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
869 |
+
<wp:meta_value><![CDATA[2016/03/201306-w-best-disney-restaurants-victoria-and-alberts-e1522930923645.jpg]]></wp:meta_value>
|
870 |
+
</wp:postmeta>
|
871 |
+
<wp:postmeta>
|
872 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
873 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:250;s:4:"file";s:80:"2016/03/201306-w-best-disney-restaurants-victoria-and-alberts-e1522930923645.jpg";s:5:"sizes";a:22:{s:15:"wp_review_large";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:64:"201306-w-best-disney-restaurants-victoria-and-alberts-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:64:"201306-w-best-disney-restaurants-victoria-and-alberts-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:9:"thumbnail";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-300x188.jpg";s:5:"width";i:300;s:6:"height";i:188;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-768x480.jpg";s:5:"width";i:768;s:6:"height";i:480;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:66:"201306-w-best-disney-restaurants-victoria-and-alberts-1024x640.jpg";s:5:"width";i:1024;s:6:"height";i:640;s:9:"mime-type";s:10:"image/jpeg";}s:27:"wp_review_large_old_320x200";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:26:"post-thumbnail_old_203x150";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:63:"201306-w-best-disney-restaurants-victoria-and-alberts-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:64:"201306-w-best-disney-restaurants-victoria-and-alberts-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:65:"201306-w-best-disney-restaurants-victoria-and-alberts-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
874 |
+
</wp:postmeta>
|
875 |
+
<wp:postmeta>
|
876 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
877 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:1600;s:6:"height";i:1000;s:4:"file";s:57:"201306-w-best-disney-restaurants-victoria-and-alberts.jpg";}}]]></wp:meta_value>
|
878 |
+
</wp:postmeta>
|
879 |
+
</item>
|
880 |
+
<item>
|
881 |
+
<title>tanja-heffner-204193</title>
|
882 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/tanja-heffner-204193/</link>
|
883 |
+
<pubDate>Fri, 22 Dec 2017 16:34:17 +0000</pubDate>
|
884 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
885 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/tanja-heffner-204193.jpg</guid>
|
886 |
+
<description></description>
|
887 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
888 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
889 |
+
<wp:post_id>392</wp:post_id>
|
890 |
+
<wp:post_date><![CDATA[2017-12-22 16:34:17]]></wp:post_date>
|
891 |
+
<wp:post_date_gmt><![CDATA[2017-12-22 16:34:17]]></wp:post_date_gmt>
|
892 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
893 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
894 |
+
<wp:post_name><![CDATA[tanja-heffner-204193]]></wp:post_name>
|
895 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
896 |
+
<wp:post_parent>0</wp:post_parent>
|
897 |
+
<wp:menu_order>0</wp:menu_order>
|
898 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
899 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
900 |
+
<wp:is_sticky>0</wp:is_sticky>
|
901 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/tanja-heffner-204193-e1522930914367.jpg]]></wp:attachment_url>
|
902 |
+
<wp:postmeta>
|
903 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
904 |
+
<wp:meta_value><![CDATA[2017/12/tanja-heffner-204193-e1522930914367.jpg]]></wp:meta_value>
|
905 |
+
</wp:postmeta>
|
906 |
+
<wp:postmeta>
|
907 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
908 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:267;s:4:"file";s:47:"2017/12/tanja-heffner-204193-e1522930914367.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"tanja-heffner-204193-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"tanja-heffner-204193-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"tanja-heffner-204193-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:33:"tanja-heffner-204193-1024x683.jpg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"tanja-heffner-204193-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:31:"tanja-heffner-204193-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"tanja-heffner-204193-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:32:"tanja-heffner-204193-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:32:"tanja-heffner-204193-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:31:"tanja-heffner-204193-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:32:"tanja-heffner-204193-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:32:"tanja-heffner-204193-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:32:"tanja-heffner-204193-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
909 |
+
</wp:postmeta>
|
910 |
+
<wp:postmeta>
|
911 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
912 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:3000;s:6:"height";i:2000;s:4:"file";s:24:"tanja-heffner-204193.jpg";}}]]></wp:meta_value>
|
913 |
+
</wp:postmeta>
|
914 |
+
</item>
|
915 |
+
<item>
|
916 |
+
<title>pete-bellis-278587</title>
|
917 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/pete-bellis-278587/</link>
|
918 |
+
<pubDate>Fri, 22 Dec 2017 16:34:30 +0000</pubDate>
|
919 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
920 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pete-bellis-278587.jpg</guid>
|
921 |
+
<description></description>
|
922 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
923 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
924 |
+
<wp:post_id>393</wp:post_id>
|
925 |
+
<wp:post_date><![CDATA[2017-12-22 16:34:30]]></wp:post_date>
|
926 |
+
<wp:post_date_gmt><![CDATA[2017-12-22 16:34:30]]></wp:post_date_gmt>
|
927 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
928 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
929 |
+
<wp:post_name><![CDATA[pete-bellis-278587]]></wp:post_name>
|
930 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
931 |
+
<wp:post_parent>0</wp:post_parent>
|
932 |
+
<wp:menu_order>0</wp:menu_order>
|
933 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
934 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
935 |
+
<wp:is_sticky>0</wp:is_sticky>
|
936 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pete-bellis-278587-e1522930903415.jpg]]></wp:attachment_url>
|
937 |
+
<wp:postmeta>
|
938 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
939 |
+
<wp:meta_value><![CDATA[2017/12/pete-bellis-278587-e1522930903415.jpg]]></wp:meta_value>
|
940 |
+
</wp:postmeta>
|
941 |
+
<wp:postmeta>
|
942 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
943 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:266;s:4:"file";s:45:"2017/12/pete-bellis-278587-e1522930903415.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:30:"pete-bellis-278587-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:30:"pete-bellis-278587-300x199.jpg";s:5:"width";i:300;s:6:"height";i:199;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:30:"pete-bellis-278587-768x511.jpg";s:5:"width";i:768;s:6:"height";i:511;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:31:"pete-bellis-278587-1024x681.jpg";s:5:"width";i:1024;s:6:"height";i:681;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:30:"pete-bellis-278587-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:29:"pete-bellis-278587-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:30:"pete-bellis-278587-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:30:"pete-bellis-278587-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:30:"pete-bellis-278587-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:29:"pete-bellis-278587-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:30:"pete-bellis-278587-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:30:"pete-bellis-278587-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:30:"pete-bellis-278587-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
944 |
+
</wp:postmeta>
|
945 |
+
<wp:postmeta>
|
946 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
947 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:6016;s:6:"height";i:4000;s:4:"file";s:22:"pete-bellis-278587.jpg";}}]]></wp:meta_value>
|
948 |
+
</wp:postmeta>
|
949 |
+
</item>
|
950 |
+
<item>
|
951 |
+
<title>manu-camargo-60128</title>
|
952 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/manu-camargo-60128/</link>
|
953 |
+
<pubDate>Fri, 22 Dec 2017 16:34:40 +0000</pubDate>
|
954 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
955 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/manu-camargo-60128.jpg</guid>
|
956 |
+
<description></description>
|
957 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
958 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
959 |
+
<wp:post_id>394</wp:post_id>
|
960 |
+
<wp:post_date><![CDATA[2017-12-22 16:34:40]]></wp:post_date>
|
961 |
+
<wp:post_date_gmt><![CDATA[2017-12-22 16:34:40]]></wp:post_date_gmt>
|
962 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
963 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
964 |
+
<wp:post_name><![CDATA[manu-camargo-60128]]></wp:post_name>
|
965 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
966 |
+
<wp:post_parent>0</wp:post_parent>
|
967 |
+
<wp:menu_order>0</wp:menu_order>
|
968 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
969 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
970 |
+
<wp:is_sticky>0</wp:is_sticky>
|
971 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/manu-camargo-60128-e1522930888517.jpg]]></wp:attachment_url>
|
972 |
+
<wp:postmeta>
|
973 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
974 |
+
<wp:meta_value><![CDATA[2017/12/manu-camargo-60128-e1522930888517.jpg]]></wp:meta_value>
|
975 |
+
</wp:postmeta>
|
976 |
+
<wp:postmeta>
|
977 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
978 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:273;s:4:"file";s:45:"2017/12/manu-camargo-60128-e1522930888517.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:30:"manu-camargo-60128-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:30:"manu-camargo-60128-300x205.jpg";s:5:"width";i:300;s:6:"height";i:205;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:30:"manu-camargo-60128-768x525.jpg";s:5:"width";i:768;s:6:"height";i:525;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:31:"manu-camargo-60128-1024x700.jpg";s:5:"width";i:1024;s:6:"height";i:700;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:30:"manu-camargo-60128-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:29:"manu-camargo-60128-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:30:"manu-camargo-60128-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:30:"manu-camargo-60128-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:30:"manu-camargo-60128-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:29:"manu-camargo-60128-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:30:"manu-camargo-60128-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:30:"manu-camargo-60128-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:30:"manu-camargo-60128-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
979 |
+
</wp:postmeta>
|
980 |
+
<wp:postmeta>
|
981 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
982 |
+
<wp:meta_value><![CDATA[a:2:{s:9:"full-orig";a:3:{s:5:"width";i:3456;s:6:"height";i:2363;s:4:"file";s:22:"manu-camargo-60128.jpg";}s:18:"full-1522930888517";a:3:{s:5:"width";i:400;s:6:"height";i:273;s:4:"file";s:37:"manu-camargo-60128-e1522930837646.jpg";}}]]></wp:meta_value>
|
983 |
+
</wp:postmeta>
|
984 |
+
</item>
|
985 |
+
<item>
|
986 |
+
<title>Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412</title>
|
987 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/tabbed-star-review/anthem-release-date-game-trailer-bioware-2018-news-for-ps4-xbox-pc-destiny-rival-671412/</link>
|
988 |
+
<pubDate>Thu, 22 Mar 2018 08:07:37 +0000</pubDate>
|
989 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
990 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412.jpg</guid>
|
991 |
+
<description></description>
|
992 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
993 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
994 |
+
<wp:post_id>410</wp:post_id>
|
995 |
+
<wp:post_date><![CDATA[2018-03-22 08:07:37]]></wp:post_date>
|
996 |
+
<wp:post_date_gmt><![CDATA[2018-03-22 08:07:37]]></wp:post_date_gmt>
|
997 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
998 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
999 |
+
<wp:post_name><![CDATA[anthem-release-date-game-trailer-bioware-2018-news-for-ps4-xbox-pc-destiny-rival-671412]]></wp:post_name>
|
1000 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1001 |
+
<wp:post_parent>408</wp:post_parent>
|
1002 |
+
<wp:menu_order>0</wp:menu_order>
|
1003 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1004 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1005 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1006 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-e1522930796653.jpg]]></wp:attachment_url>
|
1007 |
+
<wp:postmeta>
|
1008 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1009 |
+
<wp:meta_value><![CDATA[2018/03/Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-e1522930796653.jpg]]></wp:meta_value>
|
1010 |
+
</wp:postmeta>
|
1011 |
+
<wp:postmeta>
|
1012 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1013 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:271;s:4:"file";s:114:"2018/03/Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-e1522930796653.jpg";s:5:"sizes";a:11:{s:9:"thumbnail";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-300x203.jpg";s:5:"width";i:300;s:6:"height";i:203;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:98:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:98:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:99:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
1014 |
+
</wp:postmeta>
|
1015 |
+
<wp:postmeta>
|
1016 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
1017 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:620;s:6:"height";i:420;s:4:"file";s:91:"Anthem-Release-date-Game-trailer-Bioware-2018-news-for-PS4-Xbox-PC-Destiny-rival-671412.jpg";}}]]></wp:meta_value>
|
1018 |
+
</wp:postmeta>
|
1019 |
+
</item>
|
1020 |
+
<item>
|
1021 |
+
<title>Running errand</title>
|
1022 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/tabbed2-circle-review/running-errand/</link>
|
1023 |
+
<pubDate>Tue, 27 Mar 2018 08:39:03 +0000</pubDate>
|
1024 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1025 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/6687ce48-c998-42dc-b472-b610e543109a.jpg</guid>
|
1026 |
+
<description></description>
|
1027 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1028 |
+
<excerpt:encoded><![CDATA[Woman in supermarket]]></excerpt:encoded>
|
1029 |
+
<wp:post_id>425</wp:post_id>
|
1030 |
+
<wp:post_date><![CDATA[2018-03-27 08:39:03]]></wp:post_date>
|
1031 |
+
<wp:post_date_gmt><![CDATA[2018-03-27 08:39:03]]></wp:post_date_gmt>
|
1032 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1033 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1034 |
+
<wp:post_name><![CDATA[running-errand]]></wp:post_name>
|
1035 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1036 |
+
<wp:post_parent>424</wp:post_parent>
|
1037 |
+
<wp:menu_order>0</wp:menu_order>
|
1038 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1039 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1040 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1041 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/6687ce48-c998-42dc-b472-b610e543109a-e1522930810662.jpg]]></wp:attachment_url>
|
1042 |
+
<wp:postmeta>
|
1043 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1044 |
+
<wp:meta_value><![CDATA[2018/03/6687ce48-c998-42dc-b472-b610e543109a-e1522930810662.jpg]]></wp:meta_value>
|
1045 |
+
</wp:postmeta>
|
1046 |
+
<wp:postmeta>
|
1047 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1048 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:266;s:4:"file";s:63:"2018/03/6687ce48-c998-42dc-b472-b610e543109a-e1522930810662.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-768x511.jpg";s:5:"width";i:768;s:6:"height";i:511;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:49:"6687ce48-c998-42dc-b472-b610e543109a-1024x681.jpg";s:5:"width";i:1024;s:6:"height";i:681;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:47:"6687ce48-c998-42dc-b472-b610e543109a-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:47:"6687ce48-c998-42dc-b472-b610e543109a-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:48:"6687ce48-c998-42dc-b472-b610e543109a-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:3:"3.4";s:6:"credit";s:0:"";s:6:"camera";s:17:"M9 Digital Camera";s:7:"caption";s:20:"Woman in supermarket";s:17:"created_timestamp";s:10:"1509295285";s:9:"copyright";s:0:"";s:12:"focal_length";s:2:"35";s:3:"iso";s:3:"800";s:13:"shutter_speed";s:5:"0.008";s:5:"title";s:14:"Running errand";s:11:"orientation";s:1:"0";s:8:"keywords";a:25:{i:0;s:5:"Aisle";i:1;s:5:"adult";i:2;s:4:"baby";i:3;s:6:"buying";i:4;s:4:"cart";i:5;s:6:"choice";i:6;s:8:"customer";i:7;s:8:"discount";i:8;s:4:"food";i:9;s:7:"grocery";i:10;s:5:"happy";i:11;s:11:"hypermarket";i:12;s:9:"lifestyle";i:13;s:4:"mall";i:14;s:6:"market";i:15;s:8:"products";i:16;s:5:"shelf";i:17;s:4:"shop";i:18;s:8:"shopping";i:19;s:7:"smiling";i:20;s:5:"store";i:21;s:11:"supermarket";i:22;s:7:"trolley";i:23;s:5:"woman";i:24;s:5:"young";}}}]]></wp:meta_value>
|
1049 |
+
</wp:postmeta>
|
1050 |
+
<wp:postmeta>
|
1051 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
1052 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:5212;s:6:"height";i:3468;s:4:"file";s:40:"6687ce48-c998-42dc-b472-b610e543109a.jpg";}}]]></wp:meta_value>
|
1053 |
+
</wp:postmeta>
|
1054 |
+
</item>
|
1055 |
+
<item>
|
1056 |
+
<title>0233657c-c05d-4566-9a93-ca9d580029f3</title>
|
1057 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/blue-star-review/0233657c-c05d-4566-9a93-ca9d580029f3/</link>
|
1058 |
+
<pubDate>Tue, 27 Mar 2018 09:00:44 +0000</pubDate>
|
1059 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1060 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/0233657c-c05d-4566-9a93-ca9d580029f3.jpg</guid>
|
1061 |
+
<description></description>
|
1062 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1063 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1064 |
+
<wp:post_id>428</wp:post_id>
|
1065 |
+
<wp:post_date><![CDATA[2018-03-27 09:00:44]]></wp:post_date>
|
1066 |
+
<wp:post_date_gmt><![CDATA[2018-03-27 09:00:44]]></wp:post_date_gmt>
|
1067 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1068 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1069 |
+
<wp:post_name><![CDATA[0233657c-c05d-4566-9a93-ca9d580029f3]]></wp:post_name>
|
1070 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1071 |
+
<wp:post_parent>361</wp:post_parent>
|
1072 |
+
<wp:menu_order>0</wp:menu_order>
|
1073 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1074 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1075 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1076 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/0233657c-c05d-4566-9a93-ca9d580029f3-e1523889394557.jpg]]></wp:attachment_url>
|
1077 |
+
<wp:postmeta>
|
1078 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1079 |
+
<wp:meta_value><![CDATA[2018/03/0233657c-c05d-4566-9a93-ca9d580029f3-e1523889394557.jpg]]></wp:meta_value>
|
1080 |
+
</wp:postmeta>
|
1081 |
+
<wp:postmeta>
|
1082 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1083 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:285;s:4:"file";s:63:"2018/03/0233657c-c05d-4566-9a93-ca9d580029f3-e1523889394557.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-300x214.jpg";s:5:"width";i:300;s:6:"height";i:214;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-768x548.jpg";s:5:"width";i:768;s:6:"height";i:548;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:49:"0233657c-c05d-4566-9a93-ca9d580029f3-1024x730.jpg";s:5:"width";i:1024;s:6:"height";i:730;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:47:"0233657c-c05d-4566-9a93-ca9d580029f3-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:47:"0233657c-c05d-4566-9a93-ca9d580029f3-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:48:"0233657c-c05d-4566-9a93-ca9d580029f3-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:3:"5.6";s:6:"credit";s:0:"";s:6:"camera";s:11:"NIKON D5100";s:7:"caption";s:0:"";s:17:"created_timestamp";s:10:"1469017985";s:9:"copyright";s:0:"";s:12:"focal_length";s:2:"18";s:3:"iso";s:3:"200";s:13:"shutter_speed";s:17:"0.016666666666667";s:5:"title";s:0:"";s:11:"orientation";s:1:"1";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
1084 |
+
</wp:postmeta>
|
1085 |
+
<wp:postmeta>
|
1086 |
+
<wp:meta_key><![CDATA[_wp_attachment_backup_sizes]]></wp:meta_key>
|
1087 |
+
<wp:meta_value><![CDATA[a:1:{s:9:"full-orig";a:3:{s:5:"width";i:3398;s:6:"height";i:2423;s:4:"file";s:40:"0233657c-c05d-4566-9a93-ca9d580029f3.jpg";}}]]></wp:meta_value>
|
1088 |
+
</wp:postmeta>
|
1089 |
+
</item>
|
1090 |
+
<item>
|
1091 |
+
<title>unnamed</title>
|
1092 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/zine-star-review/unnamed/</link>
|
1093 |
+
<pubDate>Tue, 27 Mar 2018 10:47:59 +0000</pubDate>
|
1094 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1095 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/unnamed.jpg</guid>
|
1096 |
+
<description></description>
|
1097 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1098 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1099 |
+
<wp:post_id>438</wp:post_id>
|
1100 |
+
<wp:post_date><![CDATA[2018-03-27 10:47:59]]></wp:post_date>
|
1101 |
+
<wp:post_date_gmt><![CDATA[2018-03-27 10:47:59]]></wp:post_date_gmt>
|
1102 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1103 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1104 |
+
<wp:post_name><![CDATA[unnamed]]></wp:post_name>
|
1105 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1106 |
+
<wp:post_parent>363</wp:post_parent>
|
1107 |
+
<wp:menu_order>0</wp:menu_order>
|
1108 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1109 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1110 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1111 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/unnamed.jpg]]></wp:attachment_url>
|
1112 |
+
<wp:postmeta>
|
1113 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1114 |
+
<wp:meta_value><![CDATA[2018/03/unnamed.jpg]]></wp:meta_value>
|
1115 |
+
</wp:postmeta>
|
1116 |
+
<wp:postmeta>
|
1117 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1118 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:576;s:4:"file";s:19:"2018/03/unnamed.jpg";s:5:"sizes";a:11:{s:9:"thumbnail";a:4:{s:4:"file";s:19:"unnamed-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:19:"unnamed-208x300.jpg";s:5:"width";i:208;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:19:"unnamed-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:18:"unnamed-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:19:"unnamed-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:19:"unnamed-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:19:"unnamed-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:18:"unnamed-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:19:"unnamed-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:19:"unnamed-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:19:"unnamed-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
1119 |
+
</wp:postmeta>
|
1120 |
+
</item>
|
1121 |
+
<item>
|
1122 |
+
<title>man_file_1063028_TheAvengers</title>
|
1123 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/man_file_1063028_theavengers/</link>
|
1124 |
+
<pubDate>Thu, 05 Apr 2018 12:10:02 +0000</pubDate>
|
1125 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1126 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/man_file_1063028_TheAvengers.jpg</guid>
|
1127 |
+
<description></description>
|
1128 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1129 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1130 |
+
<wp:post_id>525</wp:post_id>
|
1131 |
+
<wp:post_date><![CDATA[2018-04-05 12:10:02]]></wp:post_date>
|
1132 |
+
<wp:post_date_gmt><![CDATA[2018-04-05 12:10:02]]></wp:post_date_gmt>
|
1133 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1134 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1135 |
+
<wp:post_name><![CDATA[man_file_1063028_theavengers]]></wp:post_name>
|
1136 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1137 |
+
<wp:post_parent>0</wp:post_parent>
|
1138 |
+
<wp:menu_order>0</wp:menu_order>
|
1139 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1140 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1141 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1142 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/man_file_1063028_TheAvengers.jpg]]></wp:attachment_url>
|
1143 |
+
<wp:postmeta>
|
1144 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1145 |
+
<wp:meta_value><![CDATA[2018/04/man_file_1063028_TheAvengers.jpg]]></wp:meta_value>
|
1146 |
+
</wp:postmeta>
|
1147 |
+
<wp:postmeta>
|
1148 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1149 |
+
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:607;s:4:"file";s:40:"2018/04/man_file_1063028_TheAvengers.jpg";s:5:"sizes";a:11:{s:9:"thumbnail";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-198x300.jpg";s:5:"width";i:198;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:39:"man_file_1063028_TheAvengers-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-223x137.jpg";s:5:"width";i:223;s:6:"height";i:137;s:9:"mime-type";s:10:"image/jpeg";}s:17:"blogging-featured";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:21:"blogging-featuredfull";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-634x304.jpg";s:5:"width";i:634;s:6:"height";i:304;s:9:"mime-type";s:10:"image/jpeg";}s:20:"blogging-widgetthumb";a:4:{s:4:"file";s:39:"man_file_1063028_TheAvengers-100x65.jpg";s:5:"width";i:100;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:19:"blogging-widgetfull";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-370x210.jpg";s:5:"width";i:370;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider1";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-770x430.jpg";s:5:"width";i:770;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}s:16:"blogging-slider2";a:4:{s:4:"file";s:40:"man_file_1063028_TheAvengers-370x430.jpg";s:5:"width";i:370;s:6:"height";i:430;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
1150 |
+
</wp:postmeta>
|
1151 |
+
</item>
|
1152 |
+
<item>
|
1153 |
+
<title>knowledge-book-library-glasses</title>
|
1154 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/amazon-thumbs-review/knowledge-book-library-glasses/</link>
|
1155 |
+
<pubDate>Tue, 10 Apr 2018 08:33:50 +0000</pubDate>
|
1156 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1157 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/knowledge-book-library-glasses.jpg</guid>
|
1158 |
+
<description></description>
|
1159 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1160 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1161 |
+
<wp:post_id>605</wp:post_id>
|
1162 |
+
<wp:post_date><![CDATA[2018-04-10 08:33:50]]></wp:post_date>
|
1163 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:33:50]]></wp:post_date_gmt>
|
1164 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1165 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1166 |
+
<wp:post_name><![CDATA[knowledge-book-library-glasses]]></wp:post_name>
|
1167 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1168 |
+
<wp:post_parent>486</wp:post_parent>
|
1169 |
+
<wp:menu_order>0</wp:menu_order>
|
1170 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1171 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1172 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1173 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/knowledge-book-library-glasses.jpg]]></wp:attachment_url>
|
1174 |
+
<wp:postmeta>
|
1175 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1176 |
+
<wp:meta_value><![CDATA[2018/03/knowledge-book-library-glasses.jpg]]></wp:meta_value>
|
1177 |
+
</wp:postmeta>
|
1178 |
+
<wp:postmeta>
|
1179 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1180 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:42:"2018/03/knowledge-book-library-glasses.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:40:"knowledge-book-library-glasses-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:40:"knowledge-book-library-glasses-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:41:"knowledge-book-library-glasses-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:42:"knowledge-book-library-glasses-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:34:05";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:42:"knowledge-book-library-glasses-150x150.jpg";i:1;s:42:"knowledge-book-library-glasses-300x225.jpg";i:2;s:42:"knowledge-book-library-glasses-768x576.jpg";i:3;s:42:"knowledge-book-library-glasses-320x200.jpg";i:4;s:40:"knowledge-book-library-glasses-65x65.jpg";i:5;s:42:"knowledge-book-library-glasses-203x150.jpg";i:7;s:42:"knowledge-book-library-glasses-634x280.jpg";i:9;s:42:"knowledge-book-library-glasses-300x180.jpg";i:10;s:42:"knowledge-book-library-glasses-960x472.jpg";i:11;s:41:"knowledge-book-library-glasses-124x74.jpg";i:12;s:42:"knowledge-book-library-glasses-125x125.jpg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"33.25";}]]></wp:meta_value>
|
1181 |
+
</wp:postmeta>
|
1182 |
+
</item>
|
1183 |
+
<item>
|
1184 |
+
<title>pexels-photo-218971</title>
|
1185 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/aqua-percentage-review/pexels-photo-218971/</link>
|
1186 |
+
<pubDate>Tue, 10 Apr 2018 08:36:41 +0000</pubDate>
|
1187 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1188 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-218971.jpg</guid>
|
1189 |
+
<description></description>
|
1190 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1191 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1192 |
+
<wp:post_id>608</wp:post_id>
|
1193 |
+
<wp:post_date><![CDATA[2018-04-10 08:36:41]]></wp:post_date>
|
1194 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:36:41]]></wp:post_date_gmt>
|
1195 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1196 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1197 |
+
<wp:post_name><![CDATA[pexels-photo-218971]]></wp:post_name>
|
1198 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1199 |
+
<wp:post_parent>460</wp:post_parent>
|
1200 |
+
<wp:menu_order>0</wp:menu_order>
|
1201 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1202 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1203 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1204 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-218971.jpg]]></wp:attachment_url>
|
1205 |
+
<wp:postmeta>
|
1206 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1207 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-218971.jpg]]></wp:meta_value>
|
1208 |
+
</wp:postmeta>
|
1209 |
+
<wp:postmeta>
|
1210 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1211 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:492;s:4:"file";s:31:"2018/03/pexels-photo-218971.jpg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:31:"pexels-photo-218971-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:31:"pexels-photo-218971-300x185.jpg";s:5:"width";i:300;s:6:"height";i:185;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:31:"pexels-photo-218971-768x472.jpg";s:5:"width";i:768;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:31:"pexels-photo-218971-320x200.jpg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:29:"pexels-photo-218971-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:31:"pexels-photo-218971-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:31:"pexels-photo-218971-203x150.jpg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:31:"pexels-photo-218971-634x280.jpg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:29:"pexels-photo-218971-65x65.jpg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:31:"pexels-photo-218971-300x180.jpg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:31:"pexels-photo-218971-960x472.jpg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:30:"pexels-photo-218971-124x74.jpg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-218971-125x125.jpg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:36:56";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:31:"pexels-photo-218971-150x150.jpg";i:1;s:31:"pexels-photo-218971-300x185.jpg";i:2;s:31:"pexels-photo-218971-768x472.jpg";i:3;s:31:"pexels-photo-218971-320x200.jpg";i:4;s:29:"pexels-photo-218971-65x65.jpg";i:5;s:31:"pexels-photo-218971-203x150.jpg";i:7;s:31:"pexels-photo-218971-634x280.jpg";i:9;s:31:"pexels-photo-218971-300x180.jpg";i:10;s:31:"pexels-photo-218971-960x472.jpg";i:11;s:30:"pexels-photo-218971-124x74.jpg";i:12;s:31:"pexels-photo-218971-125x125.jpg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"40.37";}]]></wp:meta_value>
|
1212 |
+
</wp:postmeta>
|
1213 |
+
</item>
|
1214 |
+
<item>
|
1215 |
+
<title>pexels-photo-871495</title>
|
1216 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/aqua-thumbs-review/pexels-photo-871495/</link>
|
1217 |
+
<pubDate>Tue, 10 Apr 2018 08:49:00 +0000</pubDate>
|
1218 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1219 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-871495.jpeg</guid>
|
1220 |
+
<description></description>
|
1221 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1222 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1223 |
+
<wp:post_id>611</wp:post_id>
|
1224 |
+
<wp:post_date><![CDATA[2018-04-10 08:49:00]]></wp:post_date>
|
1225 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:49:00]]></wp:post_date_gmt>
|
1226 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1227 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1228 |
+
<wp:post_name><![CDATA[pexels-photo-871495]]></wp:post_name>
|
1229 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1230 |
+
<wp:post_parent>462</wp:post_parent>
|
1231 |
+
<wp:menu_order>0</wp:menu_order>
|
1232 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1233 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1234 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1235 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-871495.jpeg]]></wp:attachment_url>
|
1236 |
+
<wp:postmeta>
|
1237 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1238 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-871495.jpeg]]></wp:meta_value>
|
1239 |
+
</wp:postmeta>
|
1240 |
+
<wp:postmeta>
|
1241 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1242 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-871495.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-871495-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-871495-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-871495-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-871495-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-871495-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-871495-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-871495-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-871495-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-871495-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-871495-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-871495-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-871495-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-871495-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:49:21";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-871495-150x150.jpeg";i:1;s:32:"pexels-photo-871495-300x200.jpeg";i:2;s:32:"pexels-photo-871495-768x512.jpeg";i:3;s:32:"pexels-photo-871495-320x200.jpeg";i:4;s:30:"pexels-photo-871495-65x65.jpeg";i:5;s:32:"pexels-photo-871495-203x150.jpeg";i:7;s:32:"pexels-photo-871495-634x280.jpeg";i:9;s:32:"pexels-photo-871495-300x180.jpeg";i:10;s:32:"pexels-photo-871495-960x472.jpeg";i:11;s:31:"pexels-photo-871495-124x74.jpeg";i:12;s:32:"pexels-photo-871495-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"16.01";}]]></wp:meta_value>
|
1243 |
+
</wp:postmeta>
|
1244 |
+
</item>
|
1245 |
+
<item>
|
1246 |
+
<title>pexels-photo-926221</title>
|
1247 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/aqua-circle-review/pexels-photo-926221/</link>
|
1248 |
+
<pubDate>Tue, 10 Apr 2018 08:49:31 +0000</pubDate>
|
1249 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1250 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-926221.jpeg</guid>
|
1251 |
+
<description></description>
|
1252 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1253 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1254 |
+
<wp:post_id>612</wp:post_id>
|
1255 |
+
<wp:post_date><![CDATA[2018-04-10 08:49:31]]></wp:post_date>
|
1256 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:49:31]]></wp:post_date_gmt>
|
1257 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1258 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1259 |
+
<wp:post_name><![CDATA[pexels-photo-926221]]></wp:post_name>
|
1260 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1261 |
+
<wp:post_parent>461</wp:post_parent>
|
1262 |
+
<wp:menu_order>0</wp:menu_order>
|
1263 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1264 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1265 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1266 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-926221.jpeg]]></wp:attachment_url>
|
1267 |
+
<wp:postmeta>
|
1268 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1269 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-926221.jpeg]]></wp:meta_value>
|
1270 |
+
</wp:postmeta>
|
1271 |
+
<wp:postmeta>
|
1272 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1273 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:530;s:4:"file";s:32:"2018/04/pexels-photo-926221.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926221-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-926221-300x199.jpeg";s:5:"width";i:300;s:6:"height";i:199;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-926221-768x509.jpeg";s:5:"width";i:768;s:6:"height";i:509;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-926221-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-926221-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926221-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-926221-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-926221-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-926221-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-926221-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-926221-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-926221-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-926221-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:49:46";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-926221-150x150.jpeg";i:1;s:32:"pexels-photo-926221-300x199.jpeg";i:2;s:32:"pexels-photo-926221-768x509.jpeg";i:3;s:32:"pexels-photo-926221-320x200.jpeg";i:4;s:30:"pexels-photo-926221-65x65.jpeg";i:5;s:32:"pexels-photo-926221-203x150.jpeg";i:7;s:32:"pexels-photo-926221-634x280.jpeg";i:9;s:32:"pexels-photo-926221-300x180.jpeg";i:10;s:32:"pexels-photo-926221-960x472.jpeg";i:11;s:31:"pexels-photo-926221-124x74.jpeg";i:12;s:32:"pexels-photo-926221-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:3:"8.7";}]]></wp:meta_value>
|
1274 |
+
</wp:postmeta>
|
1275 |
+
</item>
|
1276 |
+
<item>
|
1277 |
+
<title>pexels-photo-932401</title>
|
1278 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/aqua-star-review/pexels-photo-932401/</link>
|
1279 |
+
<pubDate>Tue, 10 Apr 2018 08:49:49 +0000</pubDate>
|
1280 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1281 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-932401.jpeg</guid>
|
1282 |
+
<description></description>
|
1283 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1284 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1285 |
+
<wp:post_id>613</wp:post_id>
|
1286 |
+
<wp:post_date><![CDATA[2018-04-10 08:49:49]]></wp:post_date>
|
1287 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:49:49]]></wp:post_date_gmt>
|
1288 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1289 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1290 |
+
<wp:post_name><![CDATA[pexels-photo-932401]]></wp:post_name>
|
1291 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1292 |
+
<wp:post_parent>369</wp:post_parent>
|
1293 |
+
<wp:menu_order>0</wp:menu_order>
|
1294 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1295 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1296 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1297 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-932401.jpeg]]></wp:attachment_url>
|
1298 |
+
<wp:postmeta>
|
1299 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1300 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-932401.jpeg]]></wp:meta_value>
|
1301 |
+
</wp:postmeta>
|
1302 |
+
<wp:postmeta>
|
1303 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1304 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-932401.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-932401-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-932401-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-932401-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-932401-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-932401-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-932401-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-932401-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-932401-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-932401-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-932401-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-932401-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-932401-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-932401-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:50:00";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-932401-150x150.jpeg";i:1;s:32:"pexels-photo-932401-300x200.jpeg";i:2;s:32:"pexels-photo-932401-768x512.jpeg";i:3;s:32:"pexels-photo-932401-320x200.jpeg";i:4;s:30:"pexels-photo-932401-65x65.jpeg";i:5;s:32:"pexels-photo-932401-203x150.jpeg";i:7;s:32:"pexels-photo-932401-634x280.jpeg";i:9;s:32:"pexels-photo-932401-300x180.jpeg";i:10;s:32:"pexels-photo-932401-960x472.jpeg";i:11;s:31:"pexels-photo-932401-124x74.jpeg";i:12;s:32:"pexels-photo-932401-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"9.07";}]]></wp:meta_value>
|
1305 |
+
</wp:postmeta>
|
1306 |
+
</item>
|
1307 |
+
<item>
|
1308 |
+
<title>pexels-photo-935750</title>
|
1309 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/aqua-point-review/pexels-photo-935750/</link>
|
1310 |
+
<pubDate>Tue, 10 Apr 2018 08:50:10 +0000</pubDate>
|
1311 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1312 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-935750.jpeg</guid>
|
1313 |
+
<description></description>
|
1314 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1315 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1316 |
+
<wp:post_id>614</wp:post_id>
|
1317 |
+
<wp:post_date><![CDATA[2018-04-10 08:50:10]]></wp:post_date>
|
1318 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:50:10]]></wp:post_date_gmt>
|
1319 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1320 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1321 |
+
<wp:post_name><![CDATA[pexels-photo-935750]]></wp:post_name>
|
1322 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1323 |
+
<wp:post_parent>459</wp:post_parent>
|
1324 |
+
<wp:menu_order>0</wp:menu_order>
|
1325 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1326 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1327 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1328 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-935750.jpeg]]></wp:attachment_url>
|
1329 |
+
<wp:postmeta>
|
1330 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1331 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-935750.jpeg]]></wp:meta_value>
|
1332 |
+
</wp:postmeta>
|
1333 |
+
<wp:postmeta>
|
1334 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1335 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-935750.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-935750-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-935750-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-935750-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-935750-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-935750-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-935750-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-935750-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-935750-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-935750-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-935750-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-935750-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-935750-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-935750-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:50:24";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-935750-150x150.jpeg";i:1;s:32:"pexels-photo-935750-300x200.jpeg";i:2;s:32:"pexels-photo-935750-768x512.jpeg";i:3;s:32:"pexels-photo-935750-320x200.jpeg";i:4;s:30:"pexels-photo-935750-65x65.jpeg";i:5;s:32:"pexels-photo-935750-203x150.jpeg";i:7;s:32:"pexels-photo-935750-634x280.jpeg";i:9;s:32:"pexels-photo-935750-300x180.jpeg";i:10;s:32:"pexels-photo-935750-960x472.jpeg";i:11;s:31:"pexels-photo-935750-124x74.jpeg";i:12;s:32:"pexels-photo-935750-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"12.48";}]]></wp:meta_value>
|
1336 |
+
</wp:postmeta>
|
1337 |
+
</item>
|
1338 |
+
<item>
|
1339 |
+
<title>pexels-photo-935756</title>
|
1340 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/default-star-review/pexels-photo-935756/</link>
|
1341 |
+
<pubDate>Tue, 10 Apr 2018 08:51:18 +0000</pubDate>
|
1342 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1343 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-935756.jpeg</guid>
|
1344 |
+
<description></description>
|
1345 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1346 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1347 |
+
<wp:post_id>615</wp:post_id>
|
1348 |
+
<wp:post_date><![CDATA[2018-04-10 08:51:18]]></wp:post_date>
|
1349 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:51:18]]></wp:post_date_gmt>
|
1350 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1351 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1352 |
+
<wp:post_name><![CDATA[pexels-photo-935756]]></wp:post_name>
|
1353 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1354 |
+
<wp:post_parent>388</wp:post_parent>
|
1355 |
+
<wp:menu_order>0</wp:menu_order>
|
1356 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1357 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1358 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1359 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-935756.jpeg]]></wp:attachment_url>
|
1360 |
+
<wp:postmeta>
|
1361 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1362 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-935756.jpeg]]></wp:meta_value>
|
1363 |
+
</wp:postmeta>
|
1364 |
+
<wp:postmeta>
|
1365 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1366 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-935756.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-935756-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-935756-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-935756-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-935756-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-935756-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-935756-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-935756-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-935756-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-935756-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-935756-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-935756-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-935756-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-935756-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:51:37";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-935756-150x150.jpeg";i:1;s:32:"pexels-photo-935756-300x200.jpeg";i:2;s:32:"pexels-photo-935756-768x512.jpeg";i:3;s:32:"pexels-photo-935756-320x200.jpeg";i:4;s:30:"pexels-photo-935756-65x65.jpeg";i:5;s:32:"pexels-photo-935756-203x150.jpeg";i:7;s:32:"pexels-photo-935756-634x280.jpeg";i:9;s:32:"pexels-photo-935756-300x180.jpeg";i:10;s:32:"pexels-photo-935756-960x472.jpeg";i:11;s:31:"pexels-photo-935756-124x74.jpeg";i:12;s:32:"pexels-photo-935756-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"17.24";}]]></wp:meta_value>
|
1367 |
+
</wp:postmeta>
|
1368 |
+
</item>
|
1369 |
+
<item>
|
1370 |
+
<title>pexels-photo-936722</title>
|
1371 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/default-point-review/pexels-photo-936722/</link>
|
1372 |
+
<pubDate>Tue, 10 Apr 2018 08:51:38 +0000</pubDate>
|
1373 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1374 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-936722.jpeg</guid>
|
1375 |
+
<description></description>
|
1376 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1377 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1378 |
+
<wp:post_id>616</wp:post_id>
|
1379 |
+
<wp:post_date><![CDATA[2018-04-10 08:51:38]]></wp:post_date>
|
1380 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:51:38]]></wp:post_date_gmt>
|
1381 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1382 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1383 |
+
<wp:post_name><![CDATA[pexels-photo-936722]]></wp:post_name>
|
1384 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1385 |
+
<wp:post_parent>389</wp:post_parent>
|
1386 |
+
<wp:menu_order>0</wp:menu_order>
|
1387 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1388 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1389 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1390 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-936722.jpeg]]></wp:attachment_url>
|
1391 |
+
<wp:postmeta>
|
1392 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1393 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-936722.jpeg]]></wp:meta_value>
|
1394 |
+
</wp:postmeta>
|
1395 |
+
<wp:postmeta>
|
1396 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1397 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-936722.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-936722-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-936722-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-936722-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-936722-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-936722-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-936722-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-936722-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-936722-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-936722-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-936722-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-936722-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-936722-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-936722-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:51:51";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-936722-150x150.jpeg";i:1;s:32:"pexels-photo-936722-300x200.jpeg";i:2;s:32:"pexels-photo-936722-768x512.jpeg";i:3;s:32:"pexels-photo-936722-320x200.jpeg";i:4;s:30:"pexels-photo-936722-65x65.jpeg";i:5;s:32:"pexels-photo-936722-203x150.jpeg";i:7;s:32:"pexels-photo-936722-634x280.jpeg";i:9;s:32:"pexels-photo-936722-300x180.jpeg";i:10;s:32:"pexels-photo-936722-960x472.jpeg";i:11;s:31:"pexels-photo-936722-124x74.jpeg";i:12;s:32:"pexels-photo-936722-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.79";}]]></wp:meta_value>
|
1398 |
+
</wp:postmeta>
|
1399 |
+
</item>
|
1400 |
+
<item>
|
1401 |
+
<title>pexels-photo-940543</title>
|
1402 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/default-percentage-review/pexels-photo-940543/</link>
|
1403 |
+
<pubDate>Tue, 10 Apr 2018 08:51:52 +0000</pubDate>
|
1404 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1405 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-940543.jpeg</guid>
|
1406 |
+
<description></description>
|
1407 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1408 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1409 |
+
<wp:post_id>617</wp:post_id>
|
1410 |
+
<wp:post_date><![CDATA[2018-04-10 08:51:52]]></wp:post_date>
|
1411 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:51:52]]></wp:post_date_gmt>
|
1412 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1413 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1414 |
+
<wp:post_name><![CDATA[pexels-photo-940543]]></wp:post_name>
|
1415 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1416 |
+
<wp:post_parent>390</wp:post_parent>
|
1417 |
+
<wp:menu_order>0</wp:menu_order>
|
1418 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1419 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1420 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1421 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-940543.jpeg]]></wp:attachment_url>
|
1422 |
+
<wp:postmeta>
|
1423 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1424 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-940543.jpeg]]></wp:meta_value>
|
1425 |
+
</wp:postmeta>
|
1426 |
+
<wp:postmeta>
|
1427 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1428 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-940543.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-940543-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-940543-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-940543-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-940543-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-940543-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-940543-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-940543-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-940543-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-940543-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-940543-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-940543-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-940543-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-940543-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:52:02";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-940543-150x150.jpeg";i:1;s:32:"pexels-photo-940543-300x200.jpeg";i:2;s:32:"pexels-photo-940543-768x512.jpeg";i:3;s:32:"pexels-photo-940543-320x200.jpeg";i:4;s:30:"pexels-photo-940543-65x65.jpeg";i:5;s:32:"pexels-photo-940543-203x150.jpeg";i:7;s:32:"pexels-photo-940543-634x280.jpeg";i:9;s:32:"pexels-photo-940543-300x180.jpeg";i:10;s:32:"pexels-photo-940543-960x472.jpeg";i:11;s:31:"pexels-photo-940543-124x74.jpeg";i:12;s:32:"pexels-photo-940543-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"15.05";}]]></wp:meta_value>
|
1429 |
+
</wp:postmeta>
|
1430 |
+
</item>
|
1431 |
+
<item>
|
1432 |
+
<title>pexels-photo-941693</title>
|
1433 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/default-circle-review/pexels-photo-941693/</link>
|
1434 |
+
<pubDate>Tue, 10 Apr 2018 08:52:28 +0000</pubDate>
|
1435 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1436 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-941693.jpeg</guid>
|
1437 |
+
<description></description>
|
1438 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1439 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1440 |
+
<wp:post_id>618</wp:post_id>
|
1441 |
+
<wp:post_date><![CDATA[2018-04-10 08:52:28]]></wp:post_date>
|
1442 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:52:28]]></wp:post_date_gmt>
|
1443 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1444 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1445 |
+
<wp:post_name><![CDATA[pexels-photo-941693]]></wp:post_name>
|
1446 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1447 |
+
<wp:post_parent>391</wp:post_parent>
|
1448 |
+
<wp:menu_order>0</wp:menu_order>
|
1449 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1450 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1451 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1452 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-941693.jpeg]]></wp:attachment_url>
|
1453 |
+
<wp:postmeta>
|
1454 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1455 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-941693.jpeg]]></wp:meta_value>
|
1456 |
+
</wp:postmeta>
|
1457 |
+
<wp:postmeta>
|
1458 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1459 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:692;s:4:"file";s:32:"2018/04/pexels-photo-941693.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-941693-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-941693-300x260.jpeg";s:5:"width";i:300;s:6:"height";i:260;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-941693-768x664.jpeg";s:5:"width";i:768;s:6:"height";i:664;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-941693-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-941693-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-941693-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-941693-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-941693-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-941693-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-941693-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-941693-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-941693-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-941693-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:52:43";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-941693-150x150.jpeg";i:1;s:32:"pexels-photo-941693-300x260.jpeg";i:2;s:32:"pexels-photo-941693-768x664.jpeg";i:3;s:32:"pexels-photo-941693-320x200.jpeg";i:4;s:30:"pexels-photo-941693-65x65.jpeg";i:5;s:32:"pexels-photo-941693-203x150.jpeg";i:7;s:32:"pexels-photo-941693-634x280.jpeg";i:9;s:32:"pexels-photo-941693-300x180.jpeg";i:10;s:32:"pexels-photo-941693-960x472.jpeg";i:11;s:31:"pexels-photo-941693-124x74.jpeg";i:12;s:32:"pexels-photo-941693-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"7.46";}]]></wp:meta_value>
|
1460 |
+
</wp:postmeta>
|
1461 |
+
</item>
|
1462 |
+
<item>
|
1463 |
+
<title>pexels-photo-965157</title>
|
1464 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/thumbs-review-default-template/pexels-photo-965157/</link>
|
1465 |
+
<pubDate>Tue, 10 Apr 2018 08:53:00 +0000</pubDate>
|
1466 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1467 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-965157.jpeg</guid>
|
1468 |
+
<description></description>
|
1469 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1470 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1471 |
+
<wp:post_id>619</wp:post_id>
|
1472 |
+
<wp:post_date><![CDATA[2018-04-10 08:53:00]]></wp:post_date>
|
1473 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:53:00]]></wp:post_date_gmt>
|
1474 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1475 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1476 |
+
<wp:post_name><![CDATA[pexels-photo-965157]]></wp:post_name>
|
1477 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1478 |
+
<wp:post_parent>400</wp:post_parent>
|
1479 |
+
<wp:menu_order>0</wp:menu_order>
|
1480 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1481 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1482 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1483 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-965157.jpeg]]></wp:attachment_url>
|
1484 |
+
<wp:postmeta>
|
1485 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1486 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-965157.jpeg]]></wp:meta_value>
|
1487 |
+
</wp:postmeta>
|
1488 |
+
<wp:postmeta>
|
1489 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1490 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-965157.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-965157-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-965157-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-965157-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-965157-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-965157-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-965157-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-965157-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-965157-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-965157-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-965157-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-965157-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-965157-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-965157-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:53:15";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-965157-150x150.jpeg";i:1;s:32:"pexels-photo-965157-300x200.jpeg";i:2;s:32:"pexels-photo-965157-768x512.jpeg";i:3;s:32:"pexels-photo-965157-320x200.jpeg";i:4;s:30:"pexels-photo-965157-65x65.jpeg";i:5;s:32:"pexels-photo-965157-203x150.jpeg";i:7;s:32:"pexels-photo-965157-634x280.jpeg";i:9;s:32:"pexels-photo-965157-300x180.jpeg";i:10;s:32:"pexels-photo-965157-960x472.jpeg";i:11;s:31:"pexels-photo-965157-124x74.jpeg";i:12;s:32:"pexels-photo-965157-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.22";}]]></wp:meta_value>
|
1491 |
+
</wp:postmeta>
|
1492 |
+
</item>
|
1493 |
+
<item>
|
1494 |
+
<title>pexels-photo-976917</title>
|
1495 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/amazon-star-review/pexels-photo-976917/</link>
|
1496 |
+
<pubDate>Tue, 10 Apr 2018 08:55:35 +0000</pubDate>
|
1497 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1498 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-976917.jpeg</guid>
|
1499 |
+
<description></description>
|
1500 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1501 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1502 |
+
<wp:post_id>620</wp:post_id>
|
1503 |
+
<wp:post_date><![CDATA[2018-04-10 08:55:35]]></wp:post_date>
|
1504 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:55:35]]></wp:post_date_gmt>
|
1505 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1506 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1507 |
+
<wp:post_name><![CDATA[pexels-photo-976917]]></wp:post_name>
|
1508 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1509 |
+
<wp:post_parent>376</wp:post_parent>
|
1510 |
+
<wp:menu_order>0</wp:menu_order>
|
1511 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1512 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1513 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1514 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-976917.jpeg]]></wp:attachment_url>
|
1515 |
+
<wp:postmeta>
|
1516 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1517 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-976917.jpeg]]></wp:meta_value>
|
1518 |
+
</wp:postmeta>
|
1519 |
+
<wp:postmeta>
|
1520 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1521 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-976917.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-976917-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-976917-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-976917-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-976917-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-976917-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-976917-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-976917-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-976917-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-976917-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-976917-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-976917-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-976917-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-976917-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:55:49";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-976917-150x150.jpeg";i:1;s:32:"pexels-photo-976917-300x200.jpeg";i:2;s:32:"pexels-photo-976917-768x512.jpeg";i:3;s:32:"pexels-photo-976917-320x200.jpeg";i:4;s:30:"pexels-photo-976917-65x65.jpeg";i:5;s:32:"pexels-photo-976917-203x150.jpeg";i:7;s:32:"pexels-photo-976917-634x280.jpeg";i:9;s:32:"pexels-photo-976917-300x180.jpeg";i:10;s:32:"pexels-photo-976917-960x472.jpeg";i:11;s:31:"pexels-photo-976917-124x74.jpeg";i:12;s:32:"pexels-photo-976917-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"11.23";}]]></wp:meta_value>
|
1522 |
+
</wp:postmeta>
|
1523 |
+
</item>
|
1524 |
+
<item>
|
1525 |
+
<title>pexels-photo-941572</title>
|
1526 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/amazon-point-review/pexels-photo-941572/</link>
|
1527 |
+
<pubDate>Tue, 10 Apr 2018 08:55:52 +0000</pubDate>
|
1528 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1529 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-941572.jpeg</guid>
|
1530 |
+
<description></description>
|
1531 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1532 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1533 |
+
<wp:post_id>621</wp:post_id>
|
1534 |
+
<wp:post_date><![CDATA[2018-04-10 08:55:52]]></wp:post_date>
|
1535 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:55:52]]></wp:post_date_gmt>
|
1536 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1537 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1538 |
+
<wp:post_name><![CDATA[pexels-photo-941572]]></wp:post_name>
|
1539 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1540 |
+
<wp:post_parent>482</wp:post_parent>
|
1541 |
+
<wp:menu_order>0</wp:menu_order>
|
1542 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1543 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1544 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1545 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-941572.jpeg]]></wp:attachment_url>
|
1546 |
+
<wp:postmeta>
|
1547 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1548 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-941572.jpeg]]></wp:meta_value>
|
1549 |
+
</wp:postmeta>
|
1550 |
+
<wp:postmeta>
|
1551 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1552 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/04/pexels-photo-941572.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-941572-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-941572-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-941572-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-941572-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-941572-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-941572-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-941572-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-941572-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-941572-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-941572-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-941572-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-941572-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-941572-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:56:02";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-941572-150x150.jpeg";i:1;s:32:"pexels-photo-941572-300x200.jpeg";i:2;s:32:"pexels-photo-941572-768x512.jpeg";i:3;s:32:"pexels-photo-941572-320x200.jpeg";i:4;s:30:"pexels-photo-941572-65x65.jpeg";i:5;s:32:"pexels-photo-941572-203x150.jpeg";i:7;s:32:"pexels-photo-941572-634x280.jpeg";i:9;s:32:"pexels-photo-941572-300x180.jpeg";i:10;s:32:"pexels-photo-941572-960x472.jpeg";i:11;s:31:"pexels-photo-941572-124x74.jpeg";i:12;s:32:"pexels-photo-941572-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"4.15";}]]></wp:meta_value>
|
1553 |
+
</wp:postmeta>
|
1554 |
+
</item>
|
1555 |
+
<item>
|
1556 |
+
<title>pexels-photo-926232</title>
|
1557 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/amazon-circle-review/pexels-photo-926232/</link>
|
1558 |
+
<pubDate>Tue, 10 Apr 2018 08:56:25 +0000</pubDate>
|
1559 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1560 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/04/pexels-photo-926232.jpeg</guid>
|
1561 |
+
<description></description>
|
1562 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1563 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1564 |
+
<wp:post_id>623</wp:post_id>
|
1565 |
+
<wp:post_date><![CDATA[2018-04-10 08:56:25]]></wp:post_date>
|
1566 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 08:56:25]]></wp:post_date_gmt>
|
1567 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1568 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1569 |
+
<wp:post_name><![CDATA[pexels-photo-926232]]></wp:post_name>
|
1570 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1571 |
+
<wp:post_parent>484</wp:post_parent>
|
1572 |
+
<wp:menu_order>0</wp:menu_order>
|
1573 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1574 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1575 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1576 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/04/pexels-photo-926232.jpeg]]></wp:attachment_url>
|
1577 |
+
<wp:postmeta>
|
1578 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1579 |
+
<wp:meta_value><![CDATA[2018/04/pexels-photo-926232.jpeg]]></wp:meta_value>
|
1580 |
+
</wp:postmeta>
|
1581 |
+
<wp:postmeta>
|
1582 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1583 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:530;s:4:"file";s:32:"2018/04/pexels-photo-926232.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926232-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-926232-300x199.jpeg";s:5:"width";i:300;s:6:"height";i:199;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-926232-768x509.jpeg";s:5:"width";i:768;s:6:"height";i:509;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-926232-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-926232-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926232-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-926232-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-926232-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-926232-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-926232-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-926232-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-926232-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-926232-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 08:56:36";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-926232-150x150.jpeg";i:1;s:32:"pexels-photo-926232-300x199.jpeg";i:2;s:32:"pexels-photo-926232-768x509.jpeg";i:3;s:32:"pexels-photo-926232-320x200.jpeg";i:4;s:30:"pexels-photo-926232-65x65.jpeg";i:5;s:32:"pexels-photo-926232-203x150.jpeg";i:7;s:32:"pexels-photo-926232-634x280.jpeg";i:9;s:32:"pexels-photo-926232-300x180.jpeg";i:10;s:32:"pexels-photo-926232-960x472.jpeg";i:11;s:31:"pexels-photo-926232-124x74.jpeg";i:12;s:32:"pexels-photo-926232-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"9.71";}]]></wp:meta_value>
|
1584 |
+
</wp:postmeta>
|
1585 |
+
</item>
|
1586 |
+
<item>
|
1587 |
+
<title>pexels-photo-949670</title>
|
1588 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/blue-star-review/pexels-photo-949670/</link>
|
1589 |
+
<pubDate>Tue, 10 Apr 2018 09:17:47 +0000</pubDate>
|
1590 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1591 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-949670.jpeg</guid>
|
1592 |
+
<description></description>
|
1593 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1594 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1595 |
+
<wp:post_id>624</wp:post_id>
|
1596 |
+
<wp:post_date><![CDATA[2018-04-10 09:17:47]]></wp:post_date>
|
1597 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:17:47]]></wp:post_date_gmt>
|
1598 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1599 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1600 |
+
<wp:post_name><![CDATA[pexels-photo-949670]]></wp:post_name>
|
1601 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1602 |
+
<wp:post_parent>361</wp:post_parent>
|
1603 |
+
<wp:menu_order>0</wp:menu_order>
|
1604 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1605 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1606 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1607 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-949670.jpeg]]></wp:attachment_url>
|
1608 |
+
<wp:postmeta>
|
1609 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1610 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-949670.jpeg]]></wp:meta_value>
|
1611 |
+
</wp:postmeta>
|
1612 |
+
<wp:postmeta>
|
1613 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1614 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2017/12/pexels-photo-949670.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-949670-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-949670-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-949670-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-949670-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-949670-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-949670-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-949670-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-949670-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-949670-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-949670-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-949670-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-949670-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-949670-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:18:01";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-949670-150x150.jpeg";i:1;s:32:"pexels-photo-949670-300x200.jpeg";i:2;s:32:"pexels-photo-949670-768x512.jpeg";i:3;s:32:"pexels-photo-949670-320x200.jpeg";i:4;s:30:"pexels-photo-949670-65x65.jpeg";i:5;s:32:"pexels-photo-949670-203x150.jpeg";i:7;s:32:"pexels-photo-949670-634x280.jpeg";i:9;s:32:"pexels-photo-949670-300x180.jpeg";i:10;s:32:"pexels-photo-949670-960x472.jpeg";i:11;s:31:"pexels-photo-949670-124x74.jpeg";i:12;s:32:"pexels-photo-949670-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.27";}]]></wp:meta_value>
|
1615 |
+
</wp:postmeta>
|
1616 |
+
</item>
|
1617 |
+
<item>
|
1618 |
+
<title>pexels-photo-979601</title>
|
1619 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/blue-point-review/pexels-photo-979601/</link>
|
1620 |
+
<pubDate>Tue, 10 Apr 2018 09:18:37 +0000</pubDate>
|
1621 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1622 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-979601.jpeg</guid>
|
1623 |
+
<description></description>
|
1624 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1625 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1626 |
+
<wp:post_id>625</wp:post_id>
|
1627 |
+
<wp:post_date><![CDATA[2018-04-10 09:18:37]]></wp:post_date>
|
1628 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:18:37]]></wp:post_date_gmt>
|
1629 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1630 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1631 |
+
<wp:post_name><![CDATA[pexels-photo-979601]]></wp:post_name>
|
1632 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1633 |
+
<wp:post_parent>429</wp:post_parent>
|
1634 |
+
<wp:menu_order>0</wp:menu_order>
|
1635 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1636 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1637 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1638 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-979601.jpeg]]></wp:attachment_url>
|
1639 |
+
<wp:postmeta>
|
1640 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1641 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-979601.jpeg]]></wp:meta_value>
|
1642 |
+
</wp:postmeta>
|
1643 |
+
<wp:postmeta>
|
1644 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1645 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-979601.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-979601-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-979601-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-979601-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-979601-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-979601-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-979601-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-979601-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-979601-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-979601-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-979601-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-979601-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-979601-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-979601-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:18:52";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-979601-150x150.jpeg";i:1;s:32:"pexels-photo-979601-300x200.jpeg";i:2;s:32:"pexels-photo-979601-768x512.jpeg";i:3;s:32:"pexels-photo-979601-320x200.jpeg";i:4;s:30:"pexels-photo-979601-65x65.jpeg";i:5;s:32:"pexels-photo-979601-203x150.jpeg";i:7;s:32:"pexels-photo-979601-634x280.jpeg";i:9;s:32:"pexels-photo-979601-300x180.jpeg";i:10;s:32:"pexels-photo-979601-960x472.jpeg";i:11;s:31:"pexels-photo-979601-124x74.jpeg";i:12;s:32:"pexels-photo-979601-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"13.1";}]]></wp:meta_value>
|
1646 |
+
</wp:postmeta>
|
1647 |
+
</item>
|
1648 |
+
<item>
|
1649 |
+
<title>pexels-photo-972995</title>
|
1650 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/blue-percentage-review/pexels-photo-972995/</link>
|
1651 |
+
<pubDate>Tue, 10 Apr 2018 09:20:01 +0000</pubDate>
|
1652 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1653 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-972995.jpeg</guid>
|
1654 |
+
<description></description>
|
1655 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1656 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1657 |
+
<wp:post_id>626</wp:post_id>
|
1658 |
+
<wp:post_date><![CDATA[2018-04-10 09:20:01]]></wp:post_date>
|
1659 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:20:01]]></wp:post_date_gmt>
|
1660 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1661 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1662 |
+
<wp:post_name><![CDATA[pexels-photo-972995]]></wp:post_name>
|
1663 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1664 |
+
<wp:post_parent>430</wp:post_parent>
|
1665 |
+
<wp:menu_order>0</wp:menu_order>
|
1666 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1667 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1668 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1669 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-972995.jpeg]]></wp:attachment_url>
|
1670 |
+
<wp:postmeta>
|
1671 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1672 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-972995.jpeg]]></wp:meta_value>
|
1673 |
+
</wp:postmeta>
|
1674 |
+
<wp:postmeta>
|
1675 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1676 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-972995.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-972995-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-972995-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-972995-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-972995-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-972995-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-972995-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-972995-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-972995-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-972995-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-972995-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-972995-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-972995-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-972995-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:20:15";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-972995-150x150.jpeg";i:1;s:32:"pexels-photo-972995-300x200.jpeg";i:2;s:32:"pexels-photo-972995-768x512.jpeg";i:3;s:32:"pexels-photo-972995-320x200.jpeg";i:4;s:30:"pexels-photo-972995-65x65.jpeg";i:5;s:32:"pexels-photo-972995-203x150.jpeg";i:7;s:32:"pexels-photo-972995-634x280.jpeg";i:9;s:32:"pexels-photo-972995-300x180.jpeg";i:10;s:32:"pexels-photo-972995-960x472.jpeg";i:11;s:31:"pexels-photo-972995-124x74.jpeg";i:12;s:32:"pexels-photo-972995-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"16.66";}]]></wp:meta_value>
|
1677 |
+
</wp:postmeta>
|
1678 |
+
</item>
|
1679 |
+
<item>
|
1680 |
+
<title>pexels-photo-972107</title>
|
1681 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/blue-circle-review/pexels-photo-972107/</link>
|
1682 |
+
<pubDate>Tue, 10 Apr 2018 09:22:54 +0000</pubDate>
|
1683 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1684 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-972107.jpeg</guid>
|
1685 |
+
<description></description>
|
1686 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1687 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1688 |
+
<wp:post_id>627</wp:post_id>
|
1689 |
+
<wp:post_date><![CDATA[2018-04-10 09:22:54]]></wp:post_date>
|
1690 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:22:54]]></wp:post_date_gmt>
|
1691 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1692 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1693 |
+
<wp:post_name><![CDATA[pexels-photo-972107]]></wp:post_name>
|
1694 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1695 |
+
<wp:post_parent>431</wp:post_parent>
|
1696 |
+
<wp:menu_order>0</wp:menu_order>
|
1697 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1698 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1699 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1700 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-972107.jpeg]]></wp:attachment_url>
|
1701 |
+
<wp:postmeta>
|
1702 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1703 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-972107.jpeg]]></wp:meta_value>
|
1704 |
+
</wp:postmeta>
|
1705 |
+
<wp:postmeta>
|
1706 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1707 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-972107.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-972107-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-972107-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-972107-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-972107-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-972107-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-972107-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-972107-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-972107-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-972107-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-972107-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-972107-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-972107-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-972107-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:23:09";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-972107-150x150.jpeg";i:1;s:32:"pexels-photo-972107-300x200.jpeg";i:2;s:32:"pexels-photo-972107-768x512.jpeg";i:3;s:32:"pexels-photo-972107-320x200.jpeg";i:4;s:30:"pexels-photo-972107-65x65.jpeg";i:5;s:32:"pexels-photo-972107-203x150.jpeg";i:7;s:32:"pexels-photo-972107-634x280.jpeg";i:9;s:32:"pexels-photo-972107-300x180.jpeg";i:10;s:32:"pexels-photo-972107-960x472.jpeg";i:11;s:31:"pexels-photo-972107-124x74.jpeg";i:12;s:32:"pexels-photo-972107-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:2:"14";}]]></wp:meta_value>
|
1708 |
+
</wp:postmeta>
|
1709 |
+
</item>
|
1710 |
+
<item>
|
1711 |
+
<title>pexels-photo-947183</title>
|
1712 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/blue-thumbs-review/pexels-photo-947183/</link>
|
1713 |
+
<pubDate>Tue, 10 Apr 2018 09:24:17 +0000</pubDate>
|
1714 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1715 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-947183.jpeg</guid>
|
1716 |
+
<description></description>
|
1717 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1718 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1719 |
+
<wp:post_id>628</wp:post_id>
|
1720 |
+
<wp:post_date><![CDATA[2018-04-10 09:24:17]]></wp:post_date>
|
1721 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:24:17]]></wp:post_date_gmt>
|
1722 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1723 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1724 |
+
<wp:post_name><![CDATA[pexels-photo-947183]]></wp:post_name>
|
1725 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1726 |
+
<wp:post_parent>432</wp:post_parent>
|
1727 |
+
<wp:menu_order>0</wp:menu_order>
|
1728 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1729 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1730 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1731 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-947183.jpeg]]></wp:attachment_url>
|
1732 |
+
<wp:postmeta>
|
1733 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1734 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-947183.jpeg]]></wp:meta_value>
|
1735 |
+
</wp:postmeta>
|
1736 |
+
<wp:postmeta>
|
1737 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1738 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:530;s:4:"file";s:32:"2018/03/pexels-photo-947183.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-947183-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-947183-300x199.jpeg";s:5:"width";i:300;s:6:"height";i:199;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-947183-768x509.jpeg";s:5:"width";i:768;s:6:"height";i:509;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-947183-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-947183-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-947183-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-947183-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-947183-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-947183-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-947183-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-947183-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-947183-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-947183-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:25:10";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-947183-150x150.jpeg";i:1;s:32:"pexels-photo-947183-300x199.jpeg";i:2;s:32:"pexels-photo-947183-768x509.jpeg";i:3;s:32:"pexels-photo-947183-320x200.jpeg";i:4;s:30:"pexels-photo-947183-65x65.jpeg";i:5;s:32:"pexels-photo-947183-203x150.jpeg";i:7;s:32:"pexels-photo-947183-634x280.jpeg";i:9;s:32:"pexels-photo-947183-300x180.jpeg";i:10;s:32:"pexels-photo-947183-960x472.jpeg";i:11;s:31:"pexels-photo-947183-124x74.jpeg";i:12;s:32:"pexels-photo-947183-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"7.23";}]]></wp:meta_value>
|
1739 |
+
</wp:postmeta>
|
1740 |
+
</item>
|
1741 |
+
<item>
|
1742 |
+
<title>pexels-photo-906006</title>
|
1743 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/darkside-star-review/pexels-photo-906006/</link>
|
1744 |
+
<pubDate>Tue, 10 Apr 2018 09:33:09 +0000</pubDate>
|
1745 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1746 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-906006.jpeg</guid>
|
1747 |
+
<description></description>
|
1748 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1749 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1750 |
+
<wp:post_id>629</wp:post_id>
|
1751 |
+
<wp:post_date><![CDATA[2018-04-10 09:33:09]]></wp:post_date>
|
1752 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:33:09]]></wp:post_date_gmt>
|
1753 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1754 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1755 |
+
<wp:post_name><![CDATA[pexels-photo-906006]]></wp:post_name>
|
1756 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1757 |
+
<wp:post_parent>371</wp:post_parent>
|
1758 |
+
<wp:menu_order>0</wp:menu_order>
|
1759 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1760 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1761 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1762 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-906006.jpeg]]></wp:attachment_url>
|
1763 |
+
<wp:postmeta>
|
1764 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1765 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-906006.jpeg]]></wp:meta_value>
|
1766 |
+
</wp:postmeta>
|
1767 |
+
<wp:postmeta>
|
1768 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1769 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2017/12/pexels-photo-906006.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-906006-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-906006-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-906006-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-906006-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-906006-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-906006-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-906006-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-906006-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-906006-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-906006-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-906006-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-906006-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-906006-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:33:24";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-906006-150x150.jpeg";i:1;s:32:"pexels-photo-906006-300x200.jpeg";i:2;s:32:"pexels-photo-906006-768x512.jpeg";i:3;s:32:"pexels-photo-906006-320x200.jpeg";i:4;s:30:"pexels-photo-906006-65x65.jpeg";i:5;s:32:"pexels-photo-906006-203x150.jpeg";i:7;s:32:"pexels-photo-906006-634x280.jpeg";i:9;s:32:"pexels-photo-906006-300x180.jpeg";i:10;s:32:"pexels-photo-906006-960x472.jpeg";i:11;s:31:"pexels-photo-906006-124x74.jpeg";i:12;s:32:"pexels-photo-906006-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"14.89";}]]></wp:meta_value>
|
1770 |
+
</wp:postmeta>
|
1771 |
+
</item>
|
1772 |
+
<item>
|
1773 |
+
<title>pexels-photo-907142</title>
|
1774 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/darkside-point-review/pexels-photo-907142/</link>
|
1775 |
+
<pubDate>Tue, 10 Apr 2018 09:34:03 +0000</pubDate>
|
1776 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1777 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-907142.jpeg</guid>
|
1778 |
+
<description></description>
|
1779 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1780 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1781 |
+
<wp:post_id>630</wp:post_id>
|
1782 |
+
<wp:post_date><![CDATA[2018-04-10 09:34:03]]></wp:post_date>
|
1783 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:34:03]]></wp:post_date_gmt>
|
1784 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1785 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1786 |
+
<wp:post_name><![CDATA[pexels-photo-907142]]></wp:post_name>
|
1787 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1788 |
+
<wp:post_parent>467</wp:post_parent>
|
1789 |
+
<wp:menu_order>0</wp:menu_order>
|
1790 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1791 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1792 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1793 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-907142.jpeg]]></wp:attachment_url>
|
1794 |
+
<wp:postmeta>
|
1795 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1796 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-907142.jpeg]]></wp:meta_value>
|
1797 |
+
</wp:postmeta>
|
1798 |
+
<wp:postmeta>
|
1799 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1800 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-907142.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-907142-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-907142-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-907142-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-907142-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-907142-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-907142-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-907142-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-907142-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-907142-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-907142-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-907142-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-907142-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-907142-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:34:26";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-907142-150x150.jpeg";i:1;s:32:"pexels-photo-907142-300x200.jpeg";i:2;s:32:"pexels-photo-907142-768x512.jpeg";i:3;s:32:"pexels-photo-907142-320x200.jpeg";i:4;s:30:"pexels-photo-907142-65x65.jpeg";i:5;s:32:"pexels-photo-907142-203x150.jpeg";i:7;s:32:"pexels-photo-907142-634x280.jpeg";i:9;s:32:"pexels-photo-907142-300x180.jpeg";i:10;s:32:"pexels-photo-907142-960x472.jpeg";i:11;s:31:"pexels-photo-907142-124x74.jpeg";i:12;s:32:"pexels-photo-907142-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"14.08";}]]></wp:meta_value>
|
1801 |
+
</wp:postmeta>
|
1802 |
+
</item>
|
1803 |
+
<item>
|
1804 |
+
<title>pexels-photo-895228</title>
|
1805 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/darkside-percentage-review/pexels-photo-895228/</link>
|
1806 |
+
<pubDate>Tue, 10 Apr 2018 09:43:34 +0000</pubDate>
|
1807 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1808 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-895228.jpeg</guid>
|
1809 |
+
<description></description>
|
1810 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1811 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1812 |
+
<wp:post_id>631</wp:post_id>
|
1813 |
+
<wp:post_date><![CDATA[2018-04-10 09:43:34]]></wp:post_date>
|
1814 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:43:34]]></wp:post_date_gmt>
|
1815 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1816 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1817 |
+
<wp:post_name><![CDATA[pexels-photo-895228]]></wp:post_name>
|
1818 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1819 |
+
<wp:post_parent>468</wp:post_parent>
|
1820 |
+
<wp:menu_order>0</wp:menu_order>
|
1821 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1822 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1823 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1824 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-895228.jpeg]]></wp:attachment_url>
|
1825 |
+
<wp:postmeta>
|
1826 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1827 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-895228.jpeg]]></wp:meta_value>
|
1828 |
+
</wp:postmeta>
|
1829 |
+
<wp:postmeta>
|
1830 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1831 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:428;s:4:"file";s:32:"2018/03/pexels-photo-895228.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-895228-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-895228-300x161.jpeg";s:5:"width";i:300;s:6:"height";i:161;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-895228-768x411.jpeg";s:5:"width";i:768;s:6:"height";i:411;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-895228-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-895228-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-895228-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-895228-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-895228-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-895228-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-895228-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-895228-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-895228-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-895228-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:43:57";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-895228-150x150.jpeg";i:1;s:32:"pexels-photo-895228-300x161.jpeg";i:2;s:32:"pexels-photo-895228-768x411.jpeg";i:3;s:32:"pexels-photo-895228-320x200.jpeg";i:4;s:30:"pexels-photo-895228-65x65.jpeg";i:5;s:32:"pexels-photo-895228-203x150.jpeg";i:7;s:32:"pexels-photo-895228-634x280.jpeg";i:9;s:32:"pexels-photo-895228-300x180.jpeg";i:10;s:32:"pexels-photo-895228-960x472.jpeg";i:11;s:31:"pexels-photo-895228-124x74.jpeg";i:12;s:32:"pexels-photo-895228-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"4.39";}]]></wp:meta_value>
|
1832 |
+
</wp:postmeta>
|
1833 |
+
</item>
|
1834 |
+
<item>
|
1835 |
+
<title>pexels-photo-928891</title>
|
1836 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/darkside-circle-review/pexels-photo-928891/</link>
|
1837 |
+
<pubDate>Tue, 10 Apr 2018 09:45:25 +0000</pubDate>
|
1838 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1839 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-928891.jpeg</guid>
|
1840 |
+
<description></description>
|
1841 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1842 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1843 |
+
<wp:post_id>632</wp:post_id>
|
1844 |
+
<wp:post_date><![CDATA[2018-04-10 09:45:25]]></wp:post_date>
|
1845 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:45:25]]></wp:post_date_gmt>
|
1846 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1847 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1848 |
+
<wp:post_name><![CDATA[pexels-photo-928891]]></wp:post_name>
|
1849 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1850 |
+
<wp:post_parent>469</wp:post_parent>
|
1851 |
+
<wp:menu_order>0</wp:menu_order>
|
1852 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1853 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1854 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1855 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-928891.jpeg]]></wp:attachment_url>
|
1856 |
+
<wp:postmeta>
|
1857 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1858 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-928891.jpeg]]></wp:meta_value>
|
1859 |
+
</wp:postmeta>
|
1860 |
+
<wp:postmeta>
|
1861 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1862 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-928891.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-928891-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-928891-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-928891-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-928891-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-928891-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-928891-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-928891-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-928891-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-928891-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-928891-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-928891-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-928891-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-928891-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:45:46";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-928891-150x150.jpeg";i:1;s:32:"pexels-photo-928891-300x200.jpeg";i:2;s:32:"pexels-photo-928891-768x512.jpeg";i:3;s:32:"pexels-photo-928891-320x200.jpeg";i:4;s:30:"pexels-photo-928891-65x65.jpeg";i:5;s:32:"pexels-photo-928891-203x150.jpeg";i:7;s:32:"pexels-photo-928891-634x280.jpeg";i:9;s:32:"pexels-photo-928891-300x180.jpeg";i:10;s:32:"pexels-photo-928891-960x472.jpeg";i:11;s:31:"pexels-photo-928891-124x74.jpeg";i:12;s:32:"pexels-photo-928891-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.76";}]]></wp:meta_value>
|
1863 |
+
</wp:postmeta>
|
1864 |
+
</item>
|
1865 |
+
<item>
|
1866 |
+
<title>pexels-photo-929192</title>
|
1867 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/darkside-thumbs-review/pexels-photo-929192/</link>
|
1868 |
+
<pubDate>Tue, 10 Apr 2018 09:46:20 +0000</pubDate>
|
1869 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1870 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-929192.jpeg</guid>
|
1871 |
+
<description></description>
|
1872 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1873 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1874 |
+
<wp:post_id>633</wp:post_id>
|
1875 |
+
<wp:post_date><![CDATA[2018-04-10 09:46:20]]></wp:post_date>
|
1876 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:46:20]]></wp:post_date_gmt>
|
1877 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1878 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1879 |
+
<wp:post_name><![CDATA[pexels-photo-929192]]></wp:post_name>
|
1880 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1881 |
+
<wp:post_parent>471</wp:post_parent>
|
1882 |
+
<wp:menu_order>0</wp:menu_order>
|
1883 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1884 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1885 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1886 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-929192.jpeg]]></wp:attachment_url>
|
1887 |
+
<wp:postmeta>
|
1888 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1889 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-929192.jpeg]]></wp:meta_value>
|
1890 |
+
</wp:postmeta>
|
1891 |
+
<wp:postmeta>
|
1892 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1893 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-929192.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-929192-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-929192-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-929192-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-929192-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-929192-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-929192-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-929192-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-929192-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-929192-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-929192-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-929192-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-929192-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-929192-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:46:43";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-929192-150x150.jpeg";i:1;s:32:"pexels-photo-929192-300x200.jpeg";i:2;s:32:"pexels-photo-929192-768x512.jpeg";i:3;s:32:"pexels-photo-929192-320x200.jpeg";i:4;s:30:"pexels-photo-929192-65x65.jpeg";i:5;s:32:"pexels-photo-929192-203x150.jpeg";i:7;s:32:"pexels-photo-929192-634x280.jpeg";i:9;s:32:"pexels-photo-929192-300x180.jpeg";i:10;s:32:"pexels-photo-929192-960x472.jpeg";i:11;s:31:"pexels-photo-929192-124x74.jpeg";i:12;s:32:"pexels-photo-929192-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"11.65";}]]></wp:meta_value>
|
1894 |
+
</wp:postmeta>
|
1895 |
+
</item>
|
1896 |
+
<item>
|
1897 |
+
<title>pexels-photo-953182</title>
|
1898 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/dash-star-review/pexels-photo-953182/</link>
|
1899 |
+
<pubDate>Tue, 10 Apr 2018 09:57:05 +0000</pubDate>
|
1900 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1901 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-953182.jpeg</guid>
|
1902 |
+
<description></description>
|
1903 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1904 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1905 |
+
<wp:post_id>634</wp:post_id>
|
1906 |
+
<wp:post_date><![CDATA[2018-04-10 09:57:05]]></wp:post_date>
|
1907 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:57:05]]></wp:post_date_gmt>
|
1908 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1909 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1910 |
+
<wp:post_name><![CDATA[pexels-photo-953182]]></wp:post_name>
|
1911 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1912 |
+
<wp:post_parent>370</wp:post_parent>
|
1913 |
+
<wp:menu_order>0</wp:menu_order>
|
1914 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1915 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1916 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1917 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-953182.jpeg]]></wp:attachment_url>
|
1918 |
+
<wp:postmeta>
|
1919 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1920 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-953182.jpeg]]></wp:meta_value>
|
1921 |
+
</wp:postmeta>
|
1922 |
+
<wp:postmeta>
|
1923 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1924 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:534;s:4:"file";s:32:"2017/12/pexels-photo-953182.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-953182-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-953182-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-953182-768x513.jpeg";s:5:"width";i:768;s:6:"height";i:513;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-953182-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-953182-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-953182-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-953182-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-953182-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-953182-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-953182-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-953182-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-953182-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-953182-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 09:57:26";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-953182-150x150.jpeg";i:1;s:32:"pexels-photo-953182-300x200.jpeg";i:2;s:32:"pexels-photo-953182-768x513.jpeg";i:3;s:32:"pexels-photo-953182-320x200.jpeg";i:4;s:30:"pexels-photo-953182-65x65.jpeg";i:5;s:32:"pexels-photo-953182-203x150.jpeg";i:7;s:32:"pexels-photo-953182-634x280.jpeg";i:9;s:32:"pexels-photo-953182-300x180.jpeg";i:10;s:32:"pexels-photo-953182-960x472.jpeg";i:11;s:31:"pexels-photo-953182-124x74.jpeg";i:12;s:32:"pexels-photo-953182-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"7.41";}]]></wp:meta_value>
|
1925 |
+
</wp:postmeta>
|
1926 |
+
</item>
|
1927 |
+
<item>
|
1928 |
+
<title>pexels-photo-942419</title>
|
1929 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/dash-point-review/pexels-photo-942419/</link>
|
1930 |
+
<pubDate>Tue, 10 Apr 2018 09:59:53 +0000</pubDate>
|
1931 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1932 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-942419.jpeg</guid>
|
1933 |
+
<description></description>
|
1934 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1935 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1936 |
+
<wp:post_id>635</wp:post_id>
|
1937 |
+
<wp:post_date><![CDATA[2018-04-10 09:59:53]]></wp:post_date>
|
1938 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 09:59:53]]></wp:post_date_gmt>
|
1939 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1940 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1941 |
+
<wp:post_name><![CDATA[pexels-photo-942419]]></wp:post_name>
|
1942 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1943 |
+
<wp:post_parent>463</wp:post_parent>
|
1944 |
+
<wp:menu_order>0</wp:menu_order>
|
1945 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1946 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1947 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1948 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-942419.jpeg]]></wp:attachment_url>
|
1949 |
+
<wp:postmeta>
|
1950 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1951 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-942419.jpeg]]></wp:meta_value>
|
1952 |
+
</wp:postmeta>
|
1953 |
+
<wp:postmeta>
|
1954 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1955 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:532;s:4:"file";s:32:"2018/03/pexels-photo-942419.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-942419-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-942419-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-942419-768x511.jpeg";s:5:"width";i:768;s:6:"height";i:511;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-942419-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-942419-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-942419-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-942419-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-942419-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-942419-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-942419-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-942419-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-942419-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-942419-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:00:25";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-942419-150x150.jpeg";i:1;s:32:"pexels-photo-942419-300x200.jpeg";i:2;s:32:"pexels-photo-942419-768x511.jpeg";i:3;s:32:"pexels-photo-942419-320x200.jpeg";i:4;s:30:"pexels-photo-942419-65x65.jpeg";i:5;s:32:"pexels-photo-942419-203x150.jpeg";i:7;s:32:"pexels-photo-942419-634x280.jpeg";i:9;s:32:"pexels-photo-942419-300x180.jpeg";i:10;s:32:"pexels-photo-942419-960x472.jpeg";i:11;s:31:"pexels-photo-942419-124x74.jpeg";i:12;s:32:"pexels-photo-942419-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"8.26";}]]></wp:meta_value>
|
1956 |
+
</wp:postmeta>
|
1957 |
+
</item>
|
1958 |
+
<item>
|
1959 |
+
<title>pexels-photo-930030</title>
|
1960 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/dash-percentage-review/pexels-photo-930030/</link>
|
1961 |
+
<pubDate>Tue, 10 Apr 2018 10:01:38 +0000</pubDate>
|
1962 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1963 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-930030.jpeg</guid>
|
1964 |
+
<description></description>
|
1965 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1966 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1967 |
+
<wp:post_id>636</wp:post_id>
|
1968 |
+
<wp:post_date><![CDATA[2018-04-10 10:01:38]]></wp:post_date>
|
1969 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:01:38]]></wp:post_date_gmt>
|
1970 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
1971 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
1972 |
+
<wp:post_name><![CDATA[pexels-photo-930030]]></wp:post_name>
|
1973 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
1974 |
+
<wp:post_parent>464</wp:post_parent>
|
1975 |
+
<wp:menu_order>0</wp:menu_order>
|
1976 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
1977 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
1978 |
+
<wp:is_sticky>0</wp:is_sticky>
|
1979 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-930030.jpeg]]></wp:attachment_url>
|
1980 |
+
<wp:postmeta>
|
1981 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
1982 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-930030.jpeg]]></wp:meta_value>
|
1983 |
+
</wp:postmeta>
|
1984 |
+
<wp:postmeta>
|
1985 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
1986 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-930030.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-930030-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-930030-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-930030-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-930030-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-930030-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-930030-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-930030-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-930030-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-930030-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-930030-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-930030-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-930030-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-930030-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:01:58";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-930030-150x150.jpeg";i:1;s:32:"pexels-photo-930030-300x200.jpeg";i:2;s:32:"pexels-photo-930030-768x512.jpeg";i:3;s:32:"pexels-photo-930030-320x200.jpeg";i:4;s:30:"pexels-photo-930030-65x65.jpeg";i:5;s:32:"pexels-photo-930030-203x150.jpeg";i:7;s:32:"pexels-photo-930030-634x280.jpeg";i:9;s:32:"pexels-photo-930030-300x180.jpeg";i:10;s:32:"pexels-photo-930030-960x472.jpeg";i:11;s:31:"pexels-photo-930030-124x74.jpeg";i:12;s:32:"pexels-photo-930030-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"11.36";}]]></wp:meta_value>
|
1987 |
+
</wp:postmeta>
|
1988 |
+
</item>
|
1989 |
+
<item>
|
1990 |
+
<title>pexels-photo-922128</title>
|
1991 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/dash-circle-review/pexels-photo-922128/</link>
|
1992 |
+
<pubDate>Tue, 10 Apr 2018 10:02:24 +0000</pubDate>
|
1993 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
1994 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-922128.jpeg</guid>
|
1995 |
+
<description></description>
|
1996 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
1997 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
1998 |
+
<wp:post_id>637</wp:post_id>
|
1999 |
+
<wp:post_date><![CDATA[2018-04-10 10:02:24]]></wp:post_date>
|
2000 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:02:24]]></wp:post_date_gmt>
|
2001 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2002 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2003 |
+
<wp:post_name><![CDATA[pexels-photo-922128]]></wp:post_name>
|
2004 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2005 |
+
<wp:post_parent>465</wp:post_parent>
|
2006 |
+
<wp:menu_order>0</wp:menu_order>
|
2007 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2008 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2009 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2010 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-922128.jpeg]]></wp:attachment_url>
|
2011 |
+
<wp:postmeta>
|
2012 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2013 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-922128.jpeg]]></wp:meta_value>
|
2014 |
+
</wp:postmeta>
|
2015 |
+
<wp:postmeta>
|
2016 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2017 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-922128.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-922128-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-922128-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-922128-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-922128-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-922128-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-922128-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-922128-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-922128-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-922128-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-922128-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-922128-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-922128-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-922128-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:02:49";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-922128-150x150.jpeg";i:1;s:32:"pexels-photo-922128-300x200.jpeg";i:2;s:32:"pexels-photo-922128-768x512.jpeg";i:3;s:32:"pexels-photo-922128-320x200.jpeg";i:4;s:30:"pexels-photo-922128-65x65.jpeg";i:5;s:32:"pexels-photo-922128-203x150.jpeg";i:7;s:32:"pexels-photo-922128-634x280.jpeg";i:9;s:32:"pexels-photo-922128-300x180.jpeg";i:10;s:32:"pexels-photo-922128-960x472.jpeg";i:11;s:31:"pexels-photo-922128-124x74.jpeg";i:12;s:32:"pexels-photo-922128-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"9.39";}]]></wp:meta_value>
|
2018 |
+
</wp:postmeta>
|
2019 |
+
</item>
|
2020 |
+
<item>
|
2021 |
+
<title>pexels-photo-935742</title>
|
2022 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/dash-thumbs-review/pexels-photo-935742/</link>
|
2023 |
+
<pubDate>Tue, 10 Apr 2018 10:03:08 +0000</pubDate>
|
2024 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2025 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-935742.jpeg</guid>
|
2026 |
+
<description></description>
|
2027 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2028 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2029 |
+
<wp:post_id>638</wp:post_id>
|
2030 |
+
<wp:post_date><![CDATA[2018-04-10 10:03:08]]></wp:post_date>
|
2031 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:03:08]]></wp:post_date_gmt>
|
2032 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2033 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2034 |
+
<wp:post_name><![CDATA[pexels-photo-935742]]></wp:post_name>
|
2035 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2036 |
+
<wp:post_parent>466</wp:post_parent>
|
2037 |
+
<wp:menu_order>0</wp:menu_order>
|
2038 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2039 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2040 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2041 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-935742.jpeg]]></wp:attachment_url>
|
2042 |
+
<wp:postmeta>
|
2043 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2044 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-935742.jpeg]]></wp:meta_value>
|
2045 |
+
</wp:postmeta>
|
2046 |
+
<wp:postmeta>
|
2047 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2048 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-935742.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-935742-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-935742-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-935742-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-935742-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-935742-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-935742-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-935742-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-935742-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-935742-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-935742-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-935742-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-935742-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-935742-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:03:33";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-935742-150x150.jpeg";i:1;s:32:"pexels-photo-935742-300x200.jpeg";i:2;s:32:"pexels-photo-935742-768x512.jpeg";i:3;s:32:"pexels-photo-935742-320x200.jpeg";i:4;s:30:"pexels-photo-935742-65x65.jpeg";i:5;s:32:"pexels-photo-935742-203x150.jpeg";i:7;s:32:"pexels-photo-935742-634x280.jpeg";i:9;s:32:"pexels-photo-935742-300x180.jpeg";i:10;s:32:"pexels-photo-935742-960x472.jpeg";i:11;s:31:"pexels-photo-935742-124x74.jpeg";i:12;s:32:"pexels-photo-935742-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"16.06";}]]></wp:meta_value>
|
2049 |
+
</wp:postmeta>
|
2050 |
+
</item>
|
2051 |
+
<item>
|
2052 |
+
<title>pexels-photo-904111</title>
|
2053 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/edge-star-review/pexels-photo-904111/</link>
|
2054 |
+
<pubDate>Tue, 10 Apr 2018 10:09:58 +0000</pubDate>
|
2055 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2056 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-904111.jpeg</guid>
|
2057 |
+
<description></description>
|
2058 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2059 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2060 |
+
<wp:post_id>639</wp:post_id>
|
2061 |
+
<wp:post_date><![CDATA[2018-04-10 10:09:58]]></wp:post_date>
|
2062 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:09:58]]></wp:post_date_gmt>
|
2063 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2064 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2065 |
+
<wp:post_name><![CDATA[pexels-photo-904111]]></wp:post_name>
|
2066 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2067 |
+
<wp:post_parent>368</wp:post_parent>
|
2068 |
+
<wp:menu_order>0</wp:menu_order>
|
2069 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2070 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2071 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2072 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-904111.jpeg]]></wp:attachment_url>
|
2073 |
+
<wp:postmeta>
|
2074 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2075 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-904111.jpeg]]></wp:meta_value>
|
2076 |
+
</wp:postmeta>
|
2077 |
+
<wp:postmeta>
|
2078 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2079 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2017/12/pexels-photo-904111.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-904111-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-904111-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-904111-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-904111-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-904111-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-904111-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-904111-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-904111-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-904111-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-904111-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-904111-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-904111-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-904111-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:10:13";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-904111-150x150.jpeg";i:1;s:32:"pexels-photo-904111-300x200.jpeg";i:2;s:32:"pexels-photo-904111-768x512.jpeg";i:3;s:32:"pexels-photo-904111-320x200.jpeg";i:4;s:30:"pexels-photo-904111-65x65.jpeg";i:5;s:32:"pexels-photo-904111-203x150.jpeg";i:7;s:32:"pexels-photo-904111-634x280.jpeg";i:9;s:32:"pexels-photo-904111-300x180.jpeg";i:10;s:32:"pexels-photo-904111-960x472.jpeg";i:11;s:31:"pexels-photo-904111-124x74.jpeg";i:12;s:32:"pexels-photo-904111-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"12.32";}]]></wp:meta_value>
|
2080 |
+
</wp:postmeta>
|
2081 |
+
</item>
|
2082 |
+
<item>
|
2083 |
+
<title>pexels-photo-903170</title>
|
2084 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/edge-point-review/pexels-photo-903170/</link>
|
2085 |
+
<pubDate>Tue, 10 Apr 2018 10:10:45 +0000</pubDate>
|
2086 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2087 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-903170.jpeg</guid>
|
2088 |
+
<description></description>
|
2089 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2090 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2091 |
+
<wp:post_id>640</wp:post_id>
|
2092 |
+
<wp:post_date><![CDATA[2018-04-10 10:10:45]]></wp:post_date>
|
2093 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:10:45]]></wp:post_date_gmt>
|
2094 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2095 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2096 |
+
<wp:post_name><![CDATA[pexels-photo-903170]]></wp:post_name>
|
2097 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2098 |
+
<wp:post_parent>454</wp:post_parent>
|
2099 |
+
<wp:menu_order>0</wp:menu_order>
|
2100 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2101 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2102 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2103 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-903170.jpeg]]></wp:attachment_url>
|
2104 |
+
<wp:postmeta>
|
2105 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2106 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-903170.jpeg]]></wp:meta_value>
|
2107 |
+
</wp:postmeta>
|
2108 |
+
<wp:postmeta>
|
2109 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2110 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:561;s:4:"file";s:32:"2018/03/pexels-photo-903170.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-903170-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-903170-300x210.jpeg";s:5:"width";i:300;s:6:"height";i:210;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-903170-768x539.jpeg";s:5:"width";i:768;s:6:"height";i:539;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-903170-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-903170-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-903170-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-903170-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-903170-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-903170-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-903170-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-903170-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-903170-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-903170-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:10:59";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-903170-150x150.jpeg";i:1;s:32:"pexels-photo-903170-300x210.jpeg";i:2;s:32:"pexels-photo-903170-768x539.jpeg";i:3;s:32:"pexels-photo-903170-320x200.jpeg";i:4;s:30:"pexels-photo-903170-65x65.jpeg";i:5;s:32:"pexels-photo-903170-203x150.jpeg";i:7;s:32:"pexels-photo-903170-634x280.jpeg";i:9;s:32:"pexels-photo-903170-300x180.jpeg";i:10;s:32:"pexels-photo-903170-960x472.jpeg";i:11;s:31:"pexels-photo-903170-124x74.jpeg";i:12;s:32:"pexels-photo-903170-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"18.44";}]]></wp:meta_value>
|
2111 |
+
</wp:postmeta>
|
2112 |
+
</item>
|
2113 |
+
<item>
|
2114 |
+
<title>pexels-photo-928449</title>
|
2115 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/edge-percentage-review/pexels-photo-928449/</link>
|
2116 |
+
<pubDate>Tue, 10 Apr 2018 10:11:43 +0000</pubDate>
|
2117 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2118 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-928449.jpeg</guid>
|
2119 |
+
<description></description>
|
2120 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2121 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2122 |
+
<wp:post_id>641</wp:post_id>
|
2123 |
+
<wp:post_date><![CDATA[2018-04-10 10:11:43]]></wp:post_date>
|
2124 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:11:43]]></wp:post_date_gmt>
|
2125 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2126 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2127 |
+
<wp:post_name><![CDATA[pexels-photo-928449]]></wp:post_name>
|
2128 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2129 |
+
<wp:post_parent>455</wp:post_parent>
|
2130 |
+
<wp:menu_order>0</wp:menu_order>
|
2131 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2132 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2133 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2134 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-928449.jpeg]]></wp:attachment_url>
|
2135 |
+
<wp:postmeta>
|
2136 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2137 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-928449.jpeg]]></wp:meta_value>
|
2138 |
+
</wp:postmeta>
|
2139 |
+
<wp:postmeta>
|
2140 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2141 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:32:"2018/03/pexels-photo-928449.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-928449-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-928449-300x225.jpeg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-928449-768x576.jpeg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-928449-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-928449-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-928449-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-928449-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-928449-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-928449-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-928449-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-928449-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-928449-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-928449-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:12:02";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-928449-150x150.jpeg";i:1;s:32:"pexels-photo-928449-300x225.jpeg";i:2;s:32:"pexels-photo-928449-768x576.jpeg";i:3;s:32:"pexels-photo-928449-320x200.jpeg";i:4;s:30:"pexels-photo-928449-65x65.jpeg";i:5;s:32:"pexels-photo-928449-203x150.jpeg";i:7;s:32:"pexels-photo-928449-634x280.jpeg";i:9;s:32:"pexels-photo-928449-300x180.jpeg";i:10;s:32:"pexels-photo-928449-960x472.jpeg";i:11;s:31:"pexels-photo-928449-124x74.jpeg";i:12;s:32:"pexels-photo-928449-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"11.1";}]]></wp:meta_value>
|
2142 |
+
</wp:postmeta>
|
2143 |
+
</item>
|
2144 |
+
<item>
|
2145 |
+
<title>pexels-photo-923182</title>
|
2146 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/edge-circle-review/pexels-photo-923182/</link>
|
2147 |
+
<pubDate>Tue, 10 Apr 2018 10:12:41 +0000</pubDate>
|
2148 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2149 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-923182.jpeg</guid>
|
2150 |
+
<description></description>
|
2151 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2152 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2153 |
+
<wp:post_id>642</wp:post_id>
|
2154 |
+
<wp:post_date><![CDATA[2018-04-10 10:12:41]]></wp:post_date>
|
2155 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:12:41]]></wp:post_date_gmt>
|
2156 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2157 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2158 |
+
<wp:post_name><![CDATA[pexels-photo-923182]]></wp:post_name>
|
2159 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2160 |
+
<wp:post_parent>456</wp:post_parent>
|
2161 |
+
<wp:menu_order>0</wp:menu_order>
|
2162 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2163 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2164 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2165 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-923182.jpeg]]></wp:attachment_url>
|
2166 |
+
<wp:postmeta>
|
2167 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2168 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-923182.jpeg]]></wp:meta_value>
|
2169 |
+
</wp:postmeta>
|
2170 |
+
<wp:postmeta>
|
2171 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2172 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:1067;s:4:"file";s:32:"2018/03/pexels-photo-923182.jpeg";s:5:"sizes";a:14:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-923182-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-923182-225x300.jpeg";s:5:"width";i:225;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:33:"pexels-photo-923182-768x1024.jpeg";s:5:"width";i:768;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:33:"pexels-photo-923182-768x1024.jpeg";s:5:"width";i:768;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-923182-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-923182-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-923182-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-923182-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-923182-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-923182-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-923182-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-923182-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-923182-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-923182-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:12:56";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-923182-150x150.jpeg";i:1;s:32:"pexels-photo-923182-225x300.jpeg";i:2;s:33:"pexels-photo-923182-768x1024.jpeg";i:4;s:32:"pexels-photo-923182-320x200.jpeg";i:5;s:30:"pexels-photo-923182-65x65.jpeg";i:6;s:32:"pexels-photo-923182-203x150.jpeg";i:8;s:32:"pexels-photo-923182-634x280.jpeg";i:10;s:32:"pexels-photo-923182-300x180.jpeg";i:11;s:32:"pexels-photo-923182-960x472.jpeg";i:12;s:31:"pexels-photo-923182-124x74.jpeg";i:13;s:32:"pexels-photo-923182-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"16.82";}]]></wp:meta_value>
|
2173 |
+
</wp:postmeta>
|
2174 |
+
</item>
|
2175 |
+
<item>
|
2176 |
+
<title>pexels-photo-953430</title>
|
2177 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/edge-thumbs-review/pexels-photo-953430/</link>
|
2178 |
+
<pubDate>Tue, 10 Apr 2018 10:13:54 +0000</pubDate>
|
2179 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2180 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-953430.jpeg</guid>
|
2181 |
+
<description></description>
|
2182 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2183 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2184 |
+
<wp:post_id>643</wp:post_id>
|
2185 |
+
<wp:post_date><![CDATA[2018-04-10 10:13:54]]></wp:post_date>
|
2186 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:13:54]]></wp:post_date_gmt>
|
2187 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2188 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2189 |
+
<wp:post_name><![CDATA[pexels-photo-953430]]></wp:post_name>
|
2190 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2191 |
+
<wp:post_parent>457</wp:post_parent>
|
2192 |
+
<wp:menu_order>0</wp:menu_order>
|
2193 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2194 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2195 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2196 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-953430.jpeg]]></wp:attachment_url>
|
2197 |
+
<wp:postmeta>
|
2198 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2199 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-953430.jpeg]]></wp:meta_value>
|
2200 |
+
</wp:postmeta>
|
2201 |
+
<wp:postmeta>
|
2202 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2203 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-953430.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-953430-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-953430-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-953430-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-953430-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-953430-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-953430-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-953430-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-953430-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-953430-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-953430-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-953430-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-953430-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-953430-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:14:17";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-953430-150x150.jpeg";i:1;s:32:"pexels-photo-953430-300x200.jpeg";i:2;s:32:"pexels-photo-953430-768x512.jpeg";i:3;s:32:"pexels-photo-953430-320x200.jpeg";i:4;s:30:"pexels-photo-953430-65x65.jpeg";i:5;s:32:"pexels-photo-953430-203x150.jpeg";i:7;s:32:"pexels-photo-953430-634x280.jpeg";i:9;s:32:"pexels-photo-953430-300x180.jpeg";i:10;s:32:"pexels-photo-953430-960x472.jpeg";i:11;s:31:"pexels-photo-953430-124x74.jpeg";i:12;s:32:"pexels-photo-953430-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"7.52";}]]></wp:meta_value>
|
2204 |
+
</wp:postmeta>
|
2205 |
+
</item>
|
2206 |
+
<item>
|
2207 |
+
<title>pexels-photo-917660</title>
|
2208 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/enterprise-star-review/pexels-photo-917660/</link>
|
2209 |
+
<pubDate>Tue, 10 Apr 2018 10:20:47 +0000</pubDate>
|
2210 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2211 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-917660.jpeg</guid>
|
2212 |
+
<description></description>
|
2213 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2214 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2215 |
+
<wp:post_id>644</wp:post_id>
|
2216 |
+
<wp:post_date><![CDATA[2018-04-10 10:20:47]]></wp:post_date>
|
2217 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:20:47]]></wp:post_date_gmt>
|
2218 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2219 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2220 |
+
<wp:post_name><![CDATA[pexels-photo-917660]]></wp:post_name>
|
2221 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2222 |
+
<wp:post_parent>364</wp:post_parent>
|
2223 |
+
<wp:menu_order>0</wp:menu_order>
|
2224 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2225 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2226 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2227 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-917660.jpeg]]></wp:attachment_url>
|
2228 |
+
<wp:postmeta>
|
2229 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2230 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-917660.jpeg]]></wp:meta_value>
|
2231 |
+
</wp:postmeta>
|
2232 |
+
<wp:postmeta>
|
2233 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2234 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2017/12/pexels-photo-917660.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-917660-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-917660-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-917660-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-917660-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-917660-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-917660-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-917660-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-917660-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-917660-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-917660-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-917660-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-917660-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-917660-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:21:44";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-917660-150x150.jpeg";i:1;s:32:"pexels-photo-917660-300x200.jpeg";i:2;s:32:"pexels-photo-917660-768x512.jpeg";i:3;s:32:"pexels-photo-917660-320x200.jpeg";i:4;s:30:"pexels-photo-917660-65x65.jpeg";i:5;s:32:"pexels-photo-917660-203x150.jpeg";i:7;s:32:"pexels-photo-917660-634x280.jpeg";i:9;s:32:"pexels-photo-917660-300x180.jpeg";i:10;s:32:"pexels-photo-917660-960x472.jpeg";i:11;s:31:"pexels-photo-917660-124x74.jpeg";i:12;s:32:"pexels-photo-917660-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"13.21";}]]></wp:meta_value>
|
2235 |
+
</wp:postmeta>
|
2236 |
+
</item>
|
2237 |
+
<item>
|
2238 |
+
<title>pexels-photo-945443</title>
|
2239 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/enterprise-point-review/pexels-photo-945443/</link>
|
2240 |
+
<pubDate>Tue, 10 Apr 2018 10:22:11 +0000</pubDate>
|
2241 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2242 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-945443.jpeg</guid>
|
2243 |
+
<description></description>
|
2244 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2245 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2246 |
+
<wp:post_id>646</wp:post_id>
|
2247 |
+
<wp:post_date><![CDATA[2018-04-10 10:22:11]]></wp:post_date>
|
2248 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:22:11]]></wp:post_date_gmt>
|
2249 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2250 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2251 |
+
<wp:post_name><![CDATA[pexels-photo-945443]]></wp:post_name>
|
2252 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2253 |
+
<wp:post_parent>443</wp:post_parent>
|
2254 |
+
<wp:menu_order>0</wp:menu_order>
|
2255 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2256 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2257 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2258 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-945443.jpeg]]></wp:attachment_url>
|
2259 |
+
<wp:postmeta>
|
2260 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2261 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-945443.jpeg]]></wp:meta_value>
|
2262 |
+
</wp:postmeta>
|
2263 |
+
<wp:postmeta>
|
2264 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2265 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:532;s:4:"file";s:32:"2018/03/pexels-photo-945443.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-945443-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-945443-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-945443-768x511.jpeg";s:5:"width";i:768;s:6:"height";i:511;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-945443-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-945443-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-945443-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-945443-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-945443-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-945443-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-945443-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-945443-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-945443-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-945443-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:22:28";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-945443-150x150.jpeg";i:1;s:32:"pexels-photo-945443-300x200.jpeg";i:2;s:32:"pexels-photo-945443-768x511.jpeg";i:3;s:32:"pexels-photo-945443-320x200.jpeg";i:4;s:30:"pexels-photo-945443-65x65.jpeg";i:5;s:32:"pexels-photo-945443-203x150.jpeg";i:7;s:32:"pexels-photo-945443-634x280.jpeg";i:9;s:32:"pexels-photo-945443-300x180.jpeg";i:10;s:32:"pexels-photo-945443-960x472.jpeg";i:11;s:31:"pexels-photo-945443-124x74.jpeg";i:12;s:32:"pexels-photo-945443-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"9.82";}]]></wp:meta_value>
|
2266 |
+
</wp:postmeta>
|
2267 |
+
</item>
|
2268 |
+
<item>
|
2269 |
+
<title>pexels-photo-976869</title>
|
2270 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/enterprise-percentage-review/pexels-photo-976869/</link>
|
2271 |
+
<pubDate>Tue, 10 Apr 2018 10:22:59 +0000</pubDate>
|
2272 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2273 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-976869.jpeg</guid>
|
2274 |
+
<description></description>
|
2275 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2276 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2277 |
+
<wp:post_id>647</wp:post_id>
|
2278 |
+
<wp:post_date><![CDATA[2018-04-10 10:22:59]]></wp:post_date>
|
2279 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:22:59]]></wp:post_date_gmt>
|
2280 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2281 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2282 |
+
<wp:post_name><![CDATA[pexels-photo-976869]]></wp:post_name>
|
2283 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2284 |
+
<wp:post_parent>444</wp:post_parent>
|
2285 |
+
<wp:menu_order>0</wp:menu_order>
|
2286 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2287 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2288 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2289 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-976869.jpeg]]></wp:attachment_url>
|
2290 |
+
<wp:postmeta>
|
2291 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2292 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-976869.jpeg]]></wp:meta_value>
|
2293 |
+
</wp:postmeta>
|
2294 |
+
<wp:postmeta>
|
2295 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2296 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-976869.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-976869-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-976869-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-976869-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-976869-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-976869-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-976869-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-976869-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-976869-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-976869-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-976869-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-976869-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-976869-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-976869-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:23:20";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-976869-150x150.jpeg";i:1;s:32:"pexels-photo-976869-300x200.jpeg";i:2;s:32:"pexels-photo-976869-768x512.jpeg";i:3;s:32:"pexels-photo-976869-320x200.jpeg";i:4;s:30:"pexels-photo-976869-65x65.jpeg";i:5;s:32:"pexels-photo-976869-203x150.jpeg";i:7;s:32:"pexels-photo-976869-634x280.jpeg";i:9;s:32:"pexels-photo-976869-300x180.jpeg";i:10;s:32:"pexels-photo-976869-960x472.jpeg";i:11;s:31:"pexels-photo-976869-124x74.jpeg";i:12;s:32:"pexels-photo-976869-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:3:"9.5";}]]></wp:meta_value>
|
2297 |
+
</wp:postmeta>
|
2298 |
+
</item>
|
2299 |
+
<item>
|
2300 |
+
<title>pexels-photo-963278</title>
|
2301 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/enterprise-circle-review/pexels-photo-963278/</link>
|
2302 |
+
<pubDate>Tue, 10 Apr 2018 10:25:41 +0000</pubDate>
|
2303 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2304 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-963278.jpeg</guid>
|
2305 |
+
<description></description>
|
2306 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2307 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2308 |
+
<wp:post_id>648</wp:post_id>
|
2309 |
+
<wp:post_date><![CDATA[2018-04-10 10:25:41]]></wp:post_date>
|
2310 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:25:41]]></wp:post_date_gmt>
|
2311 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2312 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2313 |
+
<wp:post_name><![CDATA[pexels-photo-963278]]></wp:post_name>
|
2314 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2315 |
+
<wp:post_parent>446</wp:post_parent>
|
2316 |
+
<wp:menu_order>0</wp:menu_order>
|
2317 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2318 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2319 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2320 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-963278.jpeg]]></wp:attachment_url>
|
2321 |
+
<wp:postmeta>
|
2322 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2323 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-963278.jpeg]]></wp:meta_value>
|
2324 |
+
</wp:postmeta>
|
2325 |
+
<wp:postmeta>
|
2326 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2327 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-963278.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-963278-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-963278-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-963278-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-963278-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-963278-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-963278-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-963278-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-963278-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-963278-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-963278-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-963278-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-963278-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-963278-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:26:27";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-963278-150x150.jpeg";i:1;s:32:"pexels-photo-963278-300x200.jpeg";i:2;s:32:"pexels-photo-963278-768x512.jpeg";i:3;s:32:"pexels-photo-963278-320x200.jpeg";i:4;s:30:"pexels-photo-963278-65x65.jpeg";i:5;s:32:"pexels-photo-963278-203x150.jpeg";i:7;s:32:"pexels-photo-963278-634x280.jpeg";i:9;s:32:"pexels-photo-963278-300x180.jpeg";i:10;s:32:"pexels-photo-963278-960x472.jpeg";i:11;s:31:"pexels-photo-963278-124x74.jpeg";i:12;s:32:"pexels-photo-963278-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"5.18";}]]></wp:meta_value>
|
2328 |
+
</wp:postmeta>
|
2329 |
+
</item>
|
2330 |
+
<item>
|
2331 |
+
<title>pexels-photo-932402</title>
|
2332 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/enterprise-thumbs-review/pexels-photo-932402/</link>
|
2333 |
+
<pubDate>Tue, 10 Apr 2018 10:29:42 +0000</pubDate>
|
2334 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2335 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-932402.jpeg</guid>
|
2336 |
+
<description></description>
|
2337 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2338 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2339 |
+
<wp:post_id>649</wp:post_id>
|
2340 |
+
<wp:post_date><![CDATA[2018-04-10 10:29:42]]></wp:post_date>
|
2341 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:29:42]]></wp:post_date_gmt>
|
2342 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2343 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2344 |
+
<wp:post_name><![CDATA[pexels-photo-932402]]></wp:post_name>
|
2345 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2346 |
+
<wp:post_parent>447</wp:post_parent>
|
2347 |
+
<wp:menu_order>0</wp:menu_order>
|
2348 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2349 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2350 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2351 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-932402.jpeg]]></wp:attachment_url>
|
2352 |
+
<wp:postmeta>
|
2353 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2354 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-932402.jpeg]]></wp:meta_value>
|
2355 |
+
</wp:postmeta>
|
2356 |
+
<wp:postmeta>
|
2357 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2358 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-932402.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-932402-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-932402-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-932402-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-932402-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-932402-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-932402-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-932402-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-932402-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-932402-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-932402-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-932402-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-932402-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-932402-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:29:58";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-932402-150x150.jpeg";i:1;s:32:"pexels-photo-932402-300x200.jpeg";i:2;s:32:"pexels-photo-932402-768x512.jpeg";i:3;s:32:"pexels-photo-932402-320x200.jpeg";i:4;s:30:"pexels-photo-932402-65x65.jpeg";i:5;s:32:"pexels-photo-932402-203x150.jpeg";i:7;s:32:"pexels-photo-932402-634x280.jpeg";i:9;s:32:"pexels-photo-932402-300x180.jpeg";i:10;s:32:"pexels-photo-932402-960x472.jpeg";i:11;s:31:"pexels-photo-932402-124x74.jpeg";i:12;s:32:"pexels-photo-932402-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"11.15";}]]></wp:meta_value>
|
2359 |
+
</wp:postmeta>
|
2360 |
+
</item>
|
2361 |
+
<item>
|
2362 |
+
<title>pexels-photo-926983</title>
|
2363 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fizzy-star-review/pexels-photo-926983/</link>
|
2364 |
+
<pubDate>Tue, 10 Apr 2018 10:34:32 +0000</pubDate>
|
2365 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2366 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-926983.jpeg</guid>
|
2367 |
+
<description></description>
|
2368 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2369 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2370 |
+
<wp:post_id>650</wp:post_id>
|
2371 |
+
<wp:post_date><![CDATA[2018-04-10 10:34:32]]></wp:post_date>
|
2372 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:34:32]]></wp:post_date_gmt>
|
2373 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2374 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2375 |
+
<wp:post_name><![CDATA[pexels-photo-926983]]></wp:post_name>
|
2376 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2377 |
+
<wp:post_parent>367</wp:post_parent>
|
2378 |
+
<wp:menu_order>0</wp:menu_order>
|
2379 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2380 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2381 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2382 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-926983.jpeg]]></wp:attachment_url>
|
2383 |
+
<wp:postmeta>
|
2384 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2385 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-926983.jpeg]]></wp:meta_value>
|
2386 |
+
</wp:postmeta>
|
2387 |
+
<wp:postmeta>
|
2388 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2389 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:555;s:4:"file";s:32:"2017/12/pexels-photo-926983.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926983-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-926983-300x208.jpeg";s:5:"width";i:300;s:6:"height";i:208;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-926983-768x533.jpeg";s:5:"width";i:768;s:6:"height";i:533;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-926983-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-926983-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926983-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-926983-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-926983-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-926983-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-926983-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-926983-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-926983-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-926983-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:35:16";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-926983-150x150.jpeg";i:1;s:32:"pexels-photo-926983-300x208.jpeg";i:2;s:32:"pexels-photo-926983-768x533.jpeg";i:3;s:32:"pexels-photo-926983-320x200.jpeg";i:4;s:30:"pexels-photo-926983-65x65.jpeg";i:5;s:32:"pexels-photo-926983-203x150.jpeg";i:7;s:32:"pexels-photo-926983-634x280.jpeg";i:9;s:32:"pexels-photo-926983-300x180.jpeg";i:10;s:32:"pexels-photo-926983-960x472.jpeg";i:11;s:31:"pexels-photo-926983-124x74.jpeg";i:12;s:32:"pexels-photo-926983-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:3:"9.8";}]]></wp:meta_value>
|
2390 |
+
</wp:postmeta>
|
2391 |
+
</item>
|
2392 |
+
<item>
|
2393 |
+
<title>pexels-photo-933967</title>
|
2394 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fizzy-point-review/pexels-photo-933967/</link>
|
2395 |
+
<pubDate>Tue, 10 Apr 2018 10:35:54 +0000</pubDate>
|
2396 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2397 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-933967.jpeg</guid>
|
2398 |
+
<description></description>
|
2399 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2400 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2401 |
+
<wp:post_id>651</wp:post_id>
|
2402 |
+
<wp:post_date><![CDATA[2018-04-10 10:35:54]]></wp:post_date>
|
2403 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:35:54]]></wp:post_date_gmt>
|
2404 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2405 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2406 |
+
<wp:post_name><![CDATA[pexels-photo-933967]]></wp:post_name>
|
2407 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2408 |
+
<wp:post_parent>448</wp:post_parent>
|
2409 |
+
<wp:menu_order>0</wp:menu_order>
|
2410 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2411 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2412 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2413 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-933967.jpeg]]></wp:attachment_url>
|
2414 |
+
<wp:postmeta>
|
2415 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2416 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-933967.jpeg]]></wp:meta_value>
|
2417 |
+
</wp:postmeta>
|
2418 |
+
<wp:postmeta>
|
2419 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2420 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-933967.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-933967-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-933967-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-933967-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-933967-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-933967-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-933967-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-933967-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-933967-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-933967-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-933967-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-933967-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-933967-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-933967-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:36:13";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-933967-150x150.jpeg";i:1;s:32:"pexels-photo-933967-300x200.jpeg";i:2;s:32:"pexels-photo-933967-768x512.jpeg";i:3;s:32:"pexels-photo-933967-320x200.jpeg";i:4;s:30:"pexels-photo-933967-65x65.jpeg";i:5;s:32:"pexels-photo-933967-203x150.jpeg";i:7;s:32:"pexels-photo-933967-634x280.jpeg";i:9;s:32:"pexels-photo-933967-300x180.jpeg";i:10;s:32:"pexels-photo-933967-960x472.jpeg";i:11;s:31:"pexels-photo-933967-124x74.jpeg";i:12;s:32:"pexels-photo-933967-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.48";}]]></wp:meta_value>
|
2421 |
+
</wp:postmeta>
|
2422 |
+
</item>
|
2423 |
+
<item>
|
2424 |
+
<title>pexels-photo-946630</title>
|
2425 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fizzy-percentage-review/pexels-photo-946630/</link>
|
2426 |
+
<pubDate>Tue, 10 Apr 2018 10:37:30 +0000</pubDate>
|
2427 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2428 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-946630.jpeg</guid>
|
2429 |
+
<description></description>
|
2430 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2431 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2432 |
+
<wp:post_id>652</wp:post_id>
|
2433 |
+
<wp:post_date><![CDATA[2018-04-10 10:37:30]]></wp:post_date>
|
2434 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:37:30]]></wp:post_date_gmt>
|
2435 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2436 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2437 |
+
<wp:post_name><![CDATA[pexels-photo-946630]]></wp:post_name>
|
2438 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2439 |
+
<wp:post_parent>449</wp:post_parent>
|
2440 |
+
<wp:menu_order>0</wp:menu_order>
|
2441 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2442 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2443 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2444 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-946630.jpeg]]></wp:attachment_url>
|
2445 |
+
<wp:postmeta>
|
2446 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2447 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-946630.jpeg]]></wp:meta_value>
|
2448 |
+
</wp:postmeta>
|
2449 |
+
<wp:postmeta>
|
2450 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2451 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-946630.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-946630-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-946630-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-946630-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-946630-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-946630-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-946630-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-946630-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-946630-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-946630-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-946630-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-946630-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-946630-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-946630-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:37:53";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-946630-150x150.jpeg";i:1;s:32:"pexels-photo-946630-300x200.jpeg";i:2;s:32:"pexels-photo-946630-768x512.jpeg";i:3;s:32:"pexels-photo-946630-320x200.jpeg";i:4;s:30:"pexels-photo-946630-65x65.jpeg";i:5;s:32:"pexels-photo-946630-203x150.jpeg";i:7;s:32:"pexels-photo-946630-634x280.jpeg";i:9;s:32:"pexels-photo-946630-300x180.jpeg";i:10;s:32:"pexels-photo-946630-960x472.jpeg";i:11;s:31:"pexels-photo-946630-124x74.jpeg";i:12;s:32:"pexels-photo-946630-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"7.61";}]]></wp:meta_value>
|
2452 |
+
</wp:postmeta>
|
2453 |
+
</item>
|
2454 |
+
<item>
|
2455 |
+
<title>pexels-photo-942295</title>
|
2456 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fizzy-circle-review/pexels-photo-942295/</link>
|
2457 |
+
<pubDate>Tue, 10 Apr 2018 10:38:20 +0000</pubDate>
|
2458 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2459 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-942295.jpeg</guid>
|
2460 |
+
<description></description>
|
2461 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2462 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2463 |
+
<wp:post_id>653</wp:post_id>
|
2464 |
+
<wp:post_date><![CDATA[2018-04-10 10:38:20]]></wp:post_date>
|
2465 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:38:20]]></wp:post_date_gmt>
|
2466 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2467 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2468 |
+
<wp:post_name><![CDATA[pexels-photo-942295]]></wp:post_name>
|
2469 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2470 |
+
<wp:post_parent>451</wp:post_parent>
|
2471 |
+
<wp:menu_order>0</wp:menu_order>
|
2472 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2473 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2474 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2475 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-942295.jpeg]]></wp:attachment_url>
|
2476 |
+
<wp:postmeta>
|
2477 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2478 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-942295.jpeg]]></wp:meta_value>
|
2479 |
+
</wp:postmeta>
|
2480 |
+
<wp:postmeta>
|
2481 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2482 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-942295.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-942295-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-942295-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-942295-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-942295-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-942295-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-942295-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-942295-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-942295-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-942295-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-942295-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-942295-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-942295-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-942295-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:38:33";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-942295-150x150.jpeg";i:1;s:32:"pexels-photo-942295-300x200.jpeg";i:2;s:32:"pexels-photo-942295-768x512.jpeg";i:3;s:32:"pexels-photo-942295-320x200.jpeg";i:4;s:30:"pexels-photo-942295-65x65.jpeg";i:5;s:32:"pexels-photo-942295-203x150.jpeg";i:7;s:32:"pexels-photo-942295-634x280.jpeg";i:9;s:32:"pexels-photo-942295-300x180.jpeg";i:10;s:32:"pexels-photo-942295-960x472.jpeg";i:11;s:31:"pexels-photo-942295-124x74.jpeg";i:12;s:32:"pexels-photo-942295-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"7.89";}]]></wp:meta_value>
|
2483 |
+
</wp:postmeta>
|
2484 |
+
</item>
|
2485 |
+
<item>
|
2486 |
+
<title>pexels-photo-861447</title>
|
2487 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/fizzy-thumbs-review/pexels-photo-861447/</link>
|
2488 |
+
<pubDate>Tue, 10 Apr 2018 10:38:55 +0000</pubDate>
|
2489 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2490 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-861447.jpeg</guid>
|
2491 |
+
<description></description>
|
2492 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2493 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2494 |
+
<wp:post_id>654</wp:post_id>
|
2495 |
+
<wp:post_date><![CDATA[2018-04-10 10:38:55]]></wp:post_date>
|
2496 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:38:55]]></wp:post_date_gmt>
|
2497 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2498 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2499 |
+
<wp:post_name><![CDATA[pexels-photo-861447]]></wp:post_name>
|
2500 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2501 |
+
<wp:post_parent>452</wp:post_parent>
|
2502 |
+
<wp:menu_order>0</wp:menu_order>
|
2503 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2504 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2505 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2506 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-861447.jpeg]]></wp:attachment_url>
|
2507 |
+
<wp:postmeta>
|
2508 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2509 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-861447.jpeg]]></wp:meta_value>
|
2510 |
+
</wp:postmeta>
|
2511 |
+
<wp:postmeta>
|
2512 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2513 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:530;s:4:"file";s:32:"2018/03/pexels-photo-861447.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-861447-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-861447-300x199.jpeg";s:5:"width";i:300;s:6:"height";i:199;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-861447-768x509.jpeg";s:5:"width";i:768;s:6:"height";i:509;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-861447-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-861447-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-861447-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-861447-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-861447-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-861447-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-861447-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-861447-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-861447-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-861447-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:39:09";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-861447-150x150.jpeg";i:1;s:32:"pexels-photo-861447-300x199.jpeg";i:2;s:32:"pexels-photo-861447-768x509.jpeg";i:3;s:32:"pexels-photo-861447-320x200.jpeg";i:4;s:30:"pexels-photo-861447-65x65.jpeg";i:5;s:32:"pexels-photo-861447-203x150.jpeg";i:7;s:32:"pexels-photo-861447-634x280.jpeg";i:9;s:32:"pexels-photo-861447-300x180.jpeg";i:10;s:32:"pexels-photo-861447-960x472.jpeg";i:11;s:31:"pexels-photo-861447-124x74.jpeg";i:12;s:32:"pexels-photo-861447-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:3:"6.1";}]]></wp:meta_value>
|
2514 |
+
</wp:postmeta>
|
2515 |
+
</item>
|
2516 |
+
<item>
|
2517 |
+
<title>pexels-photo-945177</title>
|
2518 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gamer-star-review/pexels-photo-945177/</link>
|
2519 |
+
<pubDate>Tue, 10 Apr 2018 10:42:12 +0000</pubDate>
|
2520 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2521 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-945177.jpeg</guid>
|
2522 |
+
<description></description>
|
2523 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2524 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2525 |
+
<wp:post_id>655</wp:post_id>
|
2526 |
+
<wp:post_date><![CDATA[2018-04-10 10:42:12]]></wp:post_date>
|
2527 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:42:12]]></wp:post_date_gmt>
|
2528 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2529 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2530 |
+
<wp:post_name><![CDATA[pexels-photo-945177]]></wp:post_name>
|
2531 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2532 |
+
<wp:post_parent>375</wp:post_parent>
|
2533 |
+
<wp:menu_order>0</wp:menu_order>
|
2534 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2535 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2536 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2537 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-945177.jpeg]]></wp:attachment_url>
|
2538 |
+
<wp:postmeta>
|
2539 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2540 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-945177.jpeg]]></wp:meta_value>
|
2541 |
+
</wp:postmeta>
|
2542 |
+
<wp:postmeta>
|
2543 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2544 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:450;s:4:"file";s:32:"2017/12/pexels-photo-945177.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-945177-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-945177-300x169.jpeg";s:5:"width";i:300;s:6:"height";i:169;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-945177-768x432.jpeg";s:5:"width";i:768;s:6:"height";i:432;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-945177-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-945177-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-945177-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-945177-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-945177-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-945177-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-945177-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-945177-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-945177-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-945177-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:42:30";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-945177-150x150.jpeg";i:1;s:32:"pexels-photo-945177-300x169.jpeg";i:2;s:32:"pexels-photo-945177-768x432.jpeg";i:3;s:32:"pexels-photo-945177-320x200.jpeg";i:4;s:30:"pexels-photo-945177-65x65.jpeg";i:5;s:32:"pexels-photo-945177-203x150.jpeg";i:7;s:32:"pexels-photo-945177-634x280.jpeg";i:9;s:32:"pexels-photo-945177-300x180.jpeg";i:10;s:32:"pexels-photo-945177-960x472.jpeg";i:11;s:31:"pexels-photo-945177-124x74.jpeg";i:12;s:32:"pexels-photo-945177-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.26";}]]></wp:meta_value>
|
2545 |
+
</wp:postmeta>
|
2546 |
+
</item>
|
2547 |
+
<item>
|
2548 |
+
<title>pexels-photo-926200</title>
|
2549 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gamer-point-review/pexels-photo-926200/</link>
|
2550 |
+
<pubDate>Tue, 10 Apr 2018 10:48:05 +0000</pubDate>
|
2551 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2552 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-926200.jpeg</guid>
|
2553 |
+
<description></description>
|
2554 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2555 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2556 |
+
<wp:post_id>656</wp:post_id>
|
2557 |
+
<wp:post_date><![CDATA[2018-04-10 10:48:05]]></wp:post_date>
|
2558 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:48:05]]></wp:post_date_gmt>
|
2559 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2560 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2561 |
+
<wp:post_name><![CDATA[pexels-photo-926200]]></wp:post_name>
|
2562 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2563 |
+
<wp:post_parent>487</wp:post_parent>
|
2564 |
+
<wp:menu_order>0</wp:menu_order>
|
2565 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2566 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2567 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2568 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-926200.jpeg]]></wp:attachment_url>
|
2569 |
+
<wp:postmeta>
|
2570 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2571 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-926200.jpeg]]></wp:meta_value>
|
2572 |
+
</wp:postmeta>
|
2573 |
+
<wp:postmeta>
|
2574 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2575 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:528;s:4:"file";s:32:"2018/03/pexels-photo-926200.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926200-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-926200-300x198.jpeg";s:5:"width";i:300;s:6:"height";i:198;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-926200-768x507.jpeg";s:5:"width";i:768;s:6:"height";i:507;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-926200-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-926200-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-926200-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-926200-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-926200-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-926200-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-926200-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-926200-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-926200-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-926200-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:48:46";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-926200-150x150.jpeg";i:1;s:32:"pexels-photo-926200-300x198.jpeg";i:2;s:32:"pexels-photo-926200-768x507.jpeg";i:3;s:32:"pexels-photo-926200-320x200.jpeg";i:4;s:30:"pexels-photo-926200-65x65.jpeg";i:5;s:32:"pexels-photo-926200-203x150.jpeg";i:7;s:32:"pexels-photo-926200-634x280.jpeg";i:9;s:32:"pexels-photo-926200-300x180.jpeg";i:10;s:32:"pexels-photo-926200-960x472.jpeg";i:11;s:31:"pexels-photo-926200-124x74.jpeg";i:12;s:32:"pexels-photo-926200-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"12.1";}]]></wp:meta_value>
|
2576 |
+
</wp:postmeta>
|
2577 |
+
</item>
|
2578 |
+
<item>
|
2579 |
+
<title>pexels-photo-934069</title>
|
2580 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gamer-point-review/pexels-photo-934069/</link>
|
2581 |
+
<pubDate>Tue, 10 Apr 2018 10:48:13 +0000</pubDate>
|
2582 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2583 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-934069.jpeg</guid>
|
2584 |
+
<description></description>
|
2585 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2586 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2587 |
+
<wp:post_id>657</wp:post_id>
|
2588 |
+
<wp:post_date><![CDATA[2018-04-10 10:48:13]]></wp:post_date>
|
2589 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:48:13]]></wp:post_date_gmt>
|
2590 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2591 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2592 |
+
<wp:post_name><![CDATA[pexels-photo-934069]]></wp:post_name>
|
2593 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2594 |
+
<wp:post_parent>487</wp:post_parent>
|
2595 |
+
<wp:menu_order>0</wp:menu_order>
|
2596 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2597 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2598 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2599 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-934069.jpeg]]></wp:attachment_url>
|
2600 |
+
<wp:postmeta>
|
2601 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2602 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-934069.jpeg]]></wp:meta_value>
|
2603 |
+
</wp:postmeta>
|
2604 |
+
<wp:postmeta>
|
2605 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2606 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-934069.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-934069-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-934069-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-934069-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-934069-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-934069-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-934069-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-934069-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-934069-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-934069-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-934069-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-934069-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-934069-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-934069-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:48:34";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-934069-150x150.jpeg";i:1;s:32:"pexels-photo-934069-300x200.jpeg";i:2;s:32:"pexels-photo-934069-768x512.jpeg";i:3;s:32:"pexels-photo-934069-320x200.jpeg";i:4;s:30:"pexels-photo-934069-65x65.jpeg";i:5;s:32:"pexels-photo-934069-203x150.jpeg";i:7;s:32:"pexels-photo-934069-634x280.jpeg";i:9;s:32:"pexels-photo-934069-300x180.jpeg";i:10;s:32:"pexels-photo-934069-960x472.jpeg";i:11;s:31:"pexels-photo-934069-124x74.jpeg";i:12;s:32:"pexels-photo-934069-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"11.72";}]]></wp:meta_value>
|
2607 |
+
</wp:postmeta>
|
2608 |
+
</item>
|
2609 |
+
<item>
|
2610 |
+
<title>pexels-photo-918281</title>
|
2611 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gamer-percentage-review/pexels-photo-918281/</link>
|
2612 |
+
<pubDate>Tue, 10 Apr 2018 10:53:47 +0000</pubDate>
|
2613 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2614 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-918281.jpeg</guid>
|
2615 |
+
<description></description>
|
2616 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2617 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2618 |
+
<wp:post_id>658</wp:post_id>
|
2619 |
+
<wp:post_date><![CDATA[2018-04-10 10:53:47]]></wp:post_date>
|
2620 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:53:47]]></wp:post_date_gmt>
|
2621 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2622 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2623 |
+
<wp:post_name><![CDATA[pexels-photo-918281]]></wp:post_name>
|
2624 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2625 |
+
<wp:post_parent>488</wp:post_parent>
|
2626 |
+
<wp:menu_order>0</wp:menu_order>
|
2627 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2628 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2629 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2630 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-918281.jpeg]]></wp:attachment_url>
|
2631 |
+
<wp:postmeta>
|
2632 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2633 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-918281.jpeg]]></wp:meta_value>
|
2634 |
+
</wp:postmeta>
|
2635 |
+
<wp:postmeta>
|
2636 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2637 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:500;s:4:"file";s:32:"2018/03/pexels-photo-918281.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-918281-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-918281-300x188.jpeg";s:5:"width";i:300;s:6:"height";i:188;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-918281-768x480.jpeg";s:5:"width";i:768;s:6:"height";i:480;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-918281-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-918281-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-918281-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-918281-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-918281-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-918281-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-918281-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-918281-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-918281-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-918281-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:54:02";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-918281-150x150.jpeg";i:1;s:32:"pexels-photo-918281-300x188.jpeg";i:2;s:32:"pexels-photo-918281-768x480.jpeg";i:3;s:32:"pexels-photo-918281-320x200.jpeg";i:4;s:30:"pexels-photo-918281-65x65.jpeg";i:5;s:32:"pexels-photo-918281-203x150.jpeg";i:7;s:32:"pexels-photo-918281-634x280.jpeg";i:9;s:32:"pexels-photo-918281-300x180.jpeg";i:10;s:32:"pexels-photo-918281-960x472.jpeg";i:11;s:31:"pexels-photo-918281-124x74.jpeg";i:12;s:32:"pexels-photo-918281-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:4:"15.5";}]]></wp:meta_value>
|
2638 |
+
</wp:postmeta>
|
2639 |
+
</item>
|
2640 |
+
<item>
|
2641 |
+
<title>pexels-photo-910122</title>
|
2642 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gamer-thumbs-review/pexels-photo-910122/</link>
|
2643 |
+
<pubDate>Tue, 10 Apr 2018 10:55:00 +0000</pubDate>
|
2644 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2645 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-910122.jpeg</guid>
|
2646 |
+
<description></description>
|
2647 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2648 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2649 |
+
<wp:post_id>659</wp:post_id>
|
2650 |
+
<wp:post_date><![CDATA[2018-04-10 10:55:00]]></wp:post_date>
|
2651 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:55:00]]></wp:post_date_gmt>
|
2652 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2653 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2654 |
+
<wp:post_name><![CDATA[pexels-photo-910122]]></wp:post_name>
|
2655 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2656 |
+
<wp:post_parent>491</wp:post_parent>
|
2657 |
+
<wp:menu_order>0</wp:menu_order>
|
2658 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2659 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2660 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2661 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-910122.jpeg]]></wp:attachment_url>
|
2662 |
+
<wp:postmeta>
|
2663 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2664 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-910122.jpeg]]></wp:meta_value>
|
2665 |
+
</wp:postmeta>
|
2666 |
+
<wp:postmeta>
|
2667 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2668 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-910122.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-910122-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-910122-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-910122-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-910122-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-910122-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-910122-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-910122-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-910122-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-910122-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-910122-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-910122-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-910122-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-910122-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:55:13";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-910122-150x150.jpeg";i:1;s:32:"pexels-photo-910122-300x200.jpeg";i:2;s:32:"pexels-photo-910122-768x512.jpeg";i:3;s:32:"pexels-photo-910122-320x200.jpeg";i:4;s:30:"pexels-photo-910122-65x65.jpeg";i:5;s:32:"pexels-photo-910122-203x150.jpeg";i:7;s:32:"pexels-photo-910122-634x280.jpeg";i:9;s:32:"pexels-photo-910122-300x180.jpeg";i:10;s:32:"pexels-photo-910122-960x472.jpeg";i:11;s:31:"pexels-photo-910122-124x74.jpeg";i:12;s:32:"pexels-photo-910122-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"12.69";}]]></wp:meta_value>
|
2669 |
+
</wp:postmeta>
|
2670 |
+
</item>
|
2671 |
+
<item>
|
2672 |
+
<title>pexels-photo-925345</title>
|
2673 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gravity-star-review/pexels-photo-925345/</link>
|
2674 |
+
<pubDate>Tue, 10 Apr 2018 10:57:57 +0000</pubDate>
|
2675 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2676 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-925345.jpeg</guid>
|
2677 |
+
<description></description>
|
2678 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2679 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2680 |
+
<wp:post_id>660</wp:post_id>
|
2681 |
+
<wp:post_date><![CDATA[2018-04-10 10:57:57]]></wp:post_date>
|
2682 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:57:57]]></wp:post_date_gmt>
|
2683 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2684 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2685 |
+
<wp:post_name><![CDATA[pexels-photo-925345]]></wp:post_name>
|
2686 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2687 |
+
<wp:post_parent>374</wp:post_parent>
|
2688 |
+
<wp:menu_order>0</wp:menu_order>
|
2689 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2690 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2691 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2692 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-925345.jpeg]]></wp:attachment_url>
|
2693 |
+
<wp:postmeta>
|
2694 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2695 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-925345.jpeg]]></wp:meta_value>
|
2696 |
+
</wp:postmeta>
|
2697 |
+
<wp:postmeta>
|
2698 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2699 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:1200;s:4:"file";s:32:"2017/12/pexels-photo-925345.jpeg";s:5:"sizes";a:14:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-925345-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-925345-200x300.jpeg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:33:"pexels-photo-925345-768x1152.jpeg";s:5:"width";i:768;s:6:"height";i:1152;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:33:"pexels-photo-925345-683x1024.jpeg";s:5:"width";i:683;s:6:"height";i:1024;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-925345-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-925345-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-925345-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-925345-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-925345-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-925345-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-925345-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-925345-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-925345-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-925345-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:58:12";s:9:"thumbsOpt";i:12;s:13:"thumbsOptList";a:12:{i:0;s:32:"pexels-photo-925345-150x150.jpeg";i:1;s:32:"pexels-photo-925345-200x300.jpeg";i:2;s:33:"pexels-photo-925345-768x1152.jpeg";i:3;s:33:"pexels-photo-925345-683x1024.jpeg";i:4;s:32:"pexels-photo-925345-320x200.jpeg";i:5;s:30:"pexels-photo-925345-65x65.jpeg";i:6;s:32:"pexels-photo-925345-203x150.jpeg";i:8;s:32:"pexels-photo-925345-634x280.jpeg";i:10;s:32:"pexels-photo-925345-300x180.jpeg";i:11;s:32:"pexels-photo-925345-960x472.jpeg";i:12;s:31:"pexels-photo-925345-124x74.jpeg";i:13;s:32:"pexels-photo-925345-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"14.52";}]]></wp:meta_value>
|
2700 |
+
</wp:postmeta>
|
2701 |
+
</item>
|
2702 |
+
<item>
|
2703 |
+
<title>pexels-photo-944031</title>
|
2704 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gravity-point-review/pexels-photo-944031/</link>
|
2705 |
+
<pubDate>Tue, 10 Apr 2018 10:58:37 +0000</pubDate>
|
2706 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2707 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-944031.jpeg</guid>
|
2708 |
+
<description></description>
|
2709 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2710 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2711 |
+
<wp:post_id>661</wp:post_id>
|
2712 |
+
<wp:post_date><![CDATA[2018-04-10 10:58:37]]></wp:post_date>
|
2713 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:58:37]]></wp:post_date_gmt>
|
2714 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2715 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2716 |
+
<wp:post_name><![CDATA[pexels-photo-944031]]></wp:post_name>
|
2717 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2718 |
+
<wp:post_parent>478</wp:post_parent>
|
2719 |
+
<wp:menu_order>0</wp:menu_order>
|
2720 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2721 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2722 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2723 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-944031.jpeg]]></wp:attachment_url>
|
2724 |
+
<wp:postmeta>
|
2725 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2726 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-944031.jpeg]]></wp:meta_value>
|
2727 |
+
</wp:postmeta>
|
2728 |
+
<wp:postmeta>
|
2729 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2730 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-944031.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-944031-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-944031-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-944031-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-944031-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-944031-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-944031-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-944031-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-944031-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-944031-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-944031-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-944031-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-944031-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-944031-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:58:53";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-944031-150x150.jpeg";i:1;s:32:"pexels-photo-944031-300x200.jpeg";i:2;s:32:"pexels-photo-944031-768x512.jpeg";i:3;s:32:"pexels-photo-944031-320x200.jpeg";i:4;s:30:"pexels-photo-944031-65x65.jpeg";i:5;s:32:"pexels-photo-944031-203x150.jpeg";i:7;s:32:"pexels-photo-944031-634x280.jpeg";i:9;s:32:"pexels-photo-944031-300x180.jpeg";i:10;s:32:"pexels-photo-944031-960x472.jpeg";i:11;s:31:"pexels-photo-944031-124x74.jpeg";i:12;s:32:"pexels-photo-944031-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"12.51";}]]></wp:meta_value>
|
2731 |
+
</wp:postmeta>
|
2732 |
+
</item>
|
2733 |
+
<item>
|
2734 |
+
<title>pexels-photo-982049</title>
|
2735 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gravity-percentage-review/pexels-photo-982049/</link>
|
2736 |
+
<pubDate>Tue, 10 Apr 2018 10:59:18 +0000</pubDate>
|
2737 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2738 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-982049.jpeg</guid>
|
2739 |
+
<description></description>
|
2740 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2741 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2742 |
+
<wp:post_id>662</wp:post_id>
|
2743 |
+
<wp:post_date><![CDATA[2018-04-10 10:59:18]]></wp:post_date>
|
2744 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 10:59:18]]></wp:post_date_gmt>
|
2745 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2746 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2747 |
+
<wp:post_name><![CDATA[pexels-photo-982049]]></wp:post_name>
|
2748 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2749 |
+
<wp:post_parent>479</wp:post_parent>
|
2750 |
+
<wp:menu_order>0</wp:menu_order>
|
2751 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2752 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2753 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2754 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-982049.jpeg]]></wp:attachment_url>
|
2755 |
+
<wp:postmeta>
|
2756 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2757 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-982049.jpeg]]></wp:meta_value>
|
2758 |
+
</wp:postmeta>
|
2759 |
+
<wp:postmeta>
|
2760 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2761 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:534;s:4:"file";s:32:"2018/03/pexels-photo-982049.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-982049-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-982049-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-982049-768x513.jpeg";s:5:"width";i:768;s:6:"height";i:513;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-982049-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-982049-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-982049-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-982049-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-982049-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-982049-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-982049-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-982049-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-982049-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-982049-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 10:59:32";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-982049-150x150.jpeg";i:1;s:32:"pexels-photo-982049-300x200.jpeg";i:2;s:32:"pexels-photo-982049-768x513.jpeg";i:3;s:32:"pexels-photo-982049-320x200.jpeg";i:4;s:30:"pexels-photo-982049-65x65.jpeg";i:5;s:32:"pexels-photo-982049-203x150.jpeg";i:7;s:32:"pexels-photo-982049-634x280.jpeg";i:9;s:32:"pexels-photo-982049-300x180.jpeg";i:10;s:32:"pexels-photo-982049-960x472.jpeg";i:11;s:31:"pexels-photo-982049-124x74.jpeg";i:12;s:32:"pexels-photo-982049-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.92";}]]></wp:meta_value>
|
2762 |
+
</wp:postmeta>
|
2763 |
+
</item>
|
2764 |
+
<item>
|
2765 |
+
<title>pexels-photo-952338</title>
|
2766 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gravity-circle-review/pexels-photo-952338/</link>
|
2767 |
+
<pubDate>Tue, 10 Apr 2018 11:00:06 +0000</pubDate>
|
2768 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2769 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-952338.jpeg</guid>
|
2770 |
+
<description></description>
|
2771 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2772 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2773 |
+
<wp:post_id>663</wp:post_id>
|
2774 |
+
<wp:post_date><![CDATA[2018-04-10 11:00:06]]></wp:post_date>
|
2775 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 11:00:06]]></wp:post_date_gmt>
|
2776 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2777 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2778 |
+
<wp:post_name><![CDATA[pexels-photo-952338]]></wp:post_name>
|
2779 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2780 |
+
<wp:post_parent>480</wp:post_parent>
|
2781 |
+
<wp:menu_order>0</wp:menu_order>
|
2782 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2783 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2784 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2785 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-952338.jpeg]]></wp:attachment_url>
|
2786 |
+
<wp:postmeta>
|
2787 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2788 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-952338.jpeg]]></wp:meta_value>
|
2789 |
+
</wp:postmeta>
|
2790 |
+
<wp:postmeta>
|
2791 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2792 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:480;s:4:"file";s:32:"2018/03/pexels-photo-952338.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-952338-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-952338-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-952338-768x461.jpeg";s:5:"width";i:768;s:6:"height";i:461;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-952338-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-952338-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-952338-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-952338-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-952338-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-952338-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-952338-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-952338-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-952338-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-952338-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 11:00:20";s:9:"thumbsOpt";i:10;s:13:"thumbsOptList";a:10:{i:0;s:32:"pexels-photo-952338-150x150.jpeg";i:1;s:32:"pexels-photo-952338-300x180.jpeg";i:2;s:32:"pexels-photo-952338-768x461.jpeg";i:3;s:32:"pexels-photo-952338-320x200.jpeg";i:4;s:30:"pexels-photo-952338-65x65.jpeg";i:5;s:32:"pexels-photo-952338-203x150.jpeg";i:7;s:32:"pexels-photo-952338-634x280.jpeg";i:10;s:32:"pexels-photo-952338-960x472.jpeg";i:11;s:31:"pexels-photo-952338-124x74.jpeg";i:12;s:32:"pexels-photo-952338-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"11.57";}]]></wp:meta_value>
|
2793 |
+
</wp:postmeta>
|
2794 |
+
</item>
|
2795 |
+
<item>
|
2796 |
+
<title>pexels-photo-916383</title>
|
2797 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/gravity-thumbs-review/pexels-photo-916383/</link>
|
2798 |
+
<pubDate>Tue, 10 Apr 2018 11:00:56 +0000</pubDate>
|
2799 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2800 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-916383.jpeg</guid>
|
2801 |
+
<description></description>
|
2802 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2803 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2804 |
+
<wp:post_id>664</wp:post_id>
|
2805 |
+
<wp:post_date><![CDATA[2018-04-10 11:00:56]]></wp:post_date>
|
2806 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 11:00:56]]></wp:post_date_gmt>
|
2807 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2808 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2809 |
+
<wp:post_name><![CDATA[pexels-photo-916383]]></wp:post_name>
|
2810 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2811 |
+
<wp:post_parent>481</wp:post_parent>
|
2812 |
+
<wp:menu_order>0</wp:menu_order>
|
2813 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2814 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2815 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2816 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-916383.jpeg]]></wp:attachment_url>
|
2817 |
+
<wp:postmeta>
|
2818 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2819 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-916383.jpeg]]></wp:meta_value>
|
2820 |
+
</wp:postmeta>
|
2821 |
+
<wp:postmeta>
|
2822 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2823 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-916383.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-916383-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-916383-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-916383-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-916383-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-916383-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-916383-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-916383-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-916383-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-916383-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-916383-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-916383-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-916383-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-916383-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 11:01:09";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-916383-150x150.jpeg";i:1;s:32:"pexels-photo-916383-300x200.jpeg";i:2;s:32:"pexels-photo-916383-768x512.jpeg";i:3;s:32:"pexels-photo-916383-320x200.jpeg";i:4;s:30:"pexels-photo-916383-65x65.jpeg";i:5;s:32:"pexels-photo-916383-203x150.jpeg";i:7;s:32:"pexels-photo-916383-634x280.jpeg";i:9;s:32:"pexels-photo-916383-300x180.jpeg";i:10;s:32:"pexels-photo-916383-960x472.jpeg";i:11;s:31:"pexels-photo-916383-124x74.jpeg";i:12;s:32:"pexels-photo-916383-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"12.75";}]]></wp:meta_value>
|
2824 |
+
</wp:postmeta>
|
2825 |
+
</item>
|
2826 |
+
<item>
|
2827 |
+
<title>pexels-photo-899707</title>
|
2828 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/shell-star-review/pexels-photo-899707/</link>
|
2829 |
+
<pubDate>Tue, 10 Apr 2018 11:06:08 +0000</pubDate>
|
2830 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2831 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2017/12/pexels-photo-899707.jpeg</guid>
|
2832 |
+
<description></description>
|
2833 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2834 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2835 |
+
<wp:post_id>665</wp:post_id>
|
2836 |
+
<wp:post_date><![CDATA[2018-04-10 11:06:08]]></wp:post_date>
|
2837 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 11:06:08]]></wp:post_date_gmt>
|
2838 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2839 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2840 |
+
<wp:post_name><![CDATA[pexels-photo-899707]]></wp:post_name>
|
2841 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2842 |
+
<wp:post_parent>373</wp:post_parent>
|
2843 |
+
<wp:menu_order>0</wp:menu_order>
|
2844 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2845 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2846 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2847 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2017/12/pexels-photo-899707.jpeg]]></wp:attachment_url>
|
2848 |
+
<wp:postmeta>
|
2849 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2850 |
+
<wp:meta_value><![CDATA[2017/12/pexels-photo-899707.jpeg]]></wp:meta_value>
|
2851 |
+
</wp:postmeta>
|
2852 |
+
<wp:postmeta>
|
2853 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2854 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2017/12/pexels-photo-899707.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-899707-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-899707-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-899707-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-899707-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-899707-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-899707-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-899707-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-899707-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-899707-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-899707-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-899707-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-899707-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-899707-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 11:06:31";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-899707-150x150.jpeg";i:1;s:32:"pexels-photo-899707-300x200.jpeg";i:2;s:32:"pexels-photo-899707-768x512.jpeg";i:3;s:32:"pexels-photo-899707-320x200.jpeg";i:4;s:30:"pexels-photo-899707-65x65.jpeg";i:5;s:32:"pexels-photo-899707-203x150.jpeg";i:7;s:32:"pexels-photo-899707-634x280.jpeg";i:9;s:32:"pexels-photo-899707-300x180.jpeg";i:10;s:32:"pexels-photo-899707-960x472.jpeg";i:11;s:31:"pexels-photo-899707-124x74.jpeg";i:12;s:32:"pexels-photo-899707-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:3:"7.4";}]]></wp:meta_value>
|
2855 |
+
</wp:postmeta>
|
2856 |
+
</item>
|
2857 |
+
<item>
|
2858 |
+
<title>pexels-photo-965160</title>
|
2859 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/shell-point-review/pexels-photo-965160/</link>
|
2860 |
+
<pubDate>Tue, 10 Apr 2018 11:07:00 +0000</pubDate>
|
2861 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2862 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-965160.jpeg</guid>
|
2863 |
+
<description></description>
|
2864 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2865 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2866 |
+
<wp:post_id>666</wp:post_id>
|
2867 |
+
<wp:post_date><![CDATA[2018-04-10 11:07:00]]></wp:post_date>
|
2868 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 11:07:00]]></wp:post_date_gmt>
|
2869 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2870 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2871 |
+
<wp:post_name><![CDATA[pexels-photo-965160]]></wp:post_name>
|
2872 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2873 |
+
<wp:post_parent>472</wp:post_parent>
|
2874 |
+
<wp:menu_order>0</wp:menu_order>
|
2875 |
+
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
2876 |
+
<wp:post_password><![CDATA[]]></wp:post_password>
|
2877 |
+
<wp:is_sticky>0</wp:is_sticky>
|
2878 |
+
<wp:attachment_url><![CDATA[https://demo.mythemeshop.com/wp-review-pro/files/2018/03/pexels-photo-965160.jpeg]]></wp:attachment_url>
|
2879 |
+
<wp:postmeta>
|
2880 |
+
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
2881 |
+
<wp:meta_value><![CDATA[2018/03/pexels-photo-965160.jpeg]]></wp:meta_value>
|
2882 |
+
</wp:postmeta>
|
2883 |
+
<wp:postmeta>
|
2884 |
+
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
2885 |
+
<wp:meta_value><![CDATA[a:7:{s:5:"width";i:800;s:6:"height";i:533;s:4:"file";s:32:"2018/03/pexels-photo-965160.jpeg";s:5:"sizes";a:13:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-965160-150x150.jpeg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"pexels-photo-965160-300x200.jpeg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"pexels-photo-965160-768x512.jpeg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_large";a:4:{s:4:"file";s:32:"pexels-photo-965160-320x200.jpeg";s:5:"width";i:320;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:15:"wp_review_small";a:4:{s:4:"file";s:30:"pexels-photo-965160-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:32:"pexels-photo-965160-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:14:"magxp-featured";a:4:{s:4:"file";s:32:"pexels-photo-965160-203x150.jpeg";s:5:"width";i:203;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:19:"magxp-featured-blog";a:4:{s:4:"file";s:32:"pexels-photo-965160-634x280.jpeg";s:5:"width";i:634;s:6:"height";i:280;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-widgetthumb";a:4:{s:4:"file";s:30:"pexels-photo-965160-65x65.jpeg";s:5:"width";i:65;s:6:"height";i:65;s:9:"mime-type";s:10:"image/jpeg";}s:16:"magxp-widgetfull";a:4:{s:4:"file";s:32:"pexels-photo-965160-300x180.jpeg";s:5:"width";i:300;s:6:"height";i:180;s:9:"mime-type";s:10:"image/jpeg";}s:12:"magxp-slider";a:4:{s:4:"file";s:32:"pexels-photo-965160-960x472.jpeg";s:5:"width";i:960;s:6:"height";i:472;s:9:"mime-type";s:10:"image/jpeg";}s:17:"magxp-sliderthumb";a:4:{s:4:"file";s:31:"pexels-photo-965160-124x74.jpeg";s:5:"width";i:124;s:6:"height";i:74;s:9:"mime-type";s:10:"image/jpeg";}s:23:"magxp-widgetsliderthumb";a:4:{s:4:"file";s:32:"pexels-photo-965160-125x125.jpeg";s:5:"width";i:125;s:6:"height";i:125;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}s:10:"ShortPixel";a:8:{s:4:"type";s:6:"glossy";s:8:"exifKept";s:1:"0";s:4:"date";s:19:"2018-04-10 11:07:14";s:9:"thumbsOpt";i:11;s:13:"thumbsOptList";a:11:{i:0;s:32:"pexels-photo-965160-150x150.jpeg";i:1;s:32:"pexels-photo-965160-300x200.jpeg";i:2;s:32:"pexels-photo-965160-768x512.jpeg";i:3;s:32:"pexels-photo-965160-320x200.jpeg";i:4;s:30:"pexels-photo-965160-65x65.jpeg";i:5;s:32:"pexels-photo-965160-203x150.jpeg";i:7;s:32:"pexels-photo-965160-634x280.jpeg";i:9;s:32:"pexels-photo-965160-300x180.jpeg";i:10;s:32:"pexels-photo-965160-960x472.jpeg";i:11;s:31:"pexels-photo-965160-124x74.jpeg";i:12;s:32:"pexels-photo-965160-125x125.jpeg";}s:12:"excludeSizes";a:0:{}s:10:"retinasOpt";i:0;s:8:"NoBackup";b:1;}s:21:"ShortPixelImprovement";s:5:"10.28";}]]></wp:meta_value>
|
2886 |
+
</wp:postmeta>
|
2887 |
+
</item>
|
2888 |
+
<item>
|
2889 |
+
<title>pexels-photo-926194</title>
|
2890 |
+
<link>http://demo.mythemeshop.com/wp-review-pro/shell-percentage-review/pexels-photo-926194/</link>
|
2891 |
+
<pubDate>Tue, 10 Apr 2018 11:13:13 +0000</pubDate>
|
2892 |
+
<dc:creator><![CDATA[N8FnGO1Y]]></dc:creator>
|
2893 |
+
<guid isPermaLink="false">https://demo.mythemeshop.com/wp-review-pro-new/files/2018/03/pexels-photo-926194.jpeg</guid>
|
2894 |
+
<description></description>
|
2895 |
+
<content:encoded><![CDATA[]]></content:encoded>
|
2896 |
+
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
2897 |
+
<wp:post_id>667</wp:post_id>
|
2898 |
+
<wp:post_date><![CDATA[2018-04-10 11:13:13]]></wp:post_date>
|
2899 |
+
<wp:post_date_gmt><![CDATA[2018-04-10 11:13:13]]></wp:post_date_gmt>
|
2900 |
+
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
2901 |
+
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
2902 |
+
<wp:post_name><![CDATA[pexels-photo-926194]]></wp:post_name>
|
2903 |
+
<wp:status><![CDATA[inherit]]></wp:status>
|
2904 |
+
<wp:post_parent>473</wp:post_parent>
|
2905 |
+
<wp:menu_order>0</wp:menu_order>
|
2906 |
+
<wp:post_type><![CDATA[attachment]]><
|