Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7483

    Hello,

    I would like to make the logos at the footer of Abundance pages link to other pages or websites.

    I’ve tried typing a url in the image properties window and saving it, but it does not work. When I go back to the image to edit it, it still shows the image url.

    Your help will be greatly appreciated.

    Thanks,

    Daniel

    #58160

    Hey,

    the WP gallery doesn’t offer a link option and you can only hardcode your image links into footer.php – open up the file and replace:

    if(is_front_page() || avia_get_option('footer_logo_where') == 'everywhere')
    $attachment_holder = avia_get_post_by_title( "avia_smart-logo-gallery");

    if(!empty($attachment_holder['ID']))
    {
    $attachments = get_children(array('post_parent' => $attachment_holder['ID'],
    'post_status' => 'inherit',
    'post_type' => 'attachment',
    'post_mime_type' => 'image',
    'order' => 'ASC',
    'orderby' => 'menu_order ID'));
    if(is_array($attachments))
    {
    echo "<div class='footer-logos'><div class='container'>";
    foreach($attachments as $key => $attachment)
    {
    echo avia_image_by_id($attachment->ID);
    }
    echo "</div></div>";
    }
    }

    ?>

    with:

    if(is_front_page() || avia_get_option('footer_logo_where') == 'everywhere')	{
    echo "<div class='footer-logos'><div class='container'>";

    ?>

    <a href="http://google.com"><img alt="" title="1" src="http://www.kriesi.at/themes/abundance/files/2011/10/1.png"></a>
    <a href="http://google.com"><img alt="" title="2" src="http://www.kriesi.at/themes/abundance/files/2011/10/2.png"></a>

    <?php
    echo "</div></div>";
    }

    ?>

    And replace the sample images/links with your logos/links.

    #58161

    Thank you very much, it worked perfect!

    #58162

    Glad that I could help you :)

    #58163

    Hi Dude,

    I’m interested in having linkable logos. Is this a feature that will be available in the future, so one does not have to make changes to the php files?

    Much appreciated

    Lyse

    #58164

    Hello tremblayly,

    We will forward your concern to Kriesi.

    Regards,

    Ismael

    #58165

    Hi Ismael,

    One other option, which I think would be great, would be to have a slider scrolling the logos one has. I know I have lots I would like to add, but having to find a way to display these somewhere on the page…..

    Thanks,

    Lyse

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

The topic ‘Abundance Logo Footer Gallery – How to make links (clickable logos)’ is closed to new replies.