/* --- 结构化数据 (JSON-LD Schema) --- */ add_action('wp_head', function() { if (is_single()) { $post = get_post(); $schema = array( '@context' => 'https://schema.org', '@type' => 'Article', 'headline' => get_the_title($post), 'datePublished' => get_the_date('c', $post), 'author' => array('@type' => 'Person', 'name' => '樊翔律师团队'), 'publisher' => array('@type' => 'Organization', 'name' => '南昌樊翔知识产权律师团队') ); echo ''; } if (is_front_page()) { $schema = array( '@context' => 'https://schema.org', '@type' => 'LegalService', 'name' => '南昌樊翔知识产权律师团队', 'description' => '知识产权诉讼专家,专注于商标、版权、专利诉讼' ); echo ''; } }); 知产研究 – 第 120 页 – 南昌樊翔知识产权律师团队