Skip to main content

New answers tagged

0 votes

How to improve the performance when using a flat-file dataset and PHP for implementing advanced search function?

Step-by-Step Instructions for Improving Performance with a Flat-File Dataset in PHP Define the Function to Read and Process the CSV File in Chunks: Create a function that reads the CSV file line by ...
mukto90's user avatar
  • 1,479
0 votes

How to improve the performance when using a flat-file dataset and PHP for implementing advanced search function?

Query Monitor is a good way to track what part of WP is chewing up resources. What search functionality are you trying to implement, exactly? It's very hard to give advice based on a vague question ...
Chris Cox's user avatar
  • 1,372
0 votes

how to run tests using different db connection

Following the example of the official WP test suite, if for whatever reason you don't want to use that test suite, then the way to go is: Create a separate wp-tests-config.php, pointing at the ...
MichaelK's user avatar
  • 101
0 votes

Bulk Update of Custom Post Type Post Status through SQL

Use this to delte posts with time line: UPDATE `wp97_posts` SET post_status="archive" WHERE post_date < '2023-05-30 19:15:27' AND post_status="publish";
Jayati Creative's user avatar
2 votes
Accepted

Is it safe to totally unregister the default "post" Post Type

You cannot achieve a performance benefit (or any other benefit) by attempting to remove the post type. If you are experiencing a performance problem then find the real root of the problem and address ...
Dave S's user avatar
  • 151
0 votes

Why is wordpress trying to re-install itself?

This may happen if you didn't remove the option to install after installation, and WordPress finds an empty database. It will then offer the installation page.
reinierpost's user avatar
1 vote

How to use 2 different databases but share the same user in wordpress

It is likely not worth the risk. A possible problem is that one site changes user data in a way the other site will not be able to understand, breaking it. So... the initial requirement for such a ...
Mark Kaplun's user avatar
  • 23.4k

Top 50 recent answers are included