Articles

  • How to change Elementor Header via custom code

    Hello Folks, ever need to change the Elementor header via custom code. Or need extra conditions, that elementor-pro do not provide? Assuming, you are using Elementor and Elementor-Pro First, we hook into ‘elementor/theme/before_do_{$locations}’ $location is our ‘header’ Then in our callback function, we first remove the default location header. This location seems like an array…

  • WooCommerce Show Reviews in Separate Standalone Page

    Hi Folks, it is me again. Sometimes we want to show all reviews (perhaps only 5 ⭐⭐⭐⭐⭐) in a separate page for our end users. Obviously to make our customers we have many great 5 star reviews. I could not find a perfect solution for this. So, I made a quick shortcode function to acheive…

  • WooCommerce change coupon success message.

    Not everyday scenario, but sometimes you would like to have a custom message when the coupon is applied to your woocommerce shop. Straight to the code. Here, we are applying a filter hook, to change the woocommerce default “Coupon applied successfully” message. We are hooking up a custom function that checks if the $msg_code is…

  • Contact Form 7 – Dynamically Set (To) Admin Email Address

    Most of us here in WordPress community have known and used the Contact Form 7(CF7) throughout our entirety. I personally have used it in every single website I have built. Unless client wants otherwise. It is my go to plugin. It is simple, tried and tested and well maintained since dawn of the dinosaurs (you…

  • LearnPress Lesson Template Changes : Part 2

    This is the new and updated version of my article here: LearnPress Lesson Template Changes I got to admit, it is quite simpler in terms of files than before.Turns out it is now possible to edit with only CSS and make our Header and Footer show in current implementation of LearnPress plugin. WordPress Version :…

  • Yith WooCommerce Subscriptions : List all the active subscribers

    In order to do a custom listing of active subscriptions in Yith WooCommerce Subscription plugin, here is the code you can write:Assuming your WordPress database table prefix is the default: “wp_” Hell, if you want to move one step further and list only active members, then you can throw “AND” condition in the query itself,…

  • Could not insert post into the database

    It was actually funny when it happened to me. I just can’t seem to find the way to insert post in WordPress via coding. I looked into Google, here and there, support forums, you know all the desperations. Not knowing anything about it, I then went to see the log(debug.log) file of WordPress and found…

  • LearnPress Lesson Template Changes

    This is an old article and might not work in the newer version. Please see the updated article here. Many of you including me, must at least once have come upon this cumbersome task – To change the LearnPress Lesson Template. Where are my headers, menus and Footers?And as a loyal Google users, we’ve search…

  • Local WP – Adminer running out of memory upon sql import – Fatal error

    Actually we can now use “wp” command line and following method worked for me. Via MySql This used to work before but it is not This is the exact copy from the flywheel forum community. Link to the original page is below. This is a great answer. Enjoy Adminer running out of memory upon sql…

  • Add Reset button to your Gravity Forms

    With a little bit of code you can add Reset button to your Gravity Forms.

  • Coloring the icon

    Though this answer is from the internet, I find it very useful. It is fastest way of changing icon colors in your desired color.

  • Rhara Visit

    Ok first, I would like to focus on the spelling. Well, I only used it because the locals there pronounce it with the “h” sound. Now let’s start.

  • Contact Form 7 – Show Page

    You might need this to quickly check where the contact forms are used. If you have good memory then you will good without it. But there is chance to forget it right?

  • Postadv

    PostAdv is a plugin that lets you add AdSense script anywhere in the post content. It also has one additional latency option to delay the adv from showing up on published posts for the first n days after they are published.

  • WP Better Emails – Good To Have One

    Ok this is not important but it is good to have one. Creating a  good looking mail template is also as important as creating a good looking site. These is where this plugin comes in. Since i found it. I have used this plugin in all my projects. The Settings are simple and easy to…