Why are theme templates organized as multiple point of entry PHP files instead of reusing your theme’s index.php?

Theme template files are organized in this way because of the WordPress Template Hierarchy. Since all primary template files eventually fallback to index.php, it is certainly possible to use only the index.php primary template file. There are advantages and disadvantages to using either method. Generally speaking, the usefulness/efficiency of defining template files is inversely proportional … Read more

Removing translation textdomain

I’ve actually been in the exact situation you’re in before, all you need to do is drop the __()s and the _e()s and replace them with their first parameter, you can pretty easily do this by regex if there are a lot, and it’s quick to do by hand if there aren’t…I’m not sure what … Read more

Too Many Pages in WordPress? 2013

Many pages were a problem when your permalink structure was a plain /%postname%/, because that is the same structure the post type page is using. Very complex additional rewrite rules were stored in the database to avoid collisions. This is not a problem anymore. If your permalink structure is the same for posts and pages, … Read more

Large Number of WordPress Posts

The performance of WordPress does not depend on the number of posts. It depends on the server performance (how fast can PHP scripts be executed). And the performance of the MySQL Server. The server performance is normally no problem if you got enough memory. The bottleneck is in most cases the MySQL server and the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)