StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 06-20-2009, 11:00 AM
StephanieV StephanieV is offline
Registered User
Pro Plus Member
 
Join Date: Feb 2009
Posts: 96
Default Full post blog functionality on the front page

This may seem like an odd request, and that it might defeat the purpose of such themes, but I'd like to have full post blog functionality on the first page.

In other words, right below the the featured content gallery, in the first content box area, I'd like my blog to begin, the ability to post formatted posts like actual blogs, with time stamps, comments, etc., but still retain the left-aligned thumbnail pic.

Is this even possible?

I'd appreciate any advice. Thank you so much.
  #2  
Old 06-20-2009, 03:12 PM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Full post blog functionality on the front page

Quote:
Originally Posted by StephanieV
This may seem like an odd request, and that it might defeat the purpose of such themes, but I'd like to have full post blog functionality on the first page.
That's not odd. It's thinking outside the box. And it is possible.

WordPress uses a number files to produce the front page of your web site. Among them are header.php which contains the header image and menus right about up to the Featured Content Gallery (FCG). Below that is home.php. And then footer.php comes last. It's not that simple, but that is the order of those files.

If you change the markup after setting the FCG in home.php and if you still call the sidebars and the footer like home.php then you could place just about anything under FCG and get the same look and feel as the Church theme. However, you may need to do some CSS work to make it look right. The page_blog.php file is used to create a blog page. It has a lot of the markup you need to add below FCG.

So, you're going to have to get your hands dirty or you are going to have to hire someone else to get their hands dirty. It depends on how you value your time. It may take a long time for an inexperienced designer to get this just right.

You should know enough about xhtml and CSS to be able to write valid markup. Knowing how to search Google for help and a good text editor are a plus. You will need patience and a good sense of humor.


HTH,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #3  
Old 06-20-2009, 03:20 PM
StephanieV StephanieV is offline
Registered User
Pro Plus Member
 
Join Date: Feb 2009
Posts: 96
Default Re: Full post blog functionality on the front page

Hey, thanks for the thorough reply. Not sure I can accomplish either way. But I guess I'll see what I can do! :?
  #4  
Old 06-20-2009, 04:49 PM
StephanieV StephanieV is offline
Registered User
Pro Plus Member
 
Join Date: Feb 2009
Posts: 96
Default Re: Full post blog functionality on the front page

I've actually almost got this puppy figured out. At least it looks right - haven't completely tested it yet. Now here's a follow-up question:

To achieve this effect, I simply made the archive page the home page, then added in the code for the featured content plugin.

Now, here's the thing: With the archive page now doubling as the blog page on the home page, it's displaying all the categorie and I only need it to display ONE category. So I guess I need a code snippet that will force it to display one category - and of coure the right place to put it.

Any ideas? Thank you in advance!
  #5  
Old 06-20-2009, 08:24 PM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Full post blog functionality on the front page

Quote:
Originally Posted by StephanieV
To achieve this effect, I simply made the archive page the home page, then added in the code for the featured content plugin.
I have created a Monster.


Quote:
Originally Posted by StephanieV
Now, here's the thing: With the archive page now doubling as the blog page on the home page, it's displaying all the categorie and I only need it to display ONE category. So I guess I need a code snippet that will force it to display one category - and of coure the right place to put it.
No. That would be telling. :P


Oh. Alright, but I'll only meet you half way. You have to read how to use this function on your own.

Add the query_post() function above the this line of code:
Code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Like this:
Code:
<?php query_posts('something else goes here and I'm not telling') ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

HTH,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #6  
Old 06-21-2009, 01:12 PM
StephanieV StephanieV is offline
Registered User
Pro Plus Member
 
Join Date: Feb 2009
Posts: 96
Default Re: Full post blog functionality on the front page

nah, doing what you suggested removes all the other categories but the same 10 posts from the desired category repeat on each page.

hmmm...
  #7  
Old 06-21-2009, 04:57 PM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Full post blog functionality on the front page

Quote:
Originally Posted by StephanieV
nah, doing what you suggested removes all the other categories but the same 10 posts from the desired category repeat on each page.

hmmm...
What did you use?
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #8  
Old 06-22-2009, 06:03 AM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Full post blog functionality on the front page

Quote:
Originally Posted by StephanieV
nah, doing what you suggested removes all the other categories but the same 10 posts from the desired category repeat on each page.
Sorry. That's my fault. When I used query_posts() I forgot about paging. We have to retrieve the page number from the previous query first.
Code:
<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=1&showposts=5&paged=$page"); ?>
Where 1 is your category and 5 is the number of posts per page. $page contains the page number of the current page. showposts should match the Genreal->Reading->"Blog pages show at most" setting.


HTH,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
One blog post on front page - confused... mkellam2 General Discussion 4 01-06-2011 09:42 AM
How do I show full post content on front page? onmillertime General Discussion 3 03-12-2010 02:18 PM
show full post on front page evoker General Discussion 3 09-16-2009 08:51 AM


All times are GMT -5. The time now is 02:37 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.