PHP Classes

WP Post: Classes to manipulate WordPress posts and images

Recommend this page to a friend!

  Author Author  
Picture of Chun-Sheng, Li
Name: Chun-Sheng, Li <contact>
Classes: 14 packages by
Country: Taiwan Taiwan
Innovation award
Innovation award
Nominee: 7x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package provides classes to manipulate WordPress posts and images.

It provides classes that call WordPress built-in functions to perform actions with posts and images.

Currently, it can:

- Create new post

- Get post URL by post identifier

- Submit an image to WordPress from the uploaded file

- Submit an image to WordPress from an image URL

- Get WordPress image URL by identifier

Details

wp-post

Introduction

This helper class helps you accessing WordPress functions to post the feed easily.

You can also check out the `main.php` and the PHP file which is in the `src` folder to know more details.

The files introduction

You can see the `main.php` to know more details about using this classes.

  • 
    
  • 
    

Usage

  • using ssh to login your VPS or shared hosting server.
  • 
    
  • using the ```git clone https://github.com/peter279k/wp-post``` to clone this repo.
  • In ```main.php```, modify the title and content on line 27.
  • using the ```php main.php``` to test the posting feed and uploading images.

  Classes of Chun-Sheng, Li  >  WP Post  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: WP Post
Base name: wp-post
Description: Classes to manipulate WordPress posts and images
Version: 1.0.0
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Content management Components and tools to manage content View top rated classes
Group folder image Blogs Managing and publishing blogs View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
November 2022
Nominee
Vote
WordPress is a popular content management system written in PHP, often used to create blogs.

WordPress code is, in great part, made of code written using global functions.

This package provides a object-oriented wrapper to access functionality of WordPress that manipulates posts and images.

This way, it can please developers that prefer to write code to access WordPress content using classes of objects.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file main.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imagepeter (1 directory)
  Accessible without login Plain text file autoloader.php Aux. Auxiliary script

  Files folder image Files  /  src  /  peter  
File Role Description
Files folder imageWordPress (3 files)

  Files folder image Files  /  src  /  peter  /  WordPress  
File Role Description
  Plain text file Post.php Class Class source
  Plain text file UploadImg.php Class Class source
  Plain text file Valid.php Class Class source

Install with Composer Install with Composer - Download Download all files: wp-post.tar.gz wp-post.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file main.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imagepeter (1 directory)
  Accessible without login Plain text file autoloader.php Aux. Auxiliary script

  Files folder image Files  /  src  /  peter  
File Role Description
Files folder imageWordPress (3 files)

  Files folder image Files  /  src  /  peter  /  WordPress  
File Role Description
  Plain text file Post.php Class Class source
  Plain text file UploadImg.php Class Class source
  Plain text file Valid.php Class Class source

Install with Composer Install with Composer - Download Download all files: wp-post.tar.gz wp-post.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.