Title: saloonstudios's Replies | WordPress.org

---

# saloonstudios

  [  ](https://wordpress.org/support/users/saloonstudios/)

 *   [Profile](https://wordpress.org/support/users/saloonstudios/)
 *   [Topics Started](https://wordpress.org/support/users/saloonstudios/topics/)
 *   [Replies Created](https://wordpress.org/support/users/saloonstudios/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/saloonstudios/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/saloonstudios/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/saloonstudios/engagements/)
 *   [Favorites](https://wordpress.org/support/users/saloonstudios/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Basic get_post_meta call outside loop?](https://wordpress.org/support/topic/basic-get_post_meta-call-outside-loop/)
 *  Thread Starter [saloonstudios](https://wordpress.org/support/users/saloonstudios/)
 * (@saloonstudios)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/basic-get_post_meta-call-outside-loop/#post-1597935)
 * Ah success. I guess what I meant wasn’t “outside the loop” but actually “outside
   the framework. I found the code I was missing:
 *     ```
       require_once('../../../../wp-load.php');
       require_once('../../../../wp-includes/post.php');
       ```
   
 * This seems to work. Is there a security risk in loading the php data and @readfile’ing
   it onto another page in this manner?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Define and recall Page ID](https://wordpress.org/support/topic/define-and-recall-page-id/)
 *  Thread Starter [saloonstudios](https://wordpress.org/support/users/saloonstudios/)
 * (@saloonstudios)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/define-and-recall-page-id/#post-1365223)
 * Excellent. Part of my issue was bad test ID’s-
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Define and recall Page ID](https://wordpress.org/support/topic/define-and-recall-page-id/)
 *  Thread Starter [saloonstudios](https://wordpress.org/support/users/saloonstudios/)
 * (@saloonstudios)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/define-and-recall-page-id/#post-1365218)
 * Still not working. Is my get_post_meta syntax correct?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Parent ID Tag](https://wordpress.org/support/topic/parent-id-tag/)
 *  Thread Starter [saloonstudios](https://wordpress.org/support/users/saloonstudios/)
 * (@saloonstudios)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/parent-id-tag/#post-1363276)
 * After more diligent searching I found my answer.
    Sorry for the false alarm. 
   Working solution was here: [http://wordpress.org/support/topic/303390?replies=2](http://wordpress.org/support/topic/303390?replies=2)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Parent ID Tag](https://wordpress.org/support/topic/parent-id-tag/)
 *  Thread Starter [saloonstudios](https://wordpress.org/support/users/saloonstudios/)
 * (@saloonstudios)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/parent-id-tag/#post-1363270)
 * I guess more toward the end result; I’d like to also be able to return the permalink
   of the parent page.

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