Iurie Malai
Forum Replies Created
-
Forum: Plugins
In reply to: [Tweakr - Utility Toolkit] Add .html to custom taxonomies (categories)Andi, excellent! Thank you very much!
And I don’t have that trailing-slash, just the <taxonomy>/<term>.html (the “Remove trailing slashes from all permalinks” option is not selected).Good luck!
P.S. It’s me (Iurie – @iuriem), from another account.
I solved this by adding an transition_post_status action to the customize_adverts_post_type function:
global $new_advert_slug; //I need to read this variable in other functions $new_advert_slug = 'doc'; add_action( 'transition_post_status', function ( $new_status, $old_status ) { if( 'publish' == $new_status && 'publish' != $old_status ) { $args["rewrite"]["slug"] = "advert"; return $args; } }, 10, 3 ); $args["rewrite"]["slug"] = $new_advert_slug . "/%advert_category%"; $args["has_archive"] = $new_advert_slug; return $args;
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ad Title on Preview page?Forum: Themes and Templates
In reply to: [Minn Lite] Good work – a 96% score and only 4 warnings!@dgwyer BTW, the Twenty Seventeen theme has the same result. It is a coincidence?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Send email before the expiry date@entyone Your cron function is activated by/in the WordPress? I am not sure, but I suppose that there is a risk that the author of expiring ad will be not notified in a resonable time if your site doesn’t have visitors every day. Again, I suppose that cron jobs are checked by the WordPress only when your site have a visitor.
Thank you very much, Greg!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Using Widget Logic with WPadverts@lazyym Good to know! Thank you!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ad preview page needs statement at topThis will increase chances that users will publish their ads :)).
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ad preview page needs statement at topYou can add a statement before/above the
[adverts_add]
shortcode. Format it with some CSS to highlight it.Jeff, I understand why you used the “User Profile URL” setting/field name and I think it is suggestive enough – this setting enables the user to use his Profile URL as the value of the “Your URL” field. This is OK. But the “Post URL” suggests that here is asked the URL of the submitted post :), maybe “Attached URL” or something similar will be a better choice. The same for the “Your URL” name – I suppose you want to keep it in line with other names (like “Your Name” and “Your Email”), but a name like “Attach an URL” can be more suggestive, and you can move it to the bottom of the form. Anyway, I like your plugin and, after your clear explanations, I can use it without problems in its current form. I think I will use it on my site that I’m working on right now. Thank you very much for your work!
P.S. You can mark this as resolved.
Forum: Reviews
In reply to: [WPAdverts - Classifieds Plugin] Hard 4 Basic User Like Me@bevyme If the plugin works but it doesn’t have some options that you want this is not a good reason to give a negative review. Also, if you encountered some problems this doesn’t mean that this plugin is not good, especially as Greg provides a very good support for a free plugin.
@greg, this review is not about your plugin, it is about the his author. You should not be discouraged, negative reviews can not be avoided entirely, but that doesn’t mean obligatorily that your work is not good. Continue to develop and to improve this plugin, which is a very good one.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Adverts expiration date/timeAnd, Greg, please don’t forget about these notice/warnings, produced when the date of expiring is changed manually from the back-end:
Notice: Undefined index: adverts_ss in …/wp-content/plugins/wpadverts/includes/admin-post-type.php on line 71
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wpadverts/includes/admin-post-type.php:71) in …/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wpadverts/includes/admin-post-type.php:71) in …/wp-includes/pluggable.php on line 1228
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Adverts expiration date/timeYes, Greg. I checked again and it seems that the actual time of expiring is ok, but in Expires column is wrong. If, for example, an advert expired right now, in the Expires column I see that it will expire after 2 hours. I think this is related to the timezone settings (my local timezone is UTC+2 – Europe/Chisinau).
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] To whom it might concern…A very good analyze here.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] About the shortcodes_adverts_list() functionGreg, today I disabled all my plugins, excepting WP Adverts, and all my custom functions and I added to the original list-item.php template the next piece of code:
<span class="advert-excerpt"> <?php echo get_the_excerpt(); ?> </span>
After this on the main adverts list page excerpts are displayed, but when I open a category page with adverts list excerpts are not displayed. How to repair this?