• Dear Eliot,

    sorry- another question πŸ˜‰
    I love to work with your custom short codes…
    Now i plan to show Articles from my CPT with the related taxonomy shortcode.
    Works perfect.

    I tried some orderby-options- this also works perfect.

    But i have another plugin in use- it is the POST TYPE ORDER-Plugin.
    As you know this makes my WordPress queries to use the new order i assign to them.

    Unfortunately this also overwrites the orderby attribute in the custom shortcode code πŸ˜‰

    [related taxonomy=project-type count=3 orderby=rand]

    [/related]

    Now my question- is there a way to prevent this?
    I don’t know how to exactly describe this. But i have a vision of an attribute that is strong enough to overwrite the new query order from the Post Type Order-Plugin.

    In my case i need this plugin because the menu order gives the authors the possibility to control the output of the CPT-items. But i want to show more CPT-items from the same category above every single cpt. And these items should display random.

    Hope you understand my problem πŸ˜‰

    Thank you in advance,
    Melanie

    https://wordpress.org/plugins/custom-content-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hi, sorry for the late reply.

    I tested this with the Intuitive Post Order plugin:

    [related taxonomy=category count=3 orderby=rand]

    On my end, orderby=rand is working – every time it shows a different order. I wonder what could be different in your case..

    Could you tell me which plugin you’re using for the post type order?

Viewing 1 replies (of 1 total)
  • The topic ‘Features Request: can "orderby" overwrite POST TYPE ORDER?’ is closed to new replies.