WordPress.org

Ready to get started?Download WordPress

Forums

Help: "Jump" to newest 'big entry' (bypassing asides) (7 posts)

  1. joshteeters
    Member
    Posted 9 years ago #

    I implemented 'asides' with Matt's instructions. I'm wanting to take it one step further, though. I can see my posting a LOT of asides, but some people prefer my 'regular' entries over the asides. (I don't know why - they're all real posts, asides just aren't posts worthy of a big title.) Anyway. Is there any way that I could put a link to at the top of site that jumps to the newest 'regular' post? That way, if the person dislikes asides, they can click on the link and jump to my newest bigger entry.

    Any ideas?

  2. Root
    Member
    Posted 9 years ago #

    You know these kind of *is there a way * type qs are very difficult to answer. Yes there is. In WP you can do anything because the theme is split from the app. How you do it depends in part on what precisely the guy wants to do. A lot of us have solutions for this and they are all different. :)

  3. joshteeters
    Member
    Posted 9 years ago #

    Sorry. I'd be more specific, but I don't know PHP. :P All my edits and template work have been "winging it". What information would someone need to help me?

  4. Root
    Member
    Posted 9 years ago #

    Ok. You need a WP tag called get_archives. Set the parameters to return the title of one single post (by default your latest). You will find it here together with clear useage instructions. Hard code it into prolly index / poss sidebar php in your case.

  5. joshteeters
    Member
    Posted 9 years ago #

    Hrm.

    Not a clue as to what you're talking about. I mean, I know what WP tags are, but I'm looking at the linked page, and I don't see how that's going to help me do what I was wanting to do. I was hoping to be able to mark my latest 'big entry' with an anchor link, and have a link at the top of the page that dynamically changes to bounce to the newest big entry.

  6. Root
    Member
    Posted 9 years ago #

    I know. It takes time to get used to seeing a bit of code and relating that to how it solves your problem But that is the solution.

  7. joshteeters
    Member
    Posted 9 years ago #

    Alright, thanks. I'll play around with it some and see if I can figure anything out.

    Expect to see me back later with more specific questions. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.