Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Waiting for user confirmation] Relationships, In Plain Language

$
0
0

Hi Ricardo,

I really do appreciate your help on this! I tried both snippets, the first returns nothing and the second gave an error that blanked out the whole site. This is what I put for the first one:

$parent_id = get_post_meta($post->ID, "_wpcf_belongs_shows_id", true);
$parent = get_post($parent_id);
$spreaker-link = $parent->spreaker-link; // example get the title

and the second:

$parent_id = get_post_meta($post->ID, "_wpcf_belongs_shows_id", true);
$spreaker-link = get_post_meta($parent_id, "spreaker-link", true); 

When I tried either, I put them inbetween <?php … ?>. Like I said, the first returns nothing and the second just blanked out the entire site. What did I do wrong?


Viewing all articles
Browse latest Browse all 20145

Trending Articles