Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author cpres

    (@cpres)

    You can drag images around when you’re in the gallery view. Satellite will display them in that order, there should be an order number on that page too.

    Thread Starter W-P-Zar

    (@carbashop)

    Hello, thanks for your reply.

    Not Works!!
    I use wp 3.5.1
    wp galleries normally uses the type [gallery ids="808,805,806,807,809,810,811,812,813"]
    and not to edit the order of images inserted.
    that thing I do wrong?.

    Plugin Author cpres

    (@cpres)

    Are you using Satellite? there is no [gallery] shortcode but you could do
    [satellite post_id=34 include="808,805,806,807,809,810,811,812,813"]

    Thread Starter W-P-Zar

    (@carbashop)

    I was responsible for.
    I did not used correctly, the image loader.
    after version 3.5.1 not know how to reorder the images uploaded to post.

    ——————————-
    I recommend
    in line
    if ($attachments = get_children(“post_parent=” . $post -> ID . “&post_type=attachment&post_mime_type=image&orderby=menu_order ASC, ID ASC”))

    replace
    if ($attachments = get_children(“post_parent=” . $post -> ID . “&post_type=attachment&post_mime_type=image&order=ASC”))

    because the loader upload the images alphabetically and placed them in this order the id
    ————————–
    suggestion!!

    replace:
    add_shortcode(‘satellite’, array($this, ’embed’));

    for:
    remove_shortcode(‘gallery’, ‘gallery_shortcode’);

    add_shortcode(‘gallery’, array($this, ’embed’));

    add_shortcode(‘satellite’, array($this, ’embed’));

    Then, in a post, inserting [gallery] shortcode
    equally as [satellite] shortcode

    ————————-
    Sorry for your time and sorry for my English
    I use google translator

    Thread Starter W-P-Zar

    (@carbashop)

    Sorry..
    in recomend.
    replace for..

    if ($attachments = get_children(“post_parent=” . $post -> ID . “&post_type=attachment&post_mime_type=image&order=ASC&orderby=menu_order ASC, ID ASC”))

    add: &order=ASC

    Thread Starter W-P-Zar

    (@carbashop)

    testing:
    [satellite post_id=34 include=”808,805,806,807,809,810,811,812,813″]
    and
    [satellite post_id=34 include=”813,812,809,810,806,807,811,805,808″]

    shows the same order

    Plugin Author cpres

    (@cpres)

    Have you tried dragging the images into different orders from the Gallery view in the Media Content Popup from wordpress? There is a slide order that gets set on the wordpress level.

    Thread Starter W-P-Zar

    (@carbashop)

    yes, I have done it
    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Order pictures in "this post"’ is closed to new replies.