It create jQuery issue for me,that is TypeError: jQuery(…).val(…) is undefined..
lptx-s…ver=1.b (line 5)
it is not getting value of i = jQuery(‘#title’).val().length; in js into my custom content type configuration / setting page.
Like if some one using custom content type manager plugin and then I create a custom content type called “abc”
URL sholud be
…../wp-admin/admin.php?page=cctm&a=edit_post_type&pt=abc
To solve this made some changes these are
1. Line no 52
add_action(‘admin_enqueue_scripts’, ‘lptx_scriptsNl18n’);
in place of add_action(‘admin_print_scripts’, ‘lptx_scriptsNl18n’);
2. line no 76 in function lptx_scriptsNl18n()
I used $hook
function lptx_scriptsNl18n($hook){
if( ‘post.php’ != $hook && ‘edit.php’ != $hook && ‘post-new.php’ != $hook)
return;
reaming are same ……
…………
..
Note :-
I used $hook so that I make sure that function and specially lptx-script.js will only works on post.php, edit.php, post-new.php page only.
If I am wrong somewhere then please let me know..
https://www.ads-software.com/plugins/limit-a-post-title-to-x-characters/
]]>This seems to work fine for me for regular post types. But for my custom post types, I don’t see the character count box when posting, and regardless of my post length, I see this message:
“You are over the maximum allowed characters for the title!”
This is a big bummer! The plugin works perfectly for posts, and I’d love to be able to use it, but can’t with this bug.
https://www.ads-software.com/plugins/limit-a-post-title-to-x-characters/
]]>This still works for post titles but unfortunately, it breaks the media titles screen and throws an error if you update your media.
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>Appears to be an AJAX conflict: my Jetpack site stats won’t load when this plugin is enabled. No problem after I disable.
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>In version 1.4.1 I get “You are over the maximum allowed characters for the title” on already published pages when updating.
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>When activated this plugin causes a conflict with Gravityforms (javascript) which stops hovers from working in the Gravityforms admin screens.
Gravityforms admin pages are \admin.php?page=gf_edit_forms&id=
Please restrict your scripts from running on these pages.
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Mon, 24 Dec 2012 03:36:02 UTC
Message: ‘val().length’ is null or not an object
Line: 5
Char: 2
Code: 0
URI: https://www.domain.com/wp-content/plugins/limit-a-post-title-to-x-characters/js/lptx-script.js?ver=1.b
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Tue, 18 Sep 2012 06:45:43 UTC
Message: ‘val().length’ is null or not an object
Line: 5
Char: 2
Code: 0
URI: https://www.domainname.com/wp-content/plugins/limit-a-post-title-to-x-characters/js/lptx-script.js?ver=1.b
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>thank u.. for this plugin…i am searching this features last 1 year..thanks again…:)
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>I set a title length of 42 characters. When typing the post title, the character count box on the right didn’t change and the post published as normal. The character count only updated after publishing.
https://www.ads-software.com/extend/plugins/limit-a-post-title-to-x-characters/
]]>