WordPress.org

Ready to get started?Download WordPress

Forums

Next & Previous post links (6 posts)

  1. magoo
    Member
    Posted 9 years ago #

    I see in the wiki on how to create the links, however I don't want the links to be text. I am using this method for my navigation. Here is my template I am working on for my photoblog.

    I want to try to keep my nav in that form if possible. Basically how would I accomplish the calling the functions for the previous and next posts in this form?

    Thanks.

  2. e-head
    Member
    Posted 9 years ago #

    Some general tips:

    get a good mass-text-file search program.
    "grep" is what you want, but your probably on windows.

    "grep" for the functions you want to tweak in the wp-includes/ directory.

    copy and paste them into a my-hacks.php file ... then change the name slightly (so they don't collide with the "real" functions). Enable the my-hacks file. Now you can play with the new functions.

    Hint:
    the file your interested in is probably wp-templates-links.php.

  3. Kafkaesqui

    Posted 9 years ago #

    Ask nicely (actually, you only need to ask, period), and I'll upload a plugin of mine you can try out.

    It's a simple mod of WP's next and previous post tags to allow for image links. I'm still working on it, but I do have it in operation at my blog. Would be interesting to see if it can be made to work with your setup.

  4. magoo
    Member
    Posted 9 years ago #

    Thanks for the tips e-head, I'll look into those.
    Kafkaesqui would you be kind enough to share your plugin your working on? :)

  5. Kafkaesqui

    Posted 9 years ago #

    I guess that was nice enough... ;)

    Sorry for the delay; got stuck on something non-WP-related. Beh. Anyway, I've made it available, with info on it, here:

    http://guff.szub.net/next-previous-post-img

  6. magoo
    Member
    Posted 9 years ago #

    Thanks, now I just need to work on it today. Appreciate it :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.