How to print node embed field in field collection In one of my content type i am using field collection(Title, Image, Body).
I am using node embed to embed node titles of certain content type in one of my content type.
The issue i am facing is that whenever i am embedding a node it is not showing title instead of it displays [[nid: 2]].

I am printing individual field collection item, to print body i am using

 $section_desc =  $field_section_content_info[$section_content_id]-&gt;field_section_body[LANGUAGE_NONE][0]["value"];


i want node title to be displayed instead of [[nid: 2]].
what code should i write to display node title in field collection.
You are accessing the raw value of the body field in your code. I guess the functionality of replacing [[nid: 2]] comes from a text filter?

Try rendering the field with field_view_field instead. In the example below the label is also hidden by defining $display and passing that variable along to field_view_field.

$display = array('label' =&gt; 'hidden');
$section_desc = field_view_field('field_collection', $field_section_content_info[$section_content_id], 'field_section_body', $display);