Woodnote
Member
Posted 5 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
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.
Woodnote
Member
Posted 5 years ago #
replacing it with
echo ("<p class=\"slickr_heading\">"Albums"</p>");
doesn't work, I get an error message
pizdin_dim
Member
Posted 5 years ago #
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.
Woodnote
Member
Posted 5 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