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

How to prevent redoing get_posts queries and make results available to other scripts?

How to prevent redoing get_posts queries and make results available to other scripts?

Categories plugins Tags plugin-development, plugins, templates, themes

Fatal error: Uncaught Error: Using $this when not in object context

I found the the solution and everything works now I just removed: &$this, giving : self::pixgridder_admin( array( ‘register_options’ ) );

Categories plugin-development Tags fatal-error, plugin-development

Enqueue sripts and styles only if function is called

Instead of two functions, just put the gallery assets code inside of the portfolio gallery function. Or nest it. Nesting is kinda ugly though.

Categories PHP Tags functions, php, plugin-development, wp-enqueue-script

Gutenberg blocks shortcodes compatibility

Gutenberg has a block for this. The Shortcode Block. There are no settings for the shortcode block. You simply have one input box where you can insert a shortcode. Shortcodes are most commonly used by plugins to add functionality to a WordPress site, without the need to write custom code. Essentially, it’s a shortcut to … Read more

Categories PHP Tags php, plugin-development, twitter-bootstrap

How to hide/remvoe unnecessary field/section in post edit section ( Dashboard )

How to hide/remvoe unnecessary field/section in post edit section ( Dashboard )

Categories plugin-development Tags plugin-development, theme-development, themes

WC REST API Error Handling

WC REST API Error Handling

Categories plugin-development Tags plugin-development, rest-api, woocommerce-offtopic

Performance considerations – postmeta table versus new table for custom posts with foreign keys?

I can`t say this is the best solution but I know you can’t go wrong with a structure like wp_postmeta. I’ve done some custom work with GravityForms and they now use a similar structure. Instead of using postmeta there is an “entries” table. So with each form submission, there is an entry_id and multiple different … Read more

Categories plugins Tags plugin-development, plugins, post-meta, query-posts, wp-query

when i activate my WordPress plugin cannot see customizer options or preview

when i activate my WordPress plugin cannot see customizer options or preview

Categories plugins Tags plugin-development, plugins, theme-customizer, theme-development, themes

Events Manager: Create custom Placeholder for use in Email notification

Struggling with the same issue at the moment. It seems that placeholders are scattered everywhere through the plugin files making it a little difficult to reproduce. Edit: Alright, it seems that there might be an easier way though I’m sure you might need to keep looking for something better. Go to the events-manager/classes folder, and … Read more

Categories plugin-development Tags events, plugin-development

Add a custom link to each image in WordPress gallery

Add a custom link to each image in WordPress gallery

Categories PHP Tags php, plugin-development, theme-development
Older posts
Newer posts
← Previous Page1 … Page204 Page205 Page206 … Page698 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