Nichlas
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Pagination problemBump
Forum: Themes and Templates
In reply to: My pagination doesn't show upBump
Forum: Themes and Templates
In reply to: My pagination doesn't show upAnyone?
Forum: Themes and Templates
In reply to: [Luminescence Lite] Remove Post DateOh, I understand.. my bad 🙂
Forum: Themes and Templates
In reply to: [Luminescence Lite] Remove Post DateBut doesn’t that leave a empty space above @StyledThemes? You don’t need that clearfix if you’re removing the date box?
Forum: Themes and Templates
In reply to: Max-width problemSigning off.
Forum: Themes and Templates
In reply to: Max-width problemPerfect! Thank you so much for all your help alchymyth!
Forum: Themes and Templates
In reply to: My pagination doesn't show upHmm, I can’t figure out how to implement both of them.
I tried to make one function journal_pagination() and one work_pagination(), but with no luck. What would be the right way to fix this issue?Forum: Themes and Templates
In reply to: Max-width problemThat actually work well! But I think I might have to add another max-width: 1280px; somewhere, because as you can see now, the single-post view is going 100% without any limit.
Forum: Themes and Templates
In reply to: [Luminescence Lite] Remove Post Datesearch for div.entry-thumbnail.clearfix in your stylesheet and add display: none; to it.
or just add this to your css file and it should work:
div.entry-thumbnail.clearfix { display: none; }Forum: Themes and Templates
In reply to: My pagination doesn't show upAnd in function.php it looks like this:
// Pagination for paged posts, Page 1, Page 2, Page 3, with Next and Previous Links, No plugin function html5wp_pagination() { global $wp_query; $big = 999999999; echo paginate_links(array( 'base' => str_replace($big, '%#%', get_pagenum_link($big)), 'format' => '?paged=%#%', 'current' => max(1, get_query_var('paged')), 'total' => $wp_query->max_num_pages )); }Forum: Themes and Templates
In reply to: My pagination doesn't show upThe pagination.php file looks like this:
<!-- pagination --> <div class="pagination"> <?php html5wp_pagination(); ?> </div> <!-- /pagination -->Forum: Themes and Templates
In reply to: My pagination doesn't show up@alchymyth, heres the full code of the work.php template:
‘<?php /* Template Name: Work */ get_header(); ?>
<main role=”main”>
<!– section –>
<section><?php
$args = array(‘post_type’=> ‘work’);
$the_query = new WP_Query( $args );
if($the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post();?>
<!– article –>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>><!– post title –>
<h1>
” title=”<?php the_title(); ?>”><?php the_title(); ?>
</h1>
<!– /post title –><!– post details –>
<h3><?php the_field(‘client’); ?></h3>
<?php if (get_the_tags()) :?> <li class=”tags”><?php the_tags(‘ #’,’ #’); ?> <?php endif;?>
<!– /post details –><!– project info –>
<p><?php the_field(‘intro’); ?></p>
<!– /project info –><!– gallery –>
<?php$images = get_field(‘gallery’);
if( $images ): ?>
<?php foreach( $images as $image ): ?>
<img src=”<?php echo $image[‘url’]; ?>” alt=”<?php echo $image[‘alt’]; ?>” />
<p><?php echo $image[‘caption’]; ?></p>
<?php endforeach; ?>
<?php endif; ?>
<!– /gallery –><?php the_content(); ?>
</article>
<!– /article –><?php endwhile; ?>
<?php else: ?>
<!– article –>
<article><h2><?php _e( ‘Sorry, nothing to display.’, ‘html5blank’ ); ?></h2>
</article>
<!– /article –><?php endif; ?>
<?php get_template_part(‘pagination’); ?>
</section>
<!– /section –>
</main><?php get_sidebar(); ?>
<?php get_footer(); ?>
‘