@@ -160,7 +160,7 @@ class="dashicons dashicons-arrow-down-alt2"></span>
160
160
<label class="form-label"><?php esc_html_e ( 'The post type you want to use for the generated post. ' , 'feedzy-rss-feeds ' ); ?> </label>
161
161
<div class="mx-320">
162
162
<select id="feedzy_post_type" class="form-control feedzy-chosen" name="feedzy_meta_data[import_post_type]"
163
- data-tax="<?php echo esc_attr ( $ import_post_term ); ?> ">
163
+ data-tax="<?php echo esc_attr ( $ import_post_term ); ?> " data-custom-tag=" <?php echo esc_attr ( isset ( $ custom_post_term ) ? $ custom_post_term : '' ); ?> " >
164
164
<?php
165
165
foreach ( $ post_types as $ _post_type ) {
166
166
?>
@@ -181,57 +181,44 @@ class="dashicons dashicons-arrow-down-alt2"></span>
181
181
</div>
182
182
<div class="fz-right">
183
183
<div class="fz-form-group">
184
- <label class="form-label"><?php esc_html_e ( 'Assigns the post to a Category ' , 'feedzy-rss-feeds ' ); ?> </label>
185
184
<div class="mx-320">
186
185
<select id="feedzy_post_terms" multiple class="form-control feedzy-chosen<?php echo feedzy_is_pro () ? ' fz-chosen-custom-tag ' : '' ; ?> "
187
186
name="feedzy_meta_data[import_post_term][]">
188
187
</select>
189
188
</div>
190
189
<div class="help-text pt-8">
191
- <?php esc_html_e ( 'The imported post will be assigned to a selected taxonomy. Leave it blank if you don \' t need a taxonomy . ' , 'feedzy-rss-feeds ' ); ?>
190
+ <?php esc_html_e ( 'If you don \' t select at least one taxonomy, posts will be assigned to Uncategorized by default . ' , 'feedzy-rss-feeds ' ); ?>
192
191
</div>
193
192
</div>
194
- <?php if ( ! feedzy_is_pro () ) : ?>
195
- <div class="upgrade-alert ">
193
+ <?php if ( feedzy_is_pro () ) : ?>
194
+ <div class="help-text pt-8 ">
196
195
<?php
197
196
echo wp_kses_post (
198
197
sprintf (
199
- // translators: %1$s: opening anchor tag, %2$s: closing anchor tag.
200
- __ ( 'Add more advanced tags, like item categories and custom field, by %1$s upgrading to Feedzy Pro %2$s ' , 'feedzy-rss-feeds ' ),
201
- '<a href=" ' . esc_url ( tsdk_translate_link ( tsdk_utmify ( FEEDZY_UPSELL_LINK , 'moreadvanced ' ) ) ) . '" target="_blank"> ' ,
198
+ // translators: %1$s: magic tag, %2$s: opening anchor tag, %3$s: closing anchor tag.
199
+ __ ( 'Auto-create categories from source: %1$s %2$s Learn More %3$s ' , 'feedzy-rss-feeds ' ),
200
+ '<strong>[#item_categories]</strong> ' ,
201
+ '<a href=" ' . esc_url ( 'https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#dynamic-post-taxonomy ' ) . '" target="_blank"> ' ,
202
202
'</a> '
203
203
)
204
204
);
205
205
?>
206
206
</div>
207
- <?php endif ; ?>
208
- <div class="help-text pt-8">
209
- <?php
210
- echo wp_kses_post (
211
- sprintf (
212
- // translators: %1$s: magic tag, %2$s: opening anchor tag, %3$s: closing anchor tag.
213
- __ ( 'You can automatically create categories with a magic tag %1$s or use custom tag parsing %2$s Read More %3$s . ' , 'feedzy-rss-feeds ' ),
214
- '<strong>[#item_categories]</strong> ' ,
215
- '<a href=" ' . esc_url ( 'https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#dynamic-post-taxonomy ' ) . '" target="_blank"> ' ,
216
- '</a> '
217
- )
218
- );
219
- ?>
220
- </div>
221
- <div class="help-text pt-8">
222
- <?php
223
- // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
224
- echo wp_kses_post (
225
- sprintf (
226
- // translators: %1$s: magic tag, %2$s: opening anchor tag, %3$s: closing anchor tag.
227
- __ ( 'You can automatically assign categories with a magic tag %1$s by the keywords used in title. Configure it %2$s here%3$s . ' , 'feedzy-rss-feeds ' ),
228
- '<strong>[#auto_categories]</strong> ' ,
229
- '<a href=" ' . esc_url ( get_admin_url ( null , 'admin.php?page=feedzy-settings ' ) ) . '" target="_blank"> ' ,
230
- '</a> '
231
- )
232
- );
207
+ <div class="help-text pt-8">
208
+ <?php
209
+ // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment
210
+ echo wp_kses_post (
211
+ sprintf (
212
+ // translators: %1$s: magic tag, %2$s: opening anchor tag, %3$s: closing anchor tag.
213
+ __ ( 'Auto-assign by title keywords: %1$s %2$s Configure %3$s ' , 'feedzy-rss-feeds ' ),
214
+ '<strong>[#auto_categories]</strong> ' ,
215
+ '<a href=" ' . esc_url ( get_admin_url ( null , 'admin.php?page=feedzy-settings ' ) ) . '" target="_blank"> ' ,
216
+ '</a> '
217
+ )
218
+ );
233
219
?>
234
- </div>
220
+ </div>
221
+ <?php endif ; ?>
235
222
</div>
236
223
</div>
237
224
0 commit comments