Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Post Page Associator Plugin: Trying to Place Horizontal Gray Line in PHP (http://forum.bytesforall.com/showthread.php?t=15516)

agingbull Sep 28, 2011 12:54 AM

Post Page Associator Plugin: Trying to Place Horizontal Gray Line in PHP
I am trying to use this plugin so that the title and excerpts of several articles appear on my pages. I added some code to place the author and date, and I inserted a horizontal gray line, but it is a different color than the gray line above it. The code I used for the gray line is:

<hr size="1" style="height:4px;" color="#eee" align="center"></hr>

The problem is, while I can get the size to change, the color does not change, and this gray is darker than the gray of the other horizontal lines throughout the site. Is there a way to get this sheet to add a horizontal gray line that matches the one used on all the other pages, and at the top of this page? In case it's relevant, I'll add the contents of the PHP page here. It calls up a title, thumbnail, and excerpt:


PPA Template: Default Template
Description: This is the default Post Page Associator Template which fits the most template styles. It shows the title, an excerpt and a thumbnail for each associated post. Feel free to use it to create your own customization. You can find this template in the plugin folder.
Version: 1.0
Author: Dennis Hoppe
Author URI: http://DennisHoppe.de

If ( $association_query = $this->get_associated_posts() ) : ?>
<div class="associated-posts">
<?php While ($association_query->have_posts()) : $association_query->the_post(); ?>
<div class="associated-post">
<h3 class="post-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title() ?></a>
<div class="post-byline">by <?php the_author() ?>, <?php the_time('F jS, Y') ?></div>
<?php If ( $thumb = $this->get_post_thumbnail(get_the_id()) ) : ?>
<div class="thumb-frame">
<a href="<?php the_permalink(); ?>" title="<?php the_title() ?>">
<img src="<?php Echo $thumb[1] ?>"
width="<?php Echo $thumb[2] ?>"
height="<?php Echo $thumb[3] ?>"
alt="<?php the_title() ?>"
title="<?php the_title() ?>"
class="thumb post-preview-image alignleft" />
<?php EndIf; ?>

<div class="post-excerpt"><?php the_excerpt() ?></div>
<hr size="1" style="height:4px;" color="#eee" align="center"></hr>

<?php If ($thumb) : // In 99% of all cases we only need the clearer if we used a thumbnail image. ?>
<div class="clear"></div>
<?php EndIf; ?>
<?php EndWhile; ?>
<?php EndIf;
/* End of File */

juggledad Sep 28, 2011 04:21 AM

What version of Atahualpa and WP?
What is your URL?

All times are GMT -6. The time now is 04:34 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.