Where can I find the “add_action()” inside a theme?

There can be a case that theme implements hooks via do_action(“action_name”) but it’s not forced to bind actual actions to it, as theme’s developers might just did it to make theme more extensible, and in fact never use it inside theme. So you can just bind your own code via add_action(“colormag_before”, “your_function_name”) in a child … Read more

JQuery Error in theme for .live is not a function [closed]

If you asking what is the replacement for .live() it’s .on()`, for enabling event handling for dynamically added elements and that’s how you would use it. $(document).on(“click”,”#test-element”,function() {}); so for your code. $(‘body’).on(‘click’, ‘.top_add_card’, function(event){ var parent = $(this).parent(); var $this_btn = $(this); var $target_block = $this_btn.siblings(‘div’); event.preventDefault(); event.stopPropagation(); if(parent.hasClass(‘active’) && $target_block.hasClass(‘hm_active_prep’)){ $target_block.fadeOut(function(){ parent.removeClass(‘active’); } … Read more

What theme does this website use? [closed]

Looks like WP – BuiltWith shows WordPress and Elementor as of Feb 2020, and Elementor classes are visible via inspector There’s no way to see which theme it is (afaik), but it’s using Elementor, so it probably wouldn’t matter which theme it uses if you’re just looking to emulate its appearance. Also worth noting that … Read more

how to use Easy Docs theme to write a book?

not sure if you watched the video on their site, because that seems pretty self-explanatory (especially from 1:18 onwards) It also says clearly on the site that it is a one page and very basic theme: a page for documentation with a simple way to navigate between sections, and a basic page template for simple … Read more

which theme is this? [closed]

It appears to be a modified version of DM’s CircloSquero theme. DM doesn’t seem to have it available anymore, but Theme Forest has it for download here.

suspicious boolean.php file in wp web root [closed]

You need to secure your WordPress install. Start by removing this file and any other suspicious files, then running a reinstall via the backend. Run a plugin such as this as a guide to see which themes and plugins may be secure: http://ocaoimh.ie/exploit-scanner/ Also make sure all other WordPress installs on the server are similarly … Read more

Changing appearance of WooCommerce product layout [closed]

This is indeed something that you need to make a specific page template for. Just CSS won’t do the trick because you need to add a function to your functions.php file (in your theme or child-theme folder) to display the excerpt. You could do something like this: add_action( ‘wp’ , ‘add_excerpt’, 20); function add_excerpt() { … Read more

Static front page displaying twice

Go to Dashboard -> Appearance -> Customize Click on “Theme Options” Now you can see your page sections that the second one is your first page that is repeated. Click on pencil icon at the top left of the unwanted section. Then on the list at the left you can see the name of your … Read more