Giter Site home page Giter Site logo

neshpat / self-publisher-wordpress-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andreisebastianc/self-publisher-wordpress-plugin

0.0 0.0 0.0 130 KB

omc hackathon

License: GNU Affero General Public License v3.0

PHP 53.58% JavaScript 46.42%

self-publisher-wordpress-plugin's Introduction

SelfPublisher

STATUS:

under development

DESCRIPTION:

Simple to set up solution for self publishing on a wordpress website.
After installing the plugin an entry in the system menu is created that allows a user to create his own types of entries with how many custom fields he needs.
The idea is to allow a fast custom setup for wordpress. Since it creates custom post types, the rendering engine allows the new entries to be displayed out of the box on any theme.
It is also useful for technical users since theming the custom wordpress website is reduced to creating custom templates or modifying the css.

TECHNICAL DETAILS:

The settings page exposes a list of existing post types. Each can be edited in a modal window or removed. New types can be added.
The modal window uses javascript to render a list of elements, each containing an input field for the name of the field and a dropdown with supported types.
A description field will be added for the next version.
Once the save button is clicked, a json is sent via a post to an ajax handler in the plugin, that stores the new data. The plugin adds hooks to save the custom meta properly, as well as a display mechanism for custom fields.

NOT WORKING:

Creating custom post types from stored data.
Local server issue that forced us to put all php code in one file ( something with loading external php files we didn't have time to look into ).
No pre-render hook for custom fields in place.
Uninstall not working properly.

FUTURE PLAN:

A lot of refactoring. Use default wordpress styles. Fix bugs.

INSTALL STEPS:

- drop the contents of the archive in the plugins folder
- activate the plugin from wordpress

self-publisher-wordpress-plugin's People

Contributors

andreisebastianc avatar nightsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.