• tclayson

    (@tclayson)


    Hi Nick,

    Great plugin, but the ordering isn’t working with Siteorigins page builder unfortunately.

    It seems that radio buttons don’t work with page builder. I guess it has something to do with the way they are getting form values from the widget settings form.

    I know this is a bug with page builder and not with your widget, but there is a really easy workaround that you could implement which is to change the radio buttons (ascending, descending) for a dropdown box.

    Here is the code:

    <p>
    	<select name="<?php echo $this->get_field_name('ascdsc'); ?>">
    		<option value="asc" <?php if( $ascdsc == 'asc' ) { echo 'selected'; } ?>>Ascending</option>
    		<option value="desc" <?php if( $ascdsc == 'desc' ) { echo 'selected'; } ?>>Descending</option>
    	</select>
    </p>

    Hope that can help someone else out too.

    Thanks
    Thomas

    https://www.ads-software.com/plugins/list-custom-taxonomy-widget/

  • The topic ‘Ordering not working with Siteorigins Page Builder’ is closed to new replies.