Skip to content
Permalink
Browse files

Fix header, fix Twitter

  • Loading branch information...
ronilaukkarinen committed Aug 6, 2019
1 parent cfddeb6 commit 3af1d51a7e00d0bdf68bbc18d7554db572e86878
Showing with 17 additions and 6 deletions.
  1. +14 −3 header.php
  2. +2 −2 js/all.js
  3. +1 −1 js/src/scripts.js
@@ -22,11 +22,22 @@
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo get_template_directory_uri(); ?>/images/icon-retina.png">

<?php wp_head(); ?>

<?php if ( is_singular() ) : ?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-8523880252818258",
enable_page_level_ads: true
});
</script>
<?php endif; ?>

</head>

<body <?php body_class(); ?>>
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'khonsu' ); ?></a>
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'khonsu' ); ?></a>

<?php if ( ! is_single() ) : ?>
<header class="site-header" itemscope itemtype="http://schema.org/WPHeader">
@@ -76,12 +87,12 @@
) ); ?>

</nav><!-- #site-navigation -->
</div><!-- .container -->
</div><!-- .container -->
</div><!-- .silver-lining -->
<?php endif; ?>
</div><!-- .header-inner-->

</header>
<?php endif; ?>

<div id="content" class="site-content">
<div id="content" class="site-content">

Large diffs are not rendered by default.

@@ -58,7 +58,7 @@
$(function() {

// RSS feeds on front page
$('.block-network .column-twitter').rss('https://twitrss.me/twitter_search_to_rss/?term=from%253Arolle', { limit: 2, ssl: true, layoutTemplate: '<div class="column column-twitter">{entries}</div>',
$('.block-network .column-twitter').rss('https://twitrss.me/mobile_twitter_to_rss/?user=rolle', { limit: 2, ssl: true, layoutTemplate: '<div class="column column-twitter">{entries}</div>',
entryTemplate: '<h4><a href="{url}">{title}</a></h4><div class="meta"><div class="meta-avatar" style="background-image: url(\'https://www.rollemaa.fi/content/themes/khonsu/images/avatar-twitter.jpg\');"></div><div class="meta-title-stuff"><h5><a href="https://twitter.com/rolle">@rolle Twitterissä</a></h5><h6><time datetime="{date}">{date}</time></h6></div></div>', dateFormat: 'D.M.Y', effect: 'show'
});
$('.block-network .column-huurteinen').rss('https://www.huurteinen.fi/feed/', { limit: 1, ssl: true, layoutTemplate: '<div class="column">{entries}</div>',

0 comments on commit 3af1d51

Please sign in to comment.
You can’t perform that action at this time.