![]() |
| ||
| Add 'in-page' links to wordpress blog posts I'm using a blog hosted at wordpress and for really long posts, I'm trying to add a "cut-the-crap" link to something else in the page. Now for plain html, I know you can do it with this: <p>Blah blah blah, this is going to be a long post so you can <a href="#endcrap">skip the crap</a> and avoid a lot of... However, when I try to save the post, wordpress strips the id="endcrap"attributes in my posts. I've 'googled' this already and even in the wordpress forums, all the tutorials are on how to add a link to another post or a link off-site. Since the blog is hosted at wordpress, I can't change the template so no php hacks allowed. =( I'm hope someone can help me with this. Thanks! |
| ||
| Re: Add 'in-page' links to wordpress blog posts *I'm hoping --- not I'm hope. =| sorry, I couldn't resist correcting myself. |
| ||
| Re: Add 'in-page' links to wordpress blog posts Not familiar with wordpress, but try lots of crap to follow or <a href='#endcrap'>go to the end of the crap</a> blah blah blah blah blah blah blah blah <span name='endcrap'>Still reading</span> works in another hosted site, they disallow id and allow name or you could use the wordpress --more-- tag and style it so that the page references are read the crap >> skip the crap |
| ||
| Re: Add 'in-page' links to wordpress blog posts It doesn't work either. But thanks anyway. :) I can't use the --more-- tag because I've already used it for something else. Funny how something as 'powerful' as wordpress can't even deal with in-page link tags... :D I guess it can't be done. They're stripping it intentionally... I'll just install a wordpress blog on my site. |
| ||
| Re: Add 'in-page' links to wordpress blog posts UPDATE: Ay... for some reason, they disabled the id attribute for span and cite tags. But using a div tag should work. For those who have the same problem, use this: <p>Blah blah blah, this is going to be a long post so you can <a href="#endcrap">skip the crap</a> and avoid a lot of... |
| ||
| Re: Add 'in-page' links to wordpress blog posts [QUOTE=kanaku;766733] <p>Blah blah blah, this is going to be a long post so you can <a href="#endcrap">skip the crap</a> and avoid a lot of... I would use an anchor/bookmark: <a name="endcrap"></a>Still reading? Good. blah blah blah again. This way worked since the first HTML pages where created ;) From here Quote:
|
| All times are GMT -4. The time now is 6:03 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC