How to check whether a post exceeds 300 words

basically you need to change the default EXCERPT length of your posts. there are a couple of ways to solve this issue: if you aren’t familiar with PHP Install this plugin at : http://wordpress.org/plugins/advanced-excerpt/ This will allow you to change the the excerpt length from the admin panel. if you are familiar with basic PHP … Read more

How to link two news page multilingual press

I am the author of Multilingual Press. Currently, there is no user interface to connect existing posts. This will be possible in one of the next versions. You can either connect both in the table $wpdb->base_prefix . ‘multilingual_linked’ or create a new post as the translation for the other.

How to store post rating system data post independent?

What you want is actually pretty easy to achieve. The code from the tutorial you used saves and gets the data post dependent via update_post_meta() and get_post_meta(), which doesn’t suit your use case. You just have to store your data post independent. This thought relates to the array of IP keys and time values you … Read more

Make assigning post to a specific category equivalent to assigning it to all categories

One way to deal with the problem is to use the redirect_canonical filter to cancel the redirect (that happens when the category that the post is assigned to doesn’t match the category slug in the requested post URL) for posts assigned to International (intl) category. /* * Related core file: wp-includes/canonical.php * * NOTE: If … Read more