Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Photo Seller – Change Pagination Button Text on Photo Details Page

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – Change Pagination Button Text on Photo Details Page

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by Peter.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 27, 2015 at 7:42 pm #13103
    kjhatzi
    Member

    Hello again,

    I am using pagination on the Photo Details page.

    Is there a way that I can change the text on the pure-button. Currently it says “Photo 1 of 4”. I would like to change the word “Photo” to “Image” so that the button says “Image 1 of 4.” (I don’t sell photos.)

    Can you tell me how I can do that?

    Thanks so much,

    Karen

    December 28, 2015 at 12:59 am #72160
    Peter
    Member

    Hi Karen,

    The best way to do this would be with a filter which I will need to add.

    Once the filter is added all you need to do is put some code in your theme’s functions.php file to modify the wording.

    I will send you a copy of the upated plugin zip file once I’ve done the mods.

    December 28, 2015 at 2:02 am #72161
    Peter
    Member

    I have sent you an updated version of the plugin to try.

    To change the word “Photo” to “Image” in the wording “Photo 1 of 20” please do the following:

    Edit your theme’s functions.php file and add the following code to the bottom of that file:

    function change_pagination_wording($photo_nav_info){
    return str_replace('Photo', 'Image', $photo_nav_info);

    }
    add_filter( 'photo_details_pagination_message', 'change_pagination_wording' );

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ