Should I go for Multisite or separate WP Installation?

Generally choosing separate WP installations means that your websites won’t have anything in common. Choosing Multisite installation enables you some sort of centralization. Your blogs usually are separate (eg. different domains / themes), but they may share something. According to your description you might want consider a single installation. It is possible to create the … Read more

Single page template

Yes, even for custom page templates, you will need to have a loop in order to get the title and content. Try the following: <?php /* Template Name: Use Case Template */ ?> <?php get_header(); ?> <div class=”wrap”> <?php if(have_posts()): while(have_posts()): the_post; ?> <div class=”leftcol”> <h3 class=”usehd”> <?php the_title(); ?> </h3> <div class=”hd-div”> </div> <div … Read more

Setting variables as custom field values

Sure. Hook into the save_post action, then perform your custom queries upon save, and store them as custom fields of the post. add_action(‘save_post’, ‘my_extra_meta_saver’); function my_extra_meta_saver($post_id) { global $post; // Prepare whatever extra information you want here // Save each piece of info in a custom field update_post_meta($post_id, ‘meta_key’, ‘meta_value’); }

register_setting and AJAX?

WordPress already provides a very nice API for admin / option page tabs. No need to reinvent the wheel on that one. Your Ajax action is “options.php” You need an action that’s linked to a PHP function that gets included by add_action( ‘wp_ajax_YOUR-ACTION-NAME*’, ‘your_php_function’); * YOUR-ACTION-NAME is the action you defined when localizing the script … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)