- This topic has 2 replies, 2 voices, and was last updated 8 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – Change Pagination Button Text on Photo Details Page
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
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.
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' );