Item4

Item4: ACF_excerpt Enter the acf_excerpt description of your 78349 item here. This is in short what we do … [ wpbb post:acf type='wysiwyg' name='acf_excerpt' ]

Item3

Item3 ACF_excerpt Enter the acf_excerpt description of your 78294 item here. This is in short what we do …

Item2

Item2 ACF_excerpt Enter the acf_excerpt description of your 78155 item here. This is in short what we do …

Item1


Item1: acf_excerpt Content of the acf_excerpt field of Item1 78126. The featured image is called by the SC name=”cropped”.‹lb›
The line break is managed with lb due to the snippet in functions.php ‹br/› Next test. L12 based text(cr): How do the line breaks behave?(cr) How do the line breaks behave?(cr)

Card0 wpautop active

Caption: Øsub4

Card0 wpautop active




 Card0 wpautop active    |   card0-wpautop-active Edit post - id:73547
logo
img
img1
img2
img3

  The images are defined in the page's ACF custom fields | Sourced from: "card0-wpautop-active" | ID: "73547"

Card0: Anita var med på “Gi faen kurs for flinke piker” piloten i 2017.

2| Hun hadde noen hyggelige tilbakemeldinger:

“Takk for lærerike og inspirerende kurs Catherine! Det har gitt meg nye perspektiver. Du er flink til å utfordre og oppmuntrer til å våge mer.” FONT COLOR TESTS
Le livre a d’abord été rejeté à cause de son caractère profane dont témoignent les nombreuses images érotiques comme « tes seins sont comme deux faons…



Edit sc_1

Template 0

ACF_Excerpt ../..

Article5


 Article 5 | Vertical alignement    |   article5 Edit post - id:49341

2 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ▷4

acf_wys4
Edit sc_2

Article1

Using HTML only: Shows the expected result

Article1   id=54313

In this “all HTML” version, using no shortcodes, the title, text, id, image, are direct-coded in the field “ACF_Excerpt” within the post Article1. They all display correctly.

Using shortcodes: Shows error cases when applicable

Article1

  id= 54313  (via wpbb post:id, not acf_id)

(acf_img1)
Article11 id=54313 | Øsub0

Article1 | acf_wys2 metafield. Using meta field called in local shortcode | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

54313
xyz-ihs snippet=Cardframework1

 

Article9

acf_excerpt CURRENT PAGE: sc name=”sc_1″
 Art.9     |   article9 Edit post - id:52166
logo
img
img1
img2
img3

  The images are defined in the page's ACF custom fields | Sourced from: "article9" | ID: "52166"

2
[ xyz-ihs snippet=”Lorem”]
A – B
C



Edit sc_1

Article4

Caption: Øsub4

Article 4 (Excerpt for insert into another page: eg. front page) “Summary: Jeg coacher mange dyktige kvinner og menn som strever .. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. “ Read more…

Shortcode and manual inserts into Excerpts

2 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

acf_wys2
Edit sc_0 |   Popup Edit sc_0




acf_excerpt CURRENT PAGE: sc name=”sc_1″ sc-›


 Shortcode and manual inserts into Excerpts    |   article4 Edit post - id:48680
logo
img
img1
img2
img3

  The images are defined in the page's ACF custom fields | Sourced from: "article4" | ID: "48680"

2 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.



Edit sc_1
‹-sc


Local version of sc_1: ‹manual insert-›

Images are URL and NOT set in the page’s ACF custom fields
‹‹ THE IMAGES HERE WERE INSERTED WITH URL NOT ACF

Edit sc_1 |   Popup sc_1

‹-manual›



ACF in remote posts-›Best solution: wpbb post:acf type=’wysiwyg’ name=’acf_excerpt’

Insert remote ACF
[ xyz-ics snippet=”id” _id=”28634″] [ wpbb post:slug] [ acf field=’acf_excerpt’ post_id=’123′] or
[ featured id=’123′ my_field=’acf_excerpt’] [ xyz-ics snippet=”reset”]
ID=79117% | R-@-> | ID=28634%
See sample: Insert ACF excerpt incl. shortcode from post id 28634
28634% card1bis

Det har gitt meg nye perspektiver

Gi faen kurs for flinke piker



 Gi faen kurs for flinke piker    |   card1bis Edit post - id:28634
logo
img
img1
img2
img3

  The images are defined in the page's ACF custom fields | Sourced from: "card1bis" | ID: "28634"

Anita var med på “Gi faen kurs for flinke piker” piloten i 2017.

2| Hun hadde noen hyggelige tilbakemeldinger:

“Takk for lærerike og inspirerende kurs Catherine! Det har gitt meg nye perspektiver. Du er flink til å utfordre og oppmuntrer til å våge mer.” FONT COLOR TESTS Le livre a d’abord été rejeté à cause de son caractère profane dont témoignent les nombreuses images érotiques comme « tes seins sont comme deux faons…



Edit sc_1

ACF_Txt2



In summary, tests show that Remote posts & Field behaviours with regards to line breaks are fraught with traps.

1. When set to calling Remote posts, wpbb post:acf type=’wysiwyg’ name=’acf_excerpt’ is the only code that pulls all the remote data.
vg_display_data and wpbb post:custom_field key=’acf_excerpt’ are NotOK.
2. ACF’s need a functions.php code to avoid rogue line breaks. (//Remove br line breaks from ACF)
3. It seems best to wrap the field contents with ‹L› and rely on simple (cr) for line breaks in the custom fields.
4. The standard WP Excerpt wpbb post:excerpt length=’15’ more=’…’ seems to offer a good consistency when filled.
Needs tests when field is empty and pulls the Post Content. Data is pulled, linebreaks are natural with br’s and (cr)’s OK despite the functions.php fix.

REMOTE _id=”78126″ wpbb post:acf type=’wysiwyg’ name=’acf_excerpt’ br inactive, lb & (cr)OK


Item1: acf_excerpt Content of the acf_excerpt field of Item1 78126. The featured image is called by the SC name=”cropped”.‹lb›
The line break is managed with lb due to the snippet in functions.php ‹br/› Next test. L12 based text(cr): How do the line breaks behave?(cr) How do the line breaks behave?(cr)

79117 | ACF in remote posts | A quote helps to define the topic .. The values from vg_display_data are NOT consistently remote! _id=”78126″ wpbb post:acf type=’wysiwyg’ name=’acf_excerpt’

REMOTE _id=”78126″ wpbb post:acf type=’wysiwyg’ name=’featured’ br inactive, lbOK, ‹L›(cr)OK


LItem1 acf_excerpt Content of the acf_excerpt field of Item1 78126. The featured image is called by the SC name=”cropped”.(cr) The line break is managed effciently with (cr) disregarding the snippet in functions.php (cr) Next test. s12 based text(cr): How do the line breaks behave?(cr) How do the line breaks behave?(cr) /L 79117 | 
ACF in remote posts | A quote helps to define the topic .. The values from vg_display_data are NOT consistently remote!

_id=”78126″ wpbb post:acf type=’wysiwyg’ name=’acf_excerpt’

REMOTE _id=”78126″ wpbb post:custom_field key=’acf_excerpt’ WHY IS IMG NOTOK??

Item1: acf_excerpt Content of the acf_excerpt field of Item1 78126. The featured image is called by the SC name="cropped".‹lb› The line break is managed with lb due to the snippet in functions.php ‹br/›
Next test. L12 based text(cr): How do the line breaks behave?(cr) How do the line breaks behave?(cr)

REMOTE _id=”78126″ wpbb post:excerpt length=’15’ more=’…’ The “length” has no effect when the field is populated..

Item1: Standard WP Excerpt Content of the WP std excerpt field of Item1 78126. The featured image is called by the SC name=”cropped”.‹lb› inactive The line break is managed with (cr) and ‹br› despite the snippet in functions.php ‹br›
Next test. L12 based text(cr): How do the line breaks behave?(cr) How do the line breaks behave?(cr)