Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jespersmukkehansen,

    if you’re still dealing with this issue, there’s an easy solution.
    Find the file post-types-order.php in the plugins folder and add your custom post-type around line 84.

    In my case the post-type was project_media, just replace this with your post-type.

    if (isset($query->query_vars['post_type']) && ((is_array($query->query_vars['post_type']) && in_array("project_media", $query->query_vars['post_type'])) || ($query->query_vars['post_type'] == "project_media")))
               return $orderBy;

    Hope it helps.

    Thread Starter Jespersmukkehansen

    (@jespersmukkehansen)

    Hi Herooutoftime πŸ˜‰

    Thanks for answer πŸ˜‰

    I have to lines with the same text:

    if (isset($query->query_vars['post_type']) && ((is_array($query->query_vars['post_type']) && in_array("project_media", $query->query_vars['post_type'])) || ($query->query_vars['post_type'] == "project_media")))
               return $orderBy;

    line 80 and 81. I have try to change it whit your text but the problem is still there! Im not a code expert! ;-(

    Hope you can help me! πŸ˜‰

    Best regards,
    Jesper

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin overwrite my portfolio order!’ is closed to new replies.