Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #893020

    Lely
    Moderator

    Hi Todd,

    Unfortunately, it’s been the same for me. I can’t access the link. See this:http://screencast-o-matic.com/watch/cDfrhV1Eww
    I even use VPN but still not able to access. Please check.

    #899385

    Todd K.
    Participant
    This reply has been marked as private.
    #900290

    Paul R
    Moderator

    Hi Todd,

    Sorry, we can’t give a specific time as we have no control on the tickets that are coming in.

    All tickets are answered from oldest to newest and Forum response time can take up to 24 hours Monday through Friday and can be longer on the weekend.

    Thanks

    #902516

    Todd K.
    Participant
    This reply has been marked as private.
    #903401

    Rue Nel
    Moderator

    Hello Todd,

    We cannot do much because of WordFence. I am another staff by the way, and still this is what I am seeing: http://prntscr.com/axqyeh

    May I suggest that you temporarily disable IP blocking in WordFence to be able for us to check your site to resolve this issue.

    Thank your for your understanding.

    #907535

    Todd K.
    Participant

    Please try again. I made some changes to WordFence.

    Apologies on the zealous firewall-ing.

    Todd

    #908286

    Rad
    Moderator

    Hi there,

    I’m able to login but got this error

    Fatal error: Cannot redeclare load_script_content() (previously declared in /home/durabl6/public_html/kmkinsure.com/wp-content/themes/x-child/functions.php:35) in /home/durabl6/public_html/kmkinsure.com/wp-content/themes/x-child/functions.php on line 43

    Please change this code

    add_action( 'wp_head', 'x_custom_head_js' );
    function load_script_content(){
    
    	?>
    <script language="javascript" type="text/javascript">function getDriveCode() {return '37794'}</script>
    <script language="javascript" type="text/javascript" src="http://www.progressiveagent.com/include/p_drive_banner_util.js"></script>
    	<?php
    }
    
    function load_script_content() {
    	return '<script language="javascript" type="text/javascript" src="http://www.progressiveagent.com/include/p_drive_ols_banner3.js"></script>';
    }
    
    add_shortcode('custom_script_shortcode', 'load_script_content');

    with this code

    add_action( 'wp_head', 'x_custom_head_js' );
    function load_script_content(){
    
    	?>
    <script language="javascript" type="text/javascript">function getDriveCode() {return '37794'}</script>
    <script language="javascript" type="text/javascript" src="http://www.progressiveagent.com/include/p_drive_banner_util.js"></script>
    	<?php
    }
    
    function custom_script_shortcode() {
    	return '<script language="javascript" type="text/javascript" src="http://www.progressiveagent.com/include/p_drive_ols_banner3.js"></script>';
    }
    
    add_shortcode('custom_script_shortcode', 'custom_script_shortcode');

    And please provide your FTP login credentials, custom coding should be done through FTP.

    Thanks!

    #913012

    Todd K.
    Participant
    This reply has been marked as private.
    #913495

    Rad
    Moderator

    Hi there,

    Hmm, I’m confused now.

    This warning http://screencast.com/t/jIZFHBdAZ because x_custom_head_js() doesn’t exists.

    add_action( 'wp_head', 'x_custom_head_js' );

    There is no declaration such as

    function x_custom_head_js () {
    
    }

    How about renaming load_script_content() to x_custom_head_js(), but I’m not sure what’s the main purpose of load_script_content() at all.

    Let’s try that first. If still not working, let’s start over again as I’m confused about which is which 🙂

    Thanks!