Recent Topics

1 Oct 07, 2008 19:22    

My b2evolution Version: 0.9.x

I want to be able to link to a specific spot on my blog - specifically the top of a post- , but I still want the other posts to appear above and below. If I include ?title=nameofpost only that one post will appear. I am also unable to add a named anchor to the top of the post as when I try to do this it won't let me save the post saying that <a> cannot take this attribute.

Any suggestions are appreciated.
Thanks,
Andrea

2 Oct 07, 2008 19:52

okay , i dont have much information on < 2.x skins however the idea should be the same...

insert a

<div class="posttop">&nbsp;</div>

around somewhere in the post title and place a link to permanenturlofthepost#posttop

dunno if this is the best but it would work..i could help you if you were using 2.x, lets see if someone would introduce these in 0.9 lang

3 Oct 08, 2008 00:00

Add the following code to _main.php file in your skin directory. If you post here your _main.php file I can be more specific on the actual line.

echo '<a name="'.$Item->ID.'"></a>';

Then you can link to a specific post using post ID as anchor ?title=nameofpost#99


Form is loading...