Mq translate plugin custom post type issue

MQtranslate is a fork of Qtranslate so the hooks should be the same, and to get Qtranslate to Work in custom taxonomies I use this: /** * qtranslate custom taxonomies */ function qtranslate_edit_custom_taxonomies(){ $args=array( ‘public’ => true , ‘_builtin’ => false ); $output=”object”; // or objects $operator=”and”; // ‘and’ or ‘or’ $taxonomies = get_taxonomies($args,$output,$operator); if … Read more

Troubleshooting Plugins.php HTTP install path vs. a HTTPS for a single Plug-In

The root of my problem was none of the above and it was a change in the way WordPress internal variables worked. The plug-in I was attempting to troubleshoot was utilizing the following: define(‘WPA_PLUGIN_DIR’, WP_PLUGIN_DIR . “https://wordpress.stackexchange.com/” . WPA_PLUGIN_NAME); define(‘WPA_PLUGIN_URL’, WP_PLUGIN_URL . “https://wordpress.stackexchange.com/” . WPA_PLUGIN_NAME); New Code which per these two links stating to do … Read more

How can I add few css or js file into my plugin

if( ! function_exists( ‘style’ )){ function style() { wp_enqueue_script(‘jquery’); wp_enqueue_style ( ‘my-admin-theme’, plugins_url ( ‘style.css’, __FILE__ ) ); //wp_enqueue_script ( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js’, array (), ‘1.0.0’, true ); // already included jQuery wp_enqueue_script ( ‘uploadfile’, ‘http://hayageek.github.io/jQuery-Upload-File/jquery.uploadfile.min.js’, array (), ‘1.0.0’, true ); } add_action( ‘wp_enqueue_scripts’, ‘style’ ); add_action ( ‘admin_enqueue_scripts’, ‘style’ ); add_action ( ‘login_enqueue_scripts’, ‘style’ ); … Read more

Installing Jplayer in WordPress

After uploading the plugin file to a directory inside your theme, you will want to enqueue the plugin file in functions.php You should already have a similar function in your functions.php file, but if you don’t yo can add it. Change false to true if you want the file to load in the footer instead … Read more