Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

functions

change the url paths in the stylesheet dynamically

change the url paths in the stylesheet dynamically

Categories functions Tags css, functions

How to use wp_trash_post (or wp_delete_post) for deleting a (or all) post(s) from custom post type?

How to use wp_trash_post (or wp_delete_post) for deleting a (or all) post(s) from custom post type?

Categories functions Tags functions, hooks

Find a Javascript ID when trying to deregister?

There is a global variable $wp_scripts, so pop this in a PHP template and have a look: global $wp_scripts; print_r($wp_scripts); Found it in the Source section of the Codex entry for wp_print_scripts, btw – always a good place to look!

Categories functions Tags functions

wp-comment author- url +, email filter hook

wp-comment author- url +, email filter hook

Categories functions Tags author, comments, email, functions, urls

Add sequential number to a Gravityforms form

Have you looked at the Gravity Forms Unique ID Wiz? This allows you to specify a prefix for each form that gets added to the Entry ID.

Categories functions Tags functions, plugin-gravity-forms

How to auto refresh when user change postcode

How to auto refresh when user change postcode

Categories functions Tags functions, woocommerce-offtopic, wp-admin

Why is functions.php file in child not initializing and over-writing parent?

so James in order to achieve your goal you need to remove the meta-box and re-add it with the new callback that contain the new value; so lets assume originally you have the meta-box added as below : function adifier_custom_meta() { $screens = [‘page’, ‘post’]; foreach ($screens as $screen) { add_meta_box( ‘advert_cond’, // Unique ID … Read more

Categories functions Tags child-theme, functions, user-meta

Search filter by Post title OR Meta Title Value [duplicate]

It seems to me that you have not changed the operator in the function attached to the get_meta_sql filter. If $search_string is only fragment of the title, you should change post_title=”%s” in code from this answer to: $sql[‘where’] = sprintf(” AND ( %s OR %s ) “, // — post title begins with the searched … Read more

Categories functions Tags ajax, functions, search, theme-development

Move ‘current-menu-item’ class on #adminmenu li from Posts to Pages for Taxonomy Edit Screen

Move ‘current-menu-item’ class on #adminmenu li from Posts to Pages for Taxonomy Edit Screen

Categories functions Tags admin, admin-menu, custom-taxonomy, functions, wp-admin

Two Types of settings in WP – The Doubt

The 2nd example isn’t a different type of setting, it’s just an array of data that the plugin will probably turn into settings somewhere else in the code. I can’t tell from just this code exactly what type of settings it will use or how it does that. The actual two types of settings are … Read more

Categories functions Tags functions, options, settings-api
Older posts
Newer posts
← Previous Page1 … Page202 Page203 Page204 … Page309 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress