Full Post Showing Where Only A Portion Should
I’m creating and building a custom Theme for a client. I’m using home.php for the “main” page. I’m using page.php to display a couple of mostly static pages. Both the home.php and the page.php pull in the same sidebar.php. When the home.php pulls in the sidebar it works as it should and displays a portion of a particular post. However, when the page.php pulls in the exact same sidebar it displays the entire post, instead of just a portion of it. I’m using the <!–more–> tag in the post to control what portion should show up on the page. I don’t understand why it works on the home.php page, but not on the page.php page since they are both using the exact same code via the sidebar.php page. Any help or insight would be greatly appreciated. You can see it here: http://www.redpepperinc.com/theseed . If you click on “contribute” in the top left corner you’ll see the same sidebar on the Contribute page but see it’s pulling in the entire post, not just the portion the Home page pulls in. Thanks for any help!
- The topic ‘Full Post Showing Where Only A Portion Should’ is closed to new replies.