Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
327 views
in Plugins by

Hi can you adjustment this Wp plugin to Q&A. Please l wait your answer.

http://imlo.insof.uz/lotindan-kirillga.zip

Site v1.7.4 FlatBox

This is present: Blog tools (you want)

I do not know the English language well!

by
Php code! this is wp plugin
<?php

/*
  Plugin Name: Lotindan Kirillga
  Description:
  Version: 0.0.1
  Author: Javlon Juraev
  Author URI: http://www.dilpora.uz
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
 */



add_action('wp_enqueue_scripts', 'lotindan_kirillga_style');
add_action('wp_footer', 'lotindan_kirillga_script');

function lotindan_kirillga_script() {
    $htmlOutput = '<button id="lotindan_kirillga" class="button button-primary" onclick="lotindanKirillgaOyna()">A</button>
        <div id="lotindan_kirillga_oyna">
             <button id="lotindan_kirillga_lat" class="button button-primary" onclick="lotindanKirillgaTugma()">Kirill yozuvida o‘qish</button>
             <button id="lotindan_kirillga_cyr" class="button button-primary" onclick="lotindanKirillgaTugma()">Лотинда ёзувида ўқиш</button>
        </div>';
    echo $htmlOutput;
    wp_register_script('lotindan-kirillga', plugins_url('lotindan-kirillga.js', __FILE__), '', '', true);
    wp_enqueue_script('lotindan-kirillga');
}
function lotindan_kirillga_style() {
    //wp_register_style('lotindan-kirillga', plugins_url('lotindan-kirillga.css', __FILE__), '', '', true);
    //wp_enqueue_style('lotindan-kirillga');
    wp_register_style('lotindan-kirillga', plugins_url('lotindan-kirillga.css', __FILE__));
    wp_enqueue_style('lotindan-kirillga');

}

Please log in or register to answer this question.

...