- 浏览: 13731033 次
- 性别:
- 来自: 洛杉矶
文章分类
- 全部博客 (1994)
- Php / Pear / Mysql / Node.js (378)
- Javascript /Jquery / Bootstrap / Web (435)
- Phone / IOS / Objective-C / Swift (137)
- Ubuntu / Mac / Github / Aptana / Nginx / Shell / Linux (335)
- Perl / Koha / Ruby / Markdown (8)
- Java / Jsp (12)
- Python 2 / Wxpython (25)
- Codeigniter / CakePHP (32)
- Div / Css / XML / HTML5 (179)
- WP / Joomla! / Magento / Shopify / Drupal / Moodle / Zimbra (275)
- Apache / VPN / Software (31)
- AS3.0/2.0 / Flex / Flash (45)
- Smarty (6)
- SEO (24)
- Google / Facebook / Pinterest / SNS (80)
- Tools (22)
最新评论
-
1455975567:
xuezhongyu01 写道wocan23 写道我想问下那个 ...
Mysql: LBS实现查找附近的人 (两经纬度之间的距离) -
xuezhongyu01:
wocan23 写道我想问下那个111.1是怎么得来的我也看不 ...
Mysql: LBS实现查找附近的人 (两经纬度之间的距离) -
18335864773:
试试 pageoffice 在线打开 PDF 文件吧. pag ...
jquery在线预览PDF文件,打开PDF文件 -
青春依旧:
opacity: 0.5; 个人喜欢这种方式!关于其他css特 ...
css透明度的设置 (兼容所有浏览器) -
July01:
推荐用StratoIO打印控件,浏览器和系统的兼容性都很好,而 ...
搞定网页打印自动分页问题
介绍两款WordPress文章转移插件
1. Inline Posts 如果想让你的子页面像首页一样出现文章列表
Wordpress lets you create pages that contain static content. The Talks and About pages on this blog are two examples. Unfortunately, until now you could not include posts inside of these static pages. With my new Inline Posts Wordpress Plugin (version 2.1.2g) (2KB), you can!
See the SWX Showcase and SWX documentation pages on swxformat.org for an example of the plugin in use.
In a nutshell
Download and install the plugin and you can include posts in pages (and other posts) by entering the Post ID surrounded by double square brackets ([[nnnn]] where nnnn is the numeric ID of the post you want to include).
Why include posts in pages?
The ability to include posts in pages is something I've felt the need for several times in the past. Basically, the idea is to use posts as sections within a page, with the post title appearing as the section header.
Most recently, I wanted to create the SWX documentation for the SWX homepage as a series of blog posts. This way, each section could have comments on it and I could easily update a single section by editing a post and change the order of sections on the page by changing the order of simple tags that correspond to the posts. I could also show atomic last-modified info for each section so it would be immediately obvious if any sections drift woefully out of date (something that can easily happen to long pieces of documentation).
Since this functionality didn't exist (and believe me, I searched far and wide on the Internets), I decided to roll up my sleeves and try my hand at creating my first Wordpress plugin. It was not a difficult process once I tracked down the hook I needed to latch onto and blew the relearned regular expressions for the umpteenth time.
Installation
- Download the Inline Posts Wordpress Plugin (version 2.1.2g (2KB) and unzip it into your wp-content/plugins/ folder.
- Log into your Wordpress administration panel, click the Plugins tab, and click the Activate link for the Inline Posts plugin.
Using
- Start writing a new page (or edit an existing page)
- In the place on the page where you want to include a post, enter the ID of the post, surrounded by double square brackets in the form [[nnn]].
That's it! :)
You can also include posts in other posts using this method (though I'm not entirely sure why you would want to!) And, since pages are really just posts (confused yet?), you can use the Page ID to include a page in a post or a page in another page too if you really feel like that will make your life better! :)
To see an example of it in use, look at the Wordpress page on this blog as you will see this post included in it. Note that this is the first version of the plugin and I'm testing it out as I go. It's only been tested (and not much, at that) on Wordpress 2.1.2. I've tested it on 2.1.2, 2.3.x, and it's running well on 2.5. That said, use at your own risk! :)
I hope this plugin will be as useful for you as it has been for me.
2. 批量转移分类插件 Batch Categories
Batch Categories 插件可以批量修改日志分类也可按关键词批量添加和移除分类,对于我这个频繁更改文章分类的人来说,非常方便。
直接下载 Batch Categories ,解压,上传,后台激活在工具里面就可以找到它了 !
- InlinePosts_2.1.2g.zip (2.2 KB)
- 下载次数: 4
- batch-categories.zip (5.9 KB)
- 下载次数: 4
发表评论
-
Magento: 后台显示图片不能找到 Image file was not found on product tab
2016-08-30 02:22 2948I was uploading some images f ... -
理解WordPress的PingBack和TrackBack
2016-08-26 02:21 5740pingback和trackback的功 ... -
零基础 Amazon Web Services (AWS) 入门教程图文版(四)
2016-06-07 11:40 1026自上一篇之后,5天过去了,这篇文章总算是挤出来了... 其实 ... -
零基础 Amazon Web Services (AWS) 入门教程图文版(三)
2016-06-07 11:41 2051原则上WDCP安装好了,就可以直接使用了,FTP、MySQL ... -
零基础 Amazon Web Services (AWS) 入门教程图文版(二)
2016-06-07 01:33 1004上一篇讲到,主机正常运转了。但是此时如果直接访问公网IP是 ... -
零基础 Amazon Web Services (AWS) 入门教程图文版(一)
2016-06-07 01:31 21641现在小站唯一的流量都靠AWS这个关键词了,刚好要用AWS重新 ... -
零基础 Amazon Web Services (AWS) 入门教程 (列表)
2016-06-07 01:32 2084在 Amazon Web Services 上托 ... -
Magento 1.9:新订单通知 Admin Order Notifier
2016-06-02 02:48 848Here is a little Mag ... -
Magento 1.9.X 系列教程
2016-05-14 02:44 2292Magento安装下载教学: Magento教程 1 ... -
Magento: 产品页面下jquery change函数失效 Call javascript function onchange product option
2016-05-05 06:39 1757明显的原因是change函数跟magento默认的oncha ... -
Magento: 判断是否为手机浏览 Optimise Web's Mobile Detect Class for Magento
2016-04-29 07:01 1168项目地址:Optimise Web's Mobile Det ... -
Magento: Gird 和 form 区域 Module Development Series – Magento Admin Module
2016-04-28 02:39 678In this tutorial, we are goi ... -
Magento: addAttributeToFilter 和 addFieldToFilter 的区别 Difference between addAttri
2016-04-28 02:34 1020addAttributeToFilter is use ... -
Magento: 后台获取menu链接 Getting the admin panel urls
2016-04-28 02:34 777The url for customer page in t ... -
Magento : 调用文件上传 upload file frontend
2016-04-27 01:25 1364bool mkdir ( string $pathname ... -
Magento: 自定义用户登录导向页面 Redirect Customer to Previous Page After Login
2016-04-26 02:45 1860Configuration Settings – L ... -
Magento: 代替flash上传 How to disable Flash uploader in Magento (product images and
2016-04-06 05:04 11201. 替换产品页flash上传按钮 - 使用 Du ... -
Magento: 在客户账户中添加自定义链接 My Account Add Link
2016-04-05 14:05 1254This extension add new link an ... -
Magento: 根据产品属性加载产品信息 Load A Category or Product by an Attribute
2016-03-26 01:35 947Load a Product by ID <?ph ... -
Magento模块开发之数据库SQL操作方法说明
2016-03-26 01:31 1367今天主要来看Magento中的Mysql4/Resource ...
相关推荐
5. 安装完成后,你会看到一个新的插件出现在插件列表中,标记为“Z-BLOG到WordPress的转移工具”。此时,记得要启用这个插件,因为只有启用了插件,它的功能才会生效。 6. 启用插件后,按照插件提供的说明进行数据...
6. **用户和权限转移**:eyoucms和WordPress的用户管理机制不同,可能需要手动创建eyoucms用户并分配角色。如果数量庞大,可以编写脚本来自动化此过程。 7. **URL重定向**:确保设置好URL重定向规则,避免迁移后...
本文将介绍两种转移WordPress网站到新服务器的方法,帮助用户顺利完成网站的迁移操作。 第一种方法是将WordPress网站从在线环境迁移到本地环境,而不重新安装WordPress。具体步骤包括: 1. 在WordPress后台的...
- 数据迁移:详细说明了如何将现有数据无缝转移到新的WordPress站点。 13. **社区参与** - 社区资源:介绍了WordPress开发者社区的各种资源和支持渠道。 - 贡献方式:鼓励读者参与社区贡献,无论是通过提交补丁...
6、关于用户,用户资源想导出不难,但是wordpress提供的xml接口中并没有添加用户的,可以在PjBlog里面将用户表数据通过sql语句导出再insert到wp平台数据库中,如果有需要可联系我 QQ 3086417 无偿转移。
“WordPress中文前台编辑器”是一款专为WordPress设计的可视化编辑器插件,其核心特点在于将传统的后台编辑模式转移到了网站的前端页面。这意味着用户可以直接在访问者看到的内容区域进行编辑,所见即所得,无论是...
这款插件允许用户轻松地将整个WordPress网站,包括文章、图片、插件、主题等所有数据完整地导入和导出,极大地简化了网站备份和迁移的过程。 一、功能特性 1. **全面的数据迁移**:All-in-One WP Migration支持将...
本文将介绍两款国内最好的企业网站程序,并对其特点、功能和优缺点进行详细分析。 PageAdmin 企业网站程序 PageAdmin 企业网站程序是一款基于 asp.net 框架的网站程序,具有简单、安全、灵活等特点。它是国内使用...
"WordPress数据库备份的方法:WordPress管理区的管理菜单" WordPress数据库备份的方法是非常重要的,它可以帮助我们保存网站的...我们希望通过这篇文章,您可以轻易地创建WordPress数据库备份,并保护您的网站数据。
2. **文件转移**:包括主题、插件、上传的媒体文件等在内的所有WordPress文件都能被正确地迁移到新的服务器。 3. **URL替换**:迁移过程中,工具会自动更新所有内部链接,确保指向新环境的正确地址。 4. **配置...
这个插件是专门用来迁移WordPress站点的,它允许用户方便地导出整个网站(包括数据库和所有文件)为一个单一的文件,然后在另一个WordPress安装上导入,这对于备份、演示数据的转移或者在不同环境间迁移站点非常有用...
- **转移步骤**:迁移WordPress站点通常涉及导出和导入内容,复制数据库,修改数据库连接信息,以及处理URL重定向。 通过分析"wordpress_site-master",我们可以深入研究这个旧WordPress网站的结构、代码逻辑和...
然而,由于WordPress的生态系统更为庞大,插件和主题选择更多,很多Nucleus用户可能会考虑迁移到WordPress以获取更丰富的功能和更好的社区支持。"Nucleus-to-WordPress Migrator"的出现,正是为了满足这一需求,它...
1. 设置WordPress环境,确保REST API插件启用或使用最新版本的WordPress,因为API已被集成到核心中。 2. 创建React应用,可以使用Create React App这样的脚手架快速启动。 3. 使用fetch或axios等库向WordPress API...
`keyring-social-importers`的核心功能在于,它能够将你在各个社交网络上的历史记录,包括文字、图片、视频等,安全地转移到你的WordPress安装中。这一过程不仅方便用户统一管理个人内容,也有助于保护数据不完全...
XML文件包含了文章、页面、评论、分类、标签等所有数据,是转移内容到其他平台的基础。 3. **Travis CI**:Travis CI是一个流行的持续集成服务,它可以自动构建和测试GitHub上的项目。在这里,它被用来自动化转换...
1. **博客平台选择**:个人博客可以搭建在各种平台上,如WordPress、Blogger、Medium等,这些平台提供了丰富的主题模板和插件,使得非技术人员也能轻松创建和维护博客。 2. **本地博客笔记本**:描述中提到的“本地...