Coder Social home page Coder Social logo

custompostedit's Introduction

=== custom-post-edit ===

Contributors: vimes1984

Donate link: http://buildawebdoctor.com

Tags: comments, wordpress post edit

Requires at least: 4.0.0

Tested up to: 3.6

Stable tag: 1.0.0

License: GPLv2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

edit custom post types

== Description ==

ok we have a basic implementation it'll edit a post on the fron end if the user is logged in your gonna need some checks an your going to need to fill it out with your values https://github.com/vimes1984/custompostedit/blob/master/customPostEdit.php is the main file again line 237-> 262 is the function that actually updates the post https://github.com/vimes1984/custompostedit/blob/master/includes/customedit.php is your form all you need to feed this is your Post/Job ID and it will update that post the only other file that does anything is this one https://github.com/vimes1984/custompostedit/blob/master/js/custom-post-edit.js calls the php endpoint we defined in the first file the post_edit_fac and sends the formobject {} to that function from the form you can dump the form anywhere using the shortcode [post_edit]

== Installation ==

  1. Upload `` to the /wp-content/plugins/ directory
  2. Activate the plugin through the "Plugins" menu in WordPress
  3. Place <?php do_action("custom-post-edit_hook"); ?> in your templates

== Screenshots ==

  1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets directory take precedence. For example, /assets/screenshot-1.png would win over /tags/4.3/screenshot-1.png (or jpg, jpeg, gif).
  2. This is the second screen shot

== Changelog ==

= 1.0 =

  • Initial Commit

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.