Fonctionne sur wordpress
-
Il fonctionne sous ma version wordpress 4.4.2 et j’ai même mis celui ci en fran?ais !
il suffit pour celà de remplacer ” Clone me ” par ” Clones moi “/* * Add the duplicate link to action list for post_row_actions */ function dpap_duplicate_post_link( $actions, $post ) { if (current_user_can('edit_posts')) { $actions['duplicate'] = '<a href="admin.php?action=dpap_duplicate_post_as_draft&post=' . $post->ID . '" title="Duplicate this item" rel="permalink">Clone Me !</a>'; } return $actions; }
par
/* * Add the duplicate link to action list for post_row_actions */ function dpap_duplicate_post_link( $actions, $post ) { if (current_user_can('edit_posts')) { $actions['duplicate'] = '<a href="admin.php?action=dpap_duplicate_post_as_draft&post=' . $post->ID . '" title="Duplicate this item" rel="permalink">Clones Moi !</a>'; } return $actions; }
dans le fichier du répertoire : /duplicate-page-and-post/includes/dpap_processing.php
Le fichier de langue inclus ne contient rien et est totalement inutile
- The topic ‘Fonctionne sur wordpress’ is closed to new replies.