Google adsense stats plugin? [closed]
Probably WordPress Ad-Manager plugin will help you. Pay attention that the plugin is not free, but it provides information that you need and makes even more.
Probably WordPress Ad-Manager plugin will help you. Pay attention that the plugin is not free, but it provides information that you need and makes even more.
Whether you put custom code in your theme’s functions.php or in a plugin, you’re still using custom code. So I’m going to ignore your “without a plugin” requirement and instead suggest these two plugins: Search Everything Relevanssi There is absolutely no reason to use custom functionality in functions.php rather than a plugin. When you’re asking … Read more
You don’t. You would have to keep your new page in sync with the core file each time WordPress is updated … that would not be very pragmatic. Hook into the do_settings_sections(‘general’); with register_setting() and add your code here. There is a third parameter for register_setting(): you can register a callback function here which used … Read more
Given the error message: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘tl_spam_free_wordpress_comments_form’ was given in /home/euanmitc/public_html/wp-includes/plugin.php on line 403 The error is being generated by whatever Plugin defines this function: tl_spam_free_wordpress_comments_form() …which appears to be Spam Free WordPress Comments. This bit: First argument is expected to be a valid callback … Read more
Never use query_posts() :). See this answer for more detailed explanation of why not, and the alternatives. In this instance, remove your query_posts() and instead in a plug-in, (or functions php). add_action(‘pre_get_posts’,’wpse57229_change_query_for_main_page’); function wpse57229_change_query_for_main_page( $query ){ if( $query->is_main_query() && is_front_page() ){ $query->set(‘post_type’,array(‘etude’,’new’)); } }
They run it on your server, just like any other script runs (including WordPress). In the log you provided, it looks like the hacker knew your password. Perhaps you are using the same password on other sites, and he somehow gained access to one of them? Always set different and complex passwords; combine a large … Read more
Some more information is welcome. maybe your .htaccess file got messed up? Delete it and, recreate in settings permalinks. deleting .htaccess. use your prefered ftp client and go into your root folder. find a file called .htaccess and delete it. If you can not seem to locate it make sure your settings show ‘hidden’ files. … Read more
Your primary problem is that you are de-registering core jQuery. Don’t do that. Ever. Period. If you get rid of that, your other scripts will work properly. Just do this: function wpse62373_register_js() { if ( ! is_admin() ) { wp_enqueue_script(‘quicksand’, get_template_directory_uri() . ‘/js/quicksand.js’, array( ‘jquery’ ) ); wp_enqueue_script(‘easing’, get_template_directory_uri() . ‘/js/easing.js’, array( ‘jquery’ ) ); … Read more
If I get it correctly WordPress loads the search template dynamically by the parameters delivered to it. Specifically the s parameter. Meaning if you try to send the user to the http://www.example.com/search.php you’ll get 404 error page. For now the only workaround I can think is to create a function which is hooked to the … Read more
For one thing, Links are being removed altogether with WordPress (either in 3.5 or the next release). Second, there is no concept of a “published date for these kind of links. There’s no place in the database for it at all. There is a “date updated,” but that’s just to record when you last made … Read more