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
Prev Previous Post   Next Post Next
  #1  
Old 09-18-2012, 05:50 AM
whiskymac whiskymac is offline
Registered User
Genesis Member
 
Join Date: Feb 2012
Posts: 155
Default Updating Code

Hi,

I've been using Genesis tabs on a practise site which has been styled in the plugin css etc. I was given a piece of code from someone so that instead of one post being shown, multipule would be shown in different boxes and was told to add it to home.php

PHP Code:
<?php
// retrieve one post with an ID of 5
query_posts'p=5' );

// set $more to 0 in order to only get the first part of the post
global $more;
$more 0;

// the Loop
while (have_posts()) : the_post();
the_content'Read the full post »' );
endwhile;
?>
But i'm not too sure where abouts in home.php this would go. Does any one have any idea where this should go in the file?

Thanks
John
 

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
updating post button not updating 90% of time restmin General Discussion 3 05-08-2009 03:25 PM
Changing Code using Editor - only displaying code for CSS Darlene Darragh General Discussion 8 04-15-2009 06:16 PM


All times are GMT -5. The time now is 12:32 PM.

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