inserting custom css, html and js into the current page as a popup window

I found a small solution BUT its not the best instead of what you ask! You can create an custom page template in your theme or child theme https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/#manual And paste the code: https://www.w3schools.com/howto/howto_js_alert.asp <!DOCTYPE html> <html> <head> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <style> .alert { padding: 20px; background-color: #f44336; color: white; } .closebtn { margin-left: … Read more

post title not changing at post page

You have a few ways to do it if (get_post_type($id) == ‘post’ || get_post_type($id) == ‘page’) If you use the same function more than once its better to create a variable that will hold that value, so like this $type = get_post_type($id); if ($type == ‘post’ || $type == ‘page’) You could also do something … Read more

How can replace this url

Do you mean you want to create a php string that will output the first code example? If yes than you can do this echo ‘<td><a href=”‘ . $this->get_user_link($user->ID) . ‘”>’ . esc_html__(‘View Profile’, ‘wpuf-pro’ ) . ‘</a></td>’;

German Market: How can I only show the imprint in the footer of the mail? [closed]

Okay after digging around and trying to understand the syntax of wordpress’s API, I found the solution: add_filter(‘wgm_email_display_terms’, false); add_filter(‘wgm_email_display_cancellation_policy’, false); add_filter(‘wgm_email_display_gerneral_customer_information_headline’, false); add_filter(‘wgm_email_display_delivery’, false); add_filter(‘wgm_email_display_payment_methods’, false); I hope this helps you!