WordPress.org

Ready to get started?Download WordPress

Forums

CMS Tree Page View
hijacked by Post Types Order + CMS Tree Page View disaster with WPML (1 post)

  1. maxgx
    Member
    Posted 1 year ago #

    hi Pär
    i wonder if you could help me with this strange behaviour:
    i was using Post Typer Order for ordering some custom post types posts listing on the homepage of a site which uses WPML.
    i then realized the plugin wasn't ordering posts in other languages.
    i happily switched to your CMS Tree Page View, but whenever i deactivate Post Types Order, i get all three languages versions of the posts listed on the homepage... so i'm forced to keep it activated and working with yours, which doesn't make too much sense to me...
    have you got any idea why this may happen, or where i should look for a solution?
    this is the call for the post types, to which i've already added the 'orderby' value for CTPV:

    global $post;
    $args = array(
        'orderby' => 'menu_order', // CMS Tree Page ordering
        'post_type' =>'partners',
        'numberposts' => '-1'
    );
    $partners_posts = get_posts($args);

    http://wordpress.org/extend/plugins/cms-tree-page-view/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic