File Editor
Directories:
.. (Back)
calypsoify
carousel
comment-likes
comments
contact-form
custom-css
custom-post-types
geo-location
google-analytics
infinite-scroll
lazy-images
likes
markdown
masterbar
memberships
minileven
photon
photon-cdn
plugin-search
post-by-email
protect
publicize
pwa
related-posts
search
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
sso
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-block-editor
Files:
.eslintrc.js
after-the-deadline.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
custom-css.php
enhanced-distribution.php
geo-location.php
google-analytics.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
lazy-images.php
likes.php
markdown.php
masterbar.php
minileven.php
mobile-push.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
protect.php
publicize.php
pwa.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
widget-visibility.php
widgets.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: minileven.php
<?php /** * Module Name: Mobile Theme * Module Description: Enable the Jetpack Mobile theme * Sort Order: 21 * Recommendation Order: 11 * First Introduced: 1.8 * Requires Connection: No * Auto Activate: No * Module Tags: Appearance, Mobile, Recommended * Feature: Appearance * Additional Search Queries: mobile, theme, minileven */ function jetpack_load_minileven() { include dirname( __FILE__ ) . "/minileven/minileven.php"; if ( Jetpack_Options::get_option_and_ensure_autoload( 'wp_mobile_app_promos', '0' ) != '1' ) remove_action( 'wp_mobile_theme_footer', 'jetpack_mobile_app_promo' ); } add_action( 'jetpack_modules_loaded', 'minileven_loaded' ); function minileven_loaded() { Jetpack::enable_module_configurable( __FILE__ ); } function minileven_theme_root( $theme_root ) { if ( jetpack_check_mobile() ) { return dirname( __FILE__ ) . '/minileven/theme'; } return $theme_root; } add_filter( 'theme_root', 'minileven_theme_root' ); function minileven_theme_root_uri( $theme_root_uri ) { if ( jetpack_check_mobile() ) { return plugins_url( 'modules/minileven/theme', dirname( __FILE__ ) ); } return $theme_root_uri; } add_filter( 'theme_root_uri', 'minileven_theme_root_uri' ); function minileven_enabled( $wp_mobile_disable_option ) { return true; } if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { add_filter( 'option_wp_mobile_disable', 'minileven_enabled' ); } jetpack_load_minileven();
Save Changes
Rename File
Rename