Elementorのショートコードを利用して好きな場所へ入れてみよう!

Facebook
Twitter

久々の更新です。えれくりです。?

今回はWordPress管理画面左メニューのElementor>ライブラリーから作成したElementorの内容を

front-page.php、single.php、archive.php といったページにパーツとして挿入する方法を説明します。

ショートコード

様々な動作を短いコードで表現させることができるショートコードを使用します。

Elementor>ライブラリーから作成すると図のようにショートコードが発行されます。

このショートコードをWordPressのショートコードであるdo_shortcodeを利用して

として任意の場所へ入れます。

 

固定ページでElementorを使用するだけでなく、Elementorをパーツとして使えるので非常に便利ですねっ!?

Elementorカテゴリ
Sponsored Links

Announce

New
arrival

2019 collection

Let’s face it, no look is really complete without the right finishes. Not to the best of standards, anyway (just tellin’ it like it is, babe). Upgrading your shoe game. Platforms, stilettos, wedges, mules, boots—stretch those legs next time you head out, then rock sliders, sneakers, and flats when it’s time to chill.

Announce

New
arrival

2019 collection

Let’s face it, no look is really complete without the right finishes. Not to the best of standards, anyway (just tellin’ it like it is, babe). Upgrading your shoe game. Platforms, stilettos, wedges, mules, boots—stretch those legs next time you head out, then rock sliders, sneakers, and flats when it’s time to chill.