How does automatic redirection for the redirection plugin work?
Check redirection/models/monitor.php It’s pretty simple to follow whats doing.
Check redirection/models/monitor.php It’s pretty simple to follow whats doing.
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
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?
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
Facebook’s connect.registerUsers method is deprecated and doesn’t work anymore. Basically, the plugin is out of date.
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
First, you should know that a image like that is very easy to read by almost any OCR. The first one is much more hard to crack. Anyway, if you don’t want to hack the existing plugin, you can use Really Simple Captcha, it looks exactly like that. In your form: <?php $captcha_instance = new … Read more
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
Sometimes plugins add tables to your database automatically when you install, but they are not removed when you disable the plugin. If I were you, I’d open my site in an HTML editor and do a global search for slimex_stats (or $wpdb->slimex_stats or wp_slimex_stats) to try to find where in your code that SELECT statement … Read more
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