m1000
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: is_page_template() is not workingThanks but I used this code and it’s not working
function enqueue_xxxx() { if ( is_page_template( 'frontpage1.php' ) ) { ?> CODE <?php } } add_action('wp_footer', 'enqueue_xxxx');- This reply was modified 9 years, 8 months ago by m1000.
Forum: Fixing WordPress
In reply to: is_page_template() is not workingBTW I use this code in functions.php
Forum: Fixing WordPress
In reply to: is_page_template() is not workingIt’s showing Template: frontpage1.php on toolbal
Forum: Fixing WordPress
In reply to: is_page_template() is not workingForum: Fixing WordPress
In reply to: wp_add_inline_style doesn't workOK, so wp_add_inline_style doesn’t add style do css file but it adds style after custom_script.css inside:
<style type="text/css" media="all"> ... </style>Forum: Fixing WordPress
In reply to: wp-admin/admin-ajax.php – brutal force attack, how to check?No, right now I want to check what type of code is executed inside wp-admin/admin-ajax.php and save it in some log file.
Forum: Fixing WordPress
In reply to: wp-admin/admin-ajax.php – brutal force attack, how to check?Nope, but there are IPs which use this file more than 200 times within few hours, I’m blocking it and now I have around 2000 IPs in .htaccess and this list is growing.
BTW. Those IPs are not listed here – http://whatismyipaddress.com/blacklist-check