• Resolved orbitdesign

    (@orbitdesign)


    How would I properly hyperlink the…. upg_get_album($post’name’) … code that I added to the grid layout code below:

    Code in the layout editor:

    <div class=”footer” style=”text-align:center”>

    <?php echo $thetitle; ?> <?php echo upg_get_album($post,’name’); ?>

    </div>

    • This topic was modified 5 years, 2 months ago by orbitdesign.
    • This topic was modified 5 years, 2 months ago by orbitdesign.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author odude

    (@odude)

    The code you have inserted will only return the album name,
    If you want album name along with with links,
    You should use

    <a href="<?php echo upg_get_album($post,'url'); ?>">
    <?php echo upg_get_album($post,'name'); ?>
    </a>

    The code is not tested, but should work.

    • This reply was modified 5 years, 2 months ago by odude.
    Thread Starter orbitdesign

    (@orbitdesign)

    Thank you – that worked perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding code to Grid Layout to Show Album Name With Hyperlink’ is closed to new replies.