certainlyakey
Forum Replies Created
-
Forum: Plugins
In reply to: [Crop-Thumbnails] How to use crop_thumbnails_after_save_new_thumb action@volkmar-kantor even if i use the action with an anonymous function, I still get
The plugin can not correctly connect to the server.
error after pressing crop.
This happens regardless of whether the function is empty, has some sort ofprint_r
call inside or something else. And I also have500 Internal Server Error
asstatusText
in console.This happens on the same site in two environments (local and hosting environment).
Is there any explanation for this issue?
Forum: Plugins
In reply to: [Crop-Thumbnails] How to use crop_thumbnails_after_save_new_thumb actionHmm,
statusText
says500 Internal Server Error
. MyWP_DEBUG
is true. But am I using the hook in a right way?Forum: Plugins
In reply to: [Relative URL] PHP Notice: ob_end_flush(): failed to delete and flush bufferActually this is already fixed in the Github version of the plugin — https://github.com/sparanoid/relative-url. I’m not sure why the author hasn’t updated the www.ads-software.com version yet.
Forum: Plugins
In reply to: [Polylang] Translating just for pages, not for posts with PolylangYou can turn off translations for posts with a hook:
function turn_blogposts_translation_off( $post_types, $is_settings ) { unset( $post_types['post'] ); return $post_types; } add_filter( 'pll_get_post_types', 'turn_blogposts_translation_off', 10, 2 );
- This reply was modified 6 years, 9 months ago by certainlyakey.
Forum: Plugins
In reply to: [Polylang] Popylang error: [PT:] prefix on every post, menu and itemAre you sure you hadn’t QTranslateX installed before that? Looks very much like a trace from that plugin. IIRC Polylang doesn’t prepend anything to post titles etc.
Forum: Reviews
In reply to: [Secure Custom Fields] one of the best custom field plugins for devs so farHey Anh! Thanks for commenting the review. I still feel like getting back Meta Box again at some point, so will definitely try out the new features and experience.
Forum: Reviews
In reply to: [Say what?] A gem for worst kind of sitesI meant that usually strings are to be translated with the standard PO/MO mechanism and should not be stored in the DB. But I’ve myself had such situations where the plugin was the only thing that helped, given various access/technical limitations.
Forum: Plugins
In reply to: [WP Post Styling] Shows notice on a post archive pageCool, thanks!
Forum: Plugins
In reply to: [Post Type Archive Descriptions] Wpml supportSame with Polylang — it would be nice to have it supported.
Forum: Plugins
In reply to: [Loco Translate] Timber/twig compatibilityThanks for the effort and a hint. I’ll change those to use variables instead for now.
Forum: Plugins
In reply to: [Loco Translate] Timber/twig compatibilityHi! I’m enjoying the new feature, thanks a lot for this! I’ve however noticed that in this code for example the strings inside attributes (‘Go to previous page’ here) don’t make it into the .pot file. Other strings do make it (‘Previous’ here).
{% if before_after and pagination.prev %} <a href="{{pagination.prev.link}}" aria-label=" {{ __('Go to previous page', 'domain') }} " class="c-button c-posts-pagination__item c-posts-pagination__item_prev">{{ __('Previous', 'domain') }}</a> {% endif %}
Forum: Plugins
In reply to: [Advanced TinyMCE Configuration] Updating Settings on EditorI got the same. The WP version is 4.7.5, initial version when I had installed WP was 4.7 and I never had the plugin installed before. So the message essentially appears on plugin install in any condition.
Forum: Plugins
In reply to: Polylang breaks admin UI with: "Notice: Undefined index: inline_lang_choice"Got the same issue. On a custom post type edit screen, when bulk editing items, a blank screen appears with the
Undefined index: inline_lang_choice
notice many times and finally:Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-content/plugins/polylang/admin/admin-filters-post.php:549) in /var/www/wordpress/wp-includes/pluggable.php on line 1195
- This reply was modified 7 years, 5 months ago by certainlyakey.
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Move menu into SettingsA really good idea. You can do it already with this code:
function theme_invrecaptcha_readd_admin_menu_item() { add_submenu_page( 'options-general.php', 'Invisible reCAPTCHA Settings', 'Invisible reCAPTCHA', 'manage_options', 'invisible-recaptcha-settings' ); } add_action( 'admin_menu', 'theme_invrecaptcha_readd_admin_menu_item', 10); function theme_invrecaptcha_remove_admin_menu_item() { remove_menu_page( 'invisible-recaptcha-settings' ); } add_action( 'admin_menu', 'theme_invrecaptcha_remove_admin_menu_item', 11 );
Forum: Plugins
In reply to: [WP SmartCrop] Cannot load wp-smartcrop. – errorI have the same problem. PHP version is 7.0.13.