WordPress is a free and open-source content management system (CMS) based on PHP and MySQL. Features include a plugin architecture and a template system.
The problem is when you have flat multiple lines of code & you want all of the code indent in one click of a button without going through every word or line by pressing the button ‘Tab’.
So I put down few notes containing tutorial to how to indent multiple line of code within one click or one second, Here is how.
Introduction to WordPress Security Keys WordPress introduced security keys in the WordPress 2.6 Release to better encrypt information stored in the user’s cookies.
Security Keys will look like these examples, but don’t use the duplicate keys given below:
Description: The WordPress revisions system records each saved draft or published update. You can see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what changed in each revision—what was added, what remained unchanged, and what was removed. Lines added or removed are highlighted, and individual character changes are highlighted. Click the ‘Restore This Revision’ button to restore a revision.
Introduction to feature called revisions: As stated above, ‘Revisions’ are posts stored drafts for future proofreading of blog posts. It creates multiple copies of the blog posts you are working on in your MySQL Database in plain English. So it naturally affects & increases the size of your WordPress’s MySQL Database size in megabytes.
Suggestion: So I would suggest using the following code to successfully control the WordPress Post Revision Count to ultimate ‘3’ to stop it from growing above & creating clutter in your WordPress Database.
Specification: Put the following code in your WordPress Installation’s wp-config.php file to limit the number of post-revision WordPress stores in the database. Old revisions are automatically deleted.
Introduction As we use & utilise our WordPress website running with MySQL database, it gets cluttered & overheads with extra information or data in database tables. Sometimes, it crashes on its burden. So what we should do in the first place is repair & optimise it for optimum performance.
So, Here is how to do it…!!!
Warning & Precautions First, back up all of your websites and relevant databases so that if something goes wrong, you have a backup copy of your server files and databases.
Initial Step: The Initial Step is to Sign in to your web hosting’s phpMyAdmin MySQL Database Portal and Select your choice of database. First, note down your MySQL tables’ overheads and database size to compare them in the future after optimisation.
Introduction to WordPress’s New Functionality Automatic Background Updates: WordPress 3.7 introduced automatic background updates to promote greater security and streamline the update process. By default, only minor releases are enabled for maintenance and security purposes, as well as translation file updates. The default behaviour in WordPress 3.7 is the automatic core update for minor versions, i.e., from 3.7.0 to 3.7.1. WordPress’s Graphical User Interface (GUI) does not offer configuration options. To change the behaviour, modify the wp-config.php file in your WordPress root installation or add filters to your theme’s functions.php file.
In WordPress, there are four types of automatic background updates:
Core updates
Plugin updates
Theme updates
Translation file updates
Core Updates Core updates are subdivided into three types:
Core development updates, known as the “bleeding edge.”
Minor core updates, such as maintenance and security releases, e.g. 3.7.1
Major core release updates, e.g. 3.7
But If you want to turn them on or off selectively, here is how you will do it,
Turn them on or off via wp-config.php
Enable Automatic Updates for core – development, major, and minor versions
The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates easily memorised domain names to the numerical IP addresses needed for the purpose of locating computer services and devices worldwide. By providing a worldwide, distributed keyword-based redirection service, the Domain Name System is an essential component of the functionality of the Internet.
Google’s Public DNS will speed up your computer’s internet connection performance with faster speed for domain name lookup.
I have just received an e-mail notification that my WordPress installation has been automatically upgraded to 3.7.1
SUBJECT: [Your Website Name] Your site has updated to WordPress 3.7.1
E-MAIL MESSAGE: Howdy! Your site at http://yourdomain.com has been updated automatically to WordPress 3.7.1. No further action is needed on your part. For more on version 3.7.1, see the About WordPress screen: http://yourdomain.com/wp-admin/about.php If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help. http://wordpress.org/support/ The WordPress Team
For a while, I observed unusual behaviour of my 336 by 280 Ad units, where smaller ads were delivered in 300 by 250 units.
I even reported this issue to the Google AdSense Support Team but received no reply & currently, they are not accepting any new support requests, but how can I get the solution I wanted?
I solved the problem of why smaller unit ads were delivered in bigger ad units, thereby ruining my ‘Website Design Layouts.’
Different ways of putting comments per file type on the World Wide Web exist.
Comments help the code developer explain quickly to third-party developers, designers, users, or even himself why he used that line of code and what function it performs in that web application.
So it is convenient to know how to put comments in your files in PHP, CSS & HTML.
Here is an example of how you will put comments in ‘HTML’ & ‘PHP’ pages (outside of the PHP code) & it will look like this:
<!-- comment here about what is going on -->
Comments inside of PHP code look like this:
<?php the_excerpt(); // Show excerpt and not full post content ?>
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.