Thank you alchymyth 🙂 It worked!
I have the same problem and after a long search, I found this post.
Nice! 🙂
I am using this code to query attached images, but I want to use the gallery order of the attatched images to a post, how may I achieve this?
I know that ‘order’ => ‘gallery order’ would be a nice fictional solution.
[Code moderated as per the Forum Rules. Please use the pastebin]
As far as I know the only parameters I know of are
‘orderby’ => ‘post_date’,….
‘order’ => ‘DESC’,….
You should always use <script> inside the <head></head> of your page like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hi theret</title>
<script type="text/javascript">
</script>
</head>
<body>
</body>
</html>