WordPress.org

Ready to get started?Download WordPress

Forums

Specify template in URL? (4 posts)

  1. Mannie Schumpert
    Member
    Posted 3 years ago #

    I've been looking and looking and haven't found such a thing, but is there a way to specify what template is used to display a post in the URL?

    What I mean is something like:
    blog.com/?p=23&template=special

    For my purposes, neither conditional tags nor category templates will work.

    Thanks for any insight!
    Mannie

  2. kongkang
    Member
    Posted 3 years ago #

    To call template url

    bloginfo('template_url')

    http://codex.wordpress.org/Function_Reference/bloginfo

  3. Mannie Schumpert
    Member
    Posted 3 years ago #

    Thanks, but that's not what I was looking for. I'm not looking to display information about the currently used template.

    Let me try to be more clear:
    I want a link to a post to specify the template with which the post is shown. Clicking on my hypothetical example above would display post 23 using the template named "special".

  4. kongkang
    Member
    Posted 3 years ago #

    Custom Post Template will help you to select different templates.
    Try this plugin http://wordpress.org/extend/plugins/custom-post-template/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.