Skip to content
  • Home
  • About
  • Contact

How To Find It

Tips For Program

  • Home
  • HTML
    • HTML
    • Jquery & Javascript
    • css
  • Php
  • sql
  • wordpress
    • woocommerce
      • Woocommerce Hooks
    • Plugin developement Tips
  • General

Category: wordpress

How to include styles and scripts on wordpress admin pages?

How to include styles and scripts on wordpress admin pages?

July 16, 2019 admin
How do I add CSS and JavaScript to WordPress admin area? In  “admin_enqueue_scripts” hook used to include scripts and css in admin area add_action(‘admin_enqueue_scripts’, fun... Read More
Page Template dropdown missing from page attribute in wordpress

Page Template dropdown missing from page attribute in wordpress

October 12, 2018 admin
Page Template dropdown missing from page attribute in wordpress: Either you are are added any page template or format is not correct while adding page template name It is because of space after the pa... Read More
How to add a logo uploading field in customize settings in wordpress

How to add a logo uploading field in customize settings in wordpress

October 3, 2018 admin
How to add a logo uploading field in theme customize settings in wordpress While creating our own theme, we need to add a logo adding field in in customize settings of theme (under appearance). add_ac... Read More
How to add a new page in wordpress admin

How to add a new page in wordpress admin

October 3, 2018 admin
In functions.php  file, Add following code add_action( ‘admin_menu’, ‘mycustompagemenu’ ); function mycustompagemenu(){ add_menu_page( __( ‘My own Settings’, ̵... Read More
Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.

Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.

July 30, 2018 admin
In WordPress themes showing error like : Broken Theme as below : Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style... Read More
Display coupons used in an order in woocommerce

Display coupons used in an order in woocommerce

November 6, 2017 admin
Use any order hooks.  here we get the deatils of coupen once cancelled the order from orders list add_action(‘woocommerce_order_status_cancelled’, ‘order_cancelled_woo’); orde... Read More
Ajax return 0 in wordpress

Ajax return 0 in wordpress

October 31, 2017 admin
Use echo instead of return a value from ajax function . { echo ‘locked’; die(); }... Read More
How to add a new user meta field for all users in wordpress

How to add a new user meta field for all users in wordpress

October 16, 2017October 16, 2017 admin
$users = get_users(); foreach( $users as $user ) { $uid=$user->ID; add_user_meta($uid, ‘newfield’,’0′); } }... Read More
Adding a meta data once a new user is created in wordpress?

Adding a meta data once a new user is created in wordpress?

October 16, 2017October 16, 2017 admin
Add Custom User Meta During Registration in WordPress add_action( ‘user_register’, ‘bonus_point_for_new_user’); function bonus_point_for_new_user( $user_id ) { add_user_meta($u... Read More
Undefined message showing while new category adding?

Undefined message showing while new category adding?

October 16, 2017 admin
Check whether is there any space before or after php opening and closing tag respectively in functions.php. If not deactivate each plugin and identify which plugin causes the issue, Then remove the ex... Read More
  • 1 of 16
  • 1
  • 2
  • 3
  • …
  • 16
  • Next »

Recent Posts

  • How to include styles and scripts on wordpress admin pages?
  • Page Template dropdown missing from page attribute in wordpress
  • How to add a logo uploading field in customize settings in wordpress
  • How to add a new page in wordpress admin
  • Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.

Categories

  • css (13)
    • Bootstrap (2)
  • General (13)
  • HTML (10)
  • Jquery & Javascript (39)
    • OOP javascript (11)
  • Php (39)
    • Amzon s3 and Php (3)
  • sql (2)
  • wordpress (154)
    • Hooks & Filters (1)
    • Plugin developement Tips (7)
    • woocommerce (50)
      • Woocommerce Hooks (17)
Theme Designed by InkHive. howtofindit©2021