No video

Create Admin Menu Item in WordPress - add_menu_page WordPress Function

  Рет қаралды 28,629

Joshua Herbison

Joshua Herbison

Күн бұрын

#add_menu_page #add_submenu_page #wordpress #wordpressDevelopment
Add a menu item to the WordPress Admin Menu..
Company Website: www.ideapro.com
SEND BUSINESS CORRESPONDENCE TO:
Idea Pro LLC or Joshua Herbison
2901 E Greenway Rd. #54171
Phoenix, AZ 85032
In my tutorials, you will see me upload files to the server. To upload, I use Sublime Text 3 with SFTP by WBond. idp.bz/sftp
WordPress Codex: idp.bz/wordpres...

Пікірлер: 137
@gretchenthomas5608
@gretchenthomas5608 2 жыл бұрын
You do a great job explaining things. Clear and concise! I'm working on creating a plugin for a series of custom post types. This video helped me figure out how to create a plugin and how to list them in the admin under one tab. Thank you so much!
@jherbison
@jherbison 2 жыл бұрын
Awesome!!
@DavidArm
@DavidArm 3 жыл бұрын
Great video Joshua, I came across your video by accident, and here I am now with a menu and sub-menu, fantastic, thanks for sharing.👍👍👍
@jherbison
@jherbison 3 жыл бұрын
Awesome.. Glad the video helped.
@mulkproject687
@mulkproject687 4 жыл бұрын
Thank you sir, with this video i finally understand how page admin_menu works in WordPress.
@jherbison
@jherbison 4 жыл бұрын
Awesome.. Thank you for watching and commenting.
@aluizioll
@aluizioll 2 жыл бұрын
This video is amazing, it took me so long to find exactly this content, explaining the parameters step by step and building the backend administrative page. Thank you!
@jherbison
@jherbison 2 жыл бұрын
Thank you for watching and commenting. Glad it helped.
@Sh-1933
@Sh-1933 Жыл бұрын
really thank you so much. It was a very useful video for me! There is a lot of valuable information on this channel. Those who don't subscribe lose a lot.
@jherbison
@jherbison Жыл бұрын
Thank you!
@Andre73Garcia
@Andre73Garcia 3 жыл бұрын
Absolutely spetacular video... sorry for my bad english from brazil... But you Joshua is the guy !!!!! Thank you veru much !!!!
@jherbison
@jherbison 3 жыл бұрын
Thank you for watching and commenting.. Welcome!
@3367terry
@3367terry 2 жыл бұрын
It is surprisingly easy to follow the examples in the video. Thank you very much
@jherbison
@jherbison 2 жыл бұрын
Awesome. Thank you for the comment and watching.
@devrahul7435
@devrahul7435 3 жыл бұрын
Thank you so much. because of you I can create menu in WordPress.
@jherbison
@jherbison 3 жыл бұрын
That's awesome.. Always glad to hear the videos have helped someone.
@CharlieHinojosa
@CharlieHinojosa 4 жыл бұрын
This was super easy to follow. Thanks for doing this. Keep it up!
@jherbison
@jherbison 4 жыл бұрын
Thank you.. Thank you for the comment and compliment.
@HaiderAli-ux5bb
@HaiderAli-ux5bb 4 жыл бұрын
Thank you Thank you Thank you Thank you Thank you Sir Keep adding such wonderful tutorials..
@jherbison
@jherbison 4 жыл бұрын
Thank you for the comment and compliment. Trying to find the time to do more videos.
@md.hasanmahmud7883
@md.hasanmahmud7883 4 жыл бұрын
Just wow. I love your video and love you too. Keep making this type of videos. Thank you very much
@jherbison
@jherbison 4 жыл бұрын
Thank you for the comment and watching... So glad you loved the video.
@kommanaramesh7864
@kommanaramesh7864 3 жыл бұрын
Gr8, This was super easy to follow. Thanks for doing this. Keep it up!
@jherbison
@jherbison 3 жыл бұрын
Awesome.. Thank you for watching and commenting.
@Magistrado1914
@Magistrado1914 3 жыл бұрын
Excellent course 16/06/2021
@jherbison
@jherbison 3 жыл бұрын
Thank you for watching and commenting.
@augustodias1204
@augustodias1204 4 жыл бұрын
Keep moving! Your videos are amazing!
@jherbison
@jherbison 4 жыл бұрын
Thank you for the comment and compliment...
@Anthony99
@Anthony99 Жыл бұрын
This is a great video! Thank you and well done :-) Cheers
@jherbison
@jherbison Жыл бұрын
Thank you for watching and commenting
@josiah_maddux
@josiah_maddux 2 жыл бұрын
Great video. Exactly what I was looking for.
@jherbison
@jherbison 2 жыл бұрын
Awesome.. Thank you for watching and commenting.
@agindo
@agindo 2 жыл бұрын
Now that‘s what I call a very good tutorial! Thank you!
@jherbison
@jherbison 2 жыл бұрын
Thank you for watching and commenting.
@andriy518
@andriy518 4 жыл бұрын
Great video ! Very useful. Big up to my boy FaudiBabe.
@jherbison
@jherbison 4 жыл бұрын
Thank you for watching and commenting.
@fafamiggy
@fafamiggy 2 жыл бұрын
Hi josh, I've been looking for this kind of video for many months. Thankyou for sharing this kind of knowledge you have on WordPress. Because I'm struggling on my back end how to add custom menu and all the video or tutorial I watch saying download this kind of theme like adminify you can create and customize your backend which is good but my website become slow. I'm looking forward the one with e-commerce that you mention on the very last part of the video.
@Waleed_Qureshi
@Waleed_Qureshi 3 жыл бұрын
Thank you for this video. Really followed it with you and finally did it. Appreciate the good work.
@jherbison
@jherbison 3 жыл бұрын
Awesome! Thank you for watching and commenting!
@alejandromachacanavia8036
@alejandromachacanavia8036 2 жыл бұрын
Amazing video, thanks
@nanykuzola
@nanykuzola 4 жыл бұрын
Thank for support you just helped me , i'm new in wordpress.....
@jherbison
@jherbison 4 жыл бұрын
Awesome! Thank you for the comment and compliment..
@nanykuzola
@nanykuzola 4 жыл бұрын
@@jherbison thank you.... could you help me once more in another issue ?! sorry about my english i'm angolan..
@gustavodimelo
@gustavodimelo 2 жыл бұрын
Você me ajudou muito! Muito obrigado por compartilhar este conhecimento tão precioso conosco!
@jherbison
@jherbison 2 жыл бұрын
De nada. Obrigado por assistir e comentar
@galnet1
@galnet1 4 жыл бұрын
great now i cant listen to anyone else . keep'em coming
@jherbison
@jherbison 4 жыл бұрын
Thank you for watching and commenting.. I am going to try and keep video creation in my work flow so that I can make more videos... I really enjoy doing it, but it takes so long!
@MsamerieJohnson
@MsamerieJohnson 3 жыл бұрын
Thank you, so simple and to the point. 😄
@jherbison
@jherbison 3 жыл бұрын
Awesome.. Glad you liked it. Thank you for watching and commenting.
@BuntyWP
@BuntyWP 3 жыл бұрын
easily explained.
@jherbison
@jherbison 3 жыл бұрын
Thank you. Thank you for watching and commenting.
@BuntyWP
@BuntyWP 3 жыл бұрын
@@jherbison Keep it up.
@jherbison
@jherbison 3 жыл бұрын
Thank you.
@qhuilouahofficial
@qhuilouahofficial 3 жыл бұрын
Which video next to this? Im excited to add stuff in there... :-D
@jherbison
@jherbison 2 жыл бұрын
Sorry, I haven't made one yet but it is on the list.
@qhuilouahofficial
@qhuilouahofficial 3 жыл бұрын
thank you so much for the tutorial.. This helped me a lot specially i want something that may help my site. and this is so clear tutorial. Keep it up, sent an email as well for some query.
@jherbison
@jherbison 2 жыл бұрын
Awesome.. Thank you for watching and commenting.
@tae-sikyoun270
@tae-sikyoun270 Жыл бұрын
good good thx u
@jherbison
@jherbison Жыл бұрын
Thank you for watching and commenting.
@clipamooz
@clipamooz 3 жыл бұрын
thank you very much
@clipamooz
@clipamooz 3 жыл бұрын
your welcome : follow me in my channal
@jherbison
@jherbison 2 жыл бұрын
Sorry for the delay in commenting.. I saw your channel.. I subscribed.
@raphaelvidal4453
@raphaelvidal4453 3 жыл бұрын
very helpful, thanks!
@jherbison
@jherbison 3 жыл бұрын
Awesome.. Thank you for watching and commenting.
@justclicks4888
@justclicks4888 2 жыл бұрын
Superb man thanks
@jherbison
@jherbison 2 жыл бұрын
Thank you for watching and commenting.
@justclicks4888
@justclicks4888 2 жыл бұрын
@@jherbison can I use $wpdb database connection in our plugins.
@jherbison
@jherbison 2 жыл бұрын
Yes, it is automatically included when the function is active. Inside your functions you need to include it like this: global $wpdb;
@justclicks4888
@justclicks4888 2 жыл бұрын
@@jherbison when I am using $wbdp I am getting errors man. Can you make a video on making a connection in plugin with codes.
@jherbison
@jherbison 2 жыл бұрын
Yes, I will make one tomorrow. I have made them before but I will make another one.
@iluminado-studio9629
@iluminado-studio9629 3 жыл бұрын
good job :)
@jherbison
@jherbison 3 жыл бұрын
Thanks!
@UmairKhan-hc2ql
@UmairKhan-hc2ql 4 жыл бұрын
Hi Great Tutorial You just say in the video that you will create a video about the custom form Submittion showing in Admin panel. Can you share the link
@jherbison
@jherbison 4 жыл бұрын
Yes, I have added it to the list of videos that I will make.
@chrwrd2960
@chrwrd2960 22 күн бұрын
Hi Joshua, how can the menu be associated with a sole custom taxonomie and the submenu page of it has to link to a regular created settings page? To link with add_menu_page with my custom taxonomie runs, but the slug in add_submenu_page is added to taxonomie url like edit-tags.php?taxonomy&page=settings. Message in wordpress: Cannot load settings. This would work: admin.php?page=settings. But the submenu link would have to be overwriten. Do you have an example for it? Because I couldn't find the submenu in global $menu or any filter how would do that.
@christopher-bisman
@christopher-bisman 3 жыл бұрын
omg, great tutorial. Now, I need to add content to the new menu, similar to the post menu, but with another name, is it possible?
@jherbison
@jherbison 2 жыл бұрын
I hope you found a solution for this, if not please explain more and I can help out.
@sororbudwiser
@sororbudwiser 2 жыл бұрын
Thanks for this intro tutorial. Where is the next tutorial on the admin menu for the form you are referring to?
@jherbison
@jherbison 2 жыл бұрын
I have it on the list, get so busy and have some many on the list to do!!! I need an editor cause that is the part that takes the longest!!! Thank you for watching and commenting.
@Pepeladz
@Pepeladz 8 ай бұрын
hm, looked through all the playlist and could not find the video where you create contact form and show form submissions on a page in admin. Can you pls point me to that video?
@PLUS-sj4sf
@PLUS-sj4sf 2 жыл бұрын
Thanx a million:)
@jherbison
@jherbison 2 жыл бұрын
You’re welcome. Thank you for watching and commenting.
@Sh-1933
@Sh-1933 Жыл бұрын
Hi Josh, watching this video, I created one Admin menu called WPcontacts. I store all emails of users in a table. I want to email them all in one click. Which videos can I use? I turned your channel upside down for two days and couldn't find it.
@jindev4901
@jindev4901 3 жыл бұрын
Great and helpful tutorial. Just have one question. How can I load specific view file in josh_admin_menu_main() function?
@jherbison
@jherbison 3 жыл бұрын
Not sure what you question is. Can you explain it a little more. Sorry for the delay in response.
@user-hd3lx8qc7s
@user-hd3lx8qc7s 3 жыл бұрын
thank you!
@jherbison
@jherbison 3 жыл бұрын
Thank you for watching and commenting.
@violetso3605
@violetso3605 4 жыл бұрын
Cool! Thank you a lot❤️❤️❤️❤️
@jherbison
@jherbison 4 жыл бұрын
You're welcome.. Thank you for watching and commenting.
@morespinach9832
@morespinach9832 2 жыл бұрын
This is helpful. How can I create a menu item that's a listing of specific categories of posts inside?
@silviamartin4675
@silviamartin4675 4 жыл бұрын
Hi! Thank you very much for this amazing explanation. A question, how can we add a 3rd level submenu, for example we have 1st level: Students; // 2nd Level (submenu) High school, University; // 3r. level ad to every 2nd level "All High school Students, Add new, Categories; and for University: "All University Students, Add new, Categories. How can do it? Thanks you very much for your help in advance!
@jherbison
@jherbison 2 жыл бұрын
I hope you found a solution for this.. If not, I can try to answer, but you can't do a third level admin menu. You can add more submenus. Trying to catch up on comments that I missed. Thank you for watching and commenting. If you haven't already, please check out my latest video: A Day In the life of a software engineer. kzfaq.info/get/bejne/kJ53n9h1tpi5XXk.html
@nithyasanthanam6977
@nithyasanthanam6977 4 жыл бұрын
Hi Joshua ,your video is very simple to follow .I need your help .Kindly guide me , ( My Task:Add a plugin menu on Dashboard and a submenu page where the admin will be able to import a CSV. )Here i build a main menu and submenu,but duno how to place a plugin on the submenu page . The csv file can structured as ,For example ) On CSV import the plugin should save the fields in the WordPress user meta based on the username. For.eg. CSV will have these columns: Username Field1 Field2 Field3 test Value 1 Value 2 Value3 test2 Value 1 Value 2 Value3 Give a hint to build this .
@jherbison
@jherbison 4 жыл бұрын
Please send me an email to josh@ideapro.com. Thank you.
@ranashehroze8247
@ranashehroze8247 4 жыл бұрын
Thank You so Much
@jherbison
@jherbison 4 жыл бұрын
You're welcome.. Thank you for watching and commenting.
@lepystudio8974
@lepystudio8974 4 жыл бұрын
do you have a full tutorial playlist on building wp plugins ?
@jherbison
@jherbison 4 жыл бұрын
No, I do have a playlist of starting a plugin but have not been able to find the time to do a video series on an entire plugin. Thank you for watching and commenting.
@EvertvanIngen
@EvertvanIngen 3 жыл бұрын
Is that an old iMac (24-inch, Early 2009) behind you?
@jherbison
@jherbison 3 жыл бұрын
Yes.. I used it to test linux versions until about 6 months ago.. I think in that video, I had mint (maybe) linux on it. I don't use it anymore! I always have an old mac, new mac, old PC and new PC for testing different things!!!
@EvertvanIngen
@EvertvanIngen 3 жыл бұрын
@@jherbison I love it, It just hurts my heart that Apple is nothing what is used to be...oh the user upgradability and the personality. That the user came first instead or the wallet.
@jherbison
@jherbison 3 жыл бұрын
Yeah, they don’t care anymore. Just want the money!!
@jlambert12013
@jlambert12013 3 жыл бұрын
Can I put several "Custom Post Types" as Sub Menus; rather than having them all display on the side admin bar?
@jherbison
@jherbison 3 жыл бұрын
Yes.. You can turn them off from the menu in the Custom Post Type code and then add them using an add_menu item. Let me know if you found a solution for this. If not, I will add it to the list of videos I want to make. I typically turn them off and then create my own admin types pages that don't have as much information as the add new / edit page.
@sororbudwiser
@sororbudwiser 2 жыл бұрын
@@jherbison This would be very interesting to learn!
@adeotiazeez4231
@adeotiazeez4231 4 жыл бұрын
Wow...thank you for this post...can I display data gotten from an API in this menu page?
@jherbison
@jherbison 4 жыл бұрын
Yes you can. Thank you for the comment...
@semiconsciousmind238
@semiconsciousmind238 Жыл бұрын
I created a plugin but need to have a page open or activate the defined short code I made in the admin menu. How do I do that?
@jherbison
@jherbison Жыл бұрын
Need more details.
@WizehawkTech
@WizehawkTech Жыл бұрын
@@jherbison I setup the admin menu on the left bar in the admin panel, I have sub menus setup, I would like to instead of clicking on a page in the website menu I can do click it in the admin menu. Not sure if that makes sense.
@petruciucur
@petruciucur 3 жыл бұрын
And the next tutorial about this subject is where ?
@jherbison
@jherbison 2 жыл бұрын
Haven't made it yet, but I have it on the list to do it.
@jonkantner
@jonkantner 4 жыл бұрын
How do I use different names for the top sub-menu item and its parent item if they are the same page? (e.g. Appearance and Themes are top and sub-level items but are the same page)
@jherbison
@jherbison 4 жыл бұрын
That is a great question. Not sure, but I will take a look at it and see what I can find. Thank you for watching and commenting.
@evaguegano2418
@evaguegano2418 4 жыл бұрын
@@jherbison Hello, I want the same thing, do you know how do this ? Thank's
@alejandrocorona6355
@alejandrocorona6355 4 жыл бұрын
Sorry, wich software are u using to upload automatically your modifications to your server where you have your wordpress?
@jherbison
@jherbison 4 жыл бұрын
Sublime Text 3 with SFTP by WBond. idp.bz/sftp
@jherbison
@jherbison 4 жыл бұрын
Thank you for watching and commenting.
@aogunnaike
@aogunnaike 2 жыл бұрын
Is there a part two for this video? I can't find it, pls help
@jherbison
@jherbison 2 жыл бұрын
Hi, what do you need help with?
@aogunnaike
@aogunnaike 2 жыл бұрын
@@jherbison inserting a form content from the frontend and displaying it on the admin dashboard and also functionality to export to CSV.. I'll appreciate anyway you can help sir
@jherbison
@jherbison 2 жыл бұрын
Sounds good. I can make a video about that.
@aogunnaike
@aogunnaike 2 жыл бұрын
@@jherbison Thanks 🙏😊 I would really appreciate
@eliamjesusparedesguerrero6222
@eliamjesusparedesguerrero6222 3 жыл бұрын
i love you UwU
@jherbison
@jherbison 3 жыл бұрын
Love you too!! LOL
@muntajibkhan404
@muntajibkhan404 3 жыл бұрын
Sir I did the same as you did but i cant see my custom plugin in the admin menu.. Any solution???
@jherbison
@jherbison 3 жыл бұрын
Are you working on a hosted site or localhost. Did you make sure that you uploaded the files to the plugin folder? The folder name for your plugin should be the same as you .php file inside the plugin for wordpress to find the plugin.
@studio47designer61
@studio47designer61 4 жыл бұрын
Hi. Merci , 1 Abonne +
@jherbison
@jherbison 4 жыл бұрын
Thank you for watching and commenting.
@salmanrazakmemon
@salmanrazakmemon 3 жыл бұрын
How to add form with multiple fields?
@jherbison
@jherbison 3 жыл бұрын
Please explain what multiple fields you are talking about. Thank you for watching and commenting.
@salmanrazakmemon
@salmanrazakmemon 3 жыл бұрын
@@jherbison In your dashboard example tab, submenu have one field to save data. I am building a theme where I will put more inputs, map lat lng, select fields and bootstrap tabs to show more form fields. hope my point is clear
@sugiono2801
@sugiono2801 3 жыл бұрын
how to install theme through plugin i made?
@jherbison
@jherbison 3 жыл бұрын
Sorry for the late reply. You could create the theme in the plugin in its own folder and then upon activation of the plugin, you copy that folder from the plugin folder to the themes folder.
@sugiono2801
@sugiono2801 3 жыл бұрын
@@jherbison can i build a theme plugin from the theme folder? i want my theme has its own plugin that can activate some feature from the template
@khongcogi3117
@khongcogi3117 4 жыл бұрын
How can I only create such a menu and the second one is an error
@jherbison
@jherbison 4 жыл бұрын
One need to see the code to see what the error is. Possibly not using a unique slug?
WordPress Admin Bar - Create a link item on the admin bar - Part 1
15:06
Joshua Herbison
Рет қаралды 3,1 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 70 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
UNO!
00:18
БРУНО
Рет қаралды 5 МЛН
The Best Plugin Ever for WordPress Admin
14:15
JAKSON
Рет қаралды 16 М.
WordPress Plugin Development - Part 9 - Settings Link and Admin Pages
19:19
Alessandro Castellani
Рет қаралды 90 М.
Custom Database Queries in WordPress | WordPress Tutorials
24:39
Joshua Herbison
Рет қаралды 64 М.
UI Press: Custom WordPress Admin Dashboard
9:35
Sam Harrison
Рет қаралды 23 М.
Part 2 - WordPress Theme Development - How to create a Custom Admin Page
21:22
Alessandro Castellani
Рет қаралды 154 М.
3 Methods for AJAX in WordPress | Which Method is the Best?
23:09
Form Submit Using Ajax - WordPress Form Ajax
1:09:25
Joshua Herbison
Рет қаралды 18 М.
How to create a WordPress Gutenberg Custom Block
42:09
Joshua Herbison
Рет қаралды 48 М.
Create a Form Plugin that submits to a process page with redirect
36:55
Building a WordPress plugin from scratch, including extensible features
43:39
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 70 МЛН