Skip to content
themeforge
EN
Start free
Menu
  1. Home
  2. Attribute reference
  3. opt-loop
Core Site settings

One list for the whole site

opt-loop="List name"

Social links in the footer, the addresses of your shops, partner logos: a list the client keeps in the site settings and edits once for every page.

Where it goes

On the block with the repeating items on theme-options.html. Inside, plain fld-text and fld-link become the parts of a row.

In the footer of every page the same block with the same name shows the list.

The field appears in the admin only if the page has a group name: wp-fields-group on its <body>.

Example: social links in the footer

Markup theme-options.html
<div class="socials" opt-loop="Social links">
  <a href="https://instagram.com/warmcorner" fld-link="Social URL">
    <span fld-text="Social name">Instagram</span></a>
  <a href="https://facebook.com/warmcorner" fld-link="Social URL">
    <span fld-text="Social name">Facebook</span></a>
</div>
In the admin ThemeForge → Options
Social links
1
Social URL https://instagram.com/warmcorner
Social name Instagram
2
Social URL https://facebook.com/warmcorner
Social name Facebook
3
Social URL https://t.me/warmcorner
Social name Telegram
Add Row
On the site the footer

© 2026 Warm Corner

Instagram Facebook Telegram

The client added Telegram in the settings.

What matters

  • Everything from fld-loop applies: mark up every item, the first one with fields is the pattern.
  • An item without attributes is not carried into the settings by “Load data”.

Common mistakes

The build log is the “Logs” tab of your project on themeforge.pro; the free markup check shows the same notes.

Not like this
<div opt-loop="Social links">
  <a href="https://instagram.com/warmcorner" fld-link="Social URL">
    <span fld-text="Social name">Instagram</span></a>
  <a href="https://facebook.com/warmcorner">Facebook</a>
</div>

The second link has no attributes: “Load data” brings only Instagram into the settings, and the log is silent.

Like this
<div opt-loop="Social links">
  <a href="https://instagram.com/warmcorner" fld-link="Social URL">
    <span fld-text="Social name">Instagram</span></a>
  <a href="https://facebook.com/warmcorner" fld-link="Social URL">
    <span fld-text="Social name">Facebook</span></a>
</div>

Every link is marked up.

Alternative spelling

o_loop works the same: the build gives an identical theme.

Used in recipes

Ready when you are

See your site’s WordPress admin before you pay.