Sebastian G K
Member
Posted 1 year ago #
Hello,
I'm wondering if there is a way of modifying the %link part of the previous_post_link() function?
I want to be able to add an accesskey attribute to it? Alternatively, is there a way of getting the url for the next and previous post as a string so I can build the link myself?
I might be overlooking something, or perhaps I haven’t searched properly?
Any leads welcome,
Sebastian
I would seriously advise against the use of accesskeys.
Sebastian G K
Member
Posted 1 year ago #
Thanks @alchymyth. That's what I was looking for. Should have been able to figure it out myself.
@elfin, may I ask why you advise agains the use of accesskeys? I'm interested in having some form of keyboard navigation on the prev/next links, but I've considered just adding it jQuery.
I wish to heck that any kind of access keys worked consistently in all browsers. But even with hacks they just wont. More trouble than they are worth IMHO.