mistifi
Forum Replies Created
-
I have the same problem. I have cleaned everything but the deleted-XXXXXXXX admin account come back anyway. Can anyone give a clue on how to stop this hack ?
- This reply was modified 2 years, 3 months ago by mistifi.
Forum: Themes and Templates
In reply to: [GeneratePress] Enqueue code for child themeI found the correct enqueue code combination is :
function my_bootstrap() { wp_enqueue_style( 'bootstrap', get_stylesheet_directory_uri() . '/assets/css/bootstrap.css' ); wp_enqueue_script( 'bootstrap', get_stylesheet_directory_uri() . '/assets/js/bootstrap.js' ); } add_action('wp_enqueue_scripts','my_bootstrap');Which will be read in your code page like this :
<link rel=’stylesheet’ id=’bootstrap-css’ href=’http://[my-website]/wp-content/themes/%5Bmy-website-child-theme%5D/assets/css/bootstrap.css?ver=5.7.1′ media=’all’ />
<script src=’http://[my-website]/wp-content/themes/%5Bmy-website-child-theme%5D/assets/js/bootstrap.js?ver=5.7.1′ id=’bootstrap-js’></script>You need to use CTRL+F5 to empty your cache !
Forum: Themes and Templates
In reply to: [GeneratePress] Enqueue code for child themeI have that same problem. There is a serious issue with the enqueue code in GeneratePress. I have tested any possible variations so far and it still don’t work. Ok, we are not supposed to use bootstrap but what if we need it ?
- This reply was modified 5 years ago by mistifi.