Category: WordPress

  • Demystifying Cybersecurity: Protecting Your Digital World

    Demystifying Cybersecurity: Protecting Your Digital World

    In an era dominated by technology and the internet, the importance of cybersecurity cannot be overstated. Our lives have become increasingly digital, from managing finances and communicating with loved ones to shopping and working remotely. With this digital transformation comes the inevitable risk of cyber threats. However, cybersecurity doesn’t have to be an enigmatic concept…

  • 10 Essential WordPress Plugins to Boost Your Website’s Performance

    10 Essential WordPress Plugins to Boost Your Website’s Performance

    Introduction: When it comes to running a successful website on WordPress, the right set of plugins can make all the difference. WordPress plugins are powerful tools that can enhance your website’s functionality, improve user experience, and optimize performance. In this blog post, we’ll explore 10 essential WordPress plugins that can help you boost your website’s…

  • How to Add Caption on Featured Image in WordPress?

    How to Add Caption on Featured Image in WordPress?

    Featured image captions in WordPress allow to add descriptive text or additional information to accompany the featured image of a post or page. This caption can provide context or give credit to the image source. To show captions in all featured images in WordPress, you can modify your theme’s code by following these steps: Step…

  • Best Page Speed Optimization Plugins WordPress

    Best Page Speed Optimization Plugins WordPress

    When it comes to running a successful website, page speed is a crucial factor that can significantly impact user experience and search engine rankings. Slow-loading pages can lead to higher bounce rates, decreased conversions, and frustrated visitors. Fortunately, WordPress offers a wide range of plugins designed to optimize page speed and enhance overall performance. In…

  • How to add WooCommerce product filter by category beside Shop default sorting

    How to add WooCommerce product filter by category beside Shop default sorting

    To add a WooCommerce product filter by category beside the shop default sorting, you can use a combination of hooks and filters in WordPress. Here’s a step-by-step guide to help you achieve this: Step 1: Add the below code into your theme function.php file Add the following code to register a custom filter dropdown in…

  • How To Create A Custom Post and Custom post Elementor widget?

    How To Create A Custom Post and Custom post Elementor widget?

    You need to define the custom post type by specifying its name, label, and other parameters. You can do this by adding code to the functions.php file in your WordPress theme or by using a plugin like Custom Post Type UI. Step-1 : Here’s an example of how you can define a custom post type:…

  • How to Create a Custom WordPress Widget?

    How to Create a Custom WordPress Widget?

    Widgets are an essential part of any WordPress website, as they provide an easy way to add functionality and features to your site’s sidebars and other widget-ready areas. In this tutorial, we will show you how to create a custom WordPress widget that includes a text field and a textarea field, which can be used…

  • How to create a search by category in WordPress

    How to create a search by category in WordPress

    In this article, you will come to know how to create a search by category in WordPress. Let’s get started <form role=”search” method=”get” class=”envy-doc-widget-form search-form banner-search-form” action=”<?php echo esc_url( home_url(‘/’) ); ?>”> <div class=”row”> <?php $envy_doc_query = array( ‘post_type’ => ‘EnvyDoc’, ‘posts_per_page’ => -1, ‘order’ => ‘ASC’, ‘orderby’ => ‘menu_order’, ‘post_parent’ => 0 ); $envy_doc_loop…

  • How to add custom image in WordPress category using Advanced Custom Fields?

    How to add custom image in WordPress category using Advanced Custom Fields?

    If you want to add a custom image for WordPress category using ACF, hope this tutorial will helpful for you. Let’s do start Step 1. Please go to your dashboard Custom Fields and create a field following the screenshot Step 2. After creating the field you can see an image option is available in the…

  • How To Increase WordPress Length Of The Slug/Permalinks

    How To Increase WordPress Length Of The Slug/Permalinks

    Hello there! Welcome back to another TechSolutionsHere article. In this article, We will learn how to increase the WordPress length of the slug/permalinks. In WordPress core, the slug limit is 200 characters. We will make it 3000 characters. So, Let’s get started Step:01 Go to your WordPress Dashboard->Plugins->Add New and search with Longer Permalinks.  …

  • How to Add Newsletter Subscription With Name and Email

    How to Add Newsletter Subscription With Name and Email

    In this article, you will come to know how to add newsletter subscription with a name and email Let’s get started <?php namespace Elementor; class Newsletter extends Widget_Base{ public function get_name(){ return “Newsletter”; } public function get_title(){ return “newsletter”; } public function get_icon(){ return “eicon-banner”; } public function get_categories(){ return [‘dicomcategory’]; } protected function register_controls(){…

  • Remove Archive labels from Archive title in WordPress

    Remove Archive labels from Archive title in WordPress

    Welcome to TechSolutionsHere. Today’s post is about removing Archive labels from Archive title in WordPress. Let’s get started… To do this you can use a filter following the below and put it in a file functions.php add_filter( ‘get_the_archive_title’, ‘my_theme_archive_title’ ); /** * Remove archive labels. * */ function my_theme_archive_title( $title ) { if ( is_category()…

  • Post reading time in WordPress without plugin

    Post reading time in WordPress without plugin

    Welcome to TechSolutionsHere. Today I will show you how to get post reading time in WordPress without plugin. Let’s get started… Step 1: Please paste the below code into theme functions.php file //Post reading time function theme_domain_reading_time() { global $post; // load the content $thecontent = $post->post_content; // count the number of words $words =…

  • How to use ACF repeater field with meta_query?

    How to use ACF repeater field with meta_query?

    Hello there! Welcome back to another TechSolutionsHere article. In this article, I will show you how to use ACF repeater field with meta_query. Let’s get started! Trying to loop through an ACF repeater field using a meta_query, inside the WP_Query? All you need is a function to replace the way the meta_key works. You need…

  • How to Copy WordPress Post URL to Clipboard

    How to Copy WordPress Post URL to Clipboard

    This tutorial is about how to copy post URL to the clipboard with JavaScript. Let’s do start Step 1: Add HTML <a href=”#” onclick=”copyToClipboard(this)” data-formatted=”<?php echo get_the_permalink();?>”> Copy URL </a> Step 2: Add JavaScript <script> function copyToClipboard(text) { var inputc = document.body.appendChild(document.createElement(“input”)); var postURL = text.getAttribute(“data-formatted”); // Get post URL inputc.value = postURL; inputc.focus(); inputc.select();…

  • How to Get ACF Value from Main Blog Page?

    How to Get ACF Value from Main Blog Page?

    If you have ACF fields on your main blog page and you are troubled with displaying the field, this tutorial will help you to sort it out. Let’s do start Let’s, we have an ACF field for the page banner title. Basically, we get and display the field like the below codes // Getting Value…

  • How to add Preloader in WordPress without plugin

    How to add Preloader in WordPress without plugin

    Form this tutorial you will find out how to change the preloader in WordPress without a plugin. Let’s start …. Step-1: Add code in sample-config.php // Preloader Options Redux::setSection( $opt_name, array( ‘title’ => esc_html__( ‘Preloader’, ‘gtfix-toolkit’ ), ‘id’ => ‘preloader_opt’, ‘icon’ => ‘dashicons dashicons-controls-repeat’, ‘fields’ => array( array( ‘id’ => ‘enable_preloader’, ‘type’ => ‘switch’, ‘title’…

  • How to Change Custom Post Type URL?

    How to Change Custom Post Type URL?

    If you have already a custom post type and you want to change the slug/url of the post, please follow the below instruction Search your theme/plugin for register_post_type function and check if the function exists rewrite parameter. If it doesn’t exists add it following the below: $args = array( // your other arguments ‘rewrite’ =>…

  • How To Integrate Paddle Payment Method To WordPress / WooCommerce

    How To Integrate Paddle Payment Method To WordPress / WooCommerce

    Hello there! Welcome back to another TechSolutionsHere tutorial. Today we will integrate the paddle payment method into the WordPress website with WooCommerce.   The paddle is an effective platform that gives businesses like PayPal and stripe a pleasant opportunity. In this article, we will reveal to you how to integrate Paddle into your WordPress WooCommerce…