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

plugin-development

Is using custom table to suit business needs instead of transients a big hit to page load speed?

Is using custom table to suit business needs instead of transients a big hit to page load speed?

Categories plugin-development Tags cache, database, plugin-development, shortcode, transient

Plugin widget zindex changes depending on theme [closed]

Plugin widget zindex changes depending on theme [closed]

Categories plugin-development Tags plugin-development

Password field is empty when using wp_signon();

I know this question has been asked a while ago but I’d drop my answer which might help someone out there who is having same issue. The reason why you got the ERROR: The password field is empty. is because the crediential array key for the password is incorrect. In your code you have the … Read more

Categories plugin-development Tags login, plugin-development, theme-development, wp-admin

Custom login doesn’t work properly

Here is my working solution: function custom_login() { if(!empty($_POST[‘user_login’]) && !empty($_POST[‘user_pass’])){ $login_data = array(); $login_data[‘user_login’] = sanitize_user($_POST[‘user_login’]); $login_data[‘user_password’] = esc_attr($_POST[‘user_pass’]); $login_data[‘rememberme’] = true; $nonce = $_REQUEST[‘_wpnonce’]; $user = wp_signon( $login_data, false ); global $user_ID; // Check whether the user is already logged in and the nonce is verified if ( !$user_ID && !wp_verify_nonce( $nonce, ‘wp_login’ … Read more

Categories plugin-development Tags authorization, nonce, plugin-development, shortcode, wp-login-form

Get attachments from a post

$post_attachment->post_author will return user ID. You need to fetch user details from user ID. get_userdata( $userid );

Categories plugin-development Tags attachments, comments, images, plugin-development, query-posts

Is it possible to make sure that only my plugins output is shown to the enduser?

Is it possible to make sure that only my plugins output is shown to the enduser?

Categories plugin-development Tags login, plugin-development

javascript datatables in a plugin

there were a few issues. my table element wasn’t closed. datatables needs thead and tbody elements. wordpress uses jquery.noconflict so i had to change my javascript file. i took out the $ and replaced it with jQuery: http://api.jquery.com/jQuery.noConflict/

Categories plugin-development Tags javascript, jquery, plugin-development

My WordPress plugin cannot load my JavaScript file

My WordPress plugin cannot load my JavaScript file

Categories plugin-development Tags javascript, plugin-development

Parse form values before sending to options.php

Found them: pre_update_option_{$option}` triggers before saving, pre_option_{$option} triggers after retrieving.

Categories plugin-development Tags encryption, options, plugin-development

Asynchronously render shortcodes in TinyMCE visual editor

Asynchronously render shortcodes in TinyMCE visual editor

Categories plugin-development Tags plugin-development, plugin-tinymce, shortcode, tinymce
Older posts
Newer posts
← Previous Page1 … Page244 Page245 Page246 … Page409 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