WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Use classes outside template (3 posts)

  1. unknownclubber
    Member
    Posted 4 years ago #

    Hello,

    I'd like to know how to use wp classes (like query_posts, get_post_meta ...) outside my template : I open a popup and want to get custom fields values in a simple way (without using the get parameters for more security)... Which files do i have to include ? I tried include('classes.php') but it doesn't seem to work...

    Please help

    Thanks in advance

    (excuse my poor english)

  2. Adam Harley
    Member
    Posted 4 years ago #

  3. unknownclubber
    Member
    Posted 4 years ago #

    Thanks for you VERY fast answer Kawauso ... I've not tried yet but i guess my file must be located in the root folder, not in theme folder ... ?

    THANKS AGAIN

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags