# Retrieving Episode GUID (\_podlove\_guid)

**URL:** <https://community.podlove.org/t/retrieving-episode-guid-podlove-guid/3172>\
**Category:** Podlove Publisher\
**Created:** [August 14, 2023, 10:57pm UTC](https://community.podlove.org/t/retrieving-episode-guid-podlove-guid/3172 "2023-08-14T22:57:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MOKANA](https://community.podlove.org/user_avatar/community.podlove.org/mokana/32/1165_2.png) [@MOKANA](https://community.podlove.org/u/MOKANA)\
**Post date:** [August 14, 2023, 10:57pm UTC](https://community.podlove.org/t/retrieving-episode-guid-podlove-guid/3172/1 "2023-08-14T22:57:43Z")

</div>

searches reveal that the guid is stored as meta as \_podlove\_guid.

Tried retrieving it the standard WP way as other meta data… but no joy.

How can I retrieve the episode guid? Don’t want to change it… just want to get it.

thx

---

<div class="post-metadata">

**Author:** ![ericteubert](https://community.podlove.org/user_avatar/community.podlove.org/ericteubert/32/1568_2.png) [@ericteubert](https://community.podlove.org/u/ericteubert)\
**Post date:** [August 24, 2023, 5:32pm UTC](https://community.podlove.org/t/retrieving-episode-guid-podlove-guid/3172/2 "2023-08-24T17:32:38Z")

</div>

Not sure what you tried, this should work:

`get_post_meta($post->ID, '_podlove_guid', true)`

---

<div class="post-metadata">

**Author:** ![MOKANA](https://community.podlove.org/user_avatar/community.podlove.org/mokana/32/1165_2.png) [@MOKANA](https://community.podlove.org/u/MOKANA)\
**Post date:** [September 1, 2023, 7:13am UTC](https://community.podlove.org/t/retrieving-episode-guid-podlove-guid/3172/3 "2023-09-01T07:13:45Z")

</div>

Sweet.

I tried it like that before… maybe I was plugging in the wrong ID.

Works as shown.

Thx

Let me continue looking stupid by asking how can I get the default feed of the podcast. I have tried using the template tags to no avail:

podcast.feeds  
podcast.feed

and

$feed = Feed::find\_one\_by\_slug(“mp3”); returns null

and this returns a single empty array:

$test = \Podlove\get\_podcast();

$feed = $test-\>feeds();

[“podcast\_feed”]=\> array(1) { [0]=\> array(0) { } }

this blows up:

$podcast-\>feed();

Tried looking for a feed REST API call, no joy.

I get nothing but null or a crash on undefined.

thx

---

<div class="post-metadata">

**Author:** ![ericteubert](https://community.podlove.org/user_avatar/community.podlove.org/ericteubert/32/1568_2.png) [@ericteubert](https://community.podlove.org/u/ericteubert)\
**Post date:** [September 4, 2023, 7:17am UTC](https://community.podlove.org/t/retrieving-episode-guid-podlove-guid/3172/4 "2023-09-04T07:17:59Z")

</div>

Does this return something? Otherwise I’m fairly sure that there are no feeds 😛

```auto
\Podlove\Model\Podcast::get()->feeds();

```
