Digital experiences for all disciplines
Forum Replies Created
-
-
This reply has been marked as private.
tried a million different things, in the end thanks to google search this works…
copy this code into functions.php –/**
* WooCommerce Extra Feature
* ————————–
*
* Replace “Free!” by a custom string
*
*/
function woo_my_custom_free_message() {
return “TYPE YOUR CUSTOM MESSAGE HERE”;
}add_filter(‘woocommerce_free_price_html’, ‘woo_my_custom_free_message’);
update, please read comment above first!
As recommended in http://support.swiftideas.net/knowledgebase/how-to-translate-the-theme/ I edited my WordPress wp-config.php file and added this line to it, then saved the file to server:
define (‘WPLANG’, ‘en_US’);
Didn’t work, the Free! is still showing and it does not show the translated word.
Hi, I tried this and it didn’t work. this is what i did:
1. downloaded en_US.po
2. opened in poedit and added translation for Free (see screenshot)
3. Saved file, this generated the .mo file
4. Removed and archived current en_US.po + en_US.mo files
5. FTP’d new versions.
6. Refreshed page to see if the language changed.Have i missed something out? Did i need to do anything extra in poedit (am i editing the right phrase – on the site the price reads “Free!” however in poedit I can only find “Free” without the exclamation mark), should i do something after ftp’ing the file into the site to validate it?
please read my questions and advise on what step i should take next. thanks
Update: I have downloaded PoEdit on the mac and downloaded the following file “language/en_US.po” in there I have added a translation of FOB to the source text Free
Is this correct, and if so, how do i re-upload the file back into the site?
worked it out, go to theme options/asset background options
in there add background image for each alt option. set to cover if its a non tiled bg, select auto if its a tiled bg.i’m currently having the same issue, trying to apply a background to the twitter slider, all of the 10 alt backgrounds are not displaying any preset textures and do not load a background – i’ve scoured any documentation and videos i can find, but for the life of me I cannot find where to asign images to those 10 alt backgrounds. Am i missing something – is there a master spreadsheet somewhere where I can add images to the alt backgrounds or change the default 10 ones? I’m new to WP.
Hmmm, I think I may have figured it out. Please feel free to delete this post – I would but cannot see an option to.
-