• Resolved jasonmac_75

    (@jasonmac_75)


    Hi I had to change for another plugin temporarily for the moment.

    Basically when in post list view, if I drag and drop the post into a custom order they keep reverting into a different order, this only happened since the latest update.

    Thanks

    Jason

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support beatrice12

    (@beatrice12)

    Hello @jasonmac_75,

    Thanks for reaching out to us!

    It might be an issue caused by a plugin or your theme.
    I recommend installing this plugin: https://www.ads-software.com/plugins/health-check/
    After you install and activate the above plugin it has a Troubleshooting mode which allows you to have a vanilla WordPress session, where all plugins are disabled, and a default theme is used, but only for your user – your visitors will still see the normal website.

    Go to its troubleshoot mode and only activate Simple Custom Post Order and see if it works correctly with a default WordPress theme (Twenty Twenty-One for example) and no other plugins.

    Please also clear cache of your browser and try in incognito mode.

    Please let me know how it goes and what you find!

    All the best,
    Beatrice.

    Miha

    (@mplusb)

    Marking this support thread as resolved due to inactivity. If you have any other questions or need further help please open a new thread.

    I have ran into this same issue on multiple sites. This plugin was my go to for quite some time. The issue seems to have have since WordPress 6.x

    the support of ‘page-attributes’ is required to be first added to the post type generated manually, in order, to later call the ‘menu_order‘ directive. This directives allows the order to be done according to defined setting and not according to default post creation time.

    You may read more about it, here

    So the adding of the element to be controlled on functions.php would now look like this:

    function list_faq() {
        register_post_type('faq_questions',
            array(
                'labels' => array(
                    'name' => __('FAQ'),
                    'singular_name' => __('FAQ')
                ),
                'public' => true,
                'has_archive' => true,
                'supports' => array('title', 'editor', 'thumbnail', 'excerpt' , 'page-attributes')
            )
        );
    }
    
    add_action('init', 'list_faq');

    And the placing on the website of the fetched content would now look like this:

    <div class="tabcontent-box" id="id">
    	<ul class="ul-content">
    	<?php
    	$query = new WP_Query(array(
    		'post_type' => 'faq_questions',
    		'orderby' => 'menu_order',
    		'order' => 'ASC',
    		'tax_query' => array(
    			array(
    				'taxonomy' => $current_term->taxonomy,
    				'field' => 'slug',
    				'terms' =>	$current_term->slug
    
    			)
    		)
    	));
    	while ( $query->have_posts() ) : $query->the_post(); ?>
    		<li>
    			<a href="<?php the_permalink() ?>" class="tabcontent-link"><?php the_title() ?></a>
    		</li>
    	<?php endwhile; ?>
    	</ul>
    </div>

    And now… the magic returns, and moving by drag-and-drop of the elements with this plugin is back to working.

    You may also manually change the numbering of menu_order on the WordPress POST data base, according the post_type of the highlighted chosen by you name. This is required when you have more p

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ordering not working in latest wordpress’ is closed to new replies.