gradyjenkinz
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Enqueue Scripts and Styles in child theme problemsI have a child theme that was previously developed by someone else who used @import instead of the current best practice, so I was trying to change it. If I just add
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
then half of my site doesn’t work. So I was wondering if I was doing it wrong, or if I needed to enqueue JS files as well.
dev.shoredigitalsolutions.com is my siteForum: Themes and Templates
In reply to: Enqueue Scripts and Styles in child theme problemsThe problem is that I can’t access the UT forums. You can only create one account with the purchase code, and it says the one I have is used. I’m just an intern at my company and my boss has no memory of creating an account there, and I’ve tried emailing them but nobody has gotten back to me.
The brooklyn parent theme has about 15 CSS files and 20 JS files.. do I need to enqueue all of them?
Forum: Themes and Templates
In reply to: Enqueue Scripts and Styles in child theme problemsSorry Stephen, I don’t think my question is completely related to just being for Brooklyn. I’m just confused on how to correctly enqueue multiple CSS and JS files from a parent theme. If that is actually specifically for United Themes then I’m sorry for wasting your time lol.
Forum: Themes and Templates
In reply to: Enqueue Scripts and Styles in child theme problemsOkay my bad, thanks for your help!
Forum: Themes and Templates
In reply to: Enqueue Scripts and Styles in child theme problemsI’m using the United Themes Brooklyn theme. My boss sent me a zip file of a clean version of it, but I’m currently working on a copy of the live site in a dev subdomain.
Forum: Fixing WordPress
In reply to: Can't access dashboard, disabled theme and plugins alreadyAlright I disabled plugins in the wrong DB.. whoops. But some of the site is back now, and I think the reason why I’m having issues is I may be enqueueing scripts incorrectly. I only have
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
in functions.php, do I need to add stuff in every css file?
Forum: Fixing WordPress
In reply to: Can't access dashboard, disabled theme and plugins alreadyOkay I contacted them, is this the problem with my site though? I was able to access my site fully last week, and then some theme issues arose, now it is completely gone.
Forum: Fixing WordPress
In reply to: Can't access dashboard, disabled theme and plugins alreadyI looked through a couple of those links, is that something my hosting provider has to do?
Forum: Plugins
In reply to: Autoptimize only render-blocking javascript fileDang, oh well. I’ll figure it out. Thanks for all the help Frank I really appreciate it, I’ll be sure to recommend your plugin to the company after I leave!
Forum: Fixing WordPress
In reply to: PHP Notice: Undefined variable: post in functions.phpAs well as PHP Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50547 Library:50630
Forum: Plugins
In reply to: Autoptimize only render-blocking javascript fileOh I gotcha.
PHP Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50547 Library:50630
This warning also appeared in the error log, you think that has something to do with it?Forum: Plugins
In reply to: Autoptimize only render-blocking javascript fileI don’t think so, it was working yesterday when I left, and I came in today and I’m getting PHP Notice: Undefined variable: post in /functions.php message in my error_log
Forum: Plugins
In reply to: Autoptimize only render-blocking javascript fileNevermind, I don’t think its a plugin issue. I’m getting PHP errors in the error log.
Forum: Plugins
In reply to: Autoptimize only render-blocking javascript fileFrank I’m really sorry for all these questions, but I tried that and it didn’t work. The only Jquery errors were from autoptimize and it said they were deprecated.
jQuery.event.handle is undocumented and deprecated
Jquery.browser is deprecated
jQuery.fn.load() is deprecatedForum: Plugins
In reply to: Autoptimize only render-blocking javascript fileYeah I did that and it seems to work better now, but after it is cached the parallax and the section video stop working. Thanks, I’m trying my best lol