Add multiple HTML attributes to an Elementor button

There are 2 problems. The first problem is this: if (is_single (‘^\d+$’)) { is_single can’t take a regex, it only takes: Post ID, title, slug, or array of such to check against. https://developer.wordpress.org/reference/functions/is_single/ So you could do this: is_single( ‘my-page’ ) for example, but in this case it would be better to do is_single() or … Read more

add_action insert html

If you want something to display in the footer, you first need to hook it into the footer to display it. So that would look like this: function myLog() { echo ‘test’; } add_action(‘wp_footer’,’myLog’); However, this is not at all connected to the data you want, which is when a new user creates a new … Read more