Coder Social home page Coder Social logo

export-wordpress-posts-and-fields-to-csv's People

Contributors

silvercelyan avatar yannbug avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

deeftah

export-wordpress-posts-and-fields-to-csv's Issues

Fatal error

J'ai installé le plug-in sur larghetto.celyan.fr, j'ai ajouté les boutons "Export CSV" sur les CPT qui m'intéressent, mais quand je clique dessus j'ai une fatal error :

Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string in /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php:590 Stack trace: #0 /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php(590): str_replace() #1 /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php(235): wpExportPFCSV->export() #2 /home/www/larghetto.celyan.com/wp-includes/class-wp-hook.php(303): wpExportPFCSV->hijack() #3 /home/www/larghetto.celyan.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #4 /home/www/larghetto.celyan.com/wp-includes/plugin.php(470): WP_Hook->do_action() #5 /home/www/larghetto.celyan.com/wp-admin/admin.php(175): do_action() #6 {main} thrown in /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php on line 590

Yann : Il y a un des champs ACF qui est configuré pour stocker un objet post et c'est ça qui casse
Le fait que le plugin essaye de faire un str_replace sans vérifier si un champ contient bien une chaine de toute façon c'est un bug du plugin.

Export filtré des utilisateurs par rôles

Dans l'admin des utilisateurs WP, si je filtre la liste par rôles et que je fais un export filtré, je dois récupérer uniquement la liste des utilisateurs filtrée par rôle dans l'export CSV

Ajouter la possibilité d'exporter les wp_users

  • Dans le menu déroulant de la page d'admin du plugin, ajouter "Users"

  • Quand on exporte les users, faire un wp-user Query au lieu de WP-Post query.

  • Et bien sur on récupère tous les champs ACF associés aux users

  • Il faut que ça marche aussi depuis un lien pour exporter directement les users et leurs champs ACF

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.