Building a store locator with google maps

You should be able to do this completely with custom post types. Most of the structured info can go in custom fields. For the geographical info you can read “Optimizing a Proximity-based Store Location Search on a Shared Web Host?“, where I explained how to store the coordinates of the stores not only in the … Read more

Facebook Like needs confirmation?

If you are developing your site locally, like with easyphp or others, then it’s normal, it’ll work fine when you upload everything. If the problem happens online then it’s something else. Do you have the plugin’s link?

Any Short code Availble for Get Post List With Thumbnail Plugin?

here is a quick crack at making it a shortcode paste this code in your theme’s functions.php file: add_shortcode(‘gplt’,’getPostListThumbs_shortcode’); function getPostListThumbs_shortcode($atts, $content = null){ extract(shortcode_atts(array( ‘orient’ => ‘v’, ‘imgo’ => false, ‘ttgo’ => false, ‘dtgo’ => false, ‘dtfrm’ => 1, ‘categ’ => ”, ‘postnr’ => 20, ‘linn’ => 3, ‘tbwid’ => 40, ‘tbhig’ => 40 … Read more

Portfolio + Blog: multisite or plugin?

Set your blog as Blog category and your portfolio as Portfolio category. You might be also interested in Custom Post types (which I think is the right way to do it): Run your Blog as a usual via Posts and set the Portfolio as Custom post type with its own categories, tags or what ever … Read more

WordPress plugin for activating other plugins

You’re main pluggin can use register_activation_hook and use the function you register thru the hook to activate you’re necesary pluggins. Smth along these lines : // get already activated plugins $plugins = get_option(‘active_plugins’); $puginsToActiv = array(‘Plugin1’, ‘Plugin2’, ‘Plugin3’); if($plugins) { $changed = false; foreach ($puginsTostActiv as $plugin) { if (!in_array($plugin, $plugins)) { $changed = true; … Read more

Custom CSS for plugin form

you can check with the_posts hook if your shortcode exists and only enqueue the style if so : function check_for_shortcode($posts) { if ( empty($posts) ) return $posts; $found = false; foreach ($posts as $post) { if ( stripos($post->post_content, ‘[CHANGE_TO_YOUR_SHORT_CODE’) ) $found = true; break; } if ($found){ $url = get_bloginfo( ‘template_directory’ ); wp_enqueue_style( ‘my_login_Stylesheet’,$url.’/my_login_Stylesheet.css’ ); … Read more