Coder Social home page Coder Social logo

stjordanis / duplicate-post Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yoast/duplicate-post

0.0 1.0 0.0 5.44 MB

Yoast Duplicate Post plugin for WordPress

Home Page: https://yoast.com

License: GNU General Public License v2.0

PHP 93.33% CSS 0.98% JavaScript 5.36% Shell 0.32%

duplicate-post's Introduction

Yoast Duplicate Post

Banner

WordPress Plugin Version WordPress Plugin: Tested WP Version WordPress Plugin Active Installs WordPress Plugin Downloads WordPress Plugin Rating GitHub Build Status

Duplicate Post plugin for WordPress https://yoast.com/wordpress/plugins/duplicate-post/

This WordPress plugin allows users to clone posts of any type, or copy them to new drafts for further editing.

This document addresses the GitHub repository. WordPress.org uses the readme.txt file.

Install

Automatic install from WordPress Dashboard

  1. Click on PluginsAdd New;
  2. Search for "Duplicate Post" using the top right searchbox;
  3. Click on the Install Now button;
  4. Click on Activate;
  5. Go to SettingsDuplicate Post and customize behaviour as needed.

Install using zipfile

  1. Download the archive from https://wordpress.org/plugins/duplicate-post/ (latest stable) or the latest snapshot ZIP from GitHub;
  2. Unzip the archive on your computer;
  3. Upload the duplicate-post directory into the /wp-content/plugins/ directory;
  4. Activate the plugin through the Plugins page in WordPress Dashboard;
  5. Go to SettingsDuplicate Post and customize behaviour as needed.

Usage

  1. In Edit Posts/Edit Pages, you can click on Clone link below the post/page title: this will immediately create a copy and return to the list.
  2. In Edit Posts/Edit Pages, you can select one or more items, then choose Clone in the Bulk Actions dropdown to copy them all at once.
  3. In Edit Posts/Edit Pages, you can click on New Draft link below the post/page title.
  4. On the post edit screen, you can click on Copy to a new draft above Cancel/Move to trash or in the admin bar.
  5. While editing a post or viewing it as a logged-in user, you can click on Copy to a new draft in the admin bar.

3, 4 and 5 will lead to the edit page for the new draft: change what you want, click on 'Publish' and you're done.

There is also a template tag, so you can put it in your templates and clone your posts/pages from the front-end. Clicking on the link will lead you to the edit page for the new draft, just like the admin bar link.

API

For functions, template tags and hooks refer to the Developer's Guide on our developer site.

Maintainer

The Duplicate Post plugin was created by Enrico Battocchi (Lopo). It's maintained by Team Yoast, of which Enrico is now a part.

Contributing

If you find this useful and if you want to contribute, there are three ways:

  1. You can submit your bug reports, suggestions and requests for features on GitHub;
  2. You can also submit a pull request;
  3. If you want to translate it to your language (there are just a few lines of text), you can use the translation project;

License

GPL v2.0 © Yoast BV

duplicate-post's People

Watchers

 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.