NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<?php get_header(); ?>

<?php
// get options
$pinthis_posts_in_same_cat = get_option('pbpanel_posts_in_same_cat');
$pinthis_banner_position_1 = get_option('pbpanel_banner_position_1');
$pinthis_banner_position_2 = get_option('pbpanel_banner_position_2');
?>

<section id="content">
<div class="container clearfix">
<?php if (strlen($pinthis_banner_position_1) > 0) { ?>
<div class="banner banner-position-1">
<?php echo html_entity_decode(stripslashes_deep($pinthis_banner_position_1), ENT_QUOTES); ?>
</div>
<?php } ?>
<div class="postWrap">

<div <?php post_class(); ?>>
<div class="contentbox">
<?php while (have_posts()) { the_post(); ?>
<?php
pinthis_setPostViews(get_the_ID());

if ($pinthis_posts_in_same_cat == 1) {
$pinthis_posts_in_same_cat_var = true;
} else {
$pinthis_posts_in_same_cat_var = false;
}
?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- skdkmd -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8096022772769153"
data-ad-slot="7957495814"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br>
<div class="topbar">
<ul class="navbtns">
<li>
<?php if (get_previous_post($pinthis_posts_in_same_cat_var)) {
previous_post_link('%link', __('Previous post', 'pinthis'), $pinthis_posts_in_same_cat_var);
} else {
echo '<span class="no-link">' . __('Previous post', 'pinthis') . '</span>';
} ?>
</li>
<li>
<?php if (get_next_post($pinthis_posts_in_same_cat_var)) {
next_post_link('%link', __('Next post', 'pinthis'), $pinthis_posts_in_same_cat_var);
} else {
echo '<span class="no-link">' . __('Next post', 'pinthis') . '</span>';
} ?>
</li>
</ul>
<p class="space border-color-5">&nbsp;</p>
</div>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- skdkmd -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8096022772769153"
data-ad-slot="7957495814"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<?php
$pinthis_video_url = get_post_meta($post->ID, 'video_url', true);
$pinthis_video_aspect_ratio = get_post_meta($post->ID, 'video_aspect_ratio', true);
$pinthis_video_width = 1033;
?>

<?php if (has_post_format('video') && $pinthis_video_url != '') { ?>
<div class="featured-video
<?php
if ($pinthis_video_aspect_ratio == '16:9') {
echo ' ar-16-9';
} elseif ($pinthis_video_aspect_ratio == '4:3') {
echo ' ar-4-3';
}
?>
<?php
if (strpos($pinthis_video_url, 'youtube') > 0 || strpos($pinthis_video_url, 'vimeo') > 0) {
echo ' remote-video';
}
?>
">
<?php
if (strpos($pinthis_video_url, 'youtube') > 0) {
echo wp_oembed_get($pinthis_video_url, array('rel' => 0, 'showinfo' => 0));
} elseif (strpos($pinthis_video_url, 'vimeo') > 0) {
echo wp_oembed_get($pinthis_video_url);
} else {
// get poster
$img = '';
if (has_post_thumbnail()) {
$img = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'pt-single');
}
if ($img[0] != '') {
$pinthis_video_poster = $img[0];
} else {
$pinthis_video_poster = '';
}
// check video format
$pinthis_video_extension = substr($pinthis_video_url, strrpos($pinthis_video_url, '.') + 1);
$pinthis_video_format = strtolower($pinthis_video_extension);
$pinthis_supported_video_formats = array('mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv');
if (in_array($pinthis_video_format, $pinthis_supported_video_formats)) {
echo do_shortcode('[video width="' . $pinthis_video_width . '" src="' . $pinthis_video_url . '" poster="' . $pinthis_video_poster . '"][/video]');
}
}
?>
</div>
<?php } else { ?>
<?php if (has_post_thumbnail()) { ?>
<p class="featured-image">
<?php
$img = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), 'pt-single');?>
<?php if ($img[0] != '') { ?>
<img src="<?php echo $img[0]; ?>" width="<?php echo $img[1]; ?>" height="<?php echo $img[2]; ?>" alt="<?php the_title(); ?>">
<?php } else {
the_post_thumbnail('full');
} ?>
</p>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- skdkmd -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8096022772769153"
data-ad-slot="7957495814"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

<?php } ?>
<?php } ?>
<?php
$pinthis_audio_url = get_post_meta($post->ID, 'audio_url', true);
?>
<?php if (has_post_format('audio') && $pinthis_audio_url != '') { ?>
<div class="featured-audio">
<?php
// check video format
$pinthis_audio_extension = substr($pinthis_audio_url, strrpos($pinthis_audio_url, '.') + 1);
$pinthis_audio_format = strtolower($pinthis_audio_extension);
$pinthis_supported_audio_formats = array('mp3', 'm4a', 'ogg', 'wav', 'wma');
if (in_array($pinthis_audio_format, $pinthis_supported_audio_formats)) {
echo do_shortcode('[audio src="' . $pinthis_audio_url . '"][/audio]');
}
?>
</div>
<?php } ?>
<?php
$external_link = get_post_meta($post->ID, 'external_link', true);
$external_link_title = get_post_meta($post->ID, 'external_link_title', true);

$pinthis_quote_text = get_post_meta($post->ID, 'quote_text', true);
$pinthis_quote_author = get_post_meta($post->ID, 'quote_author', true);
?>
<?php if (has_post_format('quote') && $pinthis_quote_text != '') { ?>
<blockquote class="quote-block clearfix">
<p class="quote-text"><?php echo $pinthis_quote_text; ?></p>
<?php if ($pinthis_quote_author != '') { ?>
<p class="quote-author"><?php echo $pinthis_quote_author; ?></p>
<?php } ?>
</blockquote>
<?php } else { ?>
<h1 class="title-3 <?php if ($external_link && '' != $external_link) { ?>have-button<?php } ?>">
<?php if ($external_link && '' != $external_link) { ?>
<a href="<?php echo pinthis_addScheme($external_link); ?>" class="button button-color-1 button-size-small fright" target="_blank">
<?php
if ($external_link_title && '' != $external_link_title) {
echo $external_link_title;
} else {
echo str_replace('http://', '', $external_link);
}
?>
</a>
<?php } ?>
<a href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a>
</h1>
<?php } ?>
<div class="metabar data clearfix">
<?php if (is_sticky()) { ?>
<span class="ribbon"><?php echo __('Sticky', 'pinthis'); ?></span>
<?php } ?>
<ul class="postmetas">
<li class="tooltip" title="<?php echo __('Post date', 'pinthis'); ?>"><span class="icon-post-date-2"><?php echo get_the_date('d.m.Y'); ?></span></li>
<li><span class="icon-author"><?php the_author_posts_link(); ?></span></li>
<li class="tooltip" title="<?php echo __('Total comments', 'pinthis'); ?>"><span class="icon-total-comments-2"><?php comments_number('0', '1', '%'); ?></span></li>
</ul>
<ul class="social-media-icons clearfix">
<li><a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo get_permalink(); ?>" class="border-color-3 icon-facebook tooltip" title="<?php echo __('Share on Facebook', 'pinthis'); ?>" target="_blank"><?php echo __('Facebook', 'pinthis'); ?></a></li>
<li><a href="https://plus.google.com/share?url=<?php echo get_permalink(); ?>" class="border-color-1 icon-gplus tooltip" title="<?php echo __('Share on Google+', 'pinthis'); ?>" target="_blank"><?php echo __('Google+', 'pinthis'); ?></a></li>
<li><a href="https://twitter.com/share?url=<?php echo get_permalink(); ?>" class="border-color-4 icon-twitter tooltip" title="<?php echo __('Share on Twitter', 'pinthis'); ?>" target="_blank"><?php echo __('Twitter', 'pinthis'); ?></a></li>
</ul>
</div>
<?php if (strlen($pinthis_banner_position_2) > 0) { ?>
<div class="banner banner-position-2">
<?php echo html_entity_decode(stripslashes_deep($pinthis_banner_position_2), ENT_QUOTES); ?>
</div>
<?php } ?>
<?php if (strlen($post->post_content) > 0) { ?>
<?php } ?>
<?php wp_link_pages(array(
'before' => '<div class="page-links">' . __('Pages:&nbsp;', 'pinthis' ),
'after' => '</div>',
'link_before' => '<span class="page-num">',
'link_after' => '</span>',
));
?>
<?php if (has_category('', $post->ID)) { ?>
<p class="categories"><?php echo __('Categories: &nbsp;', 'pinthis'); ?> <?php the_category(', '); ?></p>
<?php } else { ?>
<p class="categories"><?php echo __('No categories', 'pinthis'); ?></p>
<?php } ?>
<?php if (get_the_tags()) { ?>
<div class="tags">
<p><?php the_tags('Tags: &nbsp;', ', ', ''); ?> </p>
</div>
<?php } ?>
<?php comments_template(); ?>
<?php } ?>
</div>
</div>
</div>
<aside class="sidebar">
<?php if (is_active_sidebar('page-sidebar')) { ?>
<?php dynamic_sidebar('page-sidebar'); ?>
<?php } else { ?>
<div class="contentbox">

<h4 class="title-1 border-color-2"><?php echo __('Meta', 'pinthis'); ?></h4>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</div>
<?php } ?>
</aside>
</div>
</section>

<?php get_footer(); ?>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.