StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Sidebar gets under de content when adding code (http://www.studiopress.com/support/showthread.php?t=10079)

Marcoayuso 06-20-2009 05:39 PM

Sidebar gets under de content when adding code
 
Hi!

I added to page_blog.php the code to make the 'Read More' tag work...

<?php global $more; $more = 0; ?>

But when I do, the sidebar appears under the content. If I remove it, it goes back to where it should be.

Any idea why this is happening???

My website is http://www.elpoderdelaprincesa.com/blog

Thanks!
Marco

CharlesClarkson 06-21-2009 03:29 AM

Re: Sidebar gets under de content when adding code
 
Quote:

Originally Posted by Marcoayuso
But when I do, the sidebar appears under the content. If I remove it, it goes back to where it should be.

That's not the only thing happening, right?

This code forces Read More to work on the home page. The things on the page that are being added or being removed are causing the problem. The best way to determine which part is causing problems is to compare the two results of running with and without this code. Compare the source of each result to each other. That's where the problem is.

Do you know how to view the source of a web page?

Did you compare the sources of each resulting web page?


All times are GMT -5. The time now is 10:32 AM.

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