none

quick fix, wordpress | No Comments | May 23rd, 2013

Please  delete  blank spaces at the top and bottom of functions.php in your theme folder…

....Read More
none
none

Mode rewrite, quick fix | No Comments | April 26th, 2013

open .htaccess file and paste this code on top. <FilesMatch “.*\.(htm|html|php)$”> SetHandler application/x-httpd-php5 </FilesMatch>

....Read More
none
none

wordpress | No Comments | April 22nd, 2013

Add this code to Functions.php file in theme folder. $subRole = get_role( ’subscriber’ ); $subRole->add_cap( ’read_private_posts’ ); $subRole->add_cap( ’read_private_pages’ );   and make post or page in Private mode.

....Read More
none
none

quick fix, wordpress | No Comments | January 31st, 2013

PLease add this code in function.php file from your active Theme folder   function szub_nofollow_tag($text) { return str_replace(‘<a href=’, ‘<a rel=”nofollow” href=’, $text); } add_filter(‘wp_tag_cloud’, ‘szub_nofollow_tag’);   /* Will add no follow in tag Cloud */ add_filter(‘the_tags’, ‘szub_nofollow_tag’); /* Will add no follow in Post Tags */      

....Read More
none
none

quick fix | No Comments | January 18th, 2013

For ebay listing .. we have to use Inline CSS. every style need to write in component itslef …. no class is used there. I did some poking around to find a good solution for making CSS inline and I found a VERY useful tool called “Inline Styler” hosted at torchboxapps.com. http://inlinestyler.torchboxapps.com/styler/ It is an [...]

....Read More
none
none

Mode rewrite | No Comments | December 13th, 2012

To implement such redirect using mod_rewrite and .htaccess you need to use RewriteMap directive which cannot be placed in .htaccess — only in server config / VirtualHost context. If you have such access: 1. Place this line inside <VirtualHost> block for your site: RewriteMap lc int:tolower 2. Place this in your .htaccess: RewriteCond %{REQUEST_URI} [A-Z] [...]

....Read More
none
none

quick fix | No Comments | July 16th, 2012

Hoe to get folder name from current page Use this function function getCurrentDirectory() { $path = dirname($_SERVER['PHP_SELF']); $position = strpos($path,’/’) + 1; return substr($path,$position); }   echo getCurrentDirectory();

....Read More
none

If you're choosing a host based on PHP configuration, you may want to know that iPage uses PHP 5 and they upgrade often.