SeanBluestone.com Forums » WordPress

WP Link Directory - Position of Page Rank

(2 posts)
  1. Is there anyway that i can reposition the page rank so it displays under the listing? I have a narrow column which means it mixes with the text

    Posted 1 year ago #
  2. You could play around with the .css files in the style directory. Though it may be hard to change the position using only CSS. Alternatively have a look at line 2287 to line 2292 in link-directory.php. This is where the pagerank is currently displayed (though it turns up in other places too).

    You would want to edit line 2306 to something like:

    $page.='<td>'.stripslashes($Link['title']).' - '.$Link['description'].$DetailedLink.' '.$LinkFlagging.'</td>';

    if($ShowPR=='Yes'){
    $Width=$Link['pr']*4;
    $page.='<td><div class="wpld_pr">PR: '.$Link['pr'].'
    <div class="wpld_prg"><div class="wpld_prb" style="width: '.$Width.'px"></div></div>
    </td>';
    }

    $page.='</tr></table>';

    This would move the PR icon to the right side rather than the left side, if you play around you should be able to put it wherever you want.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.