Forums

Using a URL with .htaccess to Query Custom Fields (1 post)

  1. David Yeiser
    Member
    Posted 4 years ago #

    I have a "is it possible" question: I want to use a URL to display a single custom field.

    For example, let's say I have post that has a custom text field. The post URL is
    http://example.com/2007/10/20/post-title/

    Now, let's say that the custom field has a meta_id of 45.

    Is there a way to display ONLY that custom field in the single.php template by using a URL of http://example.com/2007/10/20/post-title/45/ ?

    I would guess that you would have to use .htaccess somehow, but I can't really find the solution, or even if it's possible. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic