Drag and Drop in Wordpress

Dragging and dropping in Wordpress

Build a Drag and Drop Page Builder for WordPress. Drag-and-drop Page Builder makes it simple to quickly generate grid-based page contents that can be adapted to portable device needs. It' a whole new way of creating contents that helps you to design your home, your contacts, about us or any other site where a straight line does not communicate your messages. You will find many sophisticated page creators like Visual Composer and Elegant Page Builder.

I will show you in this workshop how to build a drag & drop page Builder. We' ll use the Gridster jQuery libary to build our Drag&Drop page layouts constructor. This is the Gridster line-up for WordPress administration pages. "add_meta_box ("page-builder", "Page Builder", "meta_box_markup", "post", "normal", "default", null) ; } add_action("add_meta_boxes", "my_custom_meta_box") ; Donc fonctionktioniert derode : "add_meta_box ("page-builder", "Page Builder", "meta_box_markup", "post", "normal", "default", null) ; } add_action("add_meta_boxes", "my_custom_meta_box") ; Donc fonctionktioniert derode : This is how :

A user-defined subbox has been added to the Pagebuilder to display it. The Page Builders containers are divided into different items with classes and gridsters. There is a pushbutton to insert more design items, and each design item also has a delete pushbutton to delete it. The WordPress text-editor is now displayed with the command line edit.

As a result, the entire page is saved. There is an editing pushbutton on each tab to append or modify its own text. Once you've clicked Edit, you' ll need to attach your text to the text area, and then click the Store Capture icon below the text area to store the captured text of the layouts member. Hidden entry contains the entire design and text of each entry.

We must now store the value of the entry box, i.e. the contents and config of the Page Builder. value returned $post_id; if(! returnversez $post_id ; returnez $post_id ; $slug = "post" ; returnez ; $complete_layout_data = "" ; $complete_layout_data = $_POST["complete_layout_data"] ; $complete_layout_data = "" ; ($post_id, "complete_layout_data", $complete_layout_dispert) ; add_action ("save_post", "save_my_custom_meta_box", 10, 3) ; { globally $post ; ($post->ID,'complete_layout_data', true))) $current_row = 0;$con = valeur->content ; $col = valeur->col $ ; valeur->col $row ; valeur->row ; valeur->row $ ; taille_x $ = valeur->size_x $ ; contenu = teneur $ $ .

"{\a6};$content = $content . "<" ; $content = $content . "<font color="#ffff00">"; $content = $content . "<" ; $content = $content . "<font color="#ffff00">$content = $content . "<font color="#ffff00">"; $content = $content . "<font color="#ffff00">"; $current_row = $row; $content = $content . "<" ; $content = $content .

"<font color="#ffff00">"; $content = $content . "<" ; $content = $content . "<font color="#ffff00">$content = $content . "Add_filter ("the_content", "page_builder_content_filter"); Here we only mirror the front end design made in the back end. Now, we need to use the CSS to design and place the contents. "Add_action ("wp_footer", "frontend_inline_css"); We've built a pretty strong, reactive page Builder.

You can now create a Page Builder that is better suited for your website, rather than using a third-party Page builder.

Auch interessant

Mehr zum Thema