Where can I find the permalink settings? It’s nowhere in the Download settings.
1. Ohh, never had problems before so thougt I did something wrong, np.
2. >_< need to edit all my files now. – EDIT: Just edited all files, still can download as guest.
3. Thank you.
4. How do I enable nivo lightbox? If I disable ColorBox it uses nothing and just loads the image in the screen.
5. Thank you.
Thank you for the reply!!
1. Problem fixed itself, seems to display correct now.
2. Thank you, didn’t know where to get the ‘field_id’ so I use this code now wich works perfect.
<a href="<?php echo get_post_meta($post->ID, 'Get Support', true); ?>" target="_blank"><?php echo get_post_meta($post->ID, 'Get Support', true); ?></a>
3. The link is using this class:
.sidebar a, a.btn-link, a {
So if I change the CSS to this:
background-color: #2ecc71; color: #ffffff; border: 0; padding: 14px 25px; font-size: 14px; font-family: 'Montserrat', sans-serif; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; text-transform: uppercase; font-weight: 700; font-size: 12px; padding: 8.3px 16px; border-radius: 3px; border: 0 !important;
It shows normal links as buttons aswell…
4. I know but how could I center the element?
Yes indeed, that was the problem, thanks for the reply ๐
Anyone?
I tried this code but it doesn’t seem to work.
<div class="row" id="content-area">
<?php
global $post;
$z = 0;
query_posts('post_type=wpdmpro&paged='.get_query_var('paged'));
while (have_posts()): the_post();
if($z++<2){
?>
<div class="col-md-6 col-sm-6">
<div class="thumbnail package-block" id="p-<?php echo get_the_ID(); ?>">
<div class="relative">
<a href="<?php the_permalink(); ?>"><?php centrino_post_thumb(array(600, 200)); ?></a>
<div class="mask">
<div class="maskin">
<h3><a href='<?php the_permalink(); ?>'><?php the_title(); ?></a></h3>
<ul>
<li><i class="fa fa-cog"></i> <?php echo wpdm_package_size(get_the_ID()); ?></li>
<li><i class="fa fa-th-list"></i> <?php echo wpdm_package_filecount(get_the_ID()); ?> file(s)</li>
<li><i class="fa fa-calendar"></i> <?php echo get_the_date(); ?></li>
</ul>
</div>
</div>
</div>
<div class="meta text-right">
<div class="package-rating pull-left">
<?php if (function_exists('wpdm_package_rating_avg')) wpdm_package_rating_avg(get_the_ID()); ?>
</div>
<i class="fa fa-download"></i> <?php echo $dc = number_format(intval(get_post_meta(get_the_ID(), '__wpdm_download_count', true)), 0, '', ','); ?>
<i class="fa fa-eye"></i> <?php echo get_post_meta(get_the_ID(),'__wpdm_view_count',true); ?>
</div>
</div>
</div>
<?php } else { ?>
<div class="col-md-<?php echo wpeden_get_theme_opts('homepage_np_grids', 3); ?> col-sm-4 col-xs-6">
<div class="thumbnail package-block" id="p-<?php echo get_the_ID(); ?>">
<div class="relative">
<a href="<?php the_permalink(); ?>"><?php centrino_post_thumb(array(300, 300)); ?></a>
<div class="mask">
<div class="maskin">
<h3><a href='<?php the_permalink(); ?>'><?php the_title(); ?></a></h3>
<ul>
<li><i class="fa fa-cog"></i> <?php echo wpdm_package_size(get_the_ID()); ?></li>
<li><i class="fa fa-th-list"></i> <?php echo wpdm_package_filecount(get_the_ID()); ?> file(s)</li>
<li><i class="fa fa-calendar"></i> <?php echo get_the_date(); ?></li>
</ul>
</div>
</div>
</div>
<div class="meta text-right">
<div class="package-rating pull-left">
<?php if (function_exists('wpdm_package_rating_avg')) wpdm_package_rating_avg(get_the_ID()); ?>
</div>
<i class="fa fa-download"></i> <?php echo $dc = number_format(intval(get_post_meta(get_the_ID(), '__wpdm_download_count', true)), 0, '', ','); ?>
<i class="fa fa-eye"></i> <?php echo get_post_meta(get_the_ID(),'__wpdm_view_count',true); ?>
</div>
</div>
</div>
<?php } endwhile; ?>
</div>
</div>
</div>
</div>
<div class="text-center container">
<br/>
<button class="btn btn-primary btn-sm" id="loadmore" rel="2">Load More ...</button>
</div>
</div>