markk26
Forum Replies Created
-
Forum: Plugins
In reply to: [Playbuzz] It don′t working !Forum: Plugins
In reply to: [WP-PostViews] StoppedYes, Iam using w3 total cache ..
I disabled the plugin W3 Total Cache Cahe and auditioned!
Although the message appears : successful, no image or url of the post is visible in the admin panel!The free plan only allows sending up to 100 mb
Does the plugin does not work with free plan Cloudflare?
Forum: Plugins
In reply to: [WP-PostViews] It doesn't work in my themaNow how to translate the word :¨ views¨ to Brazilian Portuguese (pt_BR)?
Forum: Plugins
In reply to: [WP-PostViews] It doesn't work in my themaIt worked! Thank you!
Forum: Plugins
In reply to: [WP-PostViews] It doesn't work in my themamy index.php:
<?php while ( have_posts() ) { the_post(); ?>
<article class=”pinbox”>
<div <?php post_class(); ?>>
<?php if (is_sticky()) { ?>
<span class=”ribbon”><?php echo __(‘Sticky’, ‘pinthis’); ?></span>
<?php } ?>
<!–
<div class=”category”>
<p><?php the_category(‘, ‘); ?></p>
</div>
–>
<div class=”preview”>
<p class=”thumb”>
” title=”<?php the_title(); ?>”>
<?php if (has_post_thumbnail()) { ?>
<?php
$large_image_url = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), ‘full’);
$params = array(‘width’ => 236);
$img = bfi_thumb($large_image_url[0], $params);
if ($img) {
list($width, $height) = getimagesize($img);
?>
<img src=”<?php echo $img; ?>” width=”236″ height=”<?php echo $height; ?>” alt=”<?php the_title(); ?>”>
<?php
} else {
the_post_thumbnail(‘medium’);
}
?>
<?php } else { ?>
<img src=”<?php echo get_template_directory_uri(); ?>/images/no-image.png” width=”236″ height=”236″ alt=”<?php the_title(); ?>”>
<?php } ?>
</p>
</div>
<div class=”title”>
<h2 class=”title-2″>“><?php the_title(); ?></h2>
</div>
<div class=”excerpt”>
<?php pinthis_post_excerpt_length(the_excerpt()); ?>
</div>
<div class=”meta-data”>
<ul class=”clearfix”>
<li class=”border-color-1 tooltip” title=”<?php echo __(‘Total comments’, ‘pinthis’); ?>”><span class=”icon-total-comments”><?php comments_number(‘0’, ‘1’, ‘%’); ?> </span>
<li class=”border-color-2 tooltip” title=”<?php echo __(‘Post date’, ‘pinthis’); ?>”><span class=”icon-post-date”><?php echo get_the_date(‘d.m.y’); ?></span></div>
</div>
</article>
<?php } ?>
</div>
<?php
ob_start();
posts_nav_link(‘ ‘, __(‘Previous Page’, ‘pinthis’), __(‘Next Page’, ‘pinthis’));
$pinthis_posts_nav_link = ob_get_clean();
?>
<?php if(strlen($pinthis_posts_nav_link) > 0) { ?>
<div class=”container”>
<div class=”posts-navigation clearfix <?php if ($pinthis_infinite_scroll == 1) { ?>hide<?php } ?>”><?php echo $pinthis_posts_nav_link; ?></div>
</div>
<?php } ?>
<?php } else { ?>
<div class=”notification-body”>
<p class=”notification tcenter”><?php echo __(‘No posts found.’, ‘pinthis’); ?></p>
</div>
<?php } ?>
</div>
</section><?php get_footer(); ?>