Horizontal rule does not display


Author Message
Susan

Posted: 4/6/2009
Quote message 

I'm having a problem getting a horizontal rule to show up on my posts page between. I placed the code as follows in index.php:

<hr />
</div>
</div>
</div>
<?php endwhile; ?>

I place the code in the same place in archive.php and it shows up fine, but not on the main posts page.

I next copied index.php and saved it as a new page (posts.php) giving it a template name and in Wordpress chose that template for my posts page. The horizontal rule does not show up AND when I view the source code of the page, I do not see the code for it.

I saw a post in the Wordpress forum that mentions a common issue of horizontal rules not showing on Kubrick clone themes and to check the style sheet for display:none for 'hr' and I see kubrick mentioned in the code of the index.php page, but don't see anything in the stylesheet that would cause the 'hr' not to display.

Here is the page:
http://76.12.159.56/what-works/
Any suggestions?
Susan


 
Marc Smith

Posted: 4/6/2009
Quote message 

Depending on how your Wordpress blog is set up, you'll need to add that horizontal rule in more than just one file.

You'll want it in index.php, archives.php, single.php, archive.php

that's off the top of my head.
 
Susan

Posted: 4/6/2009
Quote message 

Thanks Marc, but I added the horizontal rule code to every possible page except the ones that hold my static content and it still doesn't show up. The archives.php doesn't have the code to display posts, but I tried it in there anyway.

I tested it in the static pages and it's fine there, and is fine on the tags page and archive, but just not the main posts page.

Any other suggestions? Is there something that could be preventing it from displaying?
Susan
 
Marc Smith

Posted: 4/7/2009
Quote message 

If you manage to get it in one place, then you should be able to see it anywhere.

More than likely, the hr code you are adding is not in the right place.
 
Susan

Posted: 4/7/2009
Quote message 

I finally got it working. I think it might have been a corrupted index.php. I redid the page, and now the horizontal rule works, and another problem I was having straightened itself out too.

Susan