How to batch convert comments to posts?

You can copy this code into a plugin and when activated will convert all comments into posts, and delete the comments (so you will not have duplicates) You can also limit what kind of comments will be converted the posts using the parameters for get_comments ( http://codex.wordpress.org/Function_Reference/get_comments ) register_activation_hook( __FILE__, ‘wpse_29474_convert_to_posts’ ); function wpse_29474_convert_to_posts(){ $comments … Read more

Toolbox theme using printif statement – help needed understanding code block

The % signs are arguments in the string to be formatted. The s represents a string type argument must be passed. I’ve notated which arguments are connected to which strings being passed in. get_permalink() – %1 string type get_the_date( ‘c’ ) – %2 string type get_the_date() – %3 string type get_author_posts_url( get_the_author_meta( ‘ID’ ) ) … Read more

How to use custom fields to replace top-level parent title with an image using wp_list_pages?

I went to the #wordpress irc channel and was given the answer by Marko Heijnen. He grabbed the Walker Code from /wp-includes/post-template.php and added a few lines to it. /** * Extend the default page walker class to append class names for pages that * are parents. * @uses Walker_Page * * http://wordpress.stackexchange.com/questions/11821/class-parent-for-wp-list-pages * */ … Read more

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

Capcha not getting displayed

I think you have problem in font files path. Just check this link. Please fix your font path. You can check this page for reference. Read the comment section of this page. Thanks