Support

Account

Home Forums General Issues Content breaks if we use Relational fields

Helping

Content breaks if we use Relational fields

  • Hello,

    I have installed the plugin a few days ago and every thing is going smooth. Yesterday, I tried the custom fields of Relational.

    The custom fields- Post Object and Relationship causes the page to break. When I try to publish the fields, all the content after these relational fields disappears(even the comments other content). There is no problem with the content before these relation custom fields.

    I have tested in different themes including TwentyThirteen. Could any one tell me if the issue persists on your end? How to fix the issue?

    Thanks!

  • Hi VBK

    Can you post up the code you are using to display the relationship field data?

    Remember that if you are setting up postdata in your loop then you MUST reset post data at the end of your loop in order for the rest of the page to display correctly (use wp_reset_postdata() after your endforeach)

    Please refer to the first loop example here:

    http://www.advancedcustomfields.com/resources/field-types/relationship/

    If you post up the code it should be easier to see where you’re going wrong.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Content breaks if we use Relational fields’ is closed to new replies.