Before you ask please READ THIS

Remove link from loop-album.php

edited December 2012 in Spaceship Posts: 5
Hello, how can I remove the link from active item on loop-album.php? I do not want the user to be redirected to the single album page.

Tks!

Comments

  • AirAir
    Posts: 10,970

    Hello,
    then what is the point of Albums list?:-) You wish to use it for other purpose?:-)

    To remove links change line ~44

            echo '<h2><a href="'. get_permalink() . '">' . get_the_title() . '</a></h2>';

    to

            echo '<h2>'. get_the_title() .'</h2>';

    With regards.

  • Hello, tks!

    I had already changed this. But the link on picture remains.

    I wil not use "album feature". I just want the featured image of each post, without link.
  • AirAir
    Posts: 10,970
    Could you post link to it so I could dee what is going on?
  • It's in localhost.

    Check in your demo.

    There's a link on album title (h2) and clicking anywhere on image.
  • And how can i contact you about few tweaks required?
  • AirAir
    Posts: 10,970
    But our demo has not changed code so it should work this way :-)
    Anyway there is script that opens album wherever you click on image, but this script is using anchor that we deleted in previous post so it shouldn't redirect anywhere.
    Are you redirected even with above change?

    About tweaks read this answer: http://support.apollo13.eu/discussion/658/few-tweaks-required.#Item_5

    With regards.
  • Clicking on the image the user is redirected to single album page.

    I want remove this link.

    Check the file attached.

    Tks!
    LINKS.jpg
    827 x 639 - 81K
  • AirAir
    Posts: 10,970
    You totally not answered my question. I was asking about your, changed, version.
    Does it still redirect even after you removed link from code?
    I don't ask about our demo - I know how it works:-)

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!