Useful tips for everyday
When do you add A-2 to a permalink in WordPress? Every post, page, and media file in WordPress has a unique permalink. When you create…
What might an empty alt attribute be the correct value? In these cases, a null (empty) alt text should be provided ( alt=”” ) so…
What happens if I switch to draft in WordPress? You will not see an “Unpublish” button. Instead, you will see a “Switch to draft” link.…
How to test a custom SELECT query in WordPress? A test to make sure that the query that populated $pageposts actually found some posts that…
How to create a htaccess file in WordPress? There are two methods to create an htaccess file as follows: 1. By Setting Permalinks You don’t…
How to get the title of a post? If you have only ID of a post and you want only the title of that post,…
How do I enable WP Super cache plugin? To enable cache, go to Settings » WP Super Cache. Then under the Easy tab, go ahead…
How to create a subpage in WordPress.org? To create a subpage Go to Administration > Pages > Add New screen. In the right menu, click…
Why is Wp_postmeta so large? Other reason for growing post meta is the use of too many images. WordPress stores the attachment meta data, compression…
How to get the size of an image in PHP? The getimagesize() function in PHP is an inbuilt function which is used to get the…