We mostly use the get_permalink(), get_the_title() methods in our wordpress theme. Do not pass the post ID as parameter. if you’re doing a get_permalink or get_title() call with Post id, 8 out of 10 times you’ll need to more of … Continue reading
Category Archives: wordpress hacks
If wordpress site is hacked then how to fix issue
Recently one of my site is hacked which is on wordpress. Due to disk I/O notification and CPU usages notification email I got to know. There is something wrong happening on server. First thing I did which is checking the … Continue reading
Share and Enjoy
wordpress 3.5 is Worst Update in Wordpess release History
I have very high traffic site which is in wordpress CMS. I updated my three of sites to wordpress 3.5 and my site goes down after updation. I faced lots of issues due to this update. To figure out the … Continue reading
Share and Enjoy
How to load the custom javascript to custom page template in wordpress
For many pupose and designs we use the page template in wordpress site. Some time we need to load the custom javascript to page template. For that we can use following code. For loading any script or any custom code … Continue reading
Share and Enjoy
How to use category wise background images in wordpress
WordPress has category feature, We can use the wordpress category for many purpose. Some time we want use category images for show the category content. Some time we want use the category wise background images in your website. For category … Continue reading
Share and Enjoy
How to List the child pages by post slug OR post ID
First find the page id using page title or page page slug. For post title use following code: For post slug use following code: Now List the child page by post slug
Share and Enjoy
how to display PDF file in wordpress
There are many people who are struggling for showing PDF file in there wordpress post. Please use following steps for showing the PDF. 1) Go to media -> Add New, upload a file. Once file is uploaded, you will get … Continue reading
Share and Enjoy
WP_Query vs query_posts() vs get_posts()
There are three ways for fetching data(posts) from wordpress. Programmers love to use query_posts more often then others. But I prefer to use WP_Query(). WP_Query is object base more secure then others. query_posts() is overly simplistic and problematic way to … Continue reading
Share and Enjoy
code snippets which is most useful in functions.php, wordpress
In wordpress theming is very important. Developers know the importance of functions.php file. I always written some very nice code snippets in functions.php file. I found very useful codes which is very helpful for very wordpress designer and developers. Here … Continue reading








