KW923
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Replace Logo on my custom siteI agree. I would check the header.php file or perhaps the page.php. You could also try just replacing the old logo image file with the new one and keep the same name.
Forum: Themes and Templates
In reply to: CSS not showing up properlyIf you are in fact editing the parent theme’s files, you will come across several issues. You should create a child theme instead: http://codex.wordpress.org/Child_Themes
Forum: Hacks
In reply to: Security Question: SQL InjectionsGreat resource, thanks for sharing!
Forum: Hacks
In reply to: How do I enqueue jQuery in my plugin?This is what I know about enqueueing scripts:
Arguments:
handle: a unique id for the script
src: URL of the script
deps: scripts that this script depends on
ver: the version of the script
in_footer: whether or not to load the script in the footer-You wrap a function around this and include it with an action
Example:
function coolslider_enqueue_script(){ wp_enqueue_script( 'my-coolslider', plugins_url( '/coolslider.js', __FILE__ ), array( 'jquery' ), '1.54', true ); } add_action( 'wp_enqueue_scripts', 'coolslider_enqueue_script' );Hope this helps!
Forum: Hacks
In reply to: My Plugin is Printing Code on the ScreenThis helps, Thank you!
Forum: Themes and Templates
In reply to: How to change background color on TwentytwelveThank you for sharing that! I was instructed to change the background color via child theme, so I used paulwpxp’s code. Unfortunately it didn’t work at first but I added ‘body’ to his code and it worked!
Like this:
html body, html body.custom-background, html body.custom-background-empty, body{ background-color: red; }Thank You!