Integration-CMB2-qTranslate

By : jmarceli

CMB2-qTranslate is WordPress plugin for CMB2 and qTranslate X integration. Adds language switch buttons above selected CMB2 fields to make content translatable.

Supported CMB2 field types:

  • input
  • textarea
  • wysiwyg
  • repeatable field groups

In order to make field translatable add .cmb2-qtranslate class to it.

Usage example

WYSIWYG field:

> $field1 = $cmb_demo2->add_field( array(
>   'name' => __( 'SECOND Text', $this->plugin_slug ),
>   'desc' => __( 'field description (optional)', $this->plugin_slug ),
>   'id' => $prefix . $this->plugin_slug . '_second_text',
>   'class' => 'cmb2',
>   'type' => 'wysiwyg',
>   'options' => array(
>     'editor_class' => 'cmb2-qtranslate'
>   )
> ) );

Other fields:

> $field2 = $cmb_demo->add_field( array(
>   'name' => __( 'Text Small', $this->plugin_slug ),
>   'desc' => __( 'field description (optional)', $this->plugin_slug ),
>   'id' => $prefix . $this->plugin_slug . '_textsmall',
>   'class' => 'cmb2',
>   'type' => 'text',
>   'attributes' => array(
>     'class' => 'cmb2-qtranslate'
>   )
> ) );

Detailed info about field creation could be found in CMB2 project documentation (https://github.com/WebDevStudios/CMB2/wiki).

Requirements/Dependencies

  • CMB2 (https://pl.wordpress.org/plugins/cmb2/)
  • qTranslateX (https://pl.wordpress.org/plugins/qtranslate-x/)

Links

  • Github project page

Fix for Yoast SEO and qTranslate/qTranslateX

When using qTranslete or qTranslateX with Yoast SEO plugim it outputs all languanges in title. This plugin fix this. Only current languange will be outputed. It runs filter that wraps $title into __() and fixes Yoast SEO plugin that outputs all languanges at once in Title. I acctualy sugested to Joo.........

Similar: 50%

Integration of Yoast wordpress SEO module with mqtranslate module

WordPress Seo Integration is a plugin to integrate the WordPress SEO plugin by Yoast plugin and mqTranslate (a fork of qtranslate) to manage the meta fields and sitemaps in a website with different languages. The plugin is an Alpha version and only has the next features: Administration panel to .........

Similar: 19%

WP-United : phpBB WordPress Integration

Bridge phpBB and WordPress! WP-United glues together WordPress sites and phpBB forums. Get the full power of WordPress publishing and plugins, with the familiar and established community format of phpBB. WP-United is fully modular and individual features can be turned on and off. These features in.........

Similar: 7%

Oganro Travel Portal Search Widget for HotelBeds APITUDE API

Oganro developed this plugin purely for our clients who wish integrate their WP travel website with HotelBeds XML api for hotels. HotelBeds APIs helps to create and develop travel websites with access to over 75,000 hotel rates & inventories instantly. Also they provide over 10,000 activities an.........

Similar: 6%

Inline Comments

Inline Comments adds your comment system to the side of paragraphs and other sections (like headlines and images) of your post. It performs native with WordPress comments. The comment area is shown when you click the comment count bubbles (left or right) beside any section. When publishing a comme.........

Similar: 6%

Google Integration Toolkit

Google provides a lot of useful services, which can be integrated with your blog. With them you can check how your site is indexed in Google (using Google Webmaster Tools), get detailed statistics (Google Analytics), earn money (Google AdSense) and more. This plugin allows to easily integrate them w.........

Similar: 6%

WP SIMILE Timeline

This plugin integrates the SIMILE Timeline into WordPress and provides an option interface for the various timeline settings. Developed by SIMILE Labs, the Timeline is a web widget for visualizing temporal data. Features: Include individual categories to be displayed in the timeline Build a lifes.........

Similar: 6%

2BC Form Security

The 2BC Form Security WordPress plugin will increase security and reduce spam by using tools like the Google reCAPTCHA V2 widget (noCAPTCHA CAPTCHA) and a honeypot field. While simple, these can be very effective at keeping spam bots and scripts out of your site....

Similar: 6%

Lime

Lime is a wierd name for a plugin, but this plugin is no average plugin. You can Integrate with Google services like Google Analytics and Google Webmaster Tools. You can manage permissions, update admin menu structure and much, much more....

Similar: 6%

Offsite Post

You can use this to show posts from other sites on your homepage and in your archives alongside your own sites posts. After you activate the plugin, any post with the post type "Link" will redirect to the first link in that posts content....

Similar: 6%