Accept comma in tag cloud

Put in functions.php

https://wordpress.org/support/topic/adding-tags-with-commas-in-them

// filter for tags with comma
//  replace '--' with ', ' in the output - allow tags with comma this way
//  e.g. save tag as "Fox--Peter" but display thx 2 filters like "Fox, Peter"
if(!is_admin()){ // make sure the filters are only called in the frontend
    function comma_tag_filter($tag_arr){
        $tag_arr_new = $tag_arr;
        if($tag_arr->taxonomy == 'post_tag' && strpos($tag_arr->name, '--')){
            $tag_arr_new->name = str_replace('--',', ',$tag_arr->name);
        }
        return $tag_arr_new;    
    }
    add_filter('get_post_tag', 'comma_tag_filter');
    function comma_tags_filter($tags_arr){
        $tags_arr_new = array();
        foreach($tags_arr as $tag_arr){
            $tags_arr_new[] = comma_tag_filter($tag_arr);
        }
        return $tags_arr_new;
    }
    add_filter('get_terms', 'comma_tags_filter');
    add_filter('get_the_terms', 'comma_tags_filter');
}

Disable and remove left menu in Dashboard

Add it to functions.php

/**
 * Remove a top level admin menu in Dashboard
 *
 * http://codex.wordpress.org/Function_Reference/remove_menu_page
 */
function remove_menus(){
 
  remove_menu_page( 'edit.php' );                   //Posts
  remove_menu_page( 'edit-comments.php' );          //Comments
  remove_menu_page( 'tools.php' );                  //Tools
 
}
add_action( 'admin_menu', 'remove_menus' );

Remove a left Dashboard menu item

How to remove left menu items in Dashboard.

For removing submenu item: http://codex.wordpress.org/Function_Reference/remove_submenu_page

Add to functions.php

Below removes Posts, Comments, and Tools.

/**
 * Remove a top level admin menu in Dashboard
 *
 * http://codex.wordpress.org/Function_Reference/remove_menu_page
 */
function remove_menus(){
 
  remove_menu_page( 'edit.php' );                   //Posts
  remove_menu_page( 'edit-comments.php' );          //Comments
  remove_menu_page( 'tools.php' );                  //Tools
 
}
add_action( 'admin_menu', 'remove_menus' );

Before

Default WordPress Dashboard left menu

Default WordPress Dashboard left menu

After

Edited WordPress Dashboard left menu

Edited WordPress Dashboard left menu

Resources

http://codex.wordpress.org/Function_Reference/remove_menu_page

As a plugin: http://premium.wpmudev.org/blog/how-to-remove-menus-from-the-wordpress-dashboard/

Types: empty field

If custom field type is empty or has a value.

If “varighed” has a value, display. Otherwise don’t. Code snippet #1

<?php if(types_render_field('varighed', array('raw'=>'true'))){?>
<?php echo '<p class="freelance-jobmeta-type">Varighed:</p><p class="freelance-jobmeta-data">'.types_render_field("varighed", array("output"=>"HTML")); ?></p>
<?php }?>

Code snippet #2

<?php if(types_render_field('fw_product_wine_appellation', array('raw'=>'true'))){?>
<dt class="productLabel"><?php echo __( 'Appellation:', 'formulawino' ); ?></dt><dd class="productDescription"><?php echo(types_render_field('fw_product_wine_appellation', array('class'=>''))); ?></dd>
<?php }?>

If value display

<?php if(types_render_field('methods-tools-download-box-form', array('raw'=>'true'))){?>
<div class="methodsToolsFree"><?php echo "Free download included"; ?></div><?php }?>