The theme framework you've built will be used as a parent theme in the sites you develop. This means that in each case you'll need to create a child theme to create a unique site with its own design and with extra or different functions compared to the framework. The obvious way to go about this is to dive in and start creating template files in your child theme to override those in the framework, but thanks to the action and filter hooks you've added to your framework, this might not always be the best approach.
In the previous parts of this series, we went through 20 WordPress
filters. In this tutorial, we're going to continue the trend and
review another batch of them and follow along examples with each. the article features filtering the default gallery style, filtering the attachment URLs, setting the default content type for email, saving the IP address of the commenter and more...
In the previous parts of this series, we went through 20 WordPress filters. In this tutorial, we're going to see another batch of them and do examples with each. The article features filtering the search query, setting compression quality for uploaded Images, filtering the text widget, filtering the feed content and more.
In the previous part of this series, we started going through 50 WordPress filters. Selected among hundreds, we started by reviewing 10 of them. In this tutorial, we're going to see another batch of them and review some examples of each.
WordPress is an amazing platform and the most popular content management system in the world. The reason for this title is because of its extensibility. In this series, we're going to learn about filters - one of the best ways we can extend WordPress. In the first post of the series, we introduced the idea of the world of filters within the context of WordPress. In this tutorial, we're going to start reviewing 50 selected filters by explaining what they do and see an example for each filter. Read More
In the first part of this two part series, Rachel McCollin showed you how to create the settings and controls for a color scheme in the WordPress theme customizer. In this part, you'll use these to define CSS in the theme based on what users select using the customizer. You could easily take this further - perhaps by using radio buttons to provide layout options or by giving users a choice as to which colors from their scheme are used where. She would warn against making things too complicated though - in her opinion, the benefit of this approach is that it keeps things simple.
The theme customizer is a great tool to allow your users more freedom to tweak a theme without having to edit the code. But if you want to let your users change the colors of their site, things can get complicated. Adding a control for every single element they can change will make things cumbersome and users may end up with a site which looks like a garish mess.
PayPal is a great payment processor that allows anyone to send you money, which you can then send directly to your bank account. In this tutorial, you'll learn how to make a WordPress plugin allowing you to generate a Buy Now button, using a variable shortcode. The main shortcode will have a default value of $50 USD, with the Large size, though you'll be able to overwrite this every time you enter the shortcode; this is known as a variable shortcode.
With the ever increasing focus on web security, SSL certificates have started to become common practice when setting up websites. This article will show you how to implement SSL into your WordPress website but won't go into details of how to buy and set up certificates with your web host, as this changes from provider to provider. That said, most web hosts sell and install web hosts for the clients for a relatively small fee. To make any of the changes described in this article you will need to already have an SSL certificate configured on your web server.
If you write longer blog posts and want to give your readers a structured way to navigate your pages and posts, the free Table of Contents Plus plugin is an elegant solution. It automatically generates a Table of Contents on your page from section headings, resembling very much the great collapsible Wikipedia style contents boxes.