What is a Sticky Post?

A sticky post is a special WordPress feature that keeps a post pinned to the top of post lists — both in the admin view, on the frontend, and even in REST API responses unless explicitly excluded. https://example.com/wp-json/wp/v2/posts WordPress includes sticky posts first before returning the rest sorted by publish date (default order is date… Continue reading What is a Sticky Post?

Event Trigger Behavior in postgress

An event trigger fires whenever the event with which it is associated occurs in the database in which it is defined. Currently, the only supported events are login, ddl_command_start, ddl_command_end, table_rewrite and sql_drop. Support for additional events may be added in future releases. The login event occurs when an authenticated user logs into the system. Any bug in a trigger procedure for this… Continue reading Event Trigger Behavior in postgress

Overriding a WooCommerce Plugin in a Separate Child Theme

Theme Location /wp-content/themes/HighendWP-child/ functions.php <?php function highendwp_child_enqueue_styles() {     wp_enqueue_style(‘parent-style’, get_template_directory_uri() . ‘/style.css’);     wp_enqueue_style(‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘parent-style’)); } add_action(‘wp_enqueue_scripts’, ‘highendwp_child_enqueue_styles’); ?> Steps to Override WooCommerce Templates: Locate the template file inside the plugin Go to: /wp-content/plugins/woocommerce/templates/ Find the template file you want to override. Example: single-product/add-to-cart/simple.php Copy the template file to… Continue reading Overriding a WooCommerce Plugin in a Separate Child Theme

Creating a child theme in WordPress

Need to Create an new folder in the themes folder as /themes/ THEMENAME- CHILD here are the two files that be added for creating child theme style.css /*! Theme Name: Highend Child // Theme name Theme URI: https://www.hb-themes.com/themes/highend/ // URI Author: HB-Themes Author URI: https://hb-themes.com Description: Premium Responsive Multi-Purpose Theme Child Theme Version: 1.0.0 Template:… Continue reading Creating a child theme in WordPress

Creating Migrations in Payload

For creating the migration in the payload we may need to run the payload script Create a new migration file in the migrations directory. You can optionally name the migration that will be created. By default, migrations will be named using a timestamp. npm run payload migrate:create optional-name-here To run the migrations from the crated… Continue reading Creating Migrations in Payload

Published
Categorized as Word Press

Fixing Broken Internal Links on Your WordPress Website: A Comprehensive Guid

To address the issue of broken internal links on a WordPress website, you can use several tools and plugins designed specifically for this purpose. Here are the steps you should follow: 1. Identify Broken Links First, confirm the broken links identified by Ahrefs. You can use additional tools to ensure you have a comprehensive list… Continue reading Fixing Broken Internal Links on Your WordPress Website: A Comprehensive Guid

Soliloquy A WordPress Slider Plugin

 Soliloquy is a WordPress slider plugin that’s both easy and powerful, with 900,000+ downloads used by website owners, marketers, and developers. Soliloquy was built to adapt to the workflow of WordPress users to combat the bloated and confusing sliders out there.  What are the features and benefits of Soliloquy? Upload and rearrange slides with an… Continue reading Soliloquy A WordPress Slider Plugin

Support SVG in WordPress dashboard media

To add support for SVG (Scalable Vector Graphics) images in the WordPress dashboard using the functions.php file of your theme or a custom plugin, you can use the wp_check_filetype_and_ext filter to allow SVG file uploads. Open your theme’s functions.php file or create a custom plugin: Appearance > Theme Editor // Allow SVG file uploads function… Continue reading Support SVG in WordPress dashboard media

How to execute a header menu solely through CSS implementation

Showing example: No JS is required To create a responsive header menu using pure HTML and CSS, you can utilize CSS media queries to adjust the menu layout and styling based on the screen size. Below is an example of how you can implement a simple responsive header menu: HTML <!DOCTYPE html> <html lang=”en”> <head>… Continue reading How to execute a header menu solely through CSS implementation

Published
Categorized as Word Press Tagged