All Projects → nash-ye → Momtaz Nmwdhj

nash-ye / Momtaz Nmwdhj

A WordPress forms elements API plugin.

Projects that are alternatives of or similar to Momtaz Nmwdhj

Mcavoy
Discover what visitors are searching for on your WordPress site.
Stars: ✭ 24 (+118.18%)
Mutual labels:  wordpress, wordpress-plugin
Better Search
Better Search WordPress plugin
Stars: ✭ 9 (-18.18%)
Mutual labels:  wordpress, wordpress-plugin
Wp Password Bcrypt
WordPress plugin to implement secure bcrypt hashed passwords
Stars: ✭ 520 (+4627.27%)
Mutual labels:  wordpress, wordpress-plugin
Gutenberg
The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
Stars: ✭ 7,409 (+67254.55%)
Mutual labels:  wordpress, wordpress-plugin
Wp Controllers
The OOP Developer's best friend for working with objects in WordPress
Stars: ✭ 25 (+127.27%)
Mutual labels:  wordpress, wordpress-plugin
Wp Structuring Markup
🔌 WordPress: Plug-in Markup (JSON-LD) structured in schema.org
Stars: ✭ 26 (+136.36%)
Mutual labels:  wordpress, wordpress-plugin
Wordpress Theme Framework
Lightweight MVC theming framework for developers who want to better organize their own custom themes with an MVC approach.
Stars: ✭ 18 (+63.64%)
Mutual labels:  wordpress, wordpress-plugin
Intervention
WordPress plugin to configure wp-admin and application state using a single config file.
Stars: ✭ 481 (+4272.73%)
Mutual labels:  wordpress, wordpress-plugin
Press Sync
The easiest way to synchronize posts, media, users and more between two WordPress sites.
Stars: ✭ 22 (+100%)
Mutual labels:  wordpress, wordpress-plugin
Netlify Rebuild
WordPress Plugin to trigger Netlify rebuild
Stars: ✭ 19 (+72.73%)
Mutual labels:  wordpress, wordpress-plugin
Cyr2lat
Converts Cyrillic characters in post, page and term slugs to Latin characters. Useful for creating human-readable URLs.
Stars: ✭ 25 (+127.27%)
Mutual labels:  wordpress, wordpress-plugin
Dashboard Cleanup
Cleans up the WP Admin backend by disabling various core WP and WC bloat features including Automattic spam, nag notices, tracking, and other items.
Stars: ✭ 23 (+109.09%)
Mutual labels:  wordpress, wordpress-plugin
Web Stories Wp
Web Stories for WordPress
Stars: ✭ 502 (+4463.64%)
Mutual labels:  wordpress, wordpress-plugin
Space Lover
Git-ified. Synced via git-svn. Magically add an extra space between Chinese characters and English letters / numbers / common punctuation marks
Stars: ✭ 24 (+118.18%)
Mutual labels:  wordpress, wordpress-plugin
Coblocks
A suite of professional page building content blocks for the WordPress Gutenberg block editor.
Stars: ✭ 486 (+4318.18%)
Mutual labels:  wordpress, wordpress-plugin
Wp Print
Displays a printable version of your WordPress blog's post/page.
Stars: ✭ 16 (+45.45%)
Mutual labels:  wordpress, wordpress-plugin
Woocommerce Custom Orders Table
Store WooCommerce order data in a custom table for improved performance.
Stars: ✭ 415 (+3672.73%)
Mutual labels:  wordpress, wordpress-plugin
Wordpresscan
WPScan rewritten in Python + some WPSeku ideas
Stars: ✭ 456 (+4045.45%)
Mutual labels:  wordpress, wordpress-plugin
Raccoon Plugin
With Raccoon, use a JSON or YAML file to manage WordPress theme features
Stars: ✭ 18 (+63.64%)
Mutual labels:  wordpress, wordpress-plugin
Pdpa Consent
WordPress plugin for PDPA Consent allows you to notify to the user to accept privacy terms. Comply with Thailand PDPA law.
Stars: ✭ 23 (+109.09%)
Mutual labels:  wordpress, wordpress-plugin

=== Nmwdhj === Contributors: alex-ye Tags: api, html, settings, options, forms, form Requires at least: 3.1 Tested up to: 4.0 Stable tag: 1.3.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Nmwdhj is an API for creating forms elements via code.

== Description ==

= Important Notes: =

  1. This plugin requires at least PHP 5.3.x .
  2. This plugin is for developers, not general users.

Nmwdhj is an API for creating, editing and rendering forms programmatically. This plugin doesn't have a GUI, It's only a helper library for the PHP & WP developers.

You can use this plugin to create individual form elements in the meta boxes, front-end, or anything else you might want a form for.

= Basic Examples = You can use this plugin in many ways depending on your needs, this examples only for learning purposes:

  • Simple WordPress Search Form:

Nmwdhj\create_element( array( 'type' => 'form', 'atts' => array( 'method' => 'GET', 'role' => 'search', 'action' => home_url( '/' ), ), 'elements' => array( 'search' => array( 'name' => 's', 'type' => 'input_search', 'value' => get_search_query(), 'atts' => array( 'placeholder' => _x( 'Search this site...', 'placeholder' ), 'class' => 'search-text', 'required' => true, ), ), 'submit' => array( 'type' => 'input_submit', 'value' => __( 'Search' ), ), ), ) )->output();

  • Simple Login Form:

Nmwdhj\create_element( array( 'type' => 'form', 'atts' => array( 'method' => 'POST', ), ) ) ->add( array( 'name' => 'user_name', 'type' => 'input_text', 'label' => __( 'User Name' ), ) ) ->add( array( 'name' => 'user_pass', 'type' => 'input_password', 'label' => __( 'Password' ), ) ) ->add( array( 'name' => 'user_submit', 'type' => 'input_submit', 'value' => __( 'Submit' ), ) ) ->output();

= Contributing = Developers can contribute to the source code on the Nmwdhj GitHub Repository.

== Installation ==

  1. Upload and install the plugin
  2. Use the rich API to powerful your theme/plugin.

== Changelog ==

= 1.3.4 =

  • Sort the priority array elements correctly.

= 1.3.3 =

  • Additional methods in the Nmwdhj\Manager class, to store the elements objects.
  • A better way to instance the element object via Nmwdhj\create_element function.

= 1.3.2 =

  • Use loose comparison when check the selected and checked values.
  • Add '+options' to append a group of element options at once.

= 1.3.1 =

  • Fix some serious bugs in FieldSet,Checkboxes elements and Select view.

= 1.3 =

  • Better directory structure.
  • Code formatting improvements and optimizations.
  • Introduce the PriorityArray and EventManager classes.
  • Recode the Elements Views and remove the Decorators classes. ...etc

= Breaking Changes =

  • Nmwdhj 1.3 is NOT completely compatible with any pervious version, so please don't update unless you know what you are doing!

= 1.2.1 =

  • Fix the error when you use Nmwdhj/decorate_element() function.
  • Add the ability to set the value-options directly by the constructor method.

= 1.2 =

  • Remove the "Momtaz" prefix form the plugin title and classes names.
  • Remove the not-needed custom view-key from the elements classes.
  • Rewrite the plugin to use PHP namespaces.
  • Add the Nmwdhj/Exception class.
  • Add the plugin link on Github.
  • Fix some minor bugs.

= Breaking Changes =

  • Nmwdhj 1.2 is NOT compatible with any pervious version, so please don't update unless you know what you are doing!

= 1.1 =

  • Enhance the check_class() method with the PHP function is_subclass_of().
  • implement some easy methods to Add/Remove/Check the CSS 'class' attribute.
  • implement a smart attributes system, you can now store the attributes as an objects.
  • Replace any use for the deprecated PHP function is_a() by the instanceof operator.

= Breaking Changes =

  • The behavior of set_value_callback() method has changed, it's now accept an optional list of permeates, if you want to pass an array of arguments please use the new method set_value_callback_array().

= 1.0 =

  • The Initial version.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].