-
Secure your wp-admin folder in WordPress
Sometimes you will see that your site has been compromised by hacker. You may have seen that they do it by hacking your wp-admin folder. Your site might be public but you can restrict your wp-admin folder by providing little extra security with a htaccess file. You can limit access to this folder for some […]
-
How to Secure your wordpress site from Hackers
Several of my websites are hacked today. All of my sites are hosted in Hostgator VPS server and my sites are hacked by “Prishtina Hackers Group”. Thanks to this group who insisted me to seriously thinking about the security of my sites. My sites are hacked that does not means that those hacker group is […]
-
Nice procedure to create a wordpress widget plugin in step by step
You want to access in the wordpress core development. Really you are a greeks. This nice procedure for you and it will amazed your structural plan and enthusiasm. In the following article we will learn—>How to make a widget plugin? –>How to show the effect of widget in the content?
-
Rss feed for Custom Post Type – WordPres
Custom Post Types was one of the most hyped feature of WordPress 3.0. This feature alone expanded the horizon of WordPress usage as a Content Management System (CMS). If you are using Custom Post Types, or thinking of custom post types, then you may have the urge to add it into your main RSS Feed. […]
-
Switch Blog in WPmu
Some time we need to make some common header,sitebar and footer in wpmu site sub-domain . We can do this easily by make a common template in root site and use those header,sitebar and footer on that sub-domain site . To use root’s header in sub-domain by wordpress default function , we just set the […]
-
Read more link tips in Wp
1 . Some time read more link not working in the_content() to fix this problem we can apply this procedure . < ?php global $more; // Declare global $more (before the loop). $more = 0; // Set (inside the loop) to display content above the more tag. the_content("More..."); ?> 2. if u don’t want to […]
-
Blog on Template Page
In WordPress some time we need to show the Blog on Different Page .We can do this by using the following code . First we make template page called blog.php After that we can put the following main code on the blog.php .I ignore the header footer and sidebar portion . < ?php $paged = […]
-
Get The first Image from Post in WP.
Some time we need to get the 1st image of the post , So we can display it on our own way. For this we can call a function which return the 1st image url . function get_the_first_image() { global $post, $posts; $first_img = ”; ob_start(); ob_end_clean(); $output = preg_match_all(‘//i’, $post->post_content, $matches); $first_img = $matches […]
-
.htm pages in wordpress plugin
This plugin will automatically add .htm extensions at the end of wordpress pages. Special note: keep the permalink settings of wordpress as “/%postname%.htm” and then install and activate this plugin Download htm-on-pages wordpress plugin