Unable to change order of posts in custom html widget

I am trying to update a section of the mobile site controlled by the custom html widget. I was able to add the new portfolio items, but I can’t get them to display in the order I want. I tried changing the order=“DECN” to order=“ACEN” and order="" as well as the order in the id=“5158,2902,1771,2587,”

I recently inherited maintaining this site that was built by a previous developer so I’m still learning.

[su_posts template=“templates/list-loop.php” id=“2587,1771,2902,5158,” posts_per_page=“5” post_type=“x-portfolio,post” taxonomy=“category” tax_term="" tax_operator=“IN” author="" meta_key=“best-mobile” offset=“0” order=“DECN” orderby=“meta_value” post_parent="" post_status=“publish” ignore_sticky_posts=“no”]

The site is https://thenew.dentist
This section is only on the home page of the mobile site.

Hi Elyssa,

Thanks for reaching out.
It seems that you are using a third party plugin named Shortcodes Ultimate, you can try by specifying ID to the orderby parameter as the shortcode use the WordPress default parameter to retrieve the data.
If that does not work for you, I would recommend contacting the plugin developer for further assistance. Please remember that we don’t offer any support to 3rd party plugin or related issues.

NOTE: Please find the default order and orderby parameter of WordPress: https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters

Thanks

Thank you!

Hi Elyssa,

You’re welcome. If you have any other concerns, feel free to reach us.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.