WordPress.org

Support

Support » Plugins and Hacks » Change slickr code so that people can’t tell it’s from flickr?

Change slickr code so that people can’t tell it’s from flickr?

  • I’m using the wordpress plugin slickr, which you can see DL at http://www.stimuli.ca/slickr

    it allows you to create a lightbox js powered image gallery that references flickr for its content which you can then insert into any page or into the sidebar

    you can see it in action at my website:
    http://www.winnertakenothing.com/gallery/

    I’d like to be able to replace the text that you see at first “Select a Flickr album to view its photos.” with something a little more informative since people seem to not be able to figure out how to use the interface. How would I go about changing that text i.e. what code would I edit and what would I replace/add?

    I’d also like to be able to remove the text on the left that says “flickr albums” and replace it with something like “albums” or perhaps nothing
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • On line 398, find:

    echo ("<p class=\"slickr_heading\">".html_entity_decode(str_replace("\n","<br>",$album['description']))."</p>");

    You could change that to:

    echo ("<p class=\"slickr_heading\">"Albums"</p> and see how that works for you.

    replacing it with

    echo (“<p class=\”slickr_heading\”>”Albums”</p>”);

    doesn’t work, I get an error message

    That’s because there are missing slashes. Use this instead:

    echo "<p class=\"slickr_heading\">Albums</p>\n";

    Whoops, my bad….didn’t catch my own mistake.

    hmmm, now the code works, but it doesn’t have the intended effect, it just adds an extra “albums” line of text above the alblums, it doesn’t remove the other stuff

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change slickr code so that people can’t tell it’s from flickr?’ is closed to new replies.
Skip to toolbar