Forums Forums Search & Filter Pro Order results by ACF type of field

Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #65274

    Hi,
    How could I order results by ACF type of field “powierzchnia”?

    <?php
    	while ($query->have_posts())
    	{
    		$query->the_post();
    		
    		?>
         
                <a href="<?php the_permalink(); ?>">
               
                <ul>
                    <li><?php the_title(); ?></li>
                    
                    <?php if (get_field ('powierzchnia') ) : ?>
                                            <li><span><?php echo the_field ('powierzchnia'); ?></span> m<sup>2</sup></li>
                                        <?php endif; ?>

    Regards

    Trevor
    #65308

    Are you not able to do this in the form setup, on the Posts tab?

    Anonymous
    #65325

    I do not see anything like: http://screencast.com/t/0r5nobZGruXv

    Trevor
    #65365

    Not in the form build UI, no.

    In the settings area above, the settings are in 6 tabs. The third tab is Posts. In here you can set results sort order.

    Anonymous
    #65385

    oh here.I see, thank you Trevor.

    Trevor
    #65387

    Is this thread closed?

    Anonymous
    #65389

    yes

Viewing 7 posts - 1 through 7 (of 7 total)