自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(120)
  • 资源 (7)
  • 收藏
  • 关注

转载 wordpress CMS主题如何调用3个月内的热门文章排行榜

第一步:为wordpress主题的文章添加记录浏览量功能如何记录wordpress文章的用户浏览量,这个在我们发表的前面的文章中就已经介绍过了。这里,再把它贴出来://访问计数:必须 启用 wp_head();function record_visitors(){if(is_singular()){global $post;$post_ID = $post->ID;if(...

2019-07-15 15:58:21 1096 1

转载 wp路劲函数

//路径相关常量define('SITE_URL', WP_CONTENT_DIR);//wp-content目录的服务器绝对路径,例如/home/user/public_html/wp-contentdefine('SITE_URL', WP_CONTENT_URL);//wp-content目录的URI地址,例如https://www.solagirl.net/wp-contentde...

2019-07-15 15:57:50 276

转载 wp清理

<?php/**Plugin Name: unify 优化123Plugin URI: Description: 扩展优化wpVersion: 1.0Author URI: *//*定义一些常量*/define('UNIFY_VER', wp_get_theme()->get('Version'));//define('UNIFY_URL', get_temp...

2019-07-15 15:57:14 514

转载 wp函数

WordPress模板基本文件style.css 样式表文件index.php 主页文件single.php 日志单页文件page.php 页面文件archvie.php 分类和日期存档页文件searchform.php 搜索表单文件search.php 搜索页面文件comments.php 留言区域文件(包括留言列表和留言框)404.php 404错误页面header.p...

2019-07-15 15:56:38 837

原创 wp定义路径

<?php/**wp-config.php*//**define('WP_CONTENT_DIR', '/home/user/public_html/cdn');define('WP_CONTENT_URL', 'http://sola-cdn.me');*///路径相关常量define('SITE_URL', WP_CONTENT_DIR);//wp-content...

2019-07-15 15:56:01 575

转载 wp路径函数

<?php /*Template Name: Full-width layoutTemplate Post Type: post, page, product*/与WordPress打交道,经常遇到的一个问题就是获取路径,包括URL路径和服务器路径,在主题或插件中引用js或css文件需要URL地址,而include一些文件时则需要服务器路径。在WordPress中,不能认定w...

2019-07-15 15:55:21 341

转载 wp模板

<?php /*Template Name: Full-width layoutTemplate Post Type: post, page, product*/ // ... 模板代码可以在 post(文a章),page(页面),product(产品) 等类型的文章中选择使用这个名字为 Full-width layout(全宽布局) 的页面模板。...

2019-07-15 15:54:23 557

转载 WordPress的基本配置

&lt;?php/** * WordPress的基本配置 * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and ...

2019-01-12 08:43:23 813

转载 config.php 配置文件说明

hostname'=数据库地址[如果数据库和空间在一个ip,可以默认loalhost不更改] user'=数据库用户名[必须和空间商所给的一致] password'=数据库密码[必须和空间商所给的一致] database'数据库名称[必须和空间商所给的一致] prefix'=数据库表前缀[如果同数据库安装多个CmsEasy,那么表前缀名称需要更改不同名称] encoding'=网站编码...

2019-01-12 08:42:46 1608

翻译 the7 Quick Start Guide

感谢您选择7!本快速入门指南,你会找到所有需要的信息如何安装主题和捆绑插件,故障排除最常见的问题,使你的网站看起来像主题演示。为主题的详细信息,请访问使用7在线用户指南。此外,您可以使用疑难解答和知识库在我们的支持门户。7自带的免费技术支持。所以当一切都失败了,请不要犹豫,提交支持请求通过我们的在线帮助台。我们的支持政策是可用的本页。 我们希望你能享受工作7。你真诚的,梦...

2018-11-03 08:50:13 451

翻译 JQMIGRATE: Migrate is installed, version 1.4.1

The only way to remove the notice is to ensure all your plugins/theme code don’t rely on any old jQuery functionality, and then remove the migrate script:add_action( 'wp_default_scripts', function( $s...

2018-02-28 23:12:32 5186

翻译 Metaboxes

Metaboxes/Extensions /Metaboxes ExtensionsIf you are used the ReduxFramework declaration arrays, you know Redux Metaboxes. They’re one and the same! The only difference is a parent array. We’ll go thr...

2018-02-26 16:50:52 316

翻译 redux分类Taxonomy

Taxonomy/Extensions /Taxonomy Extensions 分类/扩展/分类扩展If you are used the ReduxFramework declaration arrays, you know Redux Taxonomy. They’re one and the same! The only difference is a parent array. We’l...

2018-02-26 16:48:46 360

翻译 Raw源

The Raw field provides the ability to output raw HTML directly into the options panel both full width and sectioned.原始字段提供了将原始HTML直接输出到选项面板的能力。Full Width全宽度分段(' full_width”= &gt;假)Arguments参数NameTypeD...

2018-02-26 16:42:05 321

翻译 redux参数入门

Getting started with Argumentsredux参数入门/Uncategorized /Getting started with ArgumentsThe Redux Framework configurati配置on file (sample-config.php) comes with a variety of arguments to customize the opt...

2018-02-26 16:32:55 490

翻译 集成一个编译器

Integrating a Compiler/Core / Advanced / Integrating a Compiler AdvancedThis article deals specifically with integrating a basic compiler hook for any Redux field. For an in depth article on how to us...

2018-02-26 13:11:45 433

翻译 将redux嵌入你的主题或插件

Embedding Redux into Your Theme or Plugin/Core / Advanced / Embedding Redux into Your Theme or Plugin AdvancedSo you have this really cool Theme or Plugin. And of course you love Redux because – let’s...

2018-02-26 13:10:50 390

翻译 redux动态更新的CSS文件

Updating a CSS File Dynamically/Core / Advanced / Updating a CSS File Dynamically AdvancedOne of Redux’s most underrated features is the ability to update a CSS file on your server dynamically using c...

2018-02-26 13:09:36 351

翻译 自定义REDUX选项面板CSS

We understand customization is important to any developer. That’s why we’ve provided a few useful hooks to enqueue or dequeue our default CSS files. Interested?  Read on!我们的理解任何定制开发是重要的。这就是为什么我们已经提供了一...

2018-02-26 13:08:41 398

翻译 Add a Custom Field

Adding a custom field to Redux is quite simple. It is important the following code is included before the ReduxFramework object is created.添加自定义字段到框架是很简单的。以下的代码是重要的,reduxframework对象创建前包含的。Hook into th...

2018-02-26 13:03:17 379

翻译 redux启用预览字体的字体位置

When specifying fonts used locally in your theme in the typography field’s fonts argument, the will not render in the preview field. We’ve included an undocumented workaround in the typography field t...

2018-02-26 12:58:29 308

翻译 redux框架面板外更新选项

Most of the time, options for your theme or plugin will be set via the options panel. But what if you have a need to update an option someplace else? Perhaps an option would need to be changed behind ...

2018-02-26 12:57:01 259

翻译 IDE Snippets & Templates

IDE Snippets &amp; Templates IDE片段 模板/Core / Advanced / Core /Core / Support / Core / The Basics / IDE Snippets &amp; Templates/核心/高级/核心/核心/支持/核心/基础/集成代码和模板 Advanced/ Core/ Support/ The Basics高级/核心/支持...

2018-02-26 12:42:57 212

翻译 Support Defined

Support Defined/Core / Advanced / Core /Core / Support / Core / The Basics / Support Defined Advanced/ Core/ Support/ The BasicsWho are we?We maintain an open source project entitled Redux Framework. ...

2018-02-26 12:39:59 243

翻译 Filter Hooks

Filter Hooks/Core / Advanced / Core / Filters / Filter Hooks Advanced/ FiltersThe follow table is a list of available filter hooks within Redux Framework that developers may use in their own code.  Pl...

2018-02-26 12:39:17 242

翻译 Actions Hooks

Actions Hooks/Core / Action Hooks / Core / Advanced / Actions Hooks Action Hooks/ AdvancedThe follow table is a list of available filter hooks within Redux Framework that developers may use in their o...

2018-02-26 12:38:30 215

翻译 Removing Demo Mode and Notices

Removing Demo Mode and Notices/Core / The Basics / Removing Demo Mode and Notices The BasicsRedux Framework, when run as a plugin ships with a sample config in order to permit people to try Redux out ...

2018-02-26 12:37:17 261

翻译 Using Permissions

Using Permissions/Core / Fields / Core / Sections / Using Permissions Fields/ SectionsThe permissions argument is useful for restricting access to certain fields or sections that require a specified u...

2018-02-26 12:35:29 222

翻译 The Redux API

The Redux API/Core / Advanced / Core /Core / Fields / Core / Sections / Core / Support / Core / The Basics / The Redux API Advanced/ Core/ Fields/ Sections/ Support/ The BasicsWith Redux 3.5+, we’ve c...

2018-02-26 12:34:56 238

翻译 部件入门

Getting Started with Sections部件入门Before any Field array is written, which will represent(代表) the individual options(个人选项) on the options panel, a section must be created. The section array sets up a t...

2018-02-26 12:31:53 182

转载 WordPress 插件开发教程 Part 3 – 钩子( Hooks )

本文是《WordPress 插件开发教程》系列教程的第 3 部分,该系列共包含以下 4 个部分:WordPress 插件开发教程 Part 1 – WordPress 插件简介WordPress 插件开发教程 Part 2 – WordPress 插件基础WordPress 插件开发教程 Part 3 – 钩子( Hooks )WordPress 插件开发教程 Part 4 – 与WordPres...

2018-02-25 23:24:56 1093

转载 WordPress 插件开发教程 Part 2 – WordPress 插件基础

本文是《WordPress 插件开发教程》系列教程的第 2 部分,该系列共包含以下 4 个部分:WordPress 插件开发教程 Part 1 – WordPress 插件简介WordPress 插件开发教程 Part 2 – WordPress 插件基础WordPress 插件开发教程 Part 3 – 钩子( Hooks )WordPress 插件开发教程 Part 4 – 与WordPres...

2018-02-25 23:05:48 1186

转载 WordPress 插件开发教程 Part 1 – WordPress 插件简介

本文是《WordPress 插件开发教程》系列教程的第 1 部分,该系列共包含以下 4 个部分:WordPress 插件开发教程 Part 1 – WordPress 插件简介WordPress 插件开发教程 Part 2 – WordPress 插件基础WordPress 插件开发教程 Part 3 – 钩子( Hooks )WordPress 插件开发教程 Part 4 – 与WordPres...

2018-02-25 22:42:35 1552

转载 WordPress 插件开发教程 Part 4 – 与WordPress整合

本文是《WordPress 插件开发教程》系列教程的第 4 部分,该系列共包含以下 4 个部分:WordPress 插件开发教程 Part 1 – WordPress 插件简介WordPress 插件开发教程 Part 2 – WordPress 插件基础WordPress 插件开发教程 Part 3 – 钩子( Hooks )WordPress 插件开发教程 Part 4 – 与WordPres...

2018-02-25 10:52:32 1871

翻译 add plugins page

描述为插件添加菜单的子菜单页面使用 &lt;?phpadd_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $function);?&gt; 参数$page_title(string) (required) The text to be displayed in the title tags of the page ...

2018-02-25 10:46:14 331

翻译 Adding Administration Menus

概述通常情况下,插件和主题的作者都需要为其提供一个配置界面,以方便用户去自定义它们。将这个配置界面展示给用户的最好方式,就是在后台管理员界面的配置菜单中添加一个选项,然后当用户点击这个选项的时候再去打开它。这篇文章将会告诉你如何去实现这样的事情。注意:在继续阅读之前,你应当对如何写一个插件,以及Actions和Filters的插件API函数有一定的了解。参考函数General FunctionsM...

2018-02-25 10:40:53 233

转载 如何开发一个WordPress插件

介绍WordPress 插件 允许你对 WordPress 博客进行修改、自定义和加强。不必修改 WordPress 的核心程序,直接用插件的形式增加功能。下面是对 WordPress 插件的基本定义:WordPress 插件:WordPress 插件是用 PHP 语言写成的一只或者一组程序。这些程序可以为 WordPress 增加某些原来没有的功能,这样使用者看起来仿佛就是这个博客固有的功能。 ...

2018-02-25 10:02:03 1535

原创 九刺鱼百度编辑器

九刺鱼百度编辑器

2018-02-25 09:32:55 190

原创 admin

&lt;?php /** * 1、在这里定义了一些用到的函数和常量、变量。 * 2、框架只需要加载者一个文件就可用添加所有扩展和选项了 * https://github.com/reduxframework/redux-framework/blob/master/sample/sample-config.php */ // 不允许直接访问...

2018-02-24 00:52:01 214

原创 pach

&lt;?php // 不允许直接访问此文件。 if ( ! defined( 'ABSPATH' ) ) { exit( '拒绝直接访问此脚本.' ); } /** * 定义框架常用的几个路径,你也可以添加自己的路径在此 * 注释版:https://gitee.com/jiuciyu/wordpress-funcs/tre...

2018-02-24 00:48:58 583

响应式博客后台模板

响应式博客后台模板,很不错的一个后台模板,最新的资源

2018-02-20

foundation模板

foundation模板,提供foundation模板的源码和资源及离线文档

2018-02-20

composer-zh_CN.mo

wordpress可视化编辑器设置插件汉化包composer-zh_CN.mo

2018-02-18

js_composer-zh_CN

WordPress可视化编辑器设置插件的汉化语言包js_composer-zh_CN

2018-02-18

wordpress本地优化加速版

wordpress本地优化加速版,本地化谷歌字体、头像、谷歌静态资源库。使用说明:下载后解压覆盖原文件。

2018-02-16

python 2732.ipk

python无线路由器的固件资源扩展资料和软件,欢迎下载

2012-12-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除