3Plumes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Query ConfusionThis is what I have:
<?php get_page( $page_id='5' ); while (have_posts()) : the_post();?> <h3><?php the_title(); ?><br /><span>all about the spa and the team</span></h3> <p><?php the_excerpt(); ?></p> <p><a href="<?php the_permalink(); ?>">Continue reading</a></p> <?php endwhile; ?>It only returns the current page though, which is the home page, and not post id #5
Forum: Themes and Templates
In reply to: Shortcode ConfusionOkay, I figured it out. I placed spaces in between the shortcodes (closing and opening), and it started working.
Forum: Fixing WordPress
In reply to: Query ProblemGood point. I added:
'orderby' => 'title', 'order' => 'ASC'Works like a charm. Thanks for the heads up on that.
Cheers
Forum: Fixing WordPress
In reply to: Query ProblemNot sure what caused it. I deleted the page, and re-created it, and now all works well. Thanks again
Forum: Fixing WordPress
In reply to: Query ProblemDefade,
That cleared things up a bit. Thanks! I changed ‘order’ => ‘ASC’ to ‘order’ => ‘title’ and now I get the following: Preview
As you will notice, they’re all sorted by title, except one (which has the same format of a name as the others).
Any ideas why this would be happening?
Figured it out. Although I couldn’t see it, there had to have been spaces there. I followed the directions from the following post:
http://wordpress.org/support/topic/rss2-problem-please-help-me?replies=3