Archive: WordPress

Add Additional Cookie on WordPress

wordpress-logo
Today I realize that the simple setcookie("sevisitor", 1, time()+3600); would not work perfectly on WordPress especially when your combine it with WordPress permalink. Here a simple hack that you can opt for if you want to set in multiple WordPress environment (especially for plug-ins and themes).

setcookie("sevisitor", 1, time()+3600,
    SITECOOKIEPATH, COOKIE_DOMAIN, false, true);

There are multiple alternative for it but this work perfectly on multiple installation.

Posted in How-To, WordPress | 4 Comments

KreativeThemes: Selling Premium WordPress Themes

kt

KreativeThemes is a collaboration of young creative and talented people in developing and producing WordPress themes (other platforms will join in in the future) of finest quality at affordable prices. It is co-founded by Izuddin Helmi and Amirul Faisyal and backed up by a dedicated team comprises of Ajmal Eylia, Gaddafi, Mohd Huzairy, Nur Fathihah and me.

Continue reading…

Posted in Project, Themes, WordPress | Leave a comment

SEO Friendly WordPress Title

wordpress-logo
The default WordPress title using the_title() structure is acceptable but lack SEO. Some WordPress theme already try to improve the structure instead of just the default value, most theme I been using has adopted this method.

<title><?php wp_title('--',true,'right'); ?> <?php bloginfo('name');?></title>

I prefer a more informative title display to improve SEO for your blog/website.

<?php
function seo_title()
{
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    wp_title('&laquo;', true, 'right');

    if ($paged > 1)
    {
        echo ' Page ' . $paged . ' &mdash;';
    }

    echo ' ';
    bloginfo('name');

    if (is_home() && $paged === 1)
    {
        echo ' &mdash; ';
        bloginfo('description');
    }
}
?>
<title><?php seo_title(); ?></title>

Posted in Code Snippet, WordPress | 2 Comments

Detect cURL and SimpleXMLElement for FeedBurner Counter

Before you implement FeedBurner counter (text mode) in any of your WordPress theme always remember to check for cURL and SimpleXMLElement.

function stream_capability() {
	return (!!class_exists("SimpleXMLElement") AND !!function_exists("curl_init") ? TRUE : FALSE);
}
Posted in Asides, Code Snippet, PHP, Programming, WordPress | Leave a comment

CryBook WordPress Theme

screenshotWelcome back to all WordPress blogger who have been using our CryBook theme since it was first introduced on 11th September 2008 at Themetation.com. CryBook version 1 was our experiment with minimalist imageless theme with custom admin screen. We have gone through some improvement Lifestream to CryBook v2.

Continue reading…

Posted in Themes, WordPress | 11 Comments