- Remember to exclude the sitemap from caching, search and the sitemap itself!
-
- and exclude only the pages you don`t wnt wto exclude
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul li{ | |
margin-bottom: 10px; | |
padding-left:10px; | |
} | |
ul li:before{ | |
background:url("img/spriteNAME.png") no-repeat XXpx XXpx; | |
width:XXpx; | |
height:XXpx; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide for all Screenreaders http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */ | |
.hidden { | |
display:none; | |
visibility:hidden; | |
} | |
/* Hide visually but read in Screenreaders http://webaim.org/techniques/css/invisiblecontent/ */ | |
.screen-reader-text { | |
position:absolute; | |
left:-10000px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Google CSE | |
*/ | |
.block-search-form{ | |
float: right; | |
} | |
.form-item-search-block-form{ | |
width:auto; | |
} | |
.google-cse{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* implements hook_css_alter() | |
*/ | |
function YOURTHEMENAME_css_alter(&$css) { | |
// Installs the jquery.ui themeroller theme to the theme. | |
if (isset($css['misc/ui/jquery.ui.theme.css'])) { | |
$css['misc/ui/jquery.ui.theme.css']['data'] = drupal_get_path('theme', 'YOURTHEMENAME') . '/css/jquery-ui.custom.min.css'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function YOURTHEMENAME_preprocess_page(&$vars, $hook) | |
{ | |
// jQuery - diese Scripte fuer alle Seiten einbinden | |
drupal_add_js(drupal_get_path('theme', 'YOURTHEMENAME') . '/js/sidewide.js', array('scope' => 'footer', 'weight' => 80)); | |
// jQuery - diese Scripte nur auf Startseite einbinden | |
if ($vars['is_front']) { | |
drupal_add_js(drupal_get_path('theme', 'YOURTHEMENAME') . '/js/plugin.js'); | |
drupal_add_js(drupal_get_path('theme', 'YOURTHEMENAME') . '/js/script.js', array('scope' => 'footer', 'weight' => 99)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body class="<?php echo $page->uid() ?>"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag | |
/** | |
* Featured Image linking to Post's single page. | |
*/ | |
function sk_do_post_image() { | |
$image_args = array( | |
'size' => 'full', | |
'attr' => array( |
OlderNewer