万本电子书0元读

万本电子书0元读

顶部广告

Learn to Create WordPress Themes by Building 5 Projects电子书

售       价:¥

7人正在读 | 0人评论 6.2

作       者:Eduonix Learning Solutions

出  版  社:Packt Publishing

出版时间:2017-12-29

字       数:27.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book will help you take your first steps in the WordPress theme development process, with 5 different projects centered around creating unique and responsive WordPress themes About This Book ? Learn the basics of WordPress theme development in a step by step manner ? Make your themes more dynamic by integrating components of Bootstrap and JQuery ? 5 carefully-selected projects to help you get beyond the theory and create highly marketable WordPress themes from scratch Who This Book Is For If you are a blogger or a WordPress user who wants to learn how to create attractive, eye-catching WordPress themes, this book is for you. A basic understanding of HTML5, CSS, PHP, and some creativity is all you need to get started with this book. What You Will Learn ? Simple and advanced themes – covers basic syntax and files along with archives and search pages ? Photo Gallery – add simple animation and use the W3.CSS framework to design a photo gallery theme ? Wordstrap – incorporate Twitter Bootstrap into the theme and use the WP_NavWalker class ? E-commerce theme – build an e-commerce theme using the Foundation framework In Detail WordPress has emerged as a powerful, easy-to-use tool to design attractive, engaging websites. Themes play a big role in making WordPress as popular as it is today, and having an eye-catching, fully-functional theme could separate your website from the rest! This book will help you take your first steps in the WordPress theme development process, with 5 different projects centered around creating unique and responsive WordPress themes. Start with creating a simple WordPress theme using HTML5, CSS, and PHP. Then, you will move on to incorporate different APIs, widgets, and tools such as Bootstrap and jQuery to create more dynamic and highly-functional themes. Whether you want to create a photo gallery theme, a highly customizable e-commerce theme, or a theme designed to suit a particular business, this book will teach you everything you need to know. By the end of this highly interactive book, you will have the required mastery to develop WordPress themes from scratch. Style and approach This book takes a projects-based approach, where every project incrementally builds on your programming skills required to create different kinds of WordPress themes. With the difficulty of the projects ranging from basic to complex, this book will help you get beyond the theory and put your understanding of WordPress theme development to practical use.
目录展开

Title Page

Copyright

Learn to Create WordPress Themes by Building 5 Projects

Credits

About the Author

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

Creating a Simple Theme with WordPress

Installing and setting up WordPress

Creating and enabling themes

Creating an HTML structure

Working with the style sheet

Adding a function in the head tag

Building the HTML body

Base styling

Single posts and thumbnails

Adding an image to the post

Pages and menus

Widget locations and comments

Working with widgets

Adding the comment functionality

Summary

Building a WordPress Theme

Post formats

Creating a design using HTML and CSS

Building the HTML body

Adding CSS

Creating a WordPress theme

Displaying blog post

Creating a single post and adding an image

Creating custom archive pages

Different post formats

Pages, custom templates, and sub navigation

Working with Theme Widgets

Custom home page

Comment Functionality

Summary

Building a WordPress Theme for Photo Gallery

Creating the layout of the home page in HTML and CSS

Creating the HTML layout

Creating the header

Adding the title and search box

Shifting the search box

Adding the sidebar and main area

Adding the sidebar

Changing the color of the background and text of the sidebar

Adding the main area

Adding images to the column

Adding a footer in the main area

Implementing the animation and single.html page

Implementing the Fade In animation

Creating animation on the single page

Adding a single image for animation

Adding the theme header and footer

Creating a theme inside the wpthemes folder

Adding a theme

Activating the theme

Converting static markup to WordPress

Adding the wp_head function

Adding the body_class function

Adding the footer

Splitting the header and footer

Changing the site name

The post loop

Adding the theme support function

Passing the function into action

Working on index.php for the content post

Adding the while loop for the post

Adding an else statement

Displaying the post content

Adding a regular post content

Adding a title to the regular post content

Adding metadata

Checking the thumbnail in content post

Adding a gallery post

Checking the thumbnail in the gallery post

Creating an array of attributes

Adding a new post

Adding proper proportions to the image

Adding the category widget and search option

Adding a function to use the category widget

Specifying the widget locations

Registering the widgets

Styling our category widgets

Adding the widget to the code

Removing the title

Adding the class

Adding a link at the top of the widgets

Changing the top margin of the page

Making the search bar functional

Working on the single post theme

Creating a single HTML page

Making metadata dynamic

Changing the static image

Changing the back button, title, and content

Summary

Building a Twitter Bootstrap WordPress Theme

Building a Bootstrap theme

Adding the sidebar

Adding the footer

Header and footer

The post loop

The Featured Image area

Creating categories

Formatting the post

Wrapping the post in an article tag

Adding content to the post

Adding a Read More button

Dealing with post without an image

Adding a bit of style

Implementing Navbar

Displaying menu

Setting the sidebar

Adding a search bar and single post page

Dealing with the search box

Dealing with the single post page

The comment functionality

Summary

The Foundation E-Commerce Theme

E-commerce HTML template – Part A

E-commerce HTML template – Part B

Theme setup, logo, and navigation

The custom showcase widget plugin

The sidebar widget setup

The main product post page

Single product and single page

Adding multiple images

Summary

Conclusion

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部