different startsite for IOS and change menu

If the url’s for both site is different, You can simply check if site is being viewed from mobile or not and than you can redirect to your second site if it is mobile… Here is one of code who detects whether it is mobile or not… http://detectmobilebrowsers.mobi/ You can use such code detect mobile … Read more

HTML link within my plugin settings page

Just use old simple HTML, the <a> tag. <a href=”https://wordpress.stackexchange.com/questions/24208/admin.php?page=yourplugin/another-page.php” title=”another page”>Another Page</a> If your page is php only: echo ‘<a href=”https://wordpress.stackexchange.com/questions/24208/admin.php?page=yourplugin/another-page.php” title=”another page”>Another Page</a>’; Where yourplugin is your plugin folder name, and another-page.php is that other page.

Set home page to last page of a certain category

you can use the per_get_posts filter hook to change the order of the query something like: add_filter(‘pre_get_posts’, ‘filter_homepage_posts_order’); function filter_homepage_posts_order($query) { //only run is current page is home page if ($query->is_home) { $limit_number_of_posts = 5; //number of posts $featured_category_id = get_cat_id(‘Reviews’); // by cat name… $query->set(‘cat’, $featured_category_id); $query->set(‘posts_per_page’, $limit_number_of_posts); $query->set(‘order’,’DESC’) } return $query; }

Enabling XML-RPC Accross 500 blogs

Short of logging into all the database servers remotely and updating the enable_xmlrpc option, you’re looking at a lot of work. But, I suspect you want XMLRPC to always be on. If that’s the case, create an mu-plugins folder in wp-content. Create a php file (enable-xmlrpc.php or whatever you like, it doesn’t matter), and drop … Read more

jQuery cycle and WordPress: Captions, buttons, oh my

First: You should use an IDE like “Eclipse” or “PhpFireStorm”. Second: Re-reading your code is always a good advice – what’s missing in the next line? <img alt=”<?php the_title(); ?> image”https://wordpress.stackexchange.com/questions/26142/<?php echo get_post_meta($post->ID,”img_url’, true); ?” /> Third: You need to state global $post; at the beginning of your file, before you can access the provided … Read more