Archive for the ‘Wordpress’ Category

WordPress代码整理

  • 显示最新文章
    • <?php query_posts(‘showposts=5′); ?>
    • <ul>
    • <?php while (have_posts()) : the_post(); ?>
    • <li><a href=”<?php the_permalink() ?>”><?php the_title(); ?></a></li>
    • <?php endwhile;?>
    • </ul> Read the rest of this entry »

Incoming search terms:

  • WordPress代码
 

WordPress Shopping 插件(plugins)

WordPress购物插件:

1:YAK for WordPress
wordpress yak插件
YAK是一款开源的WP购物插件,主要用来销售在线传送的物品,包括软件,电子书等等。YAK集成了多种在线支付通道,包括信用卡Google Chekout, PayPal, Authorize等等。系统要求PHP5及以上版本。

2:Cart66 Pro
cart66插件
该插件分为Lite及PRO两个版本。版本区别可到其官方网站Features页面查看。支持在线传送虚拟物品及实体商品的销售,能够满足大部分在线商城的需求,具备购物系统的大部分功能。支持Papal及手工结算。同时Pro版还提供 UPS快递费用管理,会员功能,支付选项(一次性付费或者定期付费),以及优惠码,销售联盟等功能,并且提供更多的支付选项。

3:WordPress eStore
WordPress eStore
这个插件同样也是用来销售在线虚拟物品的,其优点在于多站点授权。集成了Paypal, 2Checkou, Authorize以及手动付款等多种支付功能。

4:Eshop
wordpress eshop插件
Eshop可以在日志或者独立页面上销售商品,支持会员注册功能,同样支持虚拟物品及实体商品的销售,并且可以自动发送提醒邮件。这个插件的优点在于对商品库存量的控制以及多站点兼容。系统集成的第三方支付方式包括:Authorize, PayPal, Payson, eProcessingNetwork, Webtopay, iDEAL以及 现金及支票等方式。 Read the rest of this entry »

Incoming search terms:

  • wordpress shop
  • wordpress 会员 插件
  • wordpress 会员插件
  • wordpress Cart 支付宝 wpmu
  • wordpress shop 插件
  • wordpress 商品
  • wordpress 销售插件
  • WordPress会员插件
  • wordpres商品系統
  • wordpress Amazon 插件
 

取消WordPress自动保存文章功能-给WordPress数据库减肥

wordpress会在你后台编辑文章时自动保存文章,每隔几分钟就保存一次,生成很多冗余的文章。长此以往数据库将越来越大,必须处理。
1. 减肥插件:Delete Revision,它可以帮你把所有冗余文章删除掉。
2. 防反弹插件:Disable Autosave,运行这个插件就达到避免自动保存的功能了。

 

用WP-EasyArchives插件为WordPress添加Sitemap页面

使用的插件为WP-EasyArchives,网上其他地方也有WP-EasyArchives使用教程,但不详细,对初学者有些难操作。我这里详细讲讲怎么安装WP-EasyArchives。
1. 下载WP-EasyArchives压缩包,将压缩包解压到 WordPress根目录/wp-content/plugins/
2. 登录你的 WordPress 后台, 到 Plugins 页面激活插件 WP-EasyArchives
这两步可代替为直接在后台搜索这个插件,安装并激活。
3. 复制正在使用的主题文件page.php,另存为archivespage.php在文件最前面添加: Read the rest of this entry »

Incoming search terms:

  • wp sitemap
  • EasyArchives 使用
  • woredpress sitemap 页面 插件
  • wp easyarchives 网站地图
  • wp sitemap插件
 

WP-PageNavi 插件无法使用解决办法

Wp-PageNavi 是一款非常实用的分页插件,深受大众博主喜爱, 插件的安装也非常容易.但是也会有不少博主发现不能使用.原因主要是有些主题不支持,需要手动添加一些代码.

首先是把插件安装好,然后看下,如果不显示,一般会发现还是原来的”Older Entries”;”Newer Entries” 字样.

OK,先进入主题的编辑页面,找到index.php, 搜索下这两个文字的位置,例如:

<div>
<?php next_posts_link(__(‘&laquo; Older Entries’, ‘xxx’)) ?>
</div>
<div>
<?php previous_posts_link(__(‘Newer Entries &raquo;’, ‘xxx’)) ?>
</div>

把这段改为`<?php wp_pagenavi(); ?>`

基本上这样就可以了.

Incoming search terms:

  • pagenavi不显示
  • pagenavi 不显示
  • page navi不能
  • pagenavi 不好用
  • pagenavi 手动添加
  • pagenavi无法使用
  • WP - PageNavi无法安装
  • wp pagenavi 不显示
  • wp-pagenavi 不能用
 

WP-PostViews 使用说明书

General Usage
  1. Open wp-content/themes/<YOUR THEME NAME>/index.phpYou may place it in archive.php, single.php, post.php or page.php also.
  2. Find:

    <?php while (have_posts()) : the_post(); ?>

  3. Add Anywhere Below It:

    <?php if(function_exists(‘the_views’)) { the_views(); } ?>

  4. Go to ‘WP-Admin -> Settings -> PostViews’ to configure the plugin.
View Stats (With Widgets)
  1. Go to ‘WP-Admin -> Appearance -> Widgets
  2. The widget name is Views. Read the rest of this entry »

Incoming search terms:

  • WP-PostViews views statistics
  • PostViews theme twentyeleven
  • WP-PostViews twentyeleven
 

WordPress十大google adsense插件

WordPress是一款不错的博客程序,在国外那是相当的有名,国内的Wordpress玩家也不少。这是我刚申请的wordpress博客不知道如何加入Google Adsense,搜了一下,看到不少好东东,拿来与大家看看 Read the rest of this entry »

Incoming search terms:

  • wordpress google adsense
  • wordpress adsense 匹配插件
  • wordpress adsense 插件
  • WordPress管理Google Adsense插件
 

wordpress免插件添加google adsense广告

如果你想用博客来赚钱,google adsense无疑是一个好方法。现在,越来越多的人选用wordpress来作为博客程序了,但如何给wordpress添加google adsense广告呢?最简单的方法莫过于用插件了。但是插件用多了会影响博客的速度,所以我尽量避免使用插件。下面的一段代码可以帮助你实现不用插件也可以给博客文章中插入环绕效果的google adsense广告。 Read the rest of this entry »

Incoming search terms:

  • wordpress google广告
  • wordpress 添加google 广告
  • google adsense插件
  • wordpress google ad
  • wordpress google广告插件
  • wordpress增加google adsense
  • wordpress文章Google Adsense广告 插件
  • 我要在wordpress加GOOGLE廣告
 

Zen-cart 调用WordPress文章方法

Zen-cart 有个WOZ的插件,作用就是调用Wordpress 的文章,将这个作为新闻系统来用。
其实,通过Wordpress自带的函数调用,完全可以达到同样的作用,下面介绍三种方法,第一种是调用最新的文章;第二种是随机调用Blog文章;第三种是调用最新留言。
首先,把WordPress安装到zen-cart一个子目录里,设置好固定连接等
一、调用最新文章
在合适的地方加入下面两行代码,一般会放在产品页面(/includes/templates/你使用的模板文件名/templates/tpl_product_info_display.php
<?php require(‘./wordpress所在目录/wp-blog-header.php’); ?>  这行调用WordPress自带函数,目录地址要随着WordPress安装目录变化而变化.如果你的Zen-cart不是根目录,那么前面就要打两个.['../wordpress所在目录/wp-blog-header.php']
<?php get_archives(‘postbypost’, 10); ?> 这里的10指调用的最新文章数量 Read the rest of this entry »

Incoming search terms:

  • wordpress文章调用
  • ZEN CART WORDPRESS
  • zencart wordpress
  • wordpress 文章调用
  • wordpress cart
  • zen cart调用wordpress
  • zen cart调用 wordpress文章插件
  • zen cart 调用 wordpress
  • zen cart 文章
  • zen cart 加 wordpress
 

15步创建WordPress博客

First 15 steps to setup your wp blog
15步创建Wordpress 博客

Step 1: FTP to my account and upload WordPress.
1.上传 WordPress安装文件到你的空间

Step 2: Login to CPanel and create the mySQL database.
2.进入数据库为客创建一个数据库

Step 3: Upload my plugins
3.上传你的插件到空间 Read the rest of this entry »

Incoming search terms:

  • 创建wordpress博客
  • 创建wordpress 博客