Connect with us

WordPress Plugin Development

WP Admin Menu




WordPress does not come with specially designed pages for plugin options. We can either use the admin menu page or the options page to make the HTML forms required for configuring options. I am going to use the admin menu page to implement the options. First we have to use the following code to add the page to the left menu.


function pro_admin_menu() {











We have to use the action called admin_menu to add a new menu item and pro_admin_menu is the name of the function to add the page. Inside the function we can use the built-in add_menu_page to create the menu item.

Also Read :   WordPress: How to Fix Pluggable.php File Errors

Hi, Thank you for reading my article. I am Victor, a professional blogger from Jaipur, India.I started webetutorial for blogging & sharing solution for developer questions, and now it’s empowering globally by helping them to make money.I am writing about starting & managing a blogs, WordPress, Magento, Social Media, SEO, Marketing, making money online, Investment, Finance, Gadgets, Fitness and more.

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

five + 8 =


WordPress Theme Development Tutorial




A WordPress theme is created of variety of various files, and that they all contain a separate section of the page; the header can contain the title and navigation, then the index can contain the most content space (or on a post, the only file will the job).

The sidebar, clearly contains the sidebar and also the footer contains the footer and closes off the markup language. This all sounds terribly simple, however the vital bit is however you’ll be able to simply have one file, amendment it once and you’ll amendment your whole web site. modification your footer which amendment are going to be mirrored sitewise, not simply on one page.

Want to make a WordPress steam-powered email newsletter? No problem; simply pop it within the sidebar file.
Expanding on this, a post page have five files : the style.css file used for the style,the header.php file used for the header, the single.php file used for the post content, the sidebar.php file used for the sidebar and also the footer.php file used for the footer. you’ll be able to have a similar header.php, sidebar.php and footer.php files for the full web site, so once you build a modification, this transformation comes like a shot sitewide.

Also Read :   How to Create a Custom Page in WordPress

Theme Stylesheet

The following is an example of the first few lines of the stylesheet, called the stylesheet header

Theme Name: webetutorial

Theme URI:

Author: the WEBeTutorial team

Author URI:

Description: The 2015 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way.

Version: 1.0

License: GNU General Public License v2 or later

License URI:

Template Files List

  • style.css : This is included with your theme header, and it must contain the information header for theme.
  • rtl.css : it include automatically if the website’s text direction is right-to-left. This can be generated using the RTLer plugin.
  • index.php : This is main template file. index.php must be present in your theme folder.
  • comments.php : This is comments template.
  • front-page.php : This is front page template.
  • home.php : This is home page template, which is the front page by default.this template used for latest posts.
  • single.php : The single post template. it Used when a single post is queried.
  • single-{post-type}.php : The single post template used when a single post from a custom post type is queried.
  • page.php : This is page template. it Used when an individual Page is queried.
  • category.php : This is category page Used when a category is queried.
  • tag.php : This is tag page Used when a tag is queried.
  • taxonomy.php : This is term Used when a term in a custom taxonomy is queried.
  • author.php : This is author page Used when an author is queried.
  • date.php : This is date/time Used when a date or time is queried. Year, month, day, hour, minute, second.
  • archive.php : This is archive Used when a category, author, or date is queried.
  • search.php : This is search results page Used when a search is performed.
  • attachment.php : This is Attachment page Used when viewing a single attachment.
  • image.php : This is Image attachment page Used when viewing a single image attachment.
  • 404.php : This is 404 Not Found page Used when WordPress cannot find a post or page that matches the query.
Also Read :   WP Activation And Deactivation

Using these page template files you can use template tags within the index.php , page.php,home.php and front-page.php file to include these other files where you want them to appear in the page.

  • To include the header, use get_header().
  • To include the sidebar, use get_sidebar().
  • To include the footer, use get_footer().
  • To include the search form, use get_search_form().

If you want to know more about wordpress theme visit wordpress theme development page or contact us .

Continue Reading