Currency X Comics

Economics meets comics for alessandro rabatti’s facebank series

design-comic-0  Currency X Comics design comic 0

design-comic-1  Currency X Comics design comic 1

design-comic-2  Currency X Comics design comic 2

design-comic-3  Currency X Comics design comic 3

design-comic-4  Currency X Comics design comic 4

design-comic-5  Currency X Comics design comic 5

design-comic-6  Currency X Comics design comic 6

design-comic-7  Currency X Comics design comic 7

design-comic-8  Currency X Comics design comic 8

All images courtesy of alessandro rabatti

How to take your temperature in 2016

Medical technology or Health technology is taking over with the mobile revolution. Withings has introduced new way to taking temperature. It should be available later this year for under $199.

 

You can read more here

  • http://www.wired.co.uk/news/archive/2016-01/05/withings-thermo-smart-thermometer
  • http://mashable.com/2016/01/04/withings-thermo/

Creating and Displaying widget in your wordpress website

Widgets can be extremely useful and handy. Some theme allows you to create widget. But how do you place them in your theme? In this article we will provide you wordpress snippets on

  1. Registering or creating wordpress widget
  2. Integrating the widget in your theme

/**
 * Register Widget Area.
 *
 */
function wpgyan_widgets_init() {
register_sidebar( array(
'name' => 'Header Sidebar',
'id' => 'header_sidebar',
'before_widget' => '<div>',
'after_widget' => '</div>',
'before_title' => '<h2 class="rounded">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'wpscube_widgets_init' );
Note: I have added prefix wpscube_ to function name at two places at top and at bottom.You can change to a prefix of your choice.
Please read wordpress codex on other customization you could do
https://codex.wordpress.org/Function_Reference/register_sidebar

2. Integrate widget in your theme

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('header_sidebar') ) :
endif; ?>

header_sidebar = widget name defined in step 1

No go to Appearance > Widgets you will see Header Sidebar on the right hand side. You can add any kind of widget to it

If you want to register multiple widget. Use the above code but keep the widget name unique

 

What type of branding do you need?

There are 4 types of branding. This infograph by hanoverresearch explains how to choose the branding architecture

  • House of Brands
  • Endorsed Brands
  • Sub Brands
  • Branded House

Types-of-branding-Brand-Architecture-Infographic  What type of branding do you need? Types of branding Brand Architecture Infographic

The parent theme is missing. Please install the * parent theme

You might get this error “the parent theme is missing. Please install the [theme name] parent theme.”

This happens when you have changed the name of your default folder. In order to get this working on your child them

 

Lets assume this is your folder structure

wp-content

myTheme

— style.css

/*
 Theme Name: myTheme2015
 Theme URI: #
 Author: Shovan Sargunam
 Author URI: http://shovan.co.uk
 Version: 4.2.1
 Description:
 */

– myThemeChild

— style.css

/*
 Theme Name: myTheme2015 Child
 Theme URI: #
 Description: Child theme for the myTheme2015
 Author:
 Theme URI: #
 Template: myTheme
 Version: 4.2
 */

 

Template: myTheme

should be folder name of  your parent theme. in this case myTheme and NOT myTheme2015 (which is theme name in style.css) this will get rid of the parent theme is missing. Please install the * parent theme error on wordpress.

Show App banner on iOS and Android

If you have an iOS or Android app you would want to show installation banner when users visit your website via mobile browser.

Detailed info below

—–

ios Small App banner

<meta name="apple-itunes-app" content="app-id=960174190">

Android Small App banner

<meta name="google-play-app" content="app-id=XXXXX">

ios Small App banner

Add the meta to the header part of your website and you are good to go. According to apple here is the detailed your you could use

<meta name=”apple-itunes-app” content=”app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL”>

app-id: (Required.) Your app’s unique identifier.

Go to your app url for example https://itunes.apple.com/us/app/tamilsoda-music-videos-independent/id960174190?mt=8

Your app id is the number followed by id. Its nine-digit number
affiliate-data: (Optional.)

If you are iTunes affiliate you could add your affiliate url here
http://www.apple.com/itunes/affiliates/

 

app-argument: (Optional.)

If you want users to go to certain page within the app you could use app argument code here

For example, if you add app-argument=http://mywebsite.com/reviews?123, the following code in your app’s AppDelegate could take the user directly to the review with ID 123 in your app:

- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
  sourceApplication:(NSString *)sourceApplication
         annotation:(id)annotation {
    if ([[url path] isEqualToString:@"/reviews"]) {
    	ReviewViewController *viewController = [[ReviewViewController alloc] init];
    	viewController.reviewID = [url query];
        [self.navigationController pushViewController:viewController animated:NO];
    }
    return YES;
}

--

Android Small App banner

<meta name="google-play-app" content="app-id=XXXXX">

App ID is the id of your android app. Go to your app your for example https://play.google.com/store/apps/details?id=com.ying.tamilsoda

You app id is here is com.ying.tamilsoda

This has not been tested, please let us know if it does work more documentation on this section can be read here

http://developer.android.com/distribute/tools/promote/linking.html

Showing small app banner on chrome

Currently the above meta tags does not work on iOS chrome browser. Jasny has produces a workaround that will show small banner on iOS chrome browser

http://jasny.github.io/jquery.smartbanner/

When we tested it, app banner worked great on chrome browser. How ever on safari there was two banners, one banner from the meta tag and another from the smart banner.

Further reading

  • http://www.raywenderlich.com/80347/smart-app-banners-tutorial
  • https://developer.apple.com/library/mac/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
  • http://jasny.github.io/jquery.smartbanner/
  • https://github.com/kudago/smart-app-banner
  • http://misha.beshkin.lv/add-app-install-banner-to-site/

Please follow us on Facebook and Twitter

home