Hi Toolst support team,
When editing the grupo fields on a post there is a drag and drop option to order them(or that's what it seems to be that feature for). But on the page they are displayed in the order the post where created, not the order configured with that drag and drop feature. **see screenshot no.1 to see what i mean by the drop down feature.
My code looks like this:
<?php $child_post = types_child_posts('n-h-section');
if(!empty($n_h_sections)) :
foreach ($n_h_sections as $n_h_section) { ?>
<h2><?php echo get_the_title($n_h_section->ID); ?></h2>
<?php } ?>
'n-h-section' is the slug I asigned to the repeatable group fields.
Do I have to send types_child_posts function a specific argument to display the posts in the right order?
I am trying to:
Change the order the custom fields are displayed on the front end.
I expected to see:
The post in the right order. The right order being the one I configure when edditing the post custom fields using the drag and drop feature.
Instead, I got:
The custom fields in the order they are created.
I know you may request ftp access, My website is on Flywheel so please share with me an email that I can use to give you access.
Thanks in advance for your help.