Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ldekay

    (@ldekay)

    Never mind Mat,
    It appears I just happened to be working with two links that for some reason are inserting a carriage return, but all the other links are stringing the title and description together as desired.
    I’ll get back to you if I can’t figure out what the problem is with those two.

    Thread Starter ldekay

    (@ldekay)

    Back again Mat,

    It appears that there isn’t a carriage return inserted in the display between the title/link and the description when I Import links via CSV, but if I edit a Simple Link it causes a carriage return to be added in the display.

    Is there a way to remove the carriage return when title/link and description are displayed? For examples see differences in the first few listing at: http://whitesalmonevents.com/iafi/floods-resources-online/

    Plugin Author Mat Lipe

    (@mat-lipe)

    It looks like you just need to remove show_description_formatting=”true”.

    The editor automatically wraps the description in paragraphs when it is updated with that option turned on.

    https://wordpress.org/support/topic/good-but-missing-useful-controls?replies=1

    Thread Starter ldekay

    (@ldekay)

    Thanks for the reply Mat, but the shortcode I’m using is [simple-links orderby=”title” order=”ASC” category=”126″ separator=” -” description=”true”], so the shortcode is somehow assuming show_description_formatting=”true”.

    I tried adding show_description_formatting=”false” but that didn’t change the result, description still separates from title/link with a carriage return ONLY on entries that have been manually added or that have been edited. The links that were added using your CSV Upload tool post the description without a carriage return separation, unless they have been manually edited afterward.

    Take a look at http://whitesalmonevents.com/iafi/technical-references-a-z-title/. I just now manually edited the first item in that list (3-D Litho…) which didn’t have a separation before editing and now does. The other entries below that one don’t have the separation.

    The separation really makes the description look disconnected from the link above, making it look like a completely separate non-linking item. It also makes the lists quite a bit longer on the page, and many are already quite long.

    Plugin Author Mat Lipe

    (@mat-lipe)

    I still have no idea why you are seeing this. We have been unable to recreate the anomaly on any of our environments.

    show_description_formatting defaults to false. If it is not specified it will not add paragraphs to the output. Either there is a p inside your content (which can be verified by looking at the text tab) or there is something in a theme or plugin that is running wpautop() when rendering the output.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove line feed between Title and Description’ is closed to new replies.