MacOS Mojave: Dynamic Wallpapers Usage

Depending on day time, system displays different wallpaper. At night it is picture of Movaje at night photo and during day it changes about day time. At nigth it is dark during the day have light wallpaper.

If you are hard working on your computer you can lose track of the time. Dynamic wallpaper will help you about day time.

How to activate Dynamic Desktop in macOS Mojave

  • Click on the Apple menu and select System Preferences.
  • Click on Desktop and Screen Saver.
  • Click on the Desktop tab in it’s not already open.
  • Desktop that are Dynamic are in a Dynamic Desktop section.
  • Select a Dynamic Desktop thumbnail, then close the System Preferences.

Some Dynamic Desktop choice allow you to set how to images appears throughout the day. If you select Dynamic, the image will change according to the time of the day. If you select Dark, it will stay in it’s nighttime mode if you select Light it will stay in it’s daytime mode.

Unity releases Google advertising for developers

Unity releases Google advertising for developers

Unity, one of the world’s most popular game engines, has partnered with Google.
More than half of the new games are based on Unity’s development engine, and the company is one of the most effective and successful game engines. A new partnership with Unity at Google will expand your ad network in Unity-based games. Especially in mobile games, the ad will be very profitable for Unity, both for Google and the new deal.

Mobile advertising makes up about 70 percent of all of digital advertising revenue. The mobile gaming industry alone was worth $50.4 billion in 2017. One out of three downloaded mobile apps is a game.

How do you get stared with ads?

Enable Ads in Unity

First, set the build targets and enable Unity Ads in the Services Panel.

  1. Open your game project, or create a new Unity project.
  2. Select Edit > Build Settings and set the platform to iOS or Android
  3. Enable Ads in the Unity Services window.
Unity releases Google advertising for developers

Once that’s done, select Window > Services. Select an Organization from the drop down menu: Click Create.

Unity releases Google advertising for developers

Click Ads, and enable the SDK in your project:

Unity releases Google advertising for developers

Add the code

  1. First, declare the Unity Ads namespace in the header of your script
    using UnityEngine.Advertisements;
  2. Then, you can display an ad by calling the following method
    Advertisement.Show()

Example Code

Add a button to your scene that plays an ad, then handles status and callbacks.

Step 1: Select Game Object > UI > Button to add a Button in your scene

Step 2: Add the following script to the button:

using UnityEngine;
            using UnityEngine.Advertisements;

            public class UnityAdsExample : MonoBehaviour
            {
              public void ShowRewardedAd()
              {
                if (Advertisement.IsReady("rewardedVideo"))
                {
                  var options = new ShowOptions { resultCallback = HandleShowResult };
                  Advertisement.Show("rewardedVideo", options);
                }
              }

              private void HandleShowResult(ShowResult result)
              {
                switch (result)
                {
                  case ShowResult.Finished:
                    Debug.Log("The ad was successfully shown.");
                    //
                    // YOUR CODE TO REWARD THE GAMER
                    // Give coins etc.
                    break;
                  case ShowResult.Skipped:
                    Debug.Log("The ad was skipped before reaching the end.");
                    break;
                  case ShowResult.Failed:
                    Debug.LogError("The ad failed to be shown.");
                    break;
                }
              }
            }

Then simply press the editor Play button to test the Unity Ads Button integration.Additional examples and troubleshooting can be found in our monetization documentation.

Reward Players for Watching Ads

Rewarding players can add to user engagement, resulting in higher revenue!

Typically rewarded ad implementation generally involve one or more of the following:

  • In-game currency or consumables
  • Extra lives at the start of the game
  • Point boosts for the next round

You can reward players for completing a video ad using the HandleShowResult callback method in the example above. Be sure to check that the result is ShowResult.Finished to verify that the ad was not skipped before granting the reward.

private void HandleShowResult (ShowResult result)
            if (result == ShowResult.Finished)
            {
              //Add code to reward your player here!
              //Give coins, etc
            }

Manage settings in the Ads Dashboard

Log into the Unity Ads Dashboard using your UDN Account, and locate the project for your game.

Unity releases Google advertising for developers

Then, select a platform (iOS or Android).

Unity releases Google advertising for developers

From here, you can modify placements and other game-specific settings.

Unity releases Google advertising for developers

Source: www.unity3d.com

WordPress AMP Installation

WordPress AMP Installation

According to Google, users accessing web sites over mobile devices up to 50 precent. For this reason, WordPress site owners sure loads site so quickly. Fortunately, Google Accelerated Mobile Pages (AMP) initiative makes it easy to do.

We are going to use simple WordPress plugin called AMP for WordPress

How WordPress AMP Reveals (And How It Benefits Your Site)

Google Accelerated Mobile Pages (AMP) is an open source library that helps you create fast, streamlines and lean versions of your web pages so they look better on mobile devices. AMP is built on existing platforms and frameworks and is very user friendly. It’s compatible with WordPress.

AMP allows you to create your site’s copies using HTML. This process removes items (such as JavaScript, thirt-party scripts, etc.) that cause your website to run slowly. Then increases your load speed tremendously by making your site even simpler. 

Google AMP has a lot of benefits. Let’s explore good and bad sides of AMP. First start with negatives.

  • Cascading Style Sheets (CSS) and JavaScript limitations. Although Google AMP allows huge upload speeds, you lose some key features as a result. AMP removes high-resolution graphics, animations, and other flashy assets, especially those using JavaScript and CSS.
  • Only the pages on the front page are displayed. The reason why the high speeds provided by Google AMP is possible is because it shows the versions of the web pages in their cache. For this reason, your users may not always be able to reach the most up-to-date content you publish.
  • Limitations on advertising revenue. Although Google has AMP ad support, the process of processing these ads is quite complicated. It also has limited compatibility with external advertising platforms.

On the other side, there are very good positive benefits.

  • Better user experience. It is estimated that 33% of potential sales are canceled when a website is not optimized for mobile devices. According to another research, 57% of internet users do not recommend doing business with a badly designed mobile website. Google AMP makes it easy to create user-friendly mobile web pages, preventing you from falling into these situations.
  • Increased server performance. Google AMP benefits from Google’s key optimization features. Reduces Internet usage for images by 50% (without compromising image quality) and increases server-side rendering. By reducing the load on your server, AMP helps improve your site’s performance.
  • Strengthen Search Engine Optimization (SEO). One of the most obvious benefits of Google AMP is the speed with which websites load faster. Your upload speed is much more visible on your site, as your pages have vital search engine ranking on Search Engine Results Pages (SERPs). Google AMP also allows your site to appear in the Google News section (which will make your SEO even stronger).

You will need a AMP for WordPress plugin to setup your site AMP. We recommend that you back up your WordPress site before going through the following methods. Once you’ve done that, you’re ready to start.

AMP for WordPress plugin is a great tool for WordPress AMP installation. In the regular version, although there are very few features to personalize the AMP installation, your options can be enhanced via other plugins. We’ll explain this process later, too, now let’s look at how we can build the plugin itself.

www.bariserdem.com.tr WordPress AMP Installation

First open the Plugins> Add New section in the WordPress panel. Type ‘AMP for WordPress’ in the search bar and find the AMP plugin for WordPress result. Then load and activate the plugin

www.bariserdem.com.tr WordPress AMP Installation

Then open the Appearance > AMP section from the WordPress panel. Here you will see the WordPress AMP settings section. Once open, open the Design tab.

From here, you can change the look of your WordPress AMP site and you will be able to preview the changes before they are applied on your site. You can change the text, link and background color of your site. Plus it is possible to specify a dark or light color scheme for your site. After completing the changes, click the Publish button in the top section.

You can also make your words, pages, or both appear on WordPress AMP. To do this, go back to the WordPress panel and open the AMP> General section.

www.bariserdem.com.tr WordPress AMP Installation

Once you’ve turned it on, under Post Type Support, check the options you want for your WordPress AMP site, then click the Save Changes button.

Adding Analytics Code to WordPress

If you want to run a successful website, it’s very important to know what your visitors are expecting and what the expect from your site. Yhe best way to achieves this is to analyze your traffic. That’s exactly Google Analytics. This is free software from Google allows you to track your website’s walks, analyze habits, traffic sources, social metrics and many more. By analyzing statistics, you can plan and create better content for your followers. This guide will show you how to add Google Analytics code into WordPress website.

There are several ways to add the Google Analytics code to your WordPress website. You can use plugin, write new function on function.php file and insert header.php file. We will add your header.php file.

  1. Log in to your WordPress admin domain and enter Appearance > Editor.
  2. Open header.php to edit it.
  3. Before </head> closing tag past Google Analytics tracking code and save the file.

Notice: I recommend that you take the backup of the file before making a change. If you change WordPress Theme you will do this steps again.