WordPressに関する情報や技術紹介です

Ajax, etc. If you want to use the functionality of the $ wpdb

If you want to use the $ wpdb in a manner different from normal access, etc. the use of Ajax, you will be able to use it to load the following files. As usual after; you use declared global and "global $ wpdb". English somewhere [...]

Sort of a category to use the data of the custom menu

In the other method is to use the list created with the custom function menu.

Takes of the function's arguments about how their own

The argument received or if you want to create custom functions, as query_posts, this method if you want to format, such as ('cat = 5 & order = DESC') query_posts.

To get the ID post

Post article to get the ID that is currently displayed.

To obtain the user ID

Gets the user ID that is currently logged.

To display the setting screen plug-in to sub menu

"Add_options_page" and "admin_menu" What is needed is to create your own plug-ins configuration screen.

About where to save the settings plug-in

Where to save the settings of the plug-in is like a table called wp_options good.

ページTOPに戻る