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

I want to customize wp.media (the wordpress admin uploader) in order to change the file name but only in video custom post type

I want to customize wp.media (the wordpress admin uploader) in order to change the file name but only in video custom post type

Categories uploads Tags plupload, uploads

WordPress search results grouped by post type

Solution found by counting! It counts if there are any posts and if not then skips. <?php if ( have_posts() ) : ?> <?php $types = array(‘product’ => 0, ‘post’ => 0, ‘page’ => 0); while ( have_posts() ) { the_post(); if (array_key_exists(get_post_type(), $types)) { $types[get_post_type()]++; } } ?> <?php foreach ($types AS $type => … Read more

Categories custom-post-types Tags custom-post-types, loop, search, theme-development

How to disable schema from Wocommerce? [closed]

How to disable schema from Wocommerce? [closed]

Categories woocommerce-offtopic Tags woocommerce-offtopic

How to debug periodic performance issue

How to debug periodic performance issue

Categories plugins Tags performance, php, plugins, server

How can I reintroduce autocompletion of Gutenberg components in Visual Code?

I would install the packages into your project. That will give you the auto-complete you’re looking for: npm install @wordpress/block-editor This package will not be bundled with your JS as the dependency extraction plugin converts the references to access them on the wp global.

Categories block-editor Tags autocomplete, block-editor

REST API Integration without user account?

REST API Integration without user account?

Categories rest-api Tags authentication, rest-api, third-party-applications

Get permalink in custom post type loop doesn’t work

Get permalink in custom post type loop doesn’t work

Categories custom-post-types Tags custom-post-types, permalinks

Can you programme the selected page template to display block patterns automatically?

Can you programme the selected page template to display block patterns automatically?

Categories custom-post-types Tags block-editor, custom-post-types, page-template, theme-development

LinkControl not showing suggestions when used on admin page

Not possible unless using isolated block editor, based on a reply from one of the WordPress developers which was really helpful.

Categories wp-admin Tags block-editor, wp-admin

“Missing header/body separator” error with wp_remote_post()

“Missing header/body separator” error with wp_remote_post()

Categories PHP Tags php
Older posts
Newer posts
← Previous Page1 … Page803 Page804 Page805 … Page13,916 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