+27 (0) 72 333 0239
  • D2C Blog
  • D2C Services
  • POS to Woocommerce
  • Website Special
  • Contact D2C

Category: Tutorial

How to build XML using PHP and SimpleXML

Posted on October 4, 2019May 15, 2020 by Nathaniel

In this tutorial I will be demonstrating how to build XML using PHP and the SimpleXML extension. On some very rare occasions you will be called upon to work with XML, you will either need to generate it or consume it. The SimpleXML php extension allows you to easily accomplish both of these actions. You […]

Posted in PHP, TutorialTagged PHP

How to update your WordPress database when changing your domain name

Posted on April 15, 2019September 13, 2019 by Nathaniel

So you want to change your domain name to include more unicorns and rainbows. Here’s how to update your database to make it work.

Posted in Mysql, Tutorial, WordpressTagged database, mysql, wordpress

Add a custom meta field to a category in WordPress

Posted on July 16, 2018November 3, 2020 by Nathaniel

So I was in the process of building a new plugin and needed a way to add a new field to all Woocommerce categories, this method will do that and it works with standard WordPress categories as well. Yes, I do know that this can be accomplished using a plugin but in some cases, especially […]

Posted in Development, PHP, Tutorial, Wordpress

I just built my own Raspberry Pi Laptop

Posted on December 14, 2017September 13, 2019 by Nathaniel

I recently attended the WordPress Wordcamp in JHB and the one item I found myself without was a laptop, now i have a notepad filled with scribbled hieroglyphics of awesome tips and tricks. As a work from home freelancer I do kinda need a laptop but have not gotten around to doing the research and […]

Posted in Tech, Tutorial

Password protecting your online directories using .htaccess and .htpasswd

Posted on November 15, 2017September 13, 2019 by Nathaniel

When developing new websites I tend to place a sample version online for client to see. The problem is that I don’t want others to see the site or for google to index it, the removal of index pages of a sample site is a nightmare to sort out after the actual site goes live. […]

Posted in Development, Tutorial

Posts navigation

Older posts

Recent Posts

  • How to manually add a custom tab with content to Woocommerce product pages
  • Point of Sale (POS) to Woocommerce plugin
  • How to build XML using PHP and SimpleXML
  • Fetch Woocommerce order information when an order is placed using PHP
  • How to update your WordPress database when changing your domain name

Categories

  • Codeigniter
  • CSS3
  • Development
  • Jquery
  • Mysql
  • PHP
  • Tech
  • Tutorial
  • Uncategorized
  • Wordpress

Archives

  • December 2021
  • November 2020
  • October 2019
  • August 2019
  • April 2019
  • July 2018
  • December 2017
  • November 2017
  • May 2012
  • July 2011
  • February 2011
  • January 2011
  • September 2010
  • May 2010
  • March 2010

© Design2Code. All rights reserved. Proudly powered by WordPress

  • Terms and Conditions
Thank you

Thank you for contacting us, we'll get back to you shortly.

 

Loading Comments...
 

You must be logged in to post a comment.