dominicwatts/wordpresswidget
Composer 安装命令:
composer require dominicwatts/wordpresswidget
包简介
Lightweight widget which you can use to load wordpress blog posts on your magento site with minimal setup by providing link to json feed and a few other parameters
README 文档
README
Lightweight widget which you can use to load wordpress blog posts on your magento site with minimal setup by providing link to json feed and a few other parameters
No further integration steps required. Ideal for sites which have minimal interaction with WordPress install.
Install instructions
composer require dominicwatts/wordpresswidget
php bin/magento setup:upgrade
Usage instructions
Content > Widgets > Add Widget
Choose Type: WorpPress Post List and choose your theme.
There are a number of additional options that need configuring.
Under Storefront Properties
Give your widget a name, assign to store and give a sort.
Under Layout Properties
Sidebar Additional / Sidebar Main Layouts include:
- WordPress Images and Titles Template
- WordPress Titles Only Template
- WordPress Featured Image Only Template
Main Content Area layouts include:
- Wordpress Grid Template
- Wordpress List Template
Under Widget Options
Configure URL to JSON feed of Wordpress site
Typically the URL is structured like this
https://domain.com/wp-json/wp/v2/posts?per_page=10&_embed
The per_page parameter can limit post number. The _embed option is to pull through featured image.
You can also configure widget post limit and cache option here.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-11-15