File a Claim (2024)

X

Block:

Featured Services Block

Edit Node:

Description:

This service listing is modified from the individual "service content type" node. Selecting "promote to frontpage" will add the service node to this block. There is a limit of 6 items.

X

Node:

DOES Feature Content A

Edit Node:

Description:

This block contains 3 sections displayed as cards and is modified from feature content node 'A'.

X

Node:

DOES Feature Content D

Edit Node:

Description:

This block is modified from the individual "feature content type” node.

X

Node:

DOES Feature Content B

Edit Node:

Description:

This block is modified from the individual "feature content type” node.

X

Node:

DOES Feature Content C

Edit Node:

Description:

This block is modified from the individual "feature content type” node.

Block Config

" + month + "

"; }); }//end front-page check if(document.body.classList.contains('node-type-service')){ //GET SERVICE CONTACT FIELDS AND ADD TO NEW 'SERVICEINFO' DIV WRAPPER let getSiblings = function (e) { // for collecting siblings let siblings = []; // if no parent, return no sibling if(!e.parentNode) { return siblings; } // first child of the parent node let sibling = e.parentNode.firstChild; // collecting siblings while (sibling) { if (sibling.nodeType === 1 && sibling !== e) { siblings.push(sibling); } sibling = sibling.nextSibling; } return siblings; }; let bodyEl = document.querySelector('article'); let divEl = document.createElement('div') divEl.setAttribute('id', 'ServiceInfo'); bodyEl.insertAdjacentElement('afterend', divEl); bodyEl.append(divEl); let serviceInfo = document.getElementById('ServiceInfo'); let siblings = getSiblings(document.querySelector('.field-name-body')); console.log(divEl); let revSiblings = siblings.reverse(); siblingText = revSiblings.map(e => { serviceInfo.insertAdjacentHTML('afterbegin', e.outerHTML); }); console.log(siblingText);}

File a Claim (2024)

References

Top Articles
Latest Posts
Article information

Author: Kelle Weber

Last Updated:

Views: 5709

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Kelle Weber

Birthday: 2000-08-05

Address: 6796 Juan Square, Markfort, MN 58988

Phone: +8215934114615

Job: Hospitality Director

Hobby: tabletop games, Foreign language learning, Leather crafting, Horseback riding, Swimming, Knapping, Handball

Introduction: My name is Kelle Weber, I am a magnificent, enchanting, fair, joyous, light, determined, joyous person who loves writing and wants to share my knowledge and understanding with you.