- xaps504 December 24, 2013 at 1:09 am
hello!
I received the following messageFatal error: Call to undefined function nice_admin_menu_icon() in /homepages/3/d507145090/htdocs/blog/wp-content/themes/paeon/includes/custom-post-types/feedback.php on line 35
this happened when I modified part of file
paeon/includes/functions.phpbut I’ve gone up a backup but still the same problem
Can you help me?
thank!Juanfra Aldasoro December 24, 2013 at 1:11 amHello,
Thanks for writing.
What’s the modification you’ve made on that file?
What version of the Framework are you running? (You can check this by going to “Nice Themes > Updates”).
Best,
Juan.xaps504 December 24, 2013 at 1:21 amthe changes are:
several things to translate SpanishI can not access wordpress. for I believe that the framework can be
Framework version for this site: 1.1.0Juanfra Aldasoro December 24, 2013 at 1:25 amHi There,
There’s no need to modify the code in order to translate the theme. The theme comes packed with the .po and .mo files under the /lang/ folder in order to be translated. It’s quite probable that there’s a bad ending on some string or something that is giving the error. The function nice_admin_menu_icon() is part of the Nice Framework and was included on the last update. So, if you downloaded the theme recently the function should be there.
One thing you can try is re-download the theme, and replace all the files inside the folder /engine/ with the ones you download.
If you try this and you still have the error please send me your WordPress access details and FTP details over support@nicethemeswp.com so I can take a look.
Best,
Juan.xaps504 December 24, 2013 at 1:33 amthank you very much, John
I will try to see if I solve it. If I can not, I will contact you.
thank
xaps504 December 24, 2013 at 1:51 amhello!
I have been able to access in wp. I deleted the theme and have installed again.
How I can translate it into Spanish? The theme comes packed with the .po and .mo files under the /lang/ folder in order to be translated?
Juanfra Aldasoro December 24, 2013 at 1:54 amHi,
There are several ways to translate the theme. Personally, I like to use the program Poedit, you can get a copy over here: http://www.poedit.net/
First, download and install Poedit. Then, see that within the theme files there’s a folder named “lang”. Over there you can find the translatable files. So, you’ll need to do the following:
1. Open the file in Poedit.
On the left, there’s a box with the original message (in English) from the POT file. Beside that box is where you add your translation.
2. Go to File → Save as… to save your translations in a PO file. (must be named es_ES.po and es_ES.mo – These are for Spanish from Spain)
3. When you are finished translating, go to File → Save as… again to generate the MO file.Finally, you need to be running your WordPress install in Spanish:
http://codex.wordpress.org/WordPress_in_Your_Language#Spanish_-_Espa.C3.B1ol
Best,
Juan.
You must be logged in to reply to this topic.