Tag Archives: Hacks

How To Force Instant RSS Feed Update in WordPress?

Recently a Managed WordPress owner raised a question about how to force an immediate update to RSS feeds in WordPress.

Is there a way to force RSS feed update on my website? My problem is after I have made changes to a blog post? I have noticed that once the content is published, the RSS feed is sent and I can see it in my own RSS reader, but then I cannot update it anyhow, even if I change everything in the post. Frustratingly, the RSS keeps showing the old version, even after I manually update my feed reader.

By default what happens is when you update posts, tags or categories on your website, the content sent via RSS feed remains the same for longer period of time. The reason is default feed update cycle of WordPress is twelve hours.

Continue reading How To Force Instant RSS Feed Update in WordPress?

How To Parent Boys?

Let boys do all the maths, hacks, tracks and sketches other than doing their household cores to grow as free men. Let them find out and let them make whatever they like most.

Indulging deep within the code of dominant technologies is the ultimate free way to free men. Thereafter they won’t have free time.

Sangkrit sees independent jobs for at least one billion free men to program this world. They could be building their net worth by independently changing this world.

How To Pass Default Value For Any Custom Field Across All WordPress Posts?

WordPress provides ability to post authors for assigning custom fields to any post, page or custom post type. This arbitrary additional information is called meta-data which may include bits of information.

Continue reading How To Pass Default Value For Any Custom Field Across All WordPress Posts?

Limit Users Access To Their Respective Website In WordPress

A few hours back, we have discussed about automatically redirecting users to their specific website, as soon they login to your WordPress multisite network.

But once a successful login is made, it won’t get called again with that code and thereafter if any user attempts to get access to other’s website, he will easily get it.

So how to enforce redirection to logged-in user’s respective website? In this lesson you will learn about getting this job done with an easy PHP function.

Continue reading Limit Users Access To Their Respective Website In WordPress

How To Login Redirect WordPress Users To Their Subsite?

You can automatically redirect users to their respective sub-site after login in your WordPress multisite network. This can easily be done either by adding some code in your theme’s function.php file or via Code Snippets plugin.

Continue reading How To Login Redirect WordPress Users To Their Subsite?

Prevent Your Clients From Deactivating Plugins In WordPress

Earlier we have discussed how to prevent your client’s from changing themes on their WordPress sites and keep using the theme you have designed for them.

We have also discussed about disabling plugin and theme installation/update functionality in WordPress and customizing admin area user interface. In this lesson you will learn how to remove deactivate links on plugins list.

Continue reading Prevent Your Clients From Deactivating Plugins In WordPress

Easily Disable Theme Changing In WordPress

Webmasters probably spent lots of time in customizing, creating and adding more specific features to theme for their client’s website and if by mistake your client switches to a new theme, deletes the old one could result in disaster.

So if you are also a website designer using WordPress to create client websites then here is a code snippet to remove “Themes” menu from “Appearances” section in your admin area dashboard.  Continue reading Easily Disable Theme Changing In WordPress

Get Rid Off From Non Essential WordPress RSS Feeds

By default WordPress automatically generates RSS feed for every post type, tag, category and other archive types. This results in unnecessary load on your website.

In this lesson we will show you how you can disable all unnecessary RSS feeds and promote your main RSS.  Continue reading Get Rid Off From Non Essential WordPress RSS Feeds

How To Hide Sidebars On Small Screen Devices In Twenty Fourteen WordPress Theme?

By default, most WordPress themes slides sidebars to bottom on small screen devices like on mobile phones and tablets. But you must have observed various websites automatically remove the sidebars if it’s viewed on a small screen and keep it visible everywhere else.

Continue reading How To Hide Sidebars On Small Screen Devices In Twenty Fourteen WordPress Theme?

How To Hide Feature Images On Single Post Screens In Twenty Fourteen WordPress Theme?

Twenty Fourteen, the new default WordPress theme displays featured images (post thumbnails) both on single and multi-post pages.

Continue reading How To Hide Feature Images On Single Post Screens In Twenty Fourteen WordPress Theme?

How To Set Minimal Comment Length In WordPress?

Most blog commenters comment only for building good backlinks from your website and hence result is you get most of the comments as ‘Nice post’, ‘Great post, ‘Thanks for writing up’, ‘Thank you for the post’ etc.

Continue reading How To Set Minimal Comment Length In WordPress?

How To Show Authors Only Their Post Comments In WordPress Admin Area?

Default WordPress functionality shows all comments (in admin area) to all registered authors in your website. In this tutorial we will show you how you can restrict comment visibility in admin section so that authors can see only comments posted on their articles.

Continue reading How To Show Authors Only Their Post Comments In WordPress Admin Area?