|
|||||||
| Newbie Questions New to the whole making money online and developing your own sites thing? Post your questions here so that seasoned members can answer your questions. Please keep your questions out of the other categories. We know you're a newbie, but there's no reason to be annoying. |
|
Welcome to the WickedFire - Affiliate Marketing Forum - Internet Marketing Webmaster SEO Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
|
I am having trouble limiting the number of recent posts to 5. I tried modifying the code without any success. Any ideas? If you have something smart to say, go fuck yourself! Thanks in advance for your help.
<li class="posts"><h2>Recent Posts</h2> <ul> <?php global $opt; $recentposts = new WP_query(); $recentposts->query('showposts='.$opt['posts'].'&orderby=date&order=DESC&limit=5'); ?> <?php while ($recentposts->have_posts()) : $recentposts->the_post(); ?> <li><div class="r_time"><?php the_time('d F Y'); ?></div><h1 class="r_head"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1></li> <?php endwhile; ?> </ul> </li> |
|
|
|
|
#2 (permalink) |
|
Member
|
Use the Recent Posts Plugin.
|
|
|
|
|
#3 (permalink) |
|
BuildAndEarn
|
You can do this in the admin settings:
wp-admin > settings > reading > Blog Pages Show At Most: 5 posts
__________________
BuildAndEarn.com - My Affiliate Blog Phandroid.com - Android Phones Rule AndroidForums.com - Android Forums (duh!) |
|
|
|
|
#7 (permalink) |
|
Junior Member
|
The site is Tasty Tofu Recipes
|
|
|
|
|
#10 (permalink) |
|
BuildAndEarn
|
Wait what?
wp-admin > appearance > widgets > Recent Posts number of recent posts to show: 5 Either I'm missing something or you really are retarded.
__________________
BuildAndEarn.com - My Affiliate Blog Phandroid.com - Android Phones Rule AndroidForums.com - Android Forums (duh!) |
|
|
|
|
#11 (permalink) |
|
He is - THE CACTUS!
|
Can't comment, because all the answers I can think of have been said, but dude, your site needs a better theme.
It could be a really great site, because the vegetarian market is huge (most of my friends nowadays... pussies), but it's ugly as sin. Here's Template Monster's foody templates for Wordpress: Food & Drink Web Templates | Food & Drink Flash Templates | Template Monster (no aff link) #20497 and #13713 strike me as suitable. Then maybe get a script that'll change the header image to match one you've linked to the article, so you can use shots of each dish... Or just slap them into the article main.
__________________
After 10,000 years I'm free! |
|
|
|
|
#12 (permalink) |
|
Junior Member
|
trigatch4 - I tried changing it in admin bro and thats all good. So I'm a little lost what else to do. I thought I had checked that anyways.
HarveyJ - Thanks for the tips. And your right vegetarian/vegan market is huge. I might fuck around in this niche a little bit. I've been more than pleased with how things are going. I didnt create this site until last Sunday! Already getting over 100 uniques a day! I have been looking at different affiliate offers and think dieting and beauty might be a winner. Seems like mostly women are vegetarians and vegans. But anyways thanks to everyone for all your help |
|
|
|
|
#13 (permalink) |
|
Flaming panties
|
Unlike Harvey, I like your site but you have too much clutter above the fold. You need to direct your visitors toward your content first, and the large tag widget and clunky Adsense table keeps people from seeing the recipes. You're using the tag cloud widget twice. Why do you need two? The one in the right sidebar is ok.
Experiment with different placements and styles, like the 468x15 Adsense link bar stealthily placed. In general, the layout and ads need a more organized arrangement. I once made tofu at home from a mix that I bought in Chinatown. Good luck bro.
__________________
Better copy = More sales I write sales copy that moves the numbers. Review thread here Try Article Marketing Robot FREE |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WTS: Wordpress Theme Sponsor Links | bam bam | Sell, Buy & Trade | 0 | 05-18-2008 07:51 AM |
| Advertising Banner Center Issue on Sidebar of Wordpress Site | jeremybain | Design, Development & Programming | 0 | 03-07-2008 09:54 PM |
| wordpress or WP-o-Matic issue | ehaze | Newbie Questions | 5 | 11-15-2007 03:40 PM |
| WordPress MU | jerxs | Shooting The Shit | 21 | 04-23-2007 11:29 AM |
| The Official WordPress Thread | yoink*gasp* | Newbie Questions | 8 | 02-17-2007 10:23 PM |