Advertisement

Creative Coding

  • Creative Coding
    Debugging WordPress Themes and Plugins With Eclipse and XdebugWp eclipse xdebug preview
    30 shares
    Debugging PHP with a text editor and some combination of echo, print_r and exit calls is sufficient when dealing with simple code. However, when your killer WordPress plugin grows to several thousand lines spanning multiple files, that method will quickly grow tiresome and error-prone. When you hit that point, it will be time to graduate to a remote debugger so you can quickly and easily step through every line of code to pinpoint issues.Read More…
  • Creative Coding
    Share Your Posts on Facebook With a Preview Image and a DescriptionCover
    38 shares
    In this tutorial we will write a plugin to set, for each post of our blog, an image and a short summary that will be shown on Facebook every time a post is shared. To do this, we will use two WordPress core features: a Featured Image for the image preview and the Post Excerpt for the description.Read More…
  • Creative Coding
    How to Use Radio Buttons With TaxonomiesPreview
    12 shares
    WordPress' custom taxonomy features are fantastic, allowing you to organize your posts in various taxonomies, with all the hard work done for you. However, it can also be a bit constraining. When editing your posts, your taxonomy terms have their own metabox, and they appear either as a checkbox list (for hierarchal taxonomies) or as a tag cloud (for non-hierarchal taxonomies). Those are your two choices. This can present a problem when you want to ensure only one term can be selected for each post. Of course, you could hook into the save_post hook and remove any 'excess' terms, but this is not particularly user-friendly and certainly doesn't provide a great user interface. Sometimes, it would just be more aesthetically desirable to present your taxonomies in a different way. This article will show you how to do just that, and all the code we talk about should be added to the functions.php file in your theme. We'll focus on radio buttons, but you could use any other input method, for example a drop-down menu.Read More…
  • Creative Coding
    YouTube and Vimeo Video Gallery With WordPressPreview
    17 shares
    In this tutorial we will integrate a YouTube and Vimeo embedded player on to a page on a WordPress web site, without needing to hit the API docs ( which are YouTube API and Vimeo API, if you're interested ). By using the tools available to us in WordPress with a little bit of PHP, we can make a gallery that overcomes the problem of content aggregation.Read More…
  • Creative Coding
    Bringing the Membership Process to the Front of Your SitePreview
    2 shares
    WordPress ships with the ability to add users, either manually or via registration. This includes the ability to assign various roles and capabilities. But more often than not you don't want users to be exposed to the WordPress backend. In this tutorial I'll show you how to create a custom registration form on the front of your site as well as a custom profile form. Users will also receive custom emails with each step of the registration process. Please note, this tutorial won't be covering membership payments.Read More…
  • Creative Coding
    Quick Tip: Create A WordPress Global Options PageWordpress global options
    17 shares
    WordPress is a great platform to build customized websites in a very efficient way. WordPress manages all this magic in only 11 database tables. wp_options is one of the tables and it acts as the mind of a WordPress powered website.Read More…
  • Creative Coding
    Setting Active Navigation Elements When WordPress Doesn'tNav article thumb
    21 shares
    WordPress does an excellent job highlighting current standard posts, pages or taxonomies when you include them in a navigation menu. But when you create a custom post or custom taxonomy everything goes wrong and the navigation stops highlighting the current page. Fortunately there is a workaround, you can manually specify which menu element highlights when you are showing custom content.Read More…
  • Creative Coding
    Quick Tip: Add Extra Contact Methods to User ProfilesPreview
    22 shares
    If you Google "add extra fields to WordPress user profile" you'll find all sorts of involved coding examples for adding extra inputs to the user profile page so you can capture additional user information. But if all you want to do is expand the default contact methods section then there's a much simpler way to go.Read More…
  • Creative Coding
    Using the Envato API with WordPressPreview
    6 shares
    Today we are going to discuss how to use the Envato API in WordPress and create a WordPress shortcode that promotes our Envato Marketplace Items inside our WordPress site. We will combine the powerful Envato API, WordPress' flexibility and a little bit of creativity, to build an amazing plugin for our site.Read More…
  • Creative Coding
    Quick Tip: Display Excerpts of Child Pages with a ShortcodeSubpage peek
    12 shares
    Sometimes we have a page just for the sake of making it a parent of other pages. I've even seen these pages left blank! You should at least have a small paragraph for the sake of search engines and visitors alike, but what about also offering a snippet of the subpages to read similar to how your blog page does posts? In this quick tip, we'll create a little function that will query the page for child pages, display titles, excerpts and links if it finds any, and add it to a shortcode for use from the WordPress page editor.Read More…
  • Creative Coding
    Creating a Filterable Portfolio with WordPress and jQueryFilterableportfolio preview
    68 shares
    Learn in this tutorial how to make a filterable Portfolio with jQuery integrated with WordPress, remember that this portfolio kind can make a big difference on your themes!Read More…
  • Creative Coding
    The Ultimate Guide to Implementing Facebook Comments on your BlogFblogo
    48 shares
    Using Facebook Comments on your blog offers your readers a way to instantaneously comment on posts, as well as to share them without having to do any work. If you think this type of commenting system will suit your audience, read on to find out how you can implement it the right way.Read More…
Advertisement
Advertisement