Category: PHP

  • 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 = […]

  • Zen Coding — a tremendous way of writing HTML and CSS code

    Zen Coding is a set of plug-ins for text editors that allow for high-speed coding and editing in HTML, XML, XSL, and other structured code formats. The tools have been incorporated into a number of high-profile text editors, some plug-ins developed by the Zen Coding team and others implemented independently. However, Zen Coding is primarily […]

  • 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

  • WordPress Plugin : noFollow in post

    Its a new wordpress plugin for who wants to increase the SEO in his blog site . Description : Its add the rel=”nofollow” attribute in post readmore link ,tags link , categories link and comments link. Downlaod :nofollow-in-post

  • Most effective thumbnail creator for wordpress

    Are you looking for the finest and most effective thumbnail function for wordpress to represent your wordpress post in your favorable way. Then download this finest thumbnail script. Step1: Download Thumbnail Script for wordpress and unzip it. Keep the scripts folder inside your theme folder. Step2: Copy and paste this function inside the functions.php file […]

  • Best Blank Theme BlankPress for WordPress

    Here goes the finest free blank wordpress theme for you. Please do not hesitate to send us your comments and suggestions about it. We are waiting to hear your experience about this blank theme DOWNLOAD BLANKPRESS v 0.1 By default it is two column wordpress layout with separate header, sidebar and footer. We used minimal […]

  • How to show .html or .php in the url of wordpress site

    Some people want to show .html or .php in the url of their wordprss site. For SEO these are very handy, you can make your website url far more search engine friendly. Solution: Go to the the wp-admin/ admin panel of your wordpress site. Click settings, then permalink settings, then click custom structure. Now in […]