Support

Account

Home Forums General Issues Deleting spaces in field entrys (for IDs) Reply To: Deleting spaces in field entrys (for IDs)

  • okay did it with “str_replace”, just forgot that i used it some months ago, too:

    // display a sub field values
    echo '<div role="tabpanel" class="tab-pane" id="'.str_replace(' ', '', get_sub_field("tab_titel")).'">';		        the_sub_field('tab_inhalt');
    echo '</div>';