WordPress.org

Ready to get started?Download WordPress

Forums

Gallery
[resolved] Change "See Photo" Link (10 posts)

  1. wp-vic
    Member
    Posted 2 years ago #

    I have read several posts on how to change the "See Photo" link and none of them worked for me. Is there a different solution for the latest version?

    http://wordpress.org/extend/plugins/gallery-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Please replace the words 'See Photo' to the necessary words in the templates of your theme.

    Regards,
    Oksana

  3. wp-vic
    Member
    Posted 1 year ago #

    Thank you for your reply, Oksana.

    I have replaced 'See Photo' with 'View Gallery' in gallery-plugin.php, as well as in the language files and it still says 'See Photo' in my galleries. I also tried creating a new gallery after I made the changes and it still made no difference.

    Vic

  4. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Vic,

    It is possible that you have made changes in wrong files.
    Please follow the instructions below:

    1) Open folder with your theme.
    2) Find 'gallery-template.php' file.
    3) Find string 69

    <a href="<?php echo $permalink; echo basename( get_permalink( $post->ID ) ); ?>"><?php echo __( 'See photo &raquo;', 'gallery' ); ?></a>

    4) In mentioned string replace See photo with necessary words.
    5) Save the file and upload it to the theme folder.

    All changes in the 'gallery-plugin.php' file is related to the shortcode work only.

    Best regards,
    Oksana

  5. wp-vic
    Member
    Posted 1 year ago #

    Hi Oksana,

    My template does not have that file but it does have content-gallery.php and I didn't find the code there. I did change 'See photo' in the gallery-template.php and gallery-single-template.php in the templates folder of the BWS plugin. That didn't help either.

    I have also updated to the latest version of the plugin.

    Again, thanks for your help. Please don't give up on me.

    Vic

  6. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Vic,

    Please provide URL of the website so we will be able to analyze this issue.

    Perhaps you are looking in wrong files, because if you don't have 'allery-template.php' and 'gallery-single-template.php' files in your theme then gallery wouldn't display at all.

    Best,
    Oksana

  7. wp-vic
    Member
    Posted 1 year ago #

    Hi Oksana,

    The gallery is in http://www.vicomila.com/standrews/photo-gallery/
    The galleries do work just fine. I hope you find something.

    Vic

  8. mark3738
    Member
    Posted 1 year ago #

    Hi Vic

    I had the same problem but the problems is that you are looking at these files in your plugin folder and not inside your 'yoko' theme folder. When this plugin is installed it creates two template folders inside your theme. I never noticed them either, but you can edit them online, or download them and edit them.

    Once you have the gallery-template.php file from your yoko theme go to line 137 and you will see 'See photo »' and change to the words you want.

    It took me ages to find too, so hope this helps you and others.

  9. wp-vic
    Member
    Posted 1 year ago #

    That was it! I kept looking for the gallery files of my theme in my local folder and for some reason they did not download during backup but sure enough, they were in the remote folder.

    Thank you both, Oksana and Mark! I hope I can return the favor someday.

    Vic

  10. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Mark,

    Yes, you are right.

    Vic,

    We are glad to know that the issue is resolved.

    Best,
    Oksana

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.