…me styling to make it look good What You'll NeedTo follow this tutorial, you'll need: A development installation of WordPress. Some posts and categories set up. I've used a sample of the data from the WordPress theme unit test data. A theme. I'm going to create a child theme of…
…meta_box() function, which allows plugin and theme developers to register custom meta boxes against various WordPress Administration screens. WordPress registers some of its own meta boxes for display when you create a Post or a Page. For example, on Pages, you have the Page Attributes meta box: Let’s add a…
…mething to play with. Again, you can use existing elements of Bootstrap to speed up the process:<script type="text/template" id="add-tpl"> <h2>Adding a New Blog</h2> <form class="form-add" role="form"> <div class="form-group"> <label for="title">Title</label> <input type="text" name="title" class="form-control" id="title" placeholder="Enter Your Blog Title"> </div> <div class="form-group"> <label for="content">Content</label> <textarea name="content" class="form-control" rows="20"></textarea> </div> <button…
…ment and test a feature even if dependent services are not implemented yet. Also, you can test services that have already been implemented without actually calling those services—in other words you can test them offline. You need to analyze your business needs for that application first, and write them as…
…merce website is particularly important because these sites keep records of users’ data and order-related financial information. Any attempt to hack such data can cause a huge loss to your store. Although Magento is considered the safest and most secure eCommerce CMS, there are still some additional security steps advised…
…me says, in this pattern we will be dealing with executing various commands. Let me take a word about this pattern from Wikipedia:The command pattern is a behavioral design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a…
…mework, which reviews the benefits of Yii and includes an overview of what's new in Yii 2.0, released October 12, 2014.In Programming with Yii2: Getting Started, we set up Yii2 locally, built a Hello World application, set up a remote server and used GitHub to deploy our code. In part…
…ments in the structure of Magento layouts. Every page in Magento is decorated by the "Layouts" file and the content is filled up by the "Blocks" of the different modules. Magento blocks are a really powerful and flexible way to plug your content into the already existing layouts. On the…
…ment a nonce to ensure our form submissions are secure.Today, we'll cover how to use Advanced Custom Fields, a popular WordPress Plugin, to quickly generate custom fields. Advanced Custom Fields Creating custom fields for a post type is time consuming, and we’ve identified key security considerations in the process. For…
…media drives incremental traffic to your site.SiteCTRL also tracks this copy and paste activity with detailed page source reporting:Tynt reports that between 2 and 6% of page views result in some kind of user action that SiteCTRL can track. If your website has 20 million page views per month, then…