Thread Starter
Halil
(@halilesen)
Is it also possible to have “Standalone Display Mode” instead of “Minimal-UI”?
At the top of the mobile, there is a page seo, a bar showing the page link. Is it possible to remove it?
Is it possible to customize the opening part? For example, adjusting the picture there different from the icon, deleting or changing the text…?
I’m not sure what you’re referring to here. Please share a screenshot.
Is it also possible to have “Standalone Display Mode” instead of “Minimal-UI”?
Yes. See https://github.com/GoogleChromeLabs/pwa-wp/wiki/Web-App-Manifest#display
Thread Starter
Halil
(@halilesen)
At the top of the mobile, there is a page seo, a bar showing the page link. Is it possible to remove it?
=
Is it also possible to have “Standalone Display Mode” instead of “Minimal-UI”?
Sorry.
The problem is I can’t find the files I need to edit mentioned in the link you sent.
-
This reply was modified 5 years, 4 months ago by
Halil.
I don’t see any screenshot.
The problem is I can’t find the files I need to edit mentioned in the link you sent.
That code goes into a custom plugin or your theme’s functions.php.
Thread Starter
Halil
(@halilesen)
When I added the following code to the functions.php file, the application was worked as I wanted:
add_filter( 'web_app_manifest', function( $manifest ) {
$manifest['display'] = 'standalone';
return $manifest;
} );
I also want to customize the splash screen: https://i.hizliresim.com/3XMyUJ.jpg
Is it possible to set it like this: https://i.hizliresim.com/hoKZ1g.jpg
Is it possible to edit the splash screen in various ways?
Yours.
-
This reply was modified 5 years, 4 months ago by
Halil.
Thread Starter
Halil
(@halilesen)
I guess that’s unlikely and difficult to do. No problem.
Is it possible to customize the app install notification? Time, frequency and maybe a button …
It works with OneSignal according to my little tests. Is there a push notification system that you would recommend?
I also want to customize the splash screen: https://i.hizliresim.com/3XMyUJ.jpg
Is it possible to set it like this: https://i.hizliresim.com/hoKZ1g.jpg
Is it possible to edit the splash screen in various ways?
I don’t have experience with customizing the splash screen. I think the only customizable properties are the name, background_color, and icons. You can modify these using the web_app_manifest filter in the same way that you’ve done so to modify the display.
For more on customizing the splash screen, I found these resources:
https://web.dev/splash-screen/#how-to-create-a-custom-splash-screen
https://web.dev/add-manifest/#splash-screen
Is it possible to customize the app install notification? Time, frequency and maybe a button …
Yes, but this is out of scope for the PWA plugin. You can see documentation for how to do this on web.dev: https://web.dev/customize-install/
It works with OneSignal according to my little tests. Is there a push notification system that you would recommend?
In regards to OneSignal, see https://twitter.com/westonruter/status/1347564661709815808