This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
At <a href="https://motopress.com/">MotoPress</a>, our passion is to help businesses grow by delivering intuitive and scalable products for WordPress websites. With our roots firmly planted in WordPress, we’re poised to bring transparency, power, and security to the web. | |
Since 2013, we’ve been using our combined expertise as engineers, designers, writers, and support & marketing specialists to create innovative solutions for multiple businesses. You've probably heard of us as a developer of free solutions, Getwid WordPress blocks and MotoPress booking plugins, which are top favorites among our clients. | |
We've been building plugins and themes for various niches that we're passionate about. Whether you're a non-technical user or a developer creating client websites, MotoPress products are designed to help you achieve your goals. | |
<ul> | |
<li>We’ve been helping the <a href="https://motopress.com/products/category/hotel-booking-addons/">hotel industry</a>. Property owners can solely rely on our dedicated collectio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hook allows to disable Google Fonts | |
wp.hooks.addFilter('getwid.fontsControl.enableGoogleFonts', 'getwid', function (enabled) { | |
// current Google Fonts status(load or not) is passed to function as parameter | |
// should return true or false | |
// if return false - Google Fonts won't be loaded | |
return enabled; | |
}); | |
// hook allows to filter lists of fonts and add custom | |
wp.hooks.addFilter('getwid.fontsControl.fonts', 'getwid', function (fonts) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The code below removes the loading of some assets | |
* needed for the Getwid blocks on frontend | |
* | |
* Uncomment the element of the array that you want | |
* to prevent from loading | |
*/ | |
add_filter( 'getwid/blocks_style_css/dependencies', 'my_theme_dequeue_getwid_styles', 99 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: MotoPress Demo - Add User to Sandbox | |
* Plugin URI: https://motopress.com | |
* Description: This plugin allows you to add registered user to a new Sandbox. | |
* Author: MotoPress | |
* Version: 1.0 | |
* Author URI: https://motopress.com | |
* Network: True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Add font with icons to Getwid plugin. | |
* Use this code in functions.php or custom plugin. | |
*/ | |
// add hook | |
add_action( 'getwid/icons-manager/init', 'my_theme_getwid_add_custom_icons' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_print_styles', 'my_theme_wp_print_styles' ); | |
function my_theme_wp_print_styles() { | |
if ( is_front_page() ) { | |
wp_dequeue_style('mpce-theme'); | |
wp_dequeue_style('mpce-bootstrap-grid'); | |
wp_dequeue_style('mpce-font-awesome'); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: MotoPress Visual Controls Example | |
Plugin URI: http://www.getmotopress.com/ | |
Description: Example of the visual controls for object | |
Version: 1.0 | |
Author: MotoPress | |
Author URI: http://www.getmotopress.com/ | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: MotoPress Nested Shortcodes Example | |
Plugin URI: http://www.getmotopress.com/ | |
Description: Example of the Nested Shortcodes in MotoPress Content Editor plugin | |
Version: 1.0 | |
Author: MotoPress | |
Author URI: http://www.getmotopress.com/ | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// mp_code & mp_text can be hidden only | |
$motopressCELibrary->getObject('mp_code')->setShow(false); | |
$motopressCELibrary->getObject('mp_text')->setShow(false); | |
$motopressCELibrary->removeObject('mp_heading'); | |
$motopressCELibrary->removeObject('mp_image'); | |
$motopressCELibrary->removeObject('mp_grid_gallery'); | |
$motopressCELibrary->removeObject('mp_image_slider'); | |
$motopressCELibrary->removeObject('mp_video'); | |
$motopressCELibrary->removeObject('mp_space'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: MotoPress Copyright Proof Fix | |
Plugin URI: http://www.getmotopress.com/ | |
Description: Disable Copyright Proof plugin (frustrate_copy.js) in MotoPress visual editor | |
Version: 1.0 | |
Author: MotoPress | |
Author URI: http://www.getmotopress.com/ | |
*/ |
NewerOlder