您现在的位置是:首页 > cms教程 > WordPress教程WordPress教程
利用fishpig_wordpress_integration插件整合WordPress到Magento
宛儿2025-03-24WordPress教程已有人查阅
导读magento目录下新建子目录blog,上传wordpress文件到该目录,新建数据库magento_blog,也可以省略这一步,直接装在原数据库上,用前缀区分表.运行http://yourmagento.com/blog安
magento目录下新建子目录blog,上传wordpress文件到该目录,新建数据库magento_blog,也可以省略这一步,直接装在原数据库上,用前缀区分表.
运行http://yourmagento.com/blog安装wordpress.
安装fishpig_wordpress_integration插件,地址为http:// .magentocommerce.com/magento-
connect/fishpig/extension/3958/fishpig_wordpress_integration
后台进入/WordPress/Setting/Database Integration配置相关信息
Database
设置wordpress数据库位置,是与magento同一数据库还是单独数据库.
Integration
设置整合方式
Semi-Integration
Semi-Integration在magento应用程序中提供有 的wordpress信息,且不自动显示.适合只想在magento中显示少量wordpress信息,让maegnto
跟wordpress保持各自的模板主题.
Full-Integration
Full-Integration允许wordpress的所以前台显示由magento负责,换言之wordpress使用magento的模板主题包.适合不想为wordpress单独制作模
板的用户.
如果选择Full-Integration,需要设置Blog Route,假设设置为wp,需要进入wordpress后台Settings->General设置Site address为
http://yourmagento1/index.php/wp
显示最新文章
运行http://yourmagento.com/blog安装wordpress.
安装fishpig_wordpress_integration插件,地址为http:// .magentocommerce.com/magento-
connect/fishpig/extension/3958/fishpig_wordpress_integration
后台进入/WordPress/Setting/Database Integration配置相关信息
Database
设置wordpress数据库位置,是与magento同一数据库还是单独数据库.
Integration
设置整合方式
Semi-Integration
Semi-Integration在magento应用程序中提供有 的wordpress信息,且不自动显示.适合只想在magento中显示少量wordpress信息,让maegnto
跟wordpress保持各自的模板主题.
Full-Integration
Full-Integration允许wordpress的所以前台显示由magento负责,换言之wordpress使用magento的模板主题包.适合不想为wordpress单独制作模
板的用户.
如果选择Full-Integration,需要设置Blog Route,假设设置为wp,需要进入wordpress后台Settings->General设置Site address为
http://yourmagento1/index.php/wp
显示最新文章
<reference name="left">
<block type="wordpress/post_list_recent" name="wp.recent-posts" template="wordpress/post/recent.phtml">
<action method="setTitle"><title>Recent Posts</title></action>
<action method="setPostCount"><post_count>3</post_count></action>
</block>
</reference>
{{block type="wordpress/post_list_recent" template="wordpress/post/recent.phtml" title="Recent Posts" post_count="3"}}
显示指定目录
<reference name="left">
<block type="wordpress/post_list_recent" name="wp.recent-posts" template="wordpress/post/recent.phtml">
<action method="setTitle"><title>Recent Posts</title></action>
<action method="setPostCount"><post_count>3</post_count></action>
<action method="setCategoryId"><category_id>1</category_id></action>
</block>
</reference>
{{block type="wordpress/post_list_recent" template="wordpress/post/recent.phtml" title="Recent Posts" post_count="3"
category_id="1"}}
显示指定作者
<reference name="left">
<block type="wordpress/post_list_recent" name="wp.recent-posts" template="wordpress/post/recent.phtml">
<action method="setTitle"><title>Recent Posts</title></action>
<action method="setPostCount"><post_count>3</post_count></action>
<action method="setAuthorId"><author_id>1</author_id></action>
</block>
</reference>
{{block type="wordpress/post_list_recent" template="wordpress/post/recent.phtml" title="Recent Posts" post_count="3"
author_id="1"}}
本文标签:
很赞哦! ()
图文教程
wordpress联盟插件有哪些,wordpress联盟插件怎么用
联盟营销是从网站赚钱的好方法。你已经拥有了流量和读者,但是没有销售产品。比起花时间创建一个产品,你可以向受众推荐类似产品,然后从每笔销售中赚取佣金。
WordPress站点加速开启Gzip压缩的方法
最近没有使用Gzip压缩,因为它学会了打开这种压缩。 我对服务器上的设置,WordPress站点上的设置或插件上的设置感到困惑;经过几天的研究
wordpress添加友情链接的步骤
现在一般的个人网址或者企业网址都会加上友情链接,下面我举例wordpress个人博客如何添加友情链接。
wordpress编辑器怎么增加中文字体
WordPress自带的TinyMCE编辑器,对于一般的文字编辑已足够了,但还是有童鞋希望它功能更多,所以诞生了各种编辑器增强插件
相关源码
-
(PC+WAP)绿色硅胶橡胶玩具制品营销型网站源码下载为硅胶橡胶制品及玩具行业打造的营销型网站模板,采用PbootCMS内核开发,通过模块化设计实现产品参数、安全认证、应用场景等专业内容的可视化呈现,助力企业建立可信赖的线上展示平台。查看源码 -
帝国CMS7.2互联网自媒体门户整站带数据源码免费下载分享一款高仿极客网门户模板,帝国cms7.2版本,非常适合互联网、自媒体、文章门户网站使用。测法发现备份数据恢复报错,找了几个版本的都是一样的,有能力的自行修复查看源码 -
(自适应响应式)蓝色勘察设计院机构单位商会协会pbootcms模板下载本模板基于PbootCMS系统开发,为勘察设计院所、工程咨询单位设计,特别适合展示设计成果、技术服务和项目案例。采用响应式技术,确保设计图纸和方案以及文案在不同设备上都能清晰展示。查看源码 -
(自适应响应式)超市仓储仓库货架展架网站pbootcms源码下载本模板为货架展架、仓储货架行业量身打造,采用PbootCMS内核开发,充分考虑了货架产品展示和企业形象展示的需求。模板设计简洁大方,突出产品特点,能够有效展示各类货架产品的规格参数和应用场景,帮助访客快速了解企业核心业务和产品优势。查看源码 -
帝国cms大气淘宝客网站源码带手机版带火车头采集本款创意礼物导购网站模板为礼物类电商平台设计,采用清爽简约的界面风格,具备完善的商品导购功能。系统支持在文章攻略中灵活插入商品购买链接,实现内容与电商的结合。查看源码 -
(自适应)平面设计网络工作室个人作品展示网站模板免费下载基于PbootCMS内核开发的响应式网站模板,为设计工作室、创意机构打造的作品展示解决方案。通过模块化布局与极简交互设计,呈现设计作品的视觉细节,支持作品分类、案例解析等多维度展示方式。查看源码
| 分享笔记 (共有 篇笔记) |

