Shineyrock web design & consultancy

Shineyrock

Searched for: "using" / 1124 results

A Walkthrough on Conditional Tags in WordPress: Series Finale

…using the "comments popup": is_comments_popup() Checking whether the page is a 404 error page: is_404() Checking whether the given taxonomy exists: taxonomy_exists() Checking whether the page is the "search results" page: is_search() Checking whether the page is a "tag archives" page: is_tag() Checking whether the post has a custom excerpt: has_excerpt() Checking whether it's the main query: is_main_query() Checking whether the post has the given…


Use a Custom Post Type for Your Sidebar Content

…using WP_Query to output posts of that custom post type in the sidebar.You do this in two steps: Register a custom post type for your sidebars. Create a function to output the content of your sidebars and add that to the sidebar.php file in your theme. We'll also create some…


Styling Sections in a Page-Based Site Differently

…using a different color for each section. We'll also look at an alternative technique based on adding categories to pages.What You'll NeedTo follow this tutorial, you'll need: a development installation of WordPress a code editor If you already have a theme you want to use this technique on, you'll be…


Simple JavaScript Inheritance: What You Need to Know

…using inheritance in their projects, and when they want to learn or discover JavaScript, one of the first questions they ask is: “But how can I do inheritance with JavaScript?”Actually, JavaScript uses a different approach than C# or C++ to create an object-oriented language. It is a prototype-based language. The…


Create a Simple Shopping Cart Using AngularJS: Part 3

…using the bootstrap affix component to keep the total div on the top, it isn't working as expected. Let's examine what's going wrong. The bootstrap affix component adds a class called affix when we scroll above a certain height and affix-top when it's below. It still works in the simple…


The Tuts+ Guide to Template Tags: Second Batch

…using in page titles. Parameters This template tag accepts two parameters: $prefix (optional—string):Prefix to the title.(Default: Empty) $echo (optional—boolean):Whether echo (TRUE) or return (FALSE) the tag.(Default: TRUE) Usage <?php // Display the category title with a prefix. single_cat_title( 'Category: ' ); // Get the category title. $cat_title = single_cat_title( '',…


Programming With Yii2: Rich Text Input With Redactor

…using the rich text editor Redactor within the Yii Framework.For these examples, we'll continue to imagine we're building a framework for posting simple status updates, e.g. our own mini-Twitter.Just a reminder, I do participate in the comment threads below. I'm especially interested if you have different approaches or additional ideas,…


Creating a Web App From Scratch Using Python Flask and MySQL: Part 3

…using a valid email address and password. Once logged in, click on the Add Wish link and you should have the Add Wish page displayed.Step 2: Database ImplementationTo add items to the bucket list, we need to create a table called tbl_wish.CREATE TABLE `tbl_wish` ( `wish_id` int(11) NOT NULL AUTO_INCREMENT,…


Magento Pre-Launch Checklist

…using the xml file. The spiders read sitemap.xml and this improves your visibility and ranking in SERPs. The path for setting up an XML sitemap in Magento is Catalog > Google Sitemap > Add new sitemap. There you can set the File Name (in xml extension) and Path for your…


Introduction to Craft CMS

…using its sophisticated schema. These relations can be brought to the surface for end users with templates:Craft offers a feature called Matrix which allows authors to group related content fragments and assets together and re-order and re-use them with ease: And Craft offers a custom routing system for managing navigation…


Refine Search

Save This Search?

Saved Searches

You have not saved any searches yet.