Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter redeclipse

    (@redeclipse)

    Oh, the code I have is
    [mla_gallery my_custom_sql='attachment_category=mobile orderby=id order=DESC' size=medium link=file columns=4 mla_caption="<a href='http://www.theforgottenlair.net/mobile-wallpapers/?page_id={+parent+}'>{+parent_title+}</a>" mla_target='_blank' numberposts=40]

    Plugin Author David Lingren

    (@dglingren)

    Thank you for the detailed report and the links to your site. Thanks, too, for posting the compete source text for your shortcode.

    If you are using the latest MLA version (v2.01)you can try one of the new “Gallery-specific Substitution Parameters” to change the links in the gallery. Change your mla_caption parameter from:

    href='http://www.theforgottenlair.net/mobile-wallpapers/?page_id={+parent+}'>{+parent_title+}</a>"

    to

    href='http://www.theforgottenlair.net/mobile-wallpapers/{+page_name+}/'>{+parent_title+}</a>"

    Let me know if that is the only SIP issue you have and if the suggested changes resolve it. I will leave this topic unresolved until I hear back from you.

    Thread Starter redeclipse

    (@redeclipse)

    When I changed it to {+page_name+} all the links lead to the very last post in that specific category. (mobile) They are not linking to their respective pages and are instead all linked to the last alphabetical post. (zankyou-no-terror)

    Plugin Author David Lingren

    (@dglingren)

    Yes, you’re right – please forgive my hasty and incorrect suggestion.

    I have added two new item-specific substitution parameters, parent_name and parent_permalink to the list. I will post an update here as soon as those additions make it to the Development Version here in the Repository. Thanks for your understanding and your patience.

    Thread Starter redeclipse

    (@redeclipse)

    No problem, I’ll wait. You’ve been super helpful. 🙂

    EDIT: It seems it was something with the SIP plugin’s updated files that was doing something to the site. The problem no longer exists, thank you for helping. 🙂

    Thread Starter redeclipse

    (@redeclipse)

    Edit above. Problem no longer exists, thank you. 🙂

    Plugin Author David Lingren

    (@dglingren)

    Thanks for the updates with the good news! I went ahead and added the new item-specific substitution parameters, parent_name and parent_permalink to the Development Version. They are a good addition and if you want to give them a try, let me know how they work for you.

    I see this topic is marked resolved, but please update it if you have any other issues with the URLs in your galleries.

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

The topic ‘Post Redirect Link Conflicts with Plugin’ is closed to new replies.