Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo seller – Changing titles from "photos" to "pictures"
Tagged: customization, photo seller
- This topic has 9 replies, 5 voices, and was last updated 8 years ago by photo-5.
-
AuthorPosts
-
July 21, 2015 at 8:53 am #12896Steve_TMember
Please can you direct me to the relevant files (I have searched the php files and have been unable to locate the necessary file) so that I can change the displayed words ‘Photo Details’ to ‘Picture Details’, ‘Photo 1 of xx’ to ‘Picture 1 of xx’ and for the option buy the entire gallery to change the text from ‘xx Photos’ to ‘xx Pictures’. I hope that makes sense. Thanks in advance.
July 21, 2015 at 11:37 pm #70860adminKeymasterYou should be able to do most of these by customizing the language file only. Read the entry under the “Translation” section from the following documentation:
http://photography-solutions.tipsandtricks-hq.com/wp-photo-seller-documentation/
It will explain how you can edit the POT file with the text/language you want and then generate the language files.
July 22, 2015 at 12:21 pm #70861Steve_TMemberThank you for your help. I made new files as directed with the amended text and uploaded the files to the server but it has made no difference to the rendered pages in a browser. I repeated the operation but again without success.
I considered updating the wp-config to reference the new WPS-en_GB files generated by Poedit but considering that would probably affect the entire site I refrained from doing it.
I think I may be missing something!
July 22, 2015 at 2:11 pm #70862Steve_TMemberI found all the items which I wanted to change within one file: photo-details-template-new.php which was a lot simpler than going down the language route as suggested (mostly because I couldn’t get it to work).
I changed all the text I needed to with the exception of the ‘Photo Details’ title which is at the top of the photo pages – I have searched endlessly and cannot find that anywhere. Any guidance on where to find it would be appreciated.
July 22, 2015 at 11:56 pm #70863adminKeymasterI think you are referring to the page title. You can edit your photo details page (from the wordpress page editor) and change the page title.
July 23, 2015 at 7:48 am #70864Steve_TMemberDoh!
Thank you.
May 17, 2016 at 1:38 am #70865kbphotoMemberI want to change “TO BUY THIS PHOTO CHOOSE FROM THE SELECTIONS BELOW:” to “TO RENT THIS PHOTO CHOOSE FROM THE SELECTIONS BELOW:
And the “QTY” Field in the cart price sheet from “QTY” to “NUMBER OF WEEKS”
Where can I find the correct templates to edit this in the editor?
Many Thanks!
May 17, 2016 at 4:41 am #70866PeterMemberThere is a filter you can use for the “TO BUY THIS PHOTO CHOOSE FROM THE SELECTIONS BELOW”.
The filter is called “wpps_filter_pricing_table_heading”.
You just need to add the following code to your theme’s functions.php file:
add_filter('wpps_filter_pricing_table_heading','change_photo_seller_pricing_heading');
function change_photo_seller_pricing_heading($pricing_table_heading)
{
$pricing_table_heading = "Enter your new heading here";
return $pricing_table_heading;
}For the “Qty” string – you can’t really change that in any easy way.
It is hardcoded in the following file:
wp-photo-sellerviewsphotophoto-details-template-new.php
May 17, 2016 at 4:06 pm #70867kbphotoMemberThanks!
September 10, 2016 at 3:54 am #70868photo-5SpectatorThanks – this worked well for me in my child theme’s functions.php.
-
AuthorPosts
- You must be logged in to reply to this topic.