RootsRebel
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: Problem Sorting Posts By Category With PHPThis didn’t show up correctly. Try again:
<div class="sort-nav-wrap"> <?php $taxonomies = array( 'category' ); $args = array( 'exclude' => array(1) ); $terms = get_terms($taxonomies, $args); if ( !empty( $terms ) && !is_wp_error( $terms ) ) { ?> <ul class="sort-nav nav"> <?php foreach ( $terms as $term ) { ?> <li><a href="#" data-filter="<?php echo $term->term_id; ?>"><?php echo $term->name; ?></li></a> <?php } ?> </ul> <?php } ?> </div> <div class="article-container hidden"> <div class="article-content-grid"> <?php $args = array( 'posts_per_page' => 9, 'order' => 'DESC', 'orderby' => 'post_date' ); $postslist = get_posts( $args ); foreach ( $postslist as $post ) : setup_postdata( $post ); ?> <div class="grid-article <?php the_category_class(); ?>"> <?php if ( has_post_thumbnail() ): ?><img src="<?php grid_thumbnail(); ?>" alt="" /><?php endif; ?> <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4> <?php $content = get_the_content(); echo wp_trim_words( $content , '20' ); ?> <div class="btn-wrap"><a href="<?php the_permalink(); ?>" class="callout-link">Read More</a></div> </div> <?php endforeach; wp_reset_postdata(); ?>
Forum: Fixing WordPress
In reply to: Create New WP Site From Static Site With New HostWell. As luck would have it my issues resolved right as I clicked “Post”.
Yay! and *sigh*
Forum: Installing WordPress
In reply to: WordPress, Domain, and Nameserver Issue/QuestionTrust me I know about waiting extended time periods for things like this (domain transfers etc.). However, in the past when I’ve changed DNS it has taken no more than 2 hours. This is why 24 hours seems like a long time to me.
Thanks for the input. It’s not that imminent really, I was just more curious whether I missed a step or didn’t do something correctly.
Viewing 3 replies - 1 through 3 (of 3 total)