Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

WordPress – List Categories

Posted on February 11, 2016February 12, 2016 By David Kittell
SELECT wpt.term_id,
	wpt.NAME,
	(SELECT name from wp_terms WHERE term_id = wptt.parent) AS parent
FROM wp_terms wpt
LEFT JOIN wp_term_taxonomy wptt ON wpt.term_id = wptt.term_id;
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code SQL WordPress WordPress SQL

Post navigation

Previous post
Next post

Related Posts

Debian/Ubuntu LAMP Setup

Posted on January 18, 2018January 31, 2019

The following code is for Debian 9 Stretch but should work on older Debian with minor changes Originally Posted on January 18, 2018Last Updated on January 31, 2019 All information on this site is shared with the intention to help. Before any source code or program is ran on a…

Read More

PowerShell – Azure – Get Virtual Networks

Posted on March 28, 2016March 28, 2016

If you work in Azure these two functions are very valuable additions to your library. Note: This majority of this code is copied from the reference below. I added Gateway Address to the Network Routes along with DNS # Show All Networks Get-AzureVirtualNetwork | FT # Filter to find reference…

Read More

PowerShell – Script Timer

Posted on December 6, 2019December 6, 2019

There are a few methods for this but my preference is below. <# .SYNOPSIS Functions to calculate the time it takes to run a script .DESCRIPTION This script contains functions that will calculate the time it takes to run a given script in hours, minutes, seconds and milliseconds .Example .".\Functions\ScriptTimer.ps1"…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes