Error when upgrating module

6.83K viewsUpdates
1

Hi,

I have a customized theme for my installation but every time when i upgrade this module all directory was erased and recreate conscequence my theme was lost each time.

I have same probleme with customized language.

Can you help me or correct upgrade process ?

thank’s a lot.

0

OK, i do that.

For the language file i will complete all translation and i will share with you this files.

it’s strange, but this solutions should be solve my problems/mistake for next upgrade.

Thank’s a lot

1

You did not understood what I said.

Create a folder called anspress in your active wordpress theme, like:

/wp-content/themes/Your_current_WordPress_theme/anspress
Now copy files from

/wp-content/plugins/anspress-question-answer/theme/default/

to newly created folder. and now AnsPress will look load this file instead of loading from anspress plugin folder.

language file name should be:

ap-fr_FR.po
ap-fr_FR.mo

If you would like to share this language then send me I will add it to anspress.

I doing same thing for others modules i don’t have lost my language file when updrade
— really ? but I think WordPress remove old plugin before downloading new plugin files.

0

For the names :

anspress-question-answer-fr_FR.mo
anspress-question-answer-fr_FR.po

//I doing same thing for others modules i don’t have lost my language file when updrade (It’s localisation plugin who generate this files)

For the theme, i have create an directory like that ? wp-content/theme/anspress/mytheme

But in webUI for configuring anspress my theme doesn’t appear in theme’s select box ?

0

i’m sorry of course i have create a new folder for my theme…

like that :
/wp-content/plugins/anspress-question-answer/theme/mytheme

and for the language :
/wp-content/plugins/anspress-question-answer/languages/*.mo / *.po

in fact my probleme is when i upgraded this module whole of directory /wp-content/plugins/anspress-question-answer was dropped.

no no, do not create in anspress-question-answer, but your active WordPress theme folder. What is the name of .po, .mo ?