WordPress.org

Ready to get started?Download WordPress

Forums

Change slickr code so that people can't tell it's from flickr? (6 posts)

  1. Woodnote
    Member
    Posted 7 years ago #

    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

  2. peiqinglong
    Member
    Posted 7 years ago #

    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.

  3. Woodnote
    Member
    Posted 7 years ago #

    replacing it with

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

    doesn't work, I get an error message

  4. pizdin_dim
    Member
    Posted 7 years ago #

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

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

  5. peiqinglong
    Member
    Posted 7 years ago #

    Whoops, my bad....didn't catch my own mistake.

  6. Woodnote
    Member
    Posted 7 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic