79 characters:
New post up on the blog! 8 Fashion Trends for Spring & Summer 2020 – Read no…
165 characters:
Ever wondered #howto sew a #ruffle for your clothing and DIY projects WITHOUT a ruffler foot? Use this #DIY #sewinghack to make easy and perfect ruffles every tim…
91 characters:
Improve your #sewing skills in 7 projects that build on the last to make you a #diy quee…
It’s totally random! I include one photo and the permalink to the post. The Facebook posting is normal.
What’s going on?
]]>Thank you for helping
]]>On looking around, there was a plugin (word count and limit) which you could use to put a maximum character count on any posts on your site, but this no longer works. I fed it back via the specific plugin forum.
I also found some code, which a few years ago was exactly what I need right now to limit both post title and post size itself:
function maxWord($title){
global $post;
$title = $post->post_title;
if (str_word_count($title) >= 1 ) //set this to the maximum number of words
wp_die( __('You can only use one word for the title!') );
}
add_action('publish_post', 'maxWord');
function maxWord($content){
global $post;
$num = 500; //set this to the maximum number of words
$content = $post->post_content;
if (str_word_count($content) > $num)
wp_die( __('Don't forget you can only use up to 500 words. Try to trim it down a bit :)) );
}
add_action('publish_post', 'maxWord');
Sadly, it appears this is no longer a working function… So my question is this. What can I do to limit the length of both titles and posts by myself and users, please? This is a pretty vital function for me.
Many thanks!
Pip
]]>thanks!
]]>When I was looking for a suitable alternate theme yesterday I noticed that some of them allow you to show only parts of each blog post on the hompage. Reading the whole post requires clicking on the title and loading the whole post on a new page. I would like to be able to do something like this with this theme rather than showing the entirety of each post on the home page. Is there an option I can select to change it so that only the first paragraph or so shows up for each listed post on the homepage?
]]>Of course I can insert “read more’ breaks but I would rather find a low-maintenance way.
Ideally I would set the top post on each blog longer, those underneath shorter.
Is there a straightforward way of doing this, or a good plug in recommendation?
I don’t want to be hacking core code
]]>I’m having an issue with a couple of my articles in which the “author bubble” shows up sooner than it should be, and therefore cuts off and covers up part at the post at the bottom. At first I thought it was the length of the post, but I have some pretty lengthy articles that still seem to be working.
Not sure what to do or what is going on…
]]>