GrootMadeGrootMade
Browse allThemesPluginsKits
CommunitySupportPricing
Register
AI Search
Browse allThemesPluginsKitsCommunitySupportPricing
GrootMadeGrootMade
BrowsePluginsObject-oriented WP (OOWP)
Object-oriented WP (OOWP)v3.0.3

forked from Object-oriented WordPress (OOWP)™

Preview of Object-oriented WP (OOWP)
Trademark notice

Object-oriented WP (OOWP) is not affiliated with Object-oriented WordPress (OOWP). The name and any related trademarks are used solely for nominative descriptive purposes.

README.md

This tool is for developers building themes for WordPress. It provides an object-oriented layer over the standard WordPress template functions, aiming to make theme code more structured and maintainable.

  • Object-Oriented Methods: Replaces global functions like the_title() with methods such as $post->title(), $post->excerpt(), and $post->content().
  • Post Relationships: Integrates with the Posts 2 Posts plugin to manage connections between custom post types using methods like $post->getConnected().
  • Custom Post Type Support: Designed primarily for use with custom post types (like Events, People, Articles), offering a framework to encapsulate related logic within dedicated class files.
  • Structured Theme Layout: Encourages a organized project structure with separate directories for post type classes, views, and routing logic, promoting code separation.
  • Backward Compatibility: Falls back to calling standard WordPress functions if a custom OOWP method is not defined, allowing for incremental adoption.
Categories:
Block DevelopmentBlock Editor Add-onBlock Editor Toolkit
Tags:
Templatingtheme development
Security Scan
Overview
Comments
Download Activity
Releases
VirusTotal
Demo Content

More themes and plugins like Object-oriented WP (OOWP)

About

A development tool that brings object-oriented templating to WordPress themes. It uses methods like $post->title() instead of global functions.

  • Object-oriented WordPress (OOWP)
  • v3.0.3
  • 12 days ago
  • Mar 9, 2026
  • Access: Silver
  • Community
  • Plugin
  • Block Development, Block Editor Add-on, Block Editor Toolkit
  • 0
  • No comments

More themes and plugins like Object-oriented WP (OOWP)

Browse the full vault
Preview of PrimePress Canvas

PrimePress Canvas

My Fiirst WP Theme
  • Version


    1.0.0
  • Original


    My Fiirst WP Theme
  • Updated


    12 days ago
Preview of Primera Core Menu

Primera Core Menu

Genesis Header Nav
  • Version


    2.1.0
  • Original


    Genesis Header Nav
  • Updated


    14 days ago
Preview of PrimoLaunch-Core-React

PrimoLaunch-Core-React

starter-app-juzt-stack-plugin-react-v1
  • Version


    1.0.0
  • Original


    starter-app-juzt-stack-plugin-react-v1
  • Updated


    12 days ago