Link To Parent Post
-
Hello again David, I was wondering if it was possible for the thumbnail within the gallery to be linked to the parent instead of the file itself. Sorry I am not good at this, but “link=file” and “link=none” are the only two options I know. Is there a link=”parent” of some sort?
Working on THIS PAGE HERE.
This is what I currently have.
<div style="clear: both; float: left"> [mla_gallery my_custom_sql='attachment_category=desktop' posts_per_page=40 mla_output="previous_page,wrap" mla_link_text='← LAST PAGE' mla_rollover_text="Previous/Last Page"] </div> <div style="float: right"> [mla_gallery my_custom_sql='attachment_category=desktop' posts_per_page=40 mla_output="next_page,wrap" mla_link_text='NEXT PAGE →' mla_rollover_text="Next Page"] </div> <div style="clear:both; margin-top:0px; margin-bottom:20px;"></div> <p style="font-size:.5em"> [mla_gallery my_custom_sql='attachment_category=desktop orderby=id order=DESC' link=none size=medium columns=4 mla_caption="<a href='https://www.theforgottenlair.net/wallpapers/?page_id={+parent+}'>{+parent_title+}</a>" numberposts=40] </p> <div style="clear: both; float: left"> [mla_gallery my_custom_sql='attachment_category=desktop' posts_per_page=40 mla_output="previous_page,wrap" mla_link_text='← LAST PAGE' mla_rollover_text="Previous/Last Page"] </div> <div style="float: right"> [mla_gallery my_custom_sql='attachment_category=desktop' posts_per_page=40 mla_output="next_page,wrap" mla_link_text='NEXT PAGE →' mla_rollover_text="Next Page"] </div>
I am currently in the process of creating a new category for the mla gallery, as this will be the second gallery I have on this site.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Link To Parent Post’ is closed to new replies.