Usage of get_crp_posts_id
-
Hello,
Whould you please post the example how to extract ids of related posts from get_crp_posts_id. I’m newbee to objects, I tried this code but it doesn’t work.
$post_id = "384878"; $rel_posts = get_crp_posts_id($post_id, 5); foreach ($rel_posts->result_array() as $rel_post_id) { echo $rel_post_id[0]; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Usage of get_crp_posts_id’ is closed to new replies.