Skip to content

vc27/Programmatically-Add-Posts

Repository files navigation

Programmatically Add Posts

The addon functionality in this child theme has been pulled directly from ParentTheme core code. This repository exists as an example for a presentation. The presentation will be given at the February Nashville WPDev breakfast 2014.

View Google Presentation

Description

There are a few default ways to add posts to the wpdb, but most methods are fairly limited. WordPress has a function that can do this with relative ease. With the proper implementation you can have a class that you can use for importing content into your site, adding data from a csv file or adding data from an api. Once you're able to programmatically add posts to the wpdb WordPress as a cms can expand into WordPress as an application.

WP Function used

ChangeLog

02.25.14 - 1.0.1

  • add templates for simple
  • update bad spelling
  • add google presentation link

02.04.14 - 1.0.0

  • refactor class and confirm import functionality

00.00.00 - 0.0.0

  • Initial Commit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published