i set the this plugin to look back 1000 days…and it shows i have no posts with no views
i still can’t see images when i switched to recent posts…
since i have many posts, with multiple views, where has wordpress failed?
cheers
andy b
]]><?php echo do_shortcode('[recent_post_carousel]'); ?>
very easy to my theme.
Thank you very much dev team this is beautiful.
]]>I customized all my website using the options of the theme, but I am not succeeding in customizing the homepage. I used the “static page” with the header and the post slider, but below the slider I wanted to put the recent posts as it is in the demo (https://demo.themegrill.com/cenote/) with a big post and the others below, smaller.
Can you help me? Is there an option to do this or at least to put the recent posts one after the other?
Thank you
Lucia
By the way, I added this code to the header.php (after </head> tag!):
]]><xmp>
<div id=”recentposts”><ul class=”thumb_recent”> <h1>Recent Posts:</h1>
<?php query_posts(‘showposts=5’); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php $thumbnail = get_post_meta($post->ID, ‘post_thumbnail’, true); ?>” title=”<?php the_title(); ?>”>
<img src=”<?php echo $thumbnail; ?>” alt=”<?php the_title(); ?>” />
<span><?php the_title(); ?></span><?php endwhile; endif; ?>
</div></xmp>
I have some searching for a solution to my problem here, I have found a few articles and threads that are sniffing around the solution, I’m having trouble pulling it all together though.
I want to create a pagination menu on the homepage that has 2 custom query loops. I’m using the following code to call the 1st column of posts:
<?php
$recentPosts = new WP_Query();
$recentPosts->query('showposts=8orderby=date');
while ($recentPosts->have_posts()) : $recentPosts->the_post();
?>
and the following code to call second column of posts:
<?php
$recentPosts = new WP_Query();
$recentPosts->query('showposts=8&offset=8');
while ($recentPosts->have_posts()) : $recentPosts->the_post();
?>
When I use wordpress’s own pagination and PagNavi plugin the query is just repeated so only the first 16 posts in the loop will be displayed regardless of using the pagination menu.
What modifications do I need to make to this query so when a request is made for the 2nd ‘page’ of news stories WP knows to move onto the next 16 posts and not repeat the same most recent 16.
The site where this code is running is live at : LOCWS International
If I have omitted anything here, please let me know and I will hopefully be able to shed some light on it. Thanks for your time and help.
Lawrence
]]>I’m trying to figure out how to edit my Recent Posts widget with an RSS icon and a link to my feed, similar to the sidebar at the K2 site.
Does anyone know how to do this, or have examples of the code? I tried editing theloop.php but didn’t know what I was doing.
Thanks
]]>