Support » Plugin: Post Types Order » [Plugin: Post Types Order] Affecting popular post widget

  • Resolved gavin27

    (@gavin27)


    Hi I have tried reading through this support board but I dont think its addressed.

    I installed this widget and it works great apart from 1 small problem it is affecting my popular post widget.

    this widget listed my posts with the most comments but once this was installed it start listing posts with no comments. Does anyone have any idea how I would correct this?

    I have removed the widget until I can get a solution.

    filmscope.net

    thanks

    http://wordpress.org/extend/plugins/post-types-order/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tdgu

    (@tdgu)

    You can try to turn off the autosort and use the ‘orderby’ => ‘menu_order’ within queries where need the custom order, as shown in the plugin options page.

    Thanks for the replay, but I am not sure what you mean do I have to edit it in the Plugin – options.php

    <pre class=”example”>
    $args = array(
    ‘post_type’ => ‘feature’,
    ‘orderby’ => ‘menu_order’,
    ‘order’ => ‘DESC’
    );

    or do I need to do something else??
    thanks and sry for being so stupid…

    Plugin Author tdgu

    (@tdgu)

    Sorry i didn’t mean that, you should use the example within the plugin Options page and use a similar code within your theme.
    Only the Advanced Post Types Order contain an additional query parameter ‘force_no_custom_order’ which allow to exclude the custom order for a certain query when the Autosort is On, see this page for more details.
    Hope it make sense.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Post Types Order] Affecting popular post widget’ is closed to new replies.