How to open custom editor for property in PropertyGrid from the outside?

What is the best way to create custom content entry forms in the WordPress dashboard?

  • (I posted this question also on my blog at http://josschuurmans.com/2014/01/22/wordpress-question-how-to-input-small-content-items-in-the-dashboard-and-pull-them-out-into-web-pages-on-the-front-end/ , with an image of a wireframe) I’m designing a website for a municipality-owned company that facilitates local entrepreneurs. Here’s my WP install in development: http://masekpro.salab.im I’ve made wireframes for all pages, here: https://www.dropbox.com/sh/369cveq5n9tkjkb/-6V3dkMMDT (things keep moving, so they are not perfectly up-to-date, but the main features are there) I’ll have a 1st-level navigation menu with 9 pages, one of which is a blog-type news index (“Ajankohtaiset”). Most of the other 8 pages and their 2nd-level sub-pages will be fairly straighforward, relatively static pages. I’ll develop a couple of page templates to accommodate their layouts. There will be several “boxes” with text and/or images and/or links, to be pulled in by various page templates. For example, the home page (“Etusivu”) will have 5 such boxes at about â…“ the page width each, and a map at â…” the page width. (1) So my first question is: How do I best create the input functionality for those boxes on the editor’s dashboard? Should I input their content simply in “pages” on the dashboard? Should I create custom pages, i.e. special page templates? Should I create custom post types? Should I create some other kind of input forms? Should I build widgets for this purpose? If so, how? Do I need to use a plug-in? Any better ideas? The idea is that it works well, technically, but also that it will be easy for my customer to update information in those boxes. If the purpose of page templates is only to vary the layout of web pages, then I suppose they are not the way to go. Custom post types sounds logical, but aren’t “posts” meant for reverse-chronological entries? Chronology is not relevant to these boxes. Or should it be? (2) My second question relates to creating 3 collections of simple database records (“companies”, “office space” and “building lots”) and pulling them into pages as lists (all; within a category; or as search results) with thumbnails and a few lines of text with a link. So, again, how do I create the input functionality? Regular pages? Custom pages templates? Custom post types? Custom input forms? Widgets? Plug-in? Something else? Much appreciated!

  • Answer:

    You can use Advanced Custom Fields with page templates.

Acatrinei Valentin at Quora Visit the source

Was this solution helpful to you?

Other answers

You can use Custom Fields with page templates. 01add_action('wp_dashboard_setup','my_custom_dashboard_widgets'); 02  03function my_custom_dashboard_widgets() { 04global $wp_meta_boxes; 05 06wp_add_dashboard_widget('custom_help_widget', 'Theme Support', 'custom_dashboard_help'); 07} 08 09function custom_dashboard_help() { 10echo '<p>Welcome to Custom Blog Theme! Need help? Contact the developer <a href="">here</a>. For WordPress Tutorials visit: <a href="http://www.wpbeginner.com" target="_blank">WPBeginner</a></p>'; 11} Manager http://www.valuecoders.com/

Ved Raj

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.