Set RSS feed update time

The RSS feed is “updated” every time you post something new. If you want it to always be updated at 12pm then schedule your posts to always be published at 12pm.

How can i display wath i am searching in a theme

Add the following code to your template’s search.php – somewhere before the loop: <?php global $wp_query; echo ‘Your results retrive (‘.$wp_query->found_posts.’ posts) with the subject ‘.get_search_query().’.’; ?> If search.php does not exists in your template’s directory, either copy archive.php (if it does not exists too, copy index.php – see template hierarchy) and rename it to … Read more

why does blog page ignore template [closed]

Refer to the Template Hierarchy Codex entry. The template hierarchy for the blog posts index is as follows: home.php index.php There is no case where the blog posts index will use a page template, either the default page template or a custom page template. The determination is controlled by wp-includes\template-loader.php. Refer to Line 31: elseif … Read more

add button to tinymce

Your method is complex… Here is simplest function to add BUTTON in TinyMCE: (insert this code in funcitons.php): add_action(‘admin_init’, function() { if (current_user_can(‘edit_posts’) && get_user_option(‘rich_editing’) == ‘true’) { add_filter(‘mce_buttons_2’, ‘register_buttonfirst’); add_filter(‘mce_external_plugins’, ‘add_pluginfirst’); } }); function register_buttonfirst($buttons) { array_push($buttons, “|”, “shortcode_button1” ); return $buttons;} function add_pluginfirst($plugin_array) {$plugin_array[‘MyPuginButtonTag’] = plugin_dir_url( __FILE__ ).’My_js_folder/1_button.php’;return $plugin_array;} add_filter( ‘tiny_mce_version’, ‘my_refresh_mceeee1’); function … Read more

Search results from a specific database table

You’ll likely need to your the $wpdb object. Learn about it on the WordPress Codex. Check out the Custom Database Tables series on WPTuts+ as well. Lots of really good information about when to use custom database tables, and how to access them efficiently, securely and with WordPress best practices. The series should teach you … Read more

Requires PHP version 5.3.0

You’re getting this because you’re running PHP 5.2 on your server. The plugin requires PHP 5.3. If it did not do this check, you would get an error when it tried to use a PHP 5.3 feature. I won’t recommend a plugin as that would be offtopic and result in the question being closed ( … Read more