お香の香りって夏でも涼しげでいいですよね。
日本香堂 かゆらぎ 白檀 香立付 ホワイト 単品 40個 (x 1)

これの空き箱を木工用ボンドでくっつけちゃいます。


ただそれだけ。

台数が多くなると、立てておいた方が省スペースですし、視認性も良いですし。
日本香堂 かゆらぎ 白檀 香立付 ホワイト 単品 40個 (x 1)
ロック画面は常時時計表示にしておくのがおすすめです。
お香の香りって夏でも涼しげでいいですよね。

これの空き箱を木工用ボンドでくっつけちゃいます。


ただそれだけ。

台数が多くなると、立てておいた方が省スペースですし、視認性も良いですし。
ロック画面は常時時計表示にしておくのがおすすめです。
Suggestions に表示されてるので Update する。

androidx.navigation:navigation-compose:2.7.0-beta01
↓
androidx.navigation:navigation-compose:2.7.0-beta02
はい、NG です。

なんでや!?
エラーメッセージを見てみる。
5 issues were found when checking AAR metadata:
1. Dependency 'androidx.navigation:navigation-common:2.7.0-beta02' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).
2. Dependency 'androidx.navigation:navigation-runtime:2.7.0-beta02' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).
3. Dependency 'androidx.navigation:navigation-common-ktx:2.7.0-beta02' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).
4. Dependency 'androidx.navigation:navigation-runtime-ktx:2.7.0-beta02' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).
5. Dependency 'androidx.navigation:navigation-compose:2.7.0-beta02' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:app is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.
Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).
長いですが要するに、
androidx.navigation:navigation-compose:2.7.0-beta02
が依存している以下、
androidx.navigation:navigation-common:2.7.0-beta02
androidx.navigation:navigation-runtime:2.7.0-beta02
androidx.navigation:navigation-common-ktx:2.7.0-beta02
androidx.navigation:navigation-runtime-ktx:2.7.0-beta02
は、
Android API 34
以上を必要としているので使えません。
ということのよう。
「Flamingo」なのでそれが最新安定版。

Android Studio Flamingo | 2022.2.1 を使ってる場合、33 までです。
👉 Android Studio Flamingo | 2022.2.1 | Android Developers
Android Studio の Suggestion ダイアログ

[File]
|
[Project Structue]
|
[Suggestions]
は、Android Studio までを含めた全ての依存性を考慮していない。
Version Catalog (toml) ですが、なんだか不便です。
👉 【Android Studio Flamingo】dependencies をバージョンアップデートするときに確認するべき3つの相性
混乱してます。

方法はいろいろあると思いますが、
まずは、
管理者のアクセス時には広告を表示させない。
ということがシンプル。
以下を使うといい。
current_user_can( string $capability, mixed $args ): bool
👉 current_user_can() | Function | WordPress Developer Resources
管理者でログインしている状態を判別したい場合は、
current_user_can('administrator')
で、アクセスしている人を判別できます。
自動広告の場合は以下のように埋め込みます。
<?php if (!current_user_can('administrator')): ?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-XXXXXXXXXX",
enable_page_level_ads: true
});
</script>
<?php endif; ?>
自動広告ではない場合でも同じように、
<?php if (!current_user_can('administrator')): ?>
// Adsense コード
<?php endif; ?>
の形式で書けば管理者からのアクセス時には表示されません。
functions.php で定義しておきます。
// functions.php
function adsense_shortcode() {
$code = '
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXX" crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXX"
data-ad-slot="YYYYYYYYYY"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
';
return current_user_can('administrator') ? '' : $code;
}
add_shortcode('adsense', 'adsense_shortcode');
ウィジェット側ではショートコード形式で呼び出します。
<div>[adsense]</div>
管理者でログインしていない場合は空文字を表示します。
管理者としてログインしていないブラウザでは有効ではありません。
逆にいえば、管理者としてログインしてなければ参照できます。
レイアウトなど確認したいときでも、最小限にしておくべきです。
クリックは当然禁物です。
こういうやつ。背景は透明。

コピペで貼り付けるだけでサムネとかSNS画像を作成できます。

ImageMagick で作ります。
brew install imagemagick
まず、透明背景画像を作成します。
magick -size 2000x200 xc:none \
output.png
透明な画像が生成されました。

続いてこれにテキストを書き込みます。
フォントは「LINE-Seed-JP_OTF-ExtraBold」、フォントの輪郭の線の色と太さは「white」、「10」とします。
magick -size 2000x200 xc:none \
-font LINE-Seed-JP_OTF-ExtraBold \
-pointsize 160 \
-fill none -stroke white -strokewidth 10 \
-annotate +10+160 "お手軽簡単!" \
output.png


さらに、この輪郭線の上に「black」で「2」の線を重ねます。
magick -size 2000x200 xc:none \
-font LINE-Seed-JP_OTF-ExtraBold \
-pointsize 160 \
-fill none -stroke white -strokewidth 10 \
-annotate +10+160 "お手軽簡単!" \
-fill none -stroke black -strokewidth 2 \
-annotate +10+160 "お手軽簡単!" \
output.png


さらに、この上に、グラデーションの色「red-orange」で塗りつぶされたテキストを重ねます。
magick -size 2000x200 xc:none \
-font LINE-Seed-JP_OTF-ExtraBold \
-pointsize 160 \
-fill none -stroke white -strokewidth 10 \
-annotate +10+160 "お手軽簡単!" \
-fill none -stroke black -strokewidth 2 \
-annotate +10+160 "お手軽簡単!" \
-tile "gradient:red-orange" \
-annotate +10+160 "お手軽簡単!" \
output.png


最後に、不要なまわりの透明部分を取り除きます。
magick -size 2000x200 xc:none \
-font LINE-Seed-JP_OTF-ExtraBold \
-pointsize 160 \
-fill none -stroke white -strokewidth 10 \
-annotate +10+160 "お手軽簡単!" \
-fill none -stroke black -strokewidth 2 \
-annotate +10+160 "お手軽簡単!" \
-tile "gradient:red-orange" \
-annotate +10+160 "お手軽簡単!" \
-trim \
output.png

変更になりそうなパラメータは引数にしておきます。
あと実行後は、プレビューで開いてすぐ確認できるようにしておきます。
お好みの各引数は選択肢として ショートカットにしておけばターミナルを使う必要もない。

それなりのデザイン的なアプリで作るのもいいですが、ササっと作りたい人はどうぞ。
表示されなくなるんです、管理画面のアクセス数のグラフ。

管理画面のどこかで「新機能に切り替えますか」と表示されたので「はい」を押してから、表示できなくなった。
ので、以前の機能に戻す。
管理画面メニュー
|
Jetpack
|
設定
|
トラフィック
|
Jetpack 統計
|
「新しい Jetpack 統計情報のエクスペリエンスを有効化」をOFF

直接行くなら、URLは以下です。
https://your.wordpress.host/wp-admin/admin.php?page=jetpack#/settings?term=stats
再度、ONにしようとすると、
設定の更新中にエラーが発生しました。 JsonParseError
と表示されたり、
以下ように表示されて管理画面や公開サイト部分にもアクセスできなくなったり。

400 Bad Request
Request Header Or Cookie Too Large
クッキーを削除するまで管理画面にアクセスできません。
消すしかないので以下から。
chrome://settings/clearBrowserData
何が原因なのか謎。
根本的に解決はしていません。
一体、なんなんすかね。