Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews IT (Information Technology) Interviews:Assistant ITCISAComputer OperatorContent WriterData EntryData Entry ManagerData Entry OfficerData Entry SpecialistGPRSGPSInformation TechnologyInformation Technology AnalystInformationalIT ConsultantIT ExecutiveIT SupportMMSOnline Store ManagerSocial WorkStructuredTelecommunicationsWordPress Support Officer
Copyright © 2018. All Rights Reserved
WordPress Support Officer Interview Question:
How yuo can create plugin for wordpress?
Submitted by: AdministratorAnswer #1
go to wp-content ->plugin->make a folder rahul
add_action( 'admin_menu', 'my_first_menu' );
function my_first_menu(){
add_menu_page( 'Browser Title', 'Menu Title', 'manage_options', 'rahul/myplugin-admin.php', '', plugins_url( 'rahul/images/logo.png' ), 6 );
}
Answer #2
Go to wp_content->plugin->folder name(rhaul)
and create a file name myplugin-admin.php (you can choose any name)
add_action( 'admin_menu', 'my_first_menu' );
function my_first_menu(){
add_menu_page( 'Browser Title', 'Menu Title', 'manage_options', 'rahul/myplugin-admin.php', '', plugins_url( 'rahul/images/logo.png' ), 6 );
}
Submitted by:
go to wp-content ->plugin->make a folder rahul
add_action( 'admin_menu', 'my_first_menu' );
function my_first_menu(){
add_menu_page( 'Browser Title', 'Menu Title', 'manage_options', 'rahul/myplugin-admin.php', '', plugins_url( 'rahul/images/logo.png' ), 6 );
}
Answer #2
Go to wp_content->plugin->folder name(rhaul)
and create a file name myplugin-admin.php (you can choose any name)
add_action( 'admin_menu', 'my_first_menu' );
function my_first_menu(){
add_menu_page( 'Browser Title', 'Menu Title', 'manage_options', 'rahul/myplugin-admin.php', '', plugins_url( 'rahul/images/logo.png' ), 6 );
}
Submitted by:
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.