WordPress (WP mixed) (tag)

Alternative to the paginate_links() pagination function

This function always returns HTML, even if parameter type=array you get an array of ready-made <a> tags. This may...

Where is it better to add a hook: before or after the callback function?

The article discusses the best practices for placing hooks in WordPress, specifically whether to call add_action() before or...

Preventing search engines from indexing the DEV version of the site

How to prohibit search engines from indexing a website if it's a development version (DEV copy)?

Very often, a site has two or...

Caching the Menu (wp_nav_menu) in Object Cache

The article demonstrates how to cache menu code in object cache and provides links to related resources.

Removing Hooks in WordPress (Actions or Filters)

This article explains how to remove hooks (actions or filters) in WordPress and provides examples for various scenarios. It also...

oEmbed in WordPress Comments

The article provides a code snippet that enables oEmbed functionality in WordPress comments and includes a correction for AJAX...

Processing oEmbed for Arbitrary Text

This article explains how to process oEmbed for arbitrary text using different methods.

How to Set Parent Theme for Each Site in a WordPress Multisite Network

This article explains how to set a parent theme for each site in a WordPress multisite network, allowing for shared styles and...