Giter Site home page Giter Site logo

wp-generators's Introduction

Hi there ๐Ÿ‘‹

I am Tareq Hasan, an entrepreneur, developer, and open-source enthusiast. I love and work with PHP, WordPress, Laravel, Vue, React, Node, and bash.

I dabble with code, design, and DevOps, love to build products and solutions. I founded @weDevs โ€“ a product company, where we empower small to medium businesses around the world with our software solutions.

Some of our products include:

  • โšก Dokan - the best and popular multivendor marketplace solution.
  • ๐Ÿ“ญ weMail - bulk and affordable email marketing SaaS service. Send beautiful newsletters with a fraction of cost.
  • ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Appsero - analytics, licensing, deployment and distribution solution for WordPress developers.
  • ๐ŸŽ‰ WP ERP - Manage your HR, CRM and accounting inside WordPress.

Also...

  • Happy Addons - beautiful elementor widgets for your website
  • wePos - an advanced and responsive WooCommerce Point of Sales plugin
  • WP User Frontend - ultimate frontend companion for your WordPress site
  • WP Project Manager - manage and collaborate with your team members
  • Texty - text notification plugin for WordPress
  • weDocs - easily create beatiful product documentation

wp-generators's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-generators's Issues

Sample

Hi,
Can you plz provide a sample of generated code? It can be upload into a /demo/ folder of this repo.
Thanx,

Configuration file

Would you consider support for loading generator's configuration from some YAML or JSON configuration file? It'd be great enhancement.

Regards,
Maciej

Missing error handling

Hello,
I'd like to report that in CRUD generated validation is silent โ€“ if there is problem with data, item doesn't save without any message in admin panel.

Regards,
Maciej

this is my contribution to improve this project

for the video example:

a) The installation script:
wp-content/plugins/test-plugin/plugin.php

prefix . 'addressbook'; $charset_collate = $wpdb->get_charset_collate(); $sql = "CREATE TABLE $table_name ( id mediumint(9) NOT NULL AUTO_INCREMENT, name varchar(255) DEFAULT '' NOT NULL, phone varchar(255) NULL, email varchar(255) NULL, website varchar(255) NULL, address text NULL, date datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, UNIQUE KEY id (id) ) $charset_collate;"; require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); dbDelta( $sql ); ``` b) Delete items wp-content/plugins/test-plugin/includes/address-functions.php add in the end /** - delete a single address from database * - @param int $id * - @return array */ function test_delete_address( $id = 0 ) { global $wpdb; return $wpdb->get_row( $wpdb->prepare( 'DELETE FROM ' . $wpdb->prefix . 'addressbook WHERE id = %d', $id ) ); } wp-content/plugins/test-plugin/includes/class-address-admin-menu.php add to the plugin_page() function the delete case: ``` public function plugin_page() { $action = isset( $_GET['action'] ) ? $_GET['action'] : 'list'; $id = isset( $_GET['id'] ) ? intval( $_GET['id'] ) : 0; switch ($action) { case 'view': $template = dirname( __FILE__ ) . '/views/address-single.php'; break; case 'edit': $template = dirname( __FILE__ ) . '/views/address-edit.php'; break; case 'new': $template = dirname( __FILE__ ) . '/views/address-new.php'; break; case 'delete': test_delete_address( $id ); $template = dirname( __FILE__ ) . '/views/address-was-delete.php'; break; default: $template = dirname( __FILE__ ) . '/views/address-list.php'; break; } if ( file_exists( $template ) ) { include $template; } } ``` Create the file wp-content/plugins/test-plugin/includes/views/address-was-delete.php

<?php echo sprintf( '<a href="%s" title="%s">%s</a>', admin_url( 'admin.php?page=addressbook'), __( 'Back to list', 'wedevs' ), __( 'Back to list', 'wedevs' ) ); ?>

c) remove Move to Trash

wp-content/plugins/test-plugin/includes/class-address-list-table.php

/**
* Set the bulk actions
*
* @return array
*/
function get_bulk_actions() {
$actions = array(
//'trash' => __( 'Move to Trash', 'wedevs' ),
);
return $actions;
}

Sorry, you are not allowed to access this page.

Hi, there
I have a question.
I click "New Add" button. I found that message, "Sorry, you are not allowed to access this page."

I sincerely hope your help ^^
Enjoy the rest of your day.

Jin-Baek, Choi

how to if insert form date ?

hello mr.tareq thanks you share wp generators ..i found dificult make form label date ?how to make form date/time ?
please step by step ๐Ÿ’ƒ thanks sir

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.