Chronolabs Cooperative Proudly Presentsfor XOOPS 2.5Complexity Theme v1.2.8 Introduction to Complexity ThemeComplexity is a complete theme, it includes features that need to be studied by theme designer to be incorporated into their theme designs including the following features:~- Social Network Meta Tags
- Anti-keyword Stuffing (SEO)
- iOS Iconographic Tags (So Icons Appear on iPhone all macintosh)
- CSS3 Gradients and Highlights
- CSS3 Rounded Edges
- CSS3 Text and Object Shadows
- Correct File Implementations
- No Jugganaut Single CSS use of @import()
This theme was developed for the love of the
XOOPS Community and broader themery; to explain some of the features I will first go into meta tagging for facebook and third party references to the site you have to include in your meta tags the following lines, to
force your site logo if there is no image as well as in the
google index and search engines they are:-
<meta property="og:title" content=""/>
<meta property="og:type" content=""/>
<meta property="og:image" content=""/>
<meta property="og:url" content="" />
<meta property="og:site_name" content=""/>
As well as the apple touch icon meta tags in the icons, these are in particular sizes and need to be PNG images for all touch buttons like book marks and save references in macintosh; otherwise you get the default icon, these three lines are:-
<link rel="apple-touch-icon" href="">
<link rel="apple-touch-icon" sizes="72x72" href="">
<link rel="apple-touch-icon" sizes="114x114" href="">
There is also the following code in the meta keyword which stops
keyword stuffing, that is the repeatative use of the same keywords on every page of your site this will lower you SEO Score with search engines the following code you will find in the meta template in the theme:-
<meta name="keywords" content="<{php}>
$search = array(' with ', ' and ', ' the ', ' there ', ' their ', ' they're ', ' are ', ' to ', ' when ', ' on ', ' by ', ' you ',' ','.','<','>','"',';',':','}','{','[',']','|','\','/','=','+','-','_',')','(','*','&','^','%','$','#','@','!','~','`');
$minimumwordlen = 3;
// Gets Meta Data
$path = str_replace($search, ',', str_replace(basename($_SERVER['REQUEST_URI']), '', $_SERVER['REQUEST_URI']));
$sitename = htmlspecialchars_decode($this->_tpl_vars['xoops_sitename']);
$slogon = htmlspecialchars_decode($this->_tpl_vars['xoops_slogan']);
$pagetitle = htmlspecialchars_decode($this->_tpl_vars['xoops_pagetitle']);
$keywords = htmlspecialchars_decode($this->_tpl_vars['xoops_meta_keywords']);
$description = htmlspecialchars_decode($this->_tpl_vars['xoops_meta_description']);
// Makes Unique Keyword Sentence with NO KEYPHRASES - A KEY PHRASE IS AN INCORRECT USE OF THE META TAG 'KEYWORDS' that is singlar words a KEYWORD not a sentence or phrase
$nophrase = str_replace($search, ',', $path.str_replace($search, ',', $sitename).','.str_replace($search, ',', $slogon).','.str_replace($search, ',', $pagetitle).','.str_replace($search, ',', $keywords).','.str_replace($search, ',', $description));
$keywords = array_unique(explode(',', $nophrase));
foreach($keywords as $id => $word) {
if (strlen($word)<$minimumwordlen||is_numeric($word)) {
unset($keywords[$id]);
}
}
echo implode(', ', $keywords);<{/php}>" />
Download Complexity Theme *
github.com/Chronolabs-Cooperative/Complexity-Theme-Xoops25 *
xoops25_complexity_1.4.1.7z *
xoops25_complexity_1.4.1.rar *
xoops25_complexity_1.4.1.tar.gz *
xoops25_complexity_1.4.1.zipReporting Complexity Theme BugIf you do find a bug in the theme and need it fixed please used our tickets support on sourceforge at the following URL:~
http://sourceforge.net/p/chronolabs/tickets/milestone/XOOPS%20Themes/