Multilingual with Horizontal scrolling announcement wordpress plugin with qtranslate I used Horizontal scrolling announcement wordpress plugin (v3.0) for some sites but currently it’s not supporting for multi langauges but I need. I modified the code in the plugin for displaying purpose in file: horizontal-scrolling-announcement.php in method: horizontal_scrolling_announcement() Line 53: $hsa = htmlspecialchars(__(stripslashes($data->hsa_text))); Line 61: $hsa = $hsa . ” – ” . htmlspecialchars(__(stripslashes($data->hsa_text))); At… Read More
PHP syntax error, unexpected $end – can be with short tag Parse error: syntax error, unexpected $end in … on line … While I develop a wordpress plugin, I got such error, finally I found that the issue when we use short tag in PHP <? … ?> So solutions we can try: Replace <? by <?php Enable PHP setting: short_open_tag Create or edit .htaccess file… Read More