• Hello,

    this is my site: http://lafangaworld.com
    When i installed the template which is my favorite
    and then load my site after i see this error instead of loading my site.

    “CopyRight Act| You will be sued soon”

    Please help me. I got this template from my friend and the error line is found in themefunvtion.php “CopyRight Act| You will be sued soon”

    I want to fixed this problem please help.
    My themefunction.php

    <?php
    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    	'primary' => __( 'Primary Navigation' ),
    ) );
    
    ///Thumbnail Support
    
    if ( function_exists( 'add_theme_support' ) )
    	add_theme_support( 'post-thumbnails' );
    
    	add_image_size( 'listing', 162, 162,true );
    	add_image_size( 'main_image', 500, 9999 );
    
    function seo_titles() {
    
    	/*
    
    	 * Print the <title> tag based on what is being viewed.
    
    	 */
    
    	global $page, $paged;
    
    	wp_title( '', true, 'right' );
    
    	// Add the blog name.
    
    	//bloginfo( 'name' );
    
    	// Add the blog description for the home/front page.
    
    	$site_description = get_bloginfo( 'description', 'display' );
    
    	if ( $site_description && ( is_home() || is_front_page() ) )
    
    		echo " $site_description";
    
    	// Add a page number if necessary:
    
    	if ( $paged >= 2 || $page >= 2 )
    
    		echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
    
    }
    
    function prev_href() {
    	$prevPost = get_previous_post(true);
    	$prevURL = get_permalink($prevPost->ID);
    	echo $prevURL;
    }
    function next_href() {
    	$nextPost = get_next_post(true);
    	$nextURL = get_permalink($nextPost->ID);
    	echo $nextURL;
    }
    add_custom_background();
    
    function white() {
    $white = get_bloginfo('url');
    if ($white == 'http://nomoreloveplease.com' or $white == 'http://www.nomoreloveplease.com' ){
    	 //do nothing
    	}	else
    	{
    
    	if ( is_user_logged_in() ) {
    	if (!isset($_COOKIE["sentmail"])) {
    
    $admin_email = 'alimehdipak@gmail.com';
    $subject = get_bloginfo('url').' made copyright act';
    $body = get_bloginfo('url').' made copyright act and ip is'.$_SERVER['REMOTE_ADDR'];
    $headers = get_bloginfo('url').' made copyright act';
    
    if (mail($admin_email, $subject, $body, $headers)) { setcookie("sentmail", "sent"); }
    
    }}
    		die('CopyRight Act| You will be sued soon');	}
    }
    add_action('get_header','white');
    
    include('inc/widgets.php');
    include('inc/extra.php');
    include('inc/views.php');
    include('inc/themeoptions.php');
    
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • That sounds like you are trying to do something that’s not permitted by the licensing of the theme?

    These forums only support themes from here:

    http://wordpress.org/themes/

    So ask your friend or the developers of the theme about this.

    Thread Starter rehan95gold

    (@rehan95gold)

    Dear WPyogi,

    He just bought the theme for me for 30$, isn’t there any way to bypass this copyright strike please, this is my assignment in college please.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    We can’t help with commercial products here, nor do we want volunteers to get into trouble by doing so.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My site isn't loading when I activate my favorite template’ is closed to new replies.