• Hey all– Kind of stuck on how to create an alternate single post pop-up template. the context: i’m using sid’s mp3 player plugin which prints a flash audio player on posts where you link to an mp3 in a custom field. what i’d like is to print the player in a pop-up window, along w/ the post title, excerpts, and pop-up window links to previous posts in same category w/ mp3.

    was doing similar using javascript entirely (window built in included .js file) but had trouble passing excerpt into javascript, so i’m taking sid’s advice and tring to create an mp3.php page which will take the post id from the link and do the work.

    problem is when i try renaming kubrick’s index.php or single.php, it display a 404 or ‘no post met criteria’. i’ve tried it also using classic.

    can someone point me in the right direction? thx:>)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter onenationunderdog

    (@onenationunderdog)

    darn still stuck on this one … scoured the forums and reread ‘the loop in action’

    mp3.php is still returning “Sorry, no posts matched your criteria.” anybody have any suggestions?

    if you’d like to know more about the scenario, read mike’s posts at the bottom of this thread — i’m trying to do something quite similar.
    http://www.sidney.ws4f.us/2005/07/26/whoo-sound

    Thread Starter onenationunderdog

    (@onenationunderdog)

    wow, slow going trying to figure this out. got a clue tonight though in the wordpress irc channel.

    <mingus> isn’t is possible to create templates outside of the 1.5 architecture? i’m trying to clone single.php for another purpose and consistently get “no post matched your criteria”…
    <masquerade> mingus, you need to query_posts to get the necessary post, the posts don’t just appear in the templates, in the theme system the querying is predone and the templates loaded later.

    mmm, so with that hint i headed over to this codex page. huh, sort of counterintuitive… i *want* to pass the post id parameter through the link to mp3.php — why bypass it?

    anyhow if i can get *any file besides though explicitly part of the 1.5 architecture* to return something besides 404 or ‘no posts matched your criteria’ i’ll be happy.

    “in the theme system the querying is predone and the templates loaded later” does make sense, but how to code this? i’m lost… any helpers out there?

    Thread Starter onenationunderdog

    (@onenationunderdog)

    ah… my problem is not understanding the new theme system. working w/ wp.php in the root shd do the trick

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Single Post Pop-up Template?’ is closed to new replies.