仅仅学习能够修改wordpress的主题及插件的php知识,不用全面学习PHP。
KB Plugins blog
The best Wordpress plugins are free
PHP Tutorial for WordPress Users – PHP 101
Welcome to PHP 101, to the quickest, simplest PHP tutorial around, and the only PHP tutorial written specifically for the average WordPress user. I cover only the minimal amount of PHP necessary to competently modify your themes (and maybe even to modify plugins).
What this is
My tutorial is only a few pages long; you can read it in 20 minutes. It covers basic PHP syntax. It tells you how to assign a value to a variable, how to check that value, and how to set up a PHP if ... else ... statement. From my experience, that's all most WordPress users need (and want) to know. If you want more details later, try PHP.net's tutorial .
After you have mastered the basics, you can visit one of the subpages linked below to learn several little tricks that folks ask about frequently in the wp.org support forums :
How do I make my first post look different from the rest?
How do I make my posts (or anything else) have alternating colors?
Prerequisites
Basic knowledge of HTML (HTML tutorial )
Basic knowledge of CSS (CSS tutorial )
Disclaimers
Most tutorials are written in inaccessible, overly technical language. I'm going to write as clearly and non-technically as possible. So please don't complain if you notice me being a little less than precise.
Table of contents
As you click through the pagination links below, we'll address the following topics:
Introduction (this page)
What is PHP? PHP vs HTML
How do I insert PHP into a web page?
Variables
Conditional statements (if, elseif, etc)
Variables in conditional statements
Functions, and the difference between echo and return
Conclusion
网站:http://adambrown.info/b/widgets/easy-php-tutorial-for-wordpress-users/
分享到:
相关推荐
wordpress框架详细说明,关于WordPress安全的6个建议,为Wordpress博客添加MP3播放器,WordPress框架学习,WordPress框架学习总结:WordPress框架,php框架,php
WordPress是使用PHP语言开发的博客平台,用户可以在支持PHP和MySQL数据库的服务器上... 本资源仅用于开源学习和技术交流。不可商用等,一切后果由使用者承担。 2. 部分字体以及插图等来自网络,若是侵权请联系删除。
该wordpress模板以灰色为主打,结构排版十分符合国人的浏览及实用习惯。wordpress模板每篇文章配置了一个缩略图片,右侧也采用了图片新闻,图片广告展示,让整个网站的视觉效果很好,这是是做淘客很重要的核心。每篇...
本资源提供了一套基于PHP和JavaScript的免费开源WordPress主题Smarty Hankin的设计源码,...这些文件详细展示了如何使用PHP、JavaScript和CSS构建一个免费开源的WordPress主题,非常适合用于学习和参考PHP项目的开发。
本教程包括WordPress简介、下载、虚拟主机选购、创建数据库、安装时wp-config.php文件设置、WordPress的上传、安装、安装后后台设置、 文章编辑、文章管理、WordPress主题、WordPress插件、WordPress SEO优化、常见...
WordPress自动采集插件autopost-pro 3.7.8最新版 免授权学习版目前完美运行于的 WordPress 各个版本,请放心使用。WP-AutoPost-Pro 是一款优秀的 WordPress 文章采集器,是您操作站群,让网站自动更新内容的利器! 1...
本设计源码提供了一个基于WordPress的Sakura主题。项目包含246个文件,主要使用PHP、JavaScript、CSS和Python...适合用于学习和实践WordPress、PHP、JavaScript、CSS和Python技术,以及开发WordPress主题相关的应用。
近期挺火的一款WordPress商业服务模版,它是一款专业为淘宝客盆友设计方案的,也是许多盆友必须的,官方网全新正版。该wordpress模版以深灰色主导打,构造排版设计十分合乎中国人的访问及好用习惯性。 WordPress模版...
"【WordPress插件】2022年...泰森云每天更新发布最新WordPress主题、HTML主题、WordPress插件、shopify主题、opencart主题、PHP项目源码、安卓项目源码、ios项目源码,更有超10000个资源可供选择,如有需要请站内联系。
易秀购主题网分享一款wordpress英文企业主题,这是一个企业多用途 WordPress主题,特点:自适应和Retina 支持, WordPress 4.0,4个头部样式,Layer-Slider,Visual Composer,Ajax 作品展示,Mega 菜单,...
WordPress是一个以PHP和MySQL为平台的自由开源的博客软件和内容管理系统,基于云开发 CloudBase Framework 开发部署 软件开发设计:应用软件开发、系统软件开发、移动应用开发、网站开发Node.js、C++、Java、python...
"【WordPress主题】2022年...泰森云每天更新发布最新WordPress主题、HTML主题、WordPress插件、shopify主题、opencart主题、PHP项目源码、安卓项目源码、ios项目源码,更有超10000个资源可供选择,如有需要请站内联系。
超详细WordPress主题制作教程: 从零基础开始制作,如果您有一些PHP语言基础学习本教程会更好或者您也可以访问https://blog.csdn.net/weixin_43103088/article/details/82819773博客来快速搭建一个主题。
[舊版][WordPress][PHP]_03._[Windows]_安裝PHP_開發環境_MAMP
教育中心 - LMS在线大学和学校课程学习WordPress主题" ---------- 泰森云每天更新发布最新WordPress主题、HTML主题、WordPress插件、shopify主题、opencart主题、PHP项目源码、安卓项目源码、ios项目源码,更有超...
本源码提供给大家学习研究借鉴美工之用,请勿用于商业和非法用途,无任何技术支持! 白色整洁风格wordpress主题是一款比较新颖的国际设计范风格,简洁而大方的 WordPress 主题,适合个人博客、企业和工作室用。 完美...
包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用...
这是一个有用的辅助阅读学习WordPress源代码的项目。 该项目专注于WordPress原始代码分析,在源代码中直接加入作者对WordPress设计以及程序逻辑的理解说明(以中文注释的形式呈现),并保留书记注释和代码逻辑。 ...