• Resolved marketingamelio

    (@marketingamelio)


    After I activated the Plugin, I got this error

    Error : Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert the following string: <?php wp_head(); ?> Please enter it just before the following line of your header.php file: </head> Go to your theme editor.

    I couldn’t find header.php instead i found wp-blog-header.php. on Opening the file, this was inside:
    ?php
    /**
    * Loads the WordPress environment and template.
    *
    * @package WordPress
    */

    if ( !isset($wp_did_header) ) {

    $wp_did_header = true;

    require_once( dirname(__FILE__) . ‘/wp-load.php’ );

    wp();

    require_once( ABSPATH . WPINC . ‘/template-loader.php’ );

    }

    So What should i do now? Where to paste the code and get the plugin activated on my account.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author socialdude

    (@socialdude)

    What theme do you use? Every theme should have wp-blog-header.php according to WordPress standards.

    Do you face any issues when using our plugin? I.e. does something not work as it should?

    Thread Starter marketingamelio

    (@marketingamelio)

    Hi the Theme I am using is
    The7.2Version: 2.1.5

    Yes I have found the wp-blog-header.php . What code should i paste inside it and where.

    THe issues i am facing is that i am not able to get to plugin to work

    Plugin Contributor socialtech

    (@socialtech)

    Go to the Theme Editor and insert the following string: <?php wp_head(); ?>

    Please enter it just before the following line of your wp-blog-header.php file: </head>

    Plugin Author socialdude

    (@socialdude)

    Or follow these steps:

    1>Locate the current theme folder in the
    “/public_html/wp_content/themes/” folder.
    2>Find the “header.php” file. in the above folder. (The7.2 theme contains a header.php file).
    3>Open the file. and search “</head>”.
    4> Replace it with “<?php wp_head(); ?></head>”.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme Error’ is closed to new replies.