WordPress.org

Support

Support » Plugins and Hacks » Gallery by BestWebSoft » [Resolved] [Plugin: Gallery] Change "See Photo" Link

[Resolved] [Plugin: Gallery] Change "See Photo" Link

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author bestwebsoft

    @bestwebsoft

    Hello,

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

    Regards,
    Oksana

    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

    Plugin Author bestwebsoft

    @bestwebsoft

    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

    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

    Plugin Author bestwebsoft

    @bestwebsoft

    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

    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

    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.

    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

    Plugin Author bestwebsoft

    @bestwebsoft

    Mark,

    Yes, you are right.

    Vic,

    We are glad to know that the issue is resolved.

    Best,
    Oksana

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] [Plugin: Gallery] Change "See Photo" Link’ is closed to new replies.
Skip to toolbar