Lets Make It EasyLets Make It Easy
  • Home
  • Related To PC
    • Computer Tips & Tricks
    • General Tips
    • Game Tricks And Fixes
    • Windows Tricks
  • Build a PC
  • Blogger Tips
  • WordPress Tips
  • Youtube Tips And Tricks
  • More Topics
    • Andriod Tricks
    • Mobile Tricks
    • Publisher’s Spot
    • Internet Tricks

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

How to Fix gdrv.sys BSOD (Blue Screen of Death) Error in Gigabyte Motherboards and Graphics Cards?

April 22, 2021

How to Fix Mixed Content Error/Issue in WordPress?

April 21, 2021

How to Redirect HTTP to HTTPS in WordPress?

April 21, 2021
Facebook Twitter Instagram
Lets Make It Easy Lets Make It Easy
  • Home
  • Related To PC
    • Computer Tips & Tricks
    • General Tips
    • Game Tricks And Fixes
    • Windows Tricks
  • Build a PC

    Best Graphics Card for Gaming Under ₹20000 in India With a Excellent Performance (60 FPS)(1080p FHD)

    March 29, 2021

    Best Graphics Card for Gaming Under ₹30000 in India With a Tremendous Performance (60 FPS)(2K,1080p FHD)

    March 25, 2021

    Best Gaming PC Build Under ₹70000 in India with an Ultimate Performance (60 FPS)(4K,2K,1080p FHD)

    March 21, 2021

    Best Gaming PC Build Under ₹60000 in India With Ultra Performance (60 FPS)(2K,1080 FHD)

    March 16, 2021

    Best Budget Gaming PC Build Under ₹50000 in India With Super Cool Performance (60 FPS)(2K,1080 FHD)

    March 15, 2021
  • Blogger Tips

    Top 6 Websites to Download High-Quality Blogger Themes/Templates (Responsive + Seo Optimised + Ads Ready)

    March 2, 2021

    How to Install/Upload a Custom Theme in Blogger?

    February 28, 2021

    How to Fix “The Feed does not have Subscriptions by Email Enabled” in Feedburner for Both WordPress and Blogger?

    February 26, 2021

    How to Add Freenom Domain To Blogger? | Free Unlimited Domain (Freenom) + Hosting (Blogger) Tutorials

    February 17, 2021

    How To Block AdBlocker Extensions on Your Blogger? | A Simple Code to Block All Adblock Blockers Extensions!

    February 8, 2021
  • WordPress Tips

    How to Fix Mixed Content Error/Issue in WordPress?

    April 21, 2021

    How to Fix Cloudflare Error 525 SSL Handshake failed Problem Easily?

    April 18, 2021

    8 Best Free Website Speed Testing Tools & Performance Tools Which Helps You to Improve Your Website Speed (Load Times).

    April 17, 2021

    How to Fix “Unyson: Your website is hosted using the LiteSpeed web server. Please consult this article if you have problems backing up.”?

    April 7, 2021

    How to Fix “Oops Unyson Backup requires PHP Zip module but it is not enabled on your server(Shared Hosting Server).”?

    April 6, 2021
  • Youtube Tips And Tricks
  • More Topics
    • Andriod Tricks
    • Mobile Tricks
    • Publisher’s Spot
    • Internet Tricks
Lets Make It EasyLets Make It Easy
Home » How to Bulk Update All Posts in WordPress? | A Plugin Which Helps You to Bulk Update All Your WordPress Posts !
Wordpress Tips

How to Bulk Update All Posts in WordPress? | A Plugin Which Helps You to Bulk Update All Your WordPress Posts !

Vasantharaj R NBy Vasantharaj R NDecember 19, 2020No Comments3 Mins Read
How to Bulk Update All Posts in Wordpress?

Hi Guys, Today I am Going to tell you to How to Bulk Update All Posts in WordPress? | A Plugin Which Helps You to Bulk Update All Your WordPress Posts !

Check Out This: How to Fix An Automated WordPress Update has failed to Complete – Please attempt the update again now Error?

Steps For How to Bulk Update All Posts in WordPress? | A Plugin Which Helps You to Bulk Update All Your WordPress Posts ! 

Method 1 : Using Plugins

Trending
How to Fix Need For Speed Heat EA Account Currently Logged Error? | EA Access Error Fix | The Origin Account currently logged in does not have access to the installed language for this game (Problem Solved)

Plugin 1 : Bulk Edit Publish Date 

Step 1: First of all Goto Plugins in your WordPress Panel and Click Add New Plugin.

Step 2: Now Search for the Plugin Bulk Edit Publish Date and Click Install and Activate it.

Step 3: Now Go to your Posts and Select all the Posts and Click the Set Publish Date Option and Again Click Apply.

How to Bulk Update All Posts in WordPress?

If you’re unable to get the Plugins or Plugin gets Deleted in WordPress , Don’t Worry Guys I’ll give you my backup to you !

You can get those free plugins from below link.

Download Plugins Here

Also Read: How to Fix “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”?

Plugin 2 : Bulk Post Update Date

Step 1: First of all Goto Plugins in your WordPress Panel and Click Add New Plugin.

Step 2: Now Search for the Plugin Bulk Post Update Date and Click Install and Activate it.

Step 3: Now Go to Bulk Post Update Date Plugin and Select the Hours and Select the Categories and Click Update Post Dates.

How to Bulk Update All Posts in WordPress?

*Important Note :  Always Go With Plugin Method Rather than Trying a Code Method.

*Very Important Note :  It is Necessary to Take a Backup before Start Editing while Using Code Methods.

Method 2 : Using Following Codes

Code 1

Step 1: First of all Sign in into your Website Hosting Account.

Step 2: Now Access your C-panel And Open File Manager either via Web or FTP it’s your wish.

Step 3: Now Go to Public_HTML Folder and Open the Functions.php File.

Step 4: Now Paste the Below Given Code and Save it.

function update_all_posts() {
    $args = array(
        'post_type' => 'post',
        'numberposts' => -1
    );
    $all_posts = get_posts($args);
    foreach ($all_posts as $single_post){
        $single_post->post_title = $single_post->post_title.'';
        wp_update_post( $single_post );
    }
}
add_action( 'wp_loaded', 'update_all_posts' );

 

*Important Note :  Take a Backup before Editing the Funtions.php File

Code 2

Step 1: First of all Sign in into your Website Hosting Account.

Step 2: Now Access your C-panel And Open File Manager either via Web or FTP it’s your wish.

Step 3: Now Copy Paste the Below Given Code in Notepad ++ and save it as PHP File.

<?php

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
 
if ( ! class_exists( 'MyPlugin_BulkUpdatePosts' ) ) : 
 
class MyPlugin_BulkUpdatePosts {          
 
public function __construct(){
      register_activation_hook( __FILE__, array( $this, 'do_post_bulk_update' ) );//Run this code only on activation
}          
 
//Put your code in this function
public function do_post_bulk_update(){
    $posts_to_update = get_posts('cat=x&showposts=1000');//Retrieve the posts you are targeting
    foreach ( $posts_to_update as $update_this_post ):
           $update_this_post->post_title = 'Post Prefix: '.$update_this_post->post_title;//The post field you are updating.
           wp_update_post( $update_this_post );
    endforeach;
 }
 
}
endif;

Step 4: Now Put it in a Folder and Name it as as Bulk Update All Post.

Step 5: Now Put that Folder in Zip File and Upload it as a Plugin in your Website.

And Do Bulk Update Easily !

*Important Note :  Take a Backup before Editing the Funtions.php File

@@@ Leave Comments @@@

## Stay Safe Guys And Live Happily ##

Vasantharaj R N
  • Website

Basically an Instrumentation Engineer But Very much Interested in Blogging. I'm a Passionate Blogger and an Intermediate in the Search Engine Optimization Process. I'll always try to Fix those Common Issues Which was Faced By Most of the users in the World.

Related Posts

How to Fix Mixed Content Error/Issue in WordPress?

April 21, 2021

How to Fix Cloudflare Error 525 SSL Handshake failed Problem Easily?

April 18, 2021

8 Best Free Website Speed Testing Tools & Performance Tools Which Helps You to Improve Your Website Speed (Load Times).

April 17, 2021

How to Fix “Unyson: Your website is hosted using the LiteSpeed web server. Please consult this article if you have problems backing up.”?

April 7, 2021
Add A Comment

Leave A Reply Cancel Reply

  • Trending:How to Find Your Motherboard Model in Windows 7,8,8.1&10?
    by Vasantharaj R N|April 18, 2021
  • Trending:How to Fix Cloudflare Error 525 SSL Handshake failed Problem Easily?
    by Vasantharaj R N|April 18, 2021
  • Trending:8 Best Free Website Speed Testing Tools & Performance Tools Which Helps You to Improve Your Website Speed (Load Times).
    by Vasantharaj R N|April 17, 2021
  • Trending:How to Fix “A low-level exception occurred in ImporterMPEG” Error in Adobe Premiere Pro?
    by Vasantharaj R N|April 10, 2021
  • Trending:How to Fix “Unyson: Your website is hosted using the LiteSpeed web server. Please consult this article if you have problems backing up.”?
    by Vasantharaj R N|April 7, 2021

Advertisement
Top Reviews

Best Graphics Card for Gaming Under ₹20000 in India With a Excellent Performance (60 FPS)(1080p FHD)

By Vasantharaj R N

Best Graphics Card for Gaming Under ₹30000 in India With a Tremendous Performance (60 FPS)(2K,1080p FHD)

By Vasantharaj R N

Best Gaming PC Build Under ₹70000 in India with an Ultimate Performance (60 FPS)(4K,2K,1080p FHD)

By Vasantharaj R N
Our Picks

How to Hide Theme Name in WordPress? | How to Remove Theme Name from WordPress Website?

December 19, 2020

Top 5 Adsense Alternatives for New Bloggers 2020 | Best Ad Network for New Bloggers 2020

December 19, 2020

How to Get Free Domain and Hosting for your Website 2020 ? | Infinity Free Hosting Tutorial

December 19, 2020

How to Delete a Site/Removing a Domain from Cloudflare?

March 10, 2021
Don't Miss
Computer Tips & Tricks

How to Fix gdrv.sys BSOD (Blue Screen of Death) Error in Gigabyte Motherboards and Graphics Cards?

By Vasantharaj R NApril 22, 20210

Hi Guys, Today I am Going to Show You How to Fix gdrv.sys BSOD (Blue…

How to Fix Mixed Content Error/Issue in WordPress?

April 21, 2021

How to Find Your Motherboard Model in Windows 7,8,8.1&10?

April 18, 2021

How to Fix Cloudflare Error 525 SSL Handshake failed Problem Easily?

April 18, 2021
About Us
About Us

The Ultimate Technology Site About Technical Support, Information Technology, Software, Wordpress, Blogger. Letsmakeiteasy is a site where you can learn about technology, Search Engine Optimisation, Computer and Mobile Tricks, Blogging and WordPress Tips. We are Here to Help You.

Random Quote

“I do not fear computers. I fear lack of them.”

— Isaac Asimov
Lets Make It Easy
  • Home
  • Privacy Policy
  • Contact Us
  • About Us
  • Sitemap
Copyright © 2021 Letsmakeiteasy LLC. All Rights Reserved. Letsmakeiteasy® is a registered trademark.WordPress hosting by Hostinger | Crafted With Love | Designed By Vasanth

Type above and press Enter to search. Press Esc to cancel.