array("ABeeZee","ABeeZee"), "Arvo-Italic" => array("Arvo:400italic","Arvo"), "Alegreya-Regular" => array("Alegreya","Alegreya"), "AlegreyaSans-Regular" => array("Alegreya+Sans","Alegreya Sans"), "AnonymousPro-Regular" => array("Anonymous+Pro","Anonymous Pro"), "ArchivoBlack-Regular" => array("Archivo+Black","Archivo Black"), "ArchivoNarrow-Italic" => array("Archivo+Narrow:400italic","Archivo Narrow"), "ArchivoNarrow-Regular" => array("Archivo+Narrow","Archivo Narrow"), "Arvo-Regular" => array("Arvo","Arvo"), "Bitter-Regular" => array("Bitter:400","Bitter"), "Chivo-Regular" => array("Chivo","Chivo"), "ContrailOne-Regular" => array("Contrail+One","Contrail One"), "CrimsonText-Italic" => array("Crimson+Text:400italic","Crimson Text"), "Domine-Regular" => array("Domine","Domine"), "Bitter-Bold" => array("Bitter:700","Bitter"), "FiraSans-Regular" => array("Fira+Sans","Fira Sans"), "Inconsolata-Regular" => array("Inconsolata","Inconsolata"), "JosefinSlab-Regular" => array("Josefin+Slab","Josefin Slab"), "Karla-Regular" => array("Karla","Karla"), "Lato-Regular" => array("Lato","Lato"), "Bitter-Italic" => array("Bitter:400italic","Bitter"), "LibreBaskerville-Regular" => array("Libre+Baskerville","Libre Baskerville"), "Cairo-Bold" => array("Cairo:700","Cairo") ); public static $languageArray = null; // Default values protected $op = array( ANDROAPP_IMAGE_DIMENSION => 'preview', ANDROAPP_EXCERPT_PREFERENCE => 'excerpt', ANDROAPP_POST_CONTENT => 'postprocessed', ANDROAPP_ENABLE_WP_SUPER_CACHE => '0' ); protected $buildop = array( ANDROAPP_GOOGLE_APP_ID => '', ANDROAPP_GOOGLE_SENDER_ID => '', ANDROAPP_IOS_APP_ID => '' ); protected $postContentop = array( 'androapp_header_script' => '', 'androapp_before_post_content' => '', 'androapp_after_post_content' => '', ); protected $accountop = array( ANDROAPP_NOTIFICATION_TYPE_KEY => 'single', 'push_stack_thershold' => '5' ); public function getInstallLink($slug){ $action = 'install-plugin'; return wp_nonce_url( add_query_arg( array( 'action' => $action, 'plugin' => $slug ), admin_url( 'update.php' ) ), $action.'_'.$slug ); } function initCustomPostsTaxonomies(){ $args=array('public' => true, '_builtin' => false); $output = 'names'; // or objects $operator = 'and'; $this->custom_taxonomies = get_taxonomies($args, $output, $operator); $args = array('public' => true, '_builtin' => false); $this->custom_post_types = get_post_types( $args, 'names', 'and' ); } public function __construct(){ pw_mobile_app_settings::$languageArray = array("HOME"=> __("Home", 'androapp'), "SELECT" => __("Select...", 'androapp'), "SELECT_CATEGORY"=> __("Select Category", 'androapp'), "CANT_CONNECT"=> __("Can't Connect", 'androapp'), "RETRY"=> __("Tap to Retry", 'androapp'), "CONNECTION_TIMEOUT"=> __("Connection Timeout", 'androapp'), "UNKNOWN_ERROR"=> __("Unknown Error", 'androapp'), "LOADING"=> __("Loading...", 'androapp'), "SHARE_TITLE" => __("Hey, I found this interesting", 'androapp'), "NEW_POST"=> __("New Post", 'androapp'), "NEW_POSTS"=> __("new posts", 'androapp'), "YEAR"=> __("year", 'androapp'), "MONTH"=> __("month", 'androapp'), "DAY"=> __("day", 'androapp'), "HOUR"=> __("hour", 'androapp'), "MINUTE"=> __("minute", 'androapp'), "SECOND"=> __("second", 'androapp'), "YEARS"=> __("years", 'androapp'), "MONTHS"=> __("months", 'androapp'), "DAYS"=> __("days", 'androapp'), "HOURS"=> __("hours", 'androapp'), "MINUTES"=> __("minutes", 'androapp'), "SECONDS"=> __("seconds", 'androapp'), "AGO"=> __("ago", 'androapp'), "BY"=> __("by", 'androapp'), "IN"=> __("in", 'androapp'), "NO_COMMENTS"=> __("No comments yet, Be the first one to comment", 'androapp'), "COMMENTS_TITLE"=> __("COMMENTS", 'androapp'), "COMMENT_EMPTY"=> __("Comment field is Empty", 'androapp'), "PROVIDE_EMAIL"=> __("Please provide your name and email address", 'androapp'), "SENDING_COMMENT"=> __("Sending Comment...", 'androapp'), "AWAITING_MODERATION"=> __("Awaiting Moderation", 'androapp'), "TYPE_MESSAGE"=> __("Type Message", 'androapp'), "TYPE_REPLY_MESSAGE"=> __("Type Reply Message", 'androapp'), "COMMENT_SETTINGS"=> __("Comments Settings", 'androapp'), "NAME"=> __("Name", 'androapp'), "EMAIL"=> __("Email", 'androapp'), "EMAIL_EMPTY"=> __("Email can't be Empty", 'androapp'), "VALID_EMAIL"=> __("Please enter a valid email address", 'androapp'), "ATLEAST_THREE_CHARS"=> __("Please enter atleast 3 characters in name", 'androapp'), "VALID_NAME"=> __("Name can't be Empty", 'androapp'), "SUBMIT"=> __("Submit" ,'androapp'),"SEARCH_HINT" => __("Search Posts", 'androapp'), "EMPTY_SEARCH_RESULT" => __("Sorry, no content matched your criteria",'androapp') ,"OFFLINE_POSTS" => __("Saved Posts") ,"SAVE_FOR_OFFLINE" => __("Save Offline"), "REMOVE_FROM_OFFLINE" => __("Remove from Offline Save"), "PERMISSION_NEEDED" => __("Permission Needed"), "SETTINGS" => "Settings", "PERSONALIZED_ADS" => "Personalized Ads", "FONT_SIZE" => "Font Size", "DEFAULT" => "Default", "SMALL" => "Small", "MEDIUM" => "Medium", "LARGE" => "Large", "PUSH_NOTIFICATIONS" => "Push Notifications", "wooseparator" => __("wooseparator",'androapp'), "PRODUCT_DESCRIPTION"=> __("Description", 'androapp'), "CART"=> __("Cart", 'androapp'), "CHECKOUT"=> __("Checkout", 'androapp'), "ADD_TO_CART_ERROR"=> __("Could not update cart !!", 'androapp'), "LOGIN"=> __("Login", 'androapp'), "USERNAME"=> __("Username", 'androapp'), "PASSWORD"=> __("Password", 'androapp'), "REPASSWORD"=> __("Re Type Password", 'androapp'), "CANT_BE_EMPTY"=> __("Can't be EMpty", 'androapp'), "SHIPPING_ADDRESS"=> __("Shipping Address", 'androapp'), "BILLING_ADDRESS"=> __("Billing Address", 'androapp'), "FIRST_NAME"=> __("First Name", 'androapp'), "LAST_NAME"=> __("Last Name", 'androapp'), "CITY"=> __("City", 'androapp'), "STATE"=> __("State", 'androapp'), "COUNTRY"=> __("Country", 'androapp'), "PINCODE"=> __("Pincode", 'androapp'), "ADDRESS1"=> __("Address 1", 'androapp'), "ADDRESS2"=> __("Address 2", 'androapp'), "PHONE"=> __("Phone", 'androapp'), "PASSWORDS_DONT_MATCH"=> __("Password do not match", 'androapp'), "ENTER_COUPON_CODE"=> __("Enter Coupon Code", 'androapp'), "APPLY_COUPON"=> __("Apply Coupon", 'androapp'), "SUBTOTAL"=> __("Subtotal", 'androapp'), "TAXES"=> __("Taxes", 'androapp'), "SHIPPING_AND_HANDLING"=> __("Shipping And Handling", 'androapp'), "TOTAL"=> __("Total", 'androapp'), "Discount"=> __("Discount", 'androapp'), "NEXT"=> __("Next", 'androapp'), "BACK"=> __("Back", 'androapp'), "ORDER_NOTE"=> __("Order Note", 'androapp'), "SHIPPING_METHOD"=> __("Shipping Method", 'androapp'), "ORDER_REVIEW"=> __("Order Review", 'androapp'), "ORDER_COMPLETE"=> __("Order Status", 'androapp'), "PAYMENT_METHOD"=> __("Payment Method", 'androapp'), "ORDER"=> __("Order", 'androapp'), "ORDER_STATUS"=> __("Order Status", 'androapp'), "LOGGED_OUT"=> __("You are now logged out", 'androapp'), "CART_EMPTY"=> __("Cart Empty", 'androapp'), "BROWSE_PRODUCTS"=> __("Browse Products", 'androapp'), "ADDED_TO_CART"=> __("Added to cart", 'androapp'), "COUPON"=> __("Coupon", 'androapp'), "APPLIED"=> __("Applied", 'androapp'), "MRP"=> __("MRP", 'androapp'), "BUY_NOW"=> __("BUY NOW", 'androapp'), "OUT_OF_STOCK"=> __("Out Of Stock", 'androapp'), "REGISTER" => __("Register", 'androapp'), "PRODUCT_ADD_TO_CART_ERROR" => __("Product can not be added to cart", 'androapp'), "COUPON_APPLY_ERROR" => __("Coupon can not be applied", 'androapp'), "VENDOR" => __("Vendor",'androapp'), "NOT_ENOUGH_STOCK" => __("Sorry, Not enough stock",'androapp'), "SAME_AS_BILLING_ADDRESS"=> __("Same as Billing Address",'androapp'), "UPDATE_QUANTITY"=> __("Update Quantity",'androapp'), "CART_UPDATED"=> __("Cart Updated",'androapp'), "QUANTITY_TEXT_VALIDATION"=> __("Please enter a number",'androapp') ); add_action('admin_init', array($this,'admin_init')); add_action('admin_menu', array($this, 'add_page')); add_action('admin_notices', array($this, 'my_plugin_admin_notices')); $this->scriptOptions = get_option($this->scripts_option); if((empty($this->scriptOptions['scripts']) || ($this->scriptOptions['count'] < 5))) { add_action( 'print_scripts_array', array($this, 'add_scripts'), 999); add_action('wp_print_scripts', array($this, 'add_late_scripts'), 999); $this->scriptOptions['count'] = $this->scriptOptions['count'] +1; } if(!get_option(PW_ANDROAPP_VERSION_KEY)) { //dont save any properties here as they are going to be set by activation hook update_option(PW_ANDROAPP_VERSION_KEY, $this->androappVersion); }else{ $oldVersion = get_option(PW_ANDROAPP_VERSION_KEY); if(!empty($oldVersion) && $oldVersion != $this->androappVersion ){ if( $oldVersion < 319){ $this->updateFor319(); } if( $oldVersion < 320){ $this->updateFor320(); } if( $oldVersion < 403){ $this->updateFor403(); } if( $oldVersion < 406){ $this->updateFor406(); } if( $oldVersion < 501){ $this->updateFor501(); } if( $oldVersion < 600){ $this->updateFor600(); } if( $oldVersion < 603){ $this->updateFor603(); } if( $oldVersion < 605){ $this->updateFor605(); } if( $oldVersion < 608){ $this->updateFor608(); } if( $oldVersion < 700){ $this->updateFor700(); } if( $oldVersion < 701){ $this->updateFor701(); } if( $oldVersion < 1000){ $this->updateFor605(); } if( $oldVersion < 1200){ $this->updateFor1200(); } if( $this->androappVersion == 1701){ $this->updateFor1701(); } update_option(PW_ANDROAPP_VERSION_KEY, $this->androappVersion); } } } function show_success_message($message) { ?>
'. __('Google play developer console','androapp').''; printf( /* translators: %s: Google Play developer console link */ __('Create a new account on %s and submit your app yourself. You need to pay one time fee of $25. Generally it takes around 48 hours (after the payment) for new accounts to get approved.', 'androapp'), $googleConsoleLink); ?>
While uploading your apk to google play store remember to not sign up for App Signing as we are taking care of that for you: click here for more info.
'. printf( /* translators: %s: apk link on play store */ __('After you submit your app to Google Play Store, this will be the link to your app %s', 'androapp'), $applinktext).'
'; } ?>
here';
printf(
/* translators: %s: here (with payment link) */
__('AndroApp is completely free for the first month, after that you can purchase annual subscription from %s. Mention your email id and site link in shipping address. We will activate your annual subscription.',
'androapp'),
$purchaseLink);
?>
".__('Your Renewal date: ','androapp')."".$renewaldate;
echo "
";
}
printf(
/* translators: %s: our email */
__('Please get in touch with us @ %s for any more clarifications.','androapp'),
'contact@androapp.mobi');
?>
| Google API Key: | '.__('Click here','androapp').''; printf( /* translators: %s: Click here */ __('We use Firebase cloud messaging API\'s for push notifications, %s to see the instructions to create a Firebase API project', 'androapp'), $androAppGcmLink);?> " value="" /> ".__('Please install curl for push notifications to work.','androapp').""; } ?> |
|---|---|
| : |
For Android App: " value="" />
Create one more Firebase app for IOS in same project, click here for instructions. For IOS App: " value="" /> |
| : |
Do not send Push Notification checkbox. Set the default value for that checkbox here (if checked, push notification will not be sent by default)','androapp');?> " value="1" /> Bulk Send: We introduced bulk notification send from 6.05, by default it is enabled. it is recommended, but does not give detailed info on successful sent count. You can disable it to get the correct count, but not recommended for performance reasons. " value="1" />Disable Bulk Send Notification Cache: When a push notification is received by end user, by default we cache the post data on phone, so that even if user is offline, when he clicks on the notification, post can be opened(for post content type: preprocessed/postprocessed). But, this might slow down your server, So if your server is not able to handle the load, you can disable the cache. By disabling the cache, post data will be fetched only when user clicks on the notification. " value="yes" />Disable Notification Cache Notification Stacking (* since version 14.01): Android has the capability of stacking push notifications.For multiple notifications, we can club all notifications in 1 instead of showing them individually. It's a good user experience. By default we stack them after 3 unclicked notifications, you can change that setting by increasing this number. Stack them up after unclicked notifications. |
| : | '.__('Click here','androapp').''; printf( /* translators: %s: Click here */ __('To know pageviews, exceptions, number of shares, comments from the app, %s to create a google analytics account.' ,'androapp'), $androappAnalyticsLink); ?> For Android App:" value="" /> For IOS App:" value="" /> |
|---|
| : |
Mopub
" value="" />
Admob
" value="" />
AppNext " value="" /> Show Only On " value="1" />List Screen " value="1" />Single Post/Page Screen |
|---|---|
| : |
Mopub
" value="" />
Admob " value="" /> AppNext " value="" /> . (for list view) Show Only On " value="1" />List Screen " value="1" />Single Post/Page Screen |
| : |
Mopub
" value="" />
Admob
" value="" />
AppNext " value="" /> Show Only On " value="1" />List Screen " value="1" />Single Post/Page Screen |
| : |
:
" value="" />
:
" value="" />
()
: " value="" /> ( mopub, appnext and than Admob) . () |
| : |
'.
__('Google Adsense policy','androapp').'';
printf(
/* translators: %s: Google Adsense Policy */
__('%s does not allow to use adsense units in mobile app, select this checkbox if you want to strip adsense code from mobile app pages. (works only when post content type is pre processed or post processed)',
'androapp'),
$googleAdsensePolicyLink);
?>
" value="1" /> |
✓"; } function isTimeZoneError(){ try{ $this->androapp_json_get_timezone(); return false; }catch(Exception $e){ return true; } return false; } function isAndroAppHtAccessRulesPresent(){ $home_path = trailingslashit( get_home_path() ); $rules = implode( "\n", extract_from_markers( $home_path.'.htaccess', 'AndroApp' ) ); return !empty($rules); } function androapp_update_htaccess() { $home_path = trailingslashit( get_home_path() ); $wprules = implode( "\n", extract_from_markers( $home_path.'.htaccess', 'WordPress' ) ); $rules = "
isTimeZoneError()) { ?>
' .__('click here', 'androapp').''; printf( /* translators: %s: click here */ __( 'Wordpress REST APIs does not work correctly for your current timezone, %s to change it and come back.', 'androapp' ), $optionsLink ); ?> (
isShowHtAccessRules($permalink_structure)){ $home_path = trailingslashit( get_home_path() ); ?>'.__('Permalink link structure from here','androapp').' '; printf( /* translators: %s: Permanent link structure from here */ __( 'Wordpress REST APIs does not work as expected in default link structure, if possible change your Permalink Structure(recommended) OR add this on top of your .htaccess file' ,'androapp'), $$linkOpen); ?>
# BEGIN AndroApp <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^wp-json/(.*)/$ /?rest_route=/$1 [NC,L,QSA] RewriteRule ^wp-json/(.*)$ /?rest_route=/$1 [NC,L,QSA] </IfModule> # END AndroApp
". __('We could not modify your .htaccess file, please check the file permission.' , 'androapp') ."
"; } ?> '; echo ''; echo ''; wp_nonce_field('updatehtaccess'); echo ""; } } ?>renderForm('androapp_getstarted' ,'render_invisibleForm'); }else{ ?>
In case you did not receive any mail, Don\'t worry, just drop an email to us @ %s, we will be happy to help you.', 'androapp'), 'contact@androapp.mobi'); ?>
'; printf( /* translators: %s: Configure */ __('Go to %s tab to change dynamic settings, like Menu Items, Comments Settings, Image Preview options, Share Text options etc. These settings can be changed anytime, you don\'t really need to publish a new build everytime, just restart your app and browse, you will see the changes.', 'androapp'), $configure); echo ''; printf( /* translators: %s: Internalization */ __('Go to %s tab to change the texts used in app, you can use this section to change the texts to your own language, OR to change the default values to suit your website.', 'androapp'), $internalization); ?>
Step 4, Go to %s section to create the new apk for your mobile app.', 'androapp'), $lookAndFeel); ?> publish_do_page($options); ?>
Restore default settings
build_option_name); $accountOptions = get_option($this->account_tab_key); $tagTextColor = $options[pw_mobile_app_settings::$tagTextColorKey]; $tagBgColor = $options[pw_mobile_app_settings::$tagBgColorKey]; $feedBgColor = $options[pw_mobile_app_settings::$feedBgColorKey]; $feedTitleColor = $options[pw_mobile_app_settings::$feedTitleColorKey]; $feedContentTextColor = $options[pw_mobile_app_settings::$feedContentTextColorKey]; $screenBgColor = $options[pw_mobile_app_settings::$screenBgColorKey]; $actionBarTitleColor = $options[pw_mobile_app_settings::$actionBarTitleColorKey]; $actionBarBgColor = $options[pw_mobile_app_settings::$actionBarBgColorKey]; $statusBarBgColor = $options[pw_mobile_app_settings::$statusBarBgColorKey]; if(empty($statusBarBgColor)){ $statusBarBgColor = "#f45917"; } $authorTextColor = $options[pw_mobile_app_settings::$authorTextColorKey]; $timeTextColor = $options[pw_mobile_app_settings::$timeTextColorKey]; $args = array( 'posts_per_page' => 5, 'offset' => 0, 'category' => '', 'category_name' => '', 'orderby' => 'post_date', 'order' => 'DESC', 'include' => '', 'exclude' => '', 'meta_key' => '', 'meta_value' => '', 'post_type' => 'post', 'post_mime_type' => '', 'post_parent' => '', 'post_status' => 'publish', 'suppress_filters' => false ); $postslist = get_posts( $args ); ?>
|
html preview, It is recommended to test it on device directly.',
'androapp');?>
post_content);
//if(!empty($firstImage))
{
?>
";
}else{
echo '
';
}
?>
".$post->post_title."";?>
post_content))), 0, 115); ?>
ID);
if($category[0]){
echo $category[0]->cat_name;
}
?>
post_author );
echo $author;
?>
|
*
| Email: | " value="" /> |
|---|
'. __('Terms & Conditions','androapp').''; printf( /* translators: %s: Terms & Conditions */ __('By clicking on the below button you agree to our %s.','androapp'), $termAndConditions); ?>
| Handle | Script src | Action |
|---|---|---|
| Add>> | ||
| No enqueued files detected. Please try visiting a few pages on your site and then refresh this page. You should clear this list once in a while to get rid of files that are no longer being used as this is not done automatically. | ||
Restore default settings
language_option_name); ?>| Text Title | Your Value | Default Value | $value) { if($key == "wooseparator"){ ?>
|---|
| Text Title | Your Value | Default Value |
|---|---|---|
| " value="" /> |
option_name); $scriptOptions = $this->scriptOptions; ?>
$action, 'plugin' => $slug ), admin_url( 'update.php' ) ), $action.'_'.$slug ); ?>
| Select Menu: |
Drawer Menu (left menu):
*We have added menu icons support from 10.00 version to change default icons - Install Menu Icons plugin and follow this post. Slider Menu (top menu) (since app version 11.00) |
|---|
| : | " value="1" /> (if checked, will not try to fetch the first image from the post content, will use only featured image) " value="full" /> " value="preview" /> " value="noimage" /> |
|---|
| : | " value="excerpt" /> $action, 'plugin' => $slug ), admin_url( 'update.php' ) ), $action.'_'.$slug );?> " value="seo_meta_desc" /> Wordpress SEO plugin'; printf( /* translators: %s: Wordpress SEO Plugin */ __('SEO Meta Description( install and Activate %s )','androapp'), $wpseoLink ); ?> " value="none" /> |
|---|
| : |
" value="preprocessed" onChange="onPostContentTypeChange();" />
" value="postprocessed" onChange="onPostContentTypeChange();" />
render_scripts($scriptOptions['scripts'] , $options[pw_mobile_app_settings::$selectedScripts], $options[ANDROAPP_POST_CONTENT], $options[pw_mobile_app_settings::$postProcessedCss]); ?> " value="loadurl" onChange="onPostContentTypeChange();" /> ">
" value="loadimages" onChange="onPostContentTypeChange();" />
Slide Show (it will open all the images in the post as slide show)
if(function_exists('isAndroAppRequest') && isAndroAppRequest()){
//Code to be called for AndroApp Requests(mobile app)
}
if(!function_exists('isAndroAppRequest') || !isAndroAppRequest()){
//Code to be called for regular requests
}
Select Failover Post Type - when no images in the post " value="preprocessed" /> Pre processed " value="postprocessed" /> Post processed " value="loadurl" /> Load from Url |
|---|---|
| : | Fill in the comma separated post/page ids to override default post content type selected above. use Load from url for below post/page ids " value="" /> use Pre Processed for below post/page ids " value="" /> use Post Processed for below post/page ids " value="" /> use Slideshow for below post/page ids " value="" /> |
| : | Parallax Effect for Featured Image " value="show" /> " value="hide" /> applicable from app version 6.0.9 onwards.
if you don't want featured image on post detail page, then disable parallax effect and hide featured image using css as described in below article. Few of the elements on post detail page can be controlled by pure css, check out this post for details. |
|---|---|
| : | " value="first" /> " value="noimage" /> |
| Share Text: | |
| : | " value="" /> |
| : |
" value="" />
function getShareText($post, $link){
return " ". via ".$link;
}
" value="1" />
|
|---|
| : | You have to disable debugging option and display comments at the end option from Debug tab of WP Super Cache Settings page. also uncheck Don’t cache pages with GET parameters. (?x=y at the end of a url) option', 'androapp'); ?> " value="1" /> |
|---|
| : | " value="wordpress" /> " value="facebook" /> Facebook " value="disabled" /> () " value="1" /> (shows wordpress comment counts) |
|---|
| : | () " value="1" /> |
|---|
| : |
" value="posts" />
" value="pages" />
" value="products" />
initCustomPostsTaxonomies(); foreach($this->custom_post_types as $post_type){ ?> " value="" /> "; } ?> " value="single" /> " value="" /> () |
|---|
| : |
" value="1" />
Offline Save option will be visible only if post content type is preprocessed OR postprocessed Also, images and javascripts will be saved as per the space available, it might get deleted after saving more posts or depedning on the space available on the device. |
|---|
| : *Beta (since 18.00 version) |
" value="1" />
(shows settings menu)
Inside Settings Screen " value="1" /> (shows only if you are using Google Admob Ads) " value="1" /> (shows only if push notifications are enabled) " value="1" /> (Option to change Post page font size) Default Font Size " value="1" /> " value="2" /> " value="3" /> " value="4" /> |
|---|
| : |
When user clicks on the image(which is not inside 'a' tag), it will pop up a dialog with image, where user will have option to zoom, share and save the image.
" value="yes" /> This feature is available only if post content type is preprocessed OR postprocessed |
|---|
| : since 11.02 version |
By default all of your website's urls are opened in webview(i.e. in the app).
You can add the regex to overide this behavior Regex to open your website url in mobile browser: " value="" /> Similarly, all extrenal urls are opened in external browser by default You can add the regex to overide this behavior Regex to open external url in app:" value="" /> Click here to read more about this feature. |
|---|
name)){ return $menu->term_id; } } return null; } function getToken($length) { $key = ''; $keys = array_merge(range(0, 9), range('a', 'z')); for ($i = 0; $i < $length; $i++) { $key .= $keys[array_rand($keys)]; } return $key; } function androapp_json_get_timezone() { $tzstring = get_option( 'timezone_string' ); if ( ! $tzstring ) { // Create a UTC+- zone if no timezone string exists $current_offset = get_option( 'gmt_offset' ); if ( 0 == $current_offset ) { $tzstring = 'UTC'; } elseif ( $current_offset < 0 ) { $tzstring = 'Etc/GMT' . $current_offset; } else { $tzstring = 'Etc/GMT+' . $current_offset; } } $zone = new DateTimeZone( $tzstring ); return $zone; } }