[SOLVED] Can I change where %comments refers to?
Hi,
In the posts bylines etc. options I am using the %comments option to refer the user to the comments section. However, I would like to use the facebook comments for wordpress plugin, which uses the div 'fbcomments' rather than atahualpa's 'respond' Is there any way of changing where the %comments otion refers to? I tried to use Code:
<?php the_permalink(); ?> #fbcomments Thnks Jon |
Where did you get that code? Have you check the plugin authors site?
|
In this case you should be using get_permalink() but you may have an issue with the '#' since it is a special character
|
Quote:
Quote:
|
OK I think I might have sorted it but still having a few issues. This is the code I'm using but I'm getting an extra / i.e. mysite.com/permalink/#div when I think I want mysite.com/permalink#div
Code:
<?php echo '<a href="%permalink%'.getH().'fbcomments"><img src="IMAGE URL"></a>'; ?> |
Aha! Removed the trailing slash in permalink settings
|
All times are GMT -6. The time now is 08:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.