crisp82
Forum Replies Created
-
Forum: Plugins
In reply to: Woothemes, YARPP and thumbnailsDoes anyone have any ideas about this? I am really stuck, and passed by PHP ability quite some time ago on this.
Thanks.
Forum: Plugins
In reply to: Woothemes, YARPP and thumbnailsDoes anyone have any ideas about this? I am really stuck, and passed by PHP ability quite some time ago on this.
Thanks.
Forum: Plugins
In reply to: Custom Query and PaginationI resolved this using:
<?php
while (have_posts()) : the_post();$do_not_duplicate = $post->ID; ?>
and using SEO Pager
Forum: Plugins
In reply to: Woothemes, YARPP and thumbnailsAnyone?!
Forum: Plugins
In reply to: Custom Query and PaginationAnyone?!
Forum: Plugins
In reply to: Custom Query and Pagination*bump
Forum: Plugins
In reply to: Woothemes, YARPP and thumbnails*bump
Forum: Themes and Templates
In reply to: PHP code change help needed!This has not worked. The code is in the ‘theme-functions.php’ of the theme I am using (The morning after).
Putting
$the_query = new WP_Query('posts_per_page=10&orderby=post_date&order=desc'); while ($the_query->have_posts()) : $the_query->the_post();
into the home.php will display 10 results, but it does not organise itself based on the CSS as the ‘Latest Post’ section does. Very frustrating!
Forum: Plugins
In reply to: MorningAfter increase latest post count*bump
Forum: Themes and Templates
In reply to: TheMorningAfter – Changing post type on main pageSurely someone can read this better than I can?
Chinmoy, are you able to assist further?
Forum: Themes and Templates
In reply to: TheMorningAfter – Changing post type on main pageCan someone please help with this? I am really stuck!
Forum: Themes and Templates
In reply to: TheMorningAfter – Changing post type on main page*bump. This is proving difficult to figure out. I think it has to do with the $woo_options that I keep seeing pop up in the files.
Can one else assist?
Forum: Themes and Templates
In reply to: TheMorningAfter – Changing post type on main pageI have found the followed code which is retuning the posts as I wanted:
$loop = new WP_Query( array( 'post_type' => 'post', 'posts_per_page' => 10 ) ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); echo '<div class="entry-content">'; the_content(); echo '</div>'; endwhile;
but the formatting is not being applied as per the ‘Latest Post’ section, just below. I have to paste this code before the
<div id="latest_post">
but as such, it is not picking up the formatting. Where do I need to p[lace it to pick up the formatting, but still display the posts?Sorry for the n00b questions.
crisp82
Forum: Themes and Templates
In reply to: TheMorningAfter – Changing post type on main pagechinmoy,
Thanks for the help! Sorry if I am missing something, but I cannot get this to work. I am adding this into the ‘home.php’, just above the <div=class> tag, in the same place as it is for the featured posts. This results in just outputting the code to the screen, while placing it any higher in the page nothing happens.
Is this a result of the custom post types used in this theme?
crisp82
Forum: Themes and Templates
In reply to: the morning after – problem with header search and linksCan you link to your site? I am using this theme and had a similar issue with the image.