Cannot override hooks.php

hooks.php is not a file that belongs to any native WordPress convention. While copying files from parent theme is often mentioned as a technique it only applies to template files, which are part of template hierarchy (native or properly customized one). Your guess that this is issue of timing is probably accurate. It’s a little … Read more

change output location of plugin function using a custom hook

Something like what you are doing should work but I think you have a couple of things going wrong. First, it sounds like you’ve hacked the plugin. Don’t do that, just remove the callback from the the_content hook. In your theme’s functions.php add: remove_filter(‘the_content’, ‘append_the_video’); The youtube_video() function depends on the $post variable. That means … Read more

Transition Post status not working

You have to called this function in your header.php (your wp theme) : <?php wp_head(); ?> And this one into your Footer.php : <?php wp_footer(); ?> Because you are adding action to your WordPress, so you have to call that function in your theme.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)