Settings'; array_unshift($links, $settings_link); return $links; } function run_on_activate() { wp_enqueue_style('wp-pointer'); wp_enqueue_script('wp-pointer'); add_action('admin_print_footer_scripts', array( $this,'custom_print_footer_scripts') ); } function custom_print_footer_scripts(){ $pointer_content = '
Check out this panel to know more about "All in One Schema.org Rich Snippets".
'; ?> '. ''. ( $req ? '*' : '' ). ''; $fields[ 'email' ] = ''. ''. ( $req ? '*' : '' ). '
'; $fields[ 'url' ] = ''. ''. '
'; $fields[ 'phone' ] = ''. ''. '
'; return $fields; } function additional_fields () { global $post; $id = $post->ID; $type = get_post_meta($id, '_bsf_post_type', true); if($type == '7') { echo ''. ''. '
'; echo ''; $text = $text . $commentrating; return $text; } else { return $text; } } function rdfa_breadcrumb_settings() { //Settings page for RDFa Breadcrumb $opt = array( 'prefix' => '', 'suffix' => '
', 'title' => __( ' ', 'rich-snippets' ), 'home_title' => __( 'Home', 'rich-snippets' ), 'separator' => '»', 'front_page' => false, 'show_blog' => false, 'singular_post_taxonomy'=> 'category', 'echo' => true ); add_option("rdfa_options",$opt); } } } require_once('functions.php'); require_once('rdfa-breadcrumbs.php'); add_filter( 'bsf_meta_boxes', 'bsf_metaboxes' ); // Instantiating the Class if (class_exists("RichSnippets")) { $RichSnippets= new RichSnippets(); } ?>