Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Single Post on Front Page


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 22, 2009, 09:35 AM
bplazar
 
39 posts · Oct 2009
I'm really struggling with putting a single "featured post" on my home page. I've tried making a specific category for the post and tried modifying index.php to use query_posts with a category parameter but for some reason Atahualpa doesn't seem to finish the page when I do that.

I saw in another post a recommendation to use cat2page but that plugin is very out of date and doesn't seem to provide the effect that I need.

Is there a reason why we can't use query_posts with Atahualpa? What other option is suggested for this functionality?

Right now I have the look and feel I want because wordpress is set to only show 1 post - the problem with that is the archive pages only show 1 post as well so this isn't the solution.

Please help!

coloradoanimalwelfare.org
  #2  
Old Dec 22, 2009, 10:45 AM
lmilesw's Avatar
lmilesw
 
10,083 posts · Jul 2009
Central New York State USA
You could try Sticky Front Page Categories and Tags
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Dec 22, 2009, 11:28 AM
juggledad's Avatar
juggledad
 
22,176 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
There is a post in the gold forums about ' How to: Create a announcement box at the top of the center column of the landing page' which works by defining a category that will go there and just adding a post to that category and then it is displayed.
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #4  
Old Dec 30, 2009, 03:58 PM
bplazar
 
39 posts · Oct 2009
I guess I'm out of luck. Sticky Front Page seems to remove almost everything else from my front page and I'm $15 short of getting into the gold forum. I volunteer my time to update this particular website for a dog rescue that is just starting up. Frustrating that query_posts just won't work on this theme.

Thanks for the suggestions.
Beth
  #5  
Old Dec 30, 2009, 05:25 PM
bplazar
 
39 posts · Oct 2009
Actually, I think I have it figured out. Thanks again everyone for your help!
  #6  
Old Dec 30, 2009, 05:37 PM
lmilesw's Avatar
lmilesw
 
10,083 posts · Jul 2009
Central New York State USA
Are you looking to only have one article/post on the front page or if a featured post plus others under it is OK you could just use the sticky post function. Do you have an example of what you are trying to accomplish?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Dec 30, 2009, 06:14 PM
bplazar
 
39 posts · Oct 2009
They were asking for a single story on the home page. I did figure it out though. Thank you!!!
  #8  
Old Dec 30, 2009, 06:24 PM
lmilesw's Avatar
lmilesw
 
10,083 posts · Jul 2009
Central New York State USA
Would you mind sharing your "fix"?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Dec 31, 2009, 08:36 AM
bplazar
 
39 posts · Oct 2009
I found this code in an old forum post:

<?php if ( is_front_page() ) { ?>
<div class="ec3ctr">
<div class="announce">
<?php $my_query = new WP_Query('category_name=announcements&showposts=1' );
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
</div>
<?php endwhile; ?>
</div>
</div>
<?php } ?>

I put it in the Content ABOVE the LOOP and added an announcements category. It seemed to do what I wanted it to do.
  #10  
Old Dec 31, 2009, 10:34 AM
lmilesw's Avatar
lmilesw
 
10,083 posts · Jul 2009
Central New York State USA
I know you got it figured out but here is a plugin I had forgotten about. Opt-In Front Page. I lets you choose which category of posts will show on the front page and if there are no posts the front page resorts to regular blog function.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Adding 'signature' (image) under each post, but only on single-post page AnneTanne Atahualpa 3 Wordpress theme 4 Aug 24, 2009 11:47 AM
Adding signature under single post, not on frontpage /multiple-post page AnneTanne Post-Kicker, -Byline & -Footer 0 Aug 19, 2009 02:16 PM
Archive page shows post box help, and single post on front page help boberang Atahualpa 3 Wordpress theme 0 Aug 7, 2009 09:26 AM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 02:58 PM
I'd like more than 1 post on the front page cdg Atahualpa 3 Wordpress theme 1 Dec 17, 2008 09:45 AM


All times are GMT -6. The time now is 06:17 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.