WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] Line Breaks (4 posts)

  1. atelierstudios
    Member
    Posted 2 years ago #

    Hi I can't seem to get either text area or WYSIWYG options to output line breaks all of my text is just one continous string of text.. can anyone help me out?

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. elliotcondon
    Member
    Plugin Author

    Posted 2 years ago #

    Hi atelierstudios,

    Are you using the get_field or the_field functions?

  3. atelierstudios
    Member
    Posted 2 years ago #

    No sorry maybe I haven't fully read the documentation. I am just using the standard WordPress get_post_meta function <?php echo get_post_meta($post->ID, "name_of_custom_field", true); ?>. I did notice that when I add the content via the Advanced Custom Fields WYSIWYG editor it adds a standard custom field which doesn't contain any p or br tags, all other formatting seems to be included though?

  4. atelierstudios
    Member
    Posted 2 years ago #

    Ok to confirm I have used the the_field method and the paragraphs now appear... great thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic