Skip to content

WPML compatibility #13

@mherna4

Description

@mherna4

I found that at least the ‘Footnotes Header’ field was not translated correctly with WPML.
I contacted WPML support and they gave me the following solution:

Open the ‘footnotes-made-easy.php’ file found in wp-content/plugins/footnotes-made-easy.
Search for line 290.
Replace:

$footnotes_markup = $footnotes_markup . $this->current_options[ ‘pre_footnotes’ ];
by
$footnotes_markup = $footnotes_markup . get_option( ‘swas_footnote_options’ )[ ‘pre_footnotes’ ];

Always in the same file but on line 314 you will find a similar code. change it to this one.

$footnotes_markup = $footnotes_markup . ” . get_option( ‘swas_footnote_options’ )[ ‘post_footnotes’ ];

It worked for me!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions