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?