Review site using WordPress

The most comprehensive review plugin is GD star rating. http://wordpress.org/extend/plugins/gd-star-rating/ A theme is very subjective, you can integrate this plugin with any theme, I would suggest browsing the theme repository for one you like, http://wordpress.org/extend/themes/ To be specific in terms of layout your looking for a “showcase” theme.

How To Detect Posted Comment in Theme Development?

The easiest and most straight-forward way is to put appropriate code in your wp_list_comments() callback, that outputs a message if a comment is awaiting moderation. The usual code looks something like this: <?php if ($comment->comment_approved == ‘0’) : ?> <em><?php _e(‘Your comment is awaiting moderation.’) ?> Otherwise, if you’re not using a callback, you can … Read more

wp_nav_menu and its fallback

The default fallback menu is created with wp_page_menu() function and if you want to customize it the you need to create your own fallback function : function my_fallback_menu(){ $args =array(‘whatever’); wp_page_menu($args); } and then call that function in your wp_nav_menu call as the fallback: wp_nav_menu(array( ‘theme_location’ => ‘mainnav’, ‘container’ => ‘nav’, ‘container_id’ => ‘mainnav’, ‘container_class’ … Read more

Insert Rich Text Editor in theme?

Yes, use the code: wp_enqueue_script(‘tiny_mce’); This will include the TinyMCE javascript. Then simply use TinyMCE as you wish <script type=”text/javascript”> tinyMCE.init({ mode : “textareas”, theme : “advanced”, plugins : “autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template”, theme_advanced_buttons1 : “save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect”, theme_advanced_buttons2 : “cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor”, theme_advanced_buttons3 : “tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen”, theme_advanced_buttons4 : “insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage”, theme_advanced_toolbar_location : “top”, theme_advanced_toolbar_align : “left”, theme_advanced_statusbar_location : “bottom”, theme_advanced_resizing : true, skin … Read more