التخطي إلى المحتوى الرئيسي

المشاركات

عرض الرسائل ذات التصنيف Wordpress

How to customize admin dashboard in wordpress

 How to customize admin dashboard in wordpress:- If you want to show any dynamic content under wordpress dashboard page without using page template, then we can customize wp-admin/index.php file and display database content here. Now i am providing complete code to fetch data from database and display in dashboard page. <?php /**  * Dashboard Administration Screen  *  * @package WordPress  * @subpackage Administration  */ /** Load WordPress Bootstrap */ require_once __DIR__ . '/admin.php' ; /** Load WordPress dashboard API */ require_once ABSPATH . 'wp-admin/includes/dashboard.php' ; require_once ABSPATH . 'wp-admin/admin-header.php' ; ? > <div class = "wrap" >         <h1> Welcome in SCS </h1>         <div style = " margin-left: 40px;margin-top: 50px;float:left;" >     <p> View Student Record Here </p>     <table border = "1" >    ...

Wordpress Introduction ?

Wordpress Introduction:- It is CMS(Content Management System) which provides a default admin dashboard to create an application. WordPress is used to create dynamic web applications without any code. WordPress tools are best for SEO (Search engine optimization ) because of Search engine tools by default Integrated Under WordPress. Initially, WordPress was launched to create blog based applications but now we can create a blog, company site, e-commerce any all domain type of application.  70% company site has been developed by WordPress. ...................................................................................................................................................... How to install WordPress on the machine? ..................................................................................................................................................................   1) Create Database for WordPress using PHPMyadmin of MySQL CONSOLE 2) ...

Step by step WordPress Installation

WordPress installation:- 1) first you should install PHP software XAMPP, WAMP 2)  Open XAMPP Control panel and Start Apache web server and MYSQL database server 3)  download WordPress CMS software tools from wordpress.org 4)  extract the zip file and put into c://xampp/htdocs folder 5)  open MYSQL Server IDE PHPMYADMIN and create a database under MYSQL Server      localhost/PHPMyAdmin 6)  open a web browser and run the WordPress application       localhost/wordpress 7)  choose language --->English  ---> GO----> database form ----> ok ---> Application form ----> ok ---> Login 8)  Go into dashboard and customize. 9) Click on Post option then create post 10) Click on Page option then create Pages.

WordPress Dashboard Important Options

WordPress Dashboard Important Options? WordPress is a CMS of PHP technology, CMS means content management system. means WordPress provides a predefined dashboard using this we can easily create a dynamic web application. without using code we can develop applications using content customization. WordPress was launched to create blog based applications but now we can create all types of applications using WordPress. WordPress is the most popular CMS in the IT industry because non-technical users can also develop applications using WordPress. If you do not want to code and create a dynamic web application then WordPress is the best choice for you. now 90% of the Company WebSite has been developed using WordPress. WordPress Component:- 1)  Theme:- It is used to design user-interface in WordPress applications. lots of free themes available on google or wordpress.org you can download and use it, only minor customization is required for theme implementation. Some popular them...

How to create theme in wordpress application by scratch

How To create a theme in WordPress we will follow the following step:- create folder under wp-content/themes/folder and create these files 1 Create a header.php file </header> 2 Create a footer.php file <footer> </footer> </body> </html> 3 create index.php <?php get_header(); ?> <section> </section> <?php get_footer(); ?> 4 create style,css define header, footer, and middle properties 5 link style.css file under header.php <link href="<?php get_template_directory_uri(); ?>/style.css" type="text/css" rel="stylesheet" /> ......................................................................................................................................... Complete Code For Theme Development:- header.php ...................................................... <!DOCTYPE html> <html> <head> <title></title> <link re...

Page Template in WordPress

Page Template in WordPress:- The template is used to provide a unique view in WordPress theme .it can be used to provide extra design layout in the WordPress theme. Template always will be created under WordPress theme. Example of WordPress Template:- <form action="" method="post">      <input type="text" name="txtp" placeholder="Enter First Number" />      <br>      <br>      <input type="text" name="txtr" placeholder="Enter Second Number" />       <br>       <br>       <input type="submit" name="btnsubmit" value="ADD" /> </form> <?php      if(isset($_REQUEST['btnsubmit']))      {       $a = $_REQUEST['txtp'];       $b = $_REQUEST['txtr'];       $c=$a+$b;       echo "Result is ".$c;      }...

What is Plugin in WordPress?

What is a Plugin in WordPress?  It is used to provide external functionality to the word-press applications. Word-press provides the n-number of the plugin to provide features. 1) download plugin and put into the wp-content/plugins folder 2)  go into the dashboard and click the plugins menu option then click on activate the plugin 3) after the plugin goes on the plugin menu option, copy the shortcode and paste into the WordPress web page. Name of the best plugin filmmaker portfolio social media faq

Plugin Integration in wordpress

Plugin Integration in WordPress:- Plugin:-  it is used to provide external features in WordPress web application.if you want to add any dynamic features in WordPress then plugin is required. for example, if you want to create a contact us form then the plugin will help you to create contact us form. WordPress provide a contact form plugin to create a contact form. if you want to create a plugin then also you can create a plugin by scratch. wordpress provide multiple predefine plugin to create form ,social media ,login ,dashboard,gallery,portfolio,subscriber options. 1) form maker plugin 1.1)  download plugin from google to type form maker plugin in WordPress then extract zip folder and put into wp-content/plugins then install the plugin  1.2)  manage plugin options using sidebar (create the form) 1.3)  publish plugin 1.4)  integrate plugin       using shortcode we can integrate the plugin     ...

Best Social Media Plugins For Wordpress

Social Media Plugin for WordPress| Best Social Media Plugins For Wordpress|Wordpress Tutorial Hindi:- Plugin is most impotent flexible tools of wordpress ,if you want to integrate any new features in wordpress application development then plugin is best . We can find many plugin in wordpress but at this blog i am discussing which plugin is best and easy to use. 1) Shared Counts:-  this is best social media plugin in worpress which provide sharing post and article in social media platform such as facebook,blogger,twitter,linkedin etc. you can download this plugin by following urls https://wordpress.org/plugins/shared-counts/ 2) Simple Social Icons:- It is widget plugin of wordpress ,this plugin will be integrated by widget option in wordpress,go into widget option then you can easily integrate this plugin. https://wordpress.org/plugins/simple-social-icons/ 3) ultimate social media icons:- It is most importent wordpress plugin in Industry and it has most down...

How to create plugin in wordpress by code

How to create a plugin in WordPress by code:- The plugin is the special component that provides functionality in the WordPress application. for example, if we want to create a feedback form then we can feedback plugin. the plugin can be reused in another WordPress project. because the plugin is the independent plugin. How we create a normal plugin:- 1) create file in wp-content/plugins folder 2) write meta tag 3)  create the function and write functionality 4)  call function under the action, hooks, and filter action:-  if we want to add any method under WordPress application then we can use action. add_action('filter',methodname) add_action('hooks',methodname) hooks:-   it is the event that will be called implicit for example if we want to call any functionality under page initialize. add_action('init',method) filter:-  it is used to implement functionality under a particular part of the dashboard. add_action('admin_head',...

How to create a form plugin in WordPress by code:-

How to create a form plugin in WordPress by code:- The plugin is used to add dynamic functionality into WordPress which can be reuse-bale into multiple WordPress web applications. When we want to develop any complex operation or task in WordPress then we always use the plugin. mostly plugin can download by WordPress.o but if you develop an application for the customer then my suggestion is that you should create a plugin. in this article, I am providing step by step implementation of plugin development in WordPress. I am not creating a large plugin but I will explain how really plugin is working. Step1st:- Create a folder in WordPress/wp-content/plugins and you can name anything to the folder,i am providing si. step2nd:- create si.php file under si folder and write the following code <link href="&lt;?php echo plugins_url(); ?&gt;/si/css/style.css" rel="stylesheet" type="text/css"></link> <form action="" method="post...

Create Feedback Plugin in wordpress using scratch

Create a Feedback  Plugin in WordPress using scratch:- Step1st:- Create folder under wp-content/plugins step2nd:- create a file similar to the folder name step3rd:- create a separate file for admin and user view step4th:- write code to add plugin option in WordPress menu for the main menu:-   add_menu_page('Page title', 'Menu Title', '', 'menu-id'); for submenu   add_submenu_page('mainmenuid', 'Page title ', 'Menutitle', 'manage_options', 'submenuid','callfunction' ); Complete Code for FeedBack plugin:- Code of Feedback.php file ................................................................................................................. <?php /* plugin name: FeedBack Plugin author: shiva description: this plugin is for feedback author uri: www.shivaconceptsolution.com */ function addmenu() {   add_menu_page('FeedBack', 'View FeedBack', '...

Create Widget Plugin in WordPress

Create Widget Plugin in WordPress:- It is a special plugin of word press which will be displayed under the widget section. it will be written in the oop's pattern. PHP provide wp_widget class to define widget. <?php /* plugin name:- Mywidget description:-  it is for scs events description version: 1.0 Author:  shiva Author Uri:  www.shivaconceptsotuion.com */ class MyWidget extends WP_Widget {    function __construct()    {       parent::__construct('MYwidget', __( 'MY Widget'), array( 'customize_selective_refresh' => true, ) );    }     function form($instance)     {       $defaults = array( 'title'    => '', ); // Parse current settings with defaults extract( wp_parse_args( ( array ) $instance, $defaults ) );     ?>     <p> <label>Enter Title</label> <input cl...

Database Connectivity in Wordpress,Wordpress database tutorial

Database Connectivity in Wordpress,Wordpress database tutorial Wordpress is complete dynamic CMS of PHP,Wordpress provide database connectity when we install wordpress CMS then we can not say wordpress has database connectivity manually but it is mandatory in installation time. Wordpress CMS provide table also WP_POST is the most impotent table where we can store records . Wordpress page and post both store record using this. Code or database operation. Wordpress provide global $wpdb for database operation Step  for database Database operation in wordpress:- 1)  create database    2) create table  as per requirement  3) create page template to create form  4)  global $wpdb Syntax for data selection:- $wpdb->get_results( "SELECT id, name FROM mytable" ); Syntax for data insertion:- $wpdb->insert(      'table',      array(          'column1' => 'value1',        ...

Create Custom Plugin In WordPress

 The custom plugin is the best way to implement plugin functionality by code. We can inherit all features of POST to create Custom Plugin <?php /* plugin name:  MOVIES Plugin description:-  ADD MOVIE */ function create_posttype() { register_post_type( 'news', // CPT Options array(   'labels' => array(    'name' => __( 'news' ),    'singular_name' => __( 'News' )   ),   'public' => true,   'has_archive' => false,   'rewrite' => array('slug' => 'news'),  ) ); } // Hooking up our function to theme setup add_action( 'init', 'create_posttype' ); ?> How to call the plugin on code:- <?php /*Template Name: News*/ get_header(); query_posts(array(    'post_type' => 'news' )); ?> <?php while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> ...