PHP, WordPress ショートコードを定義する controlbox6月 29, 20196月 29, 2019 functions.php に追加 PHP <?php function testFunc() { ob_start(); echo the_title(); return ob_get_clean(); } add_shortcode('test', 'testFunc'); ?> 12345678 <?phpfunction testFunc() { ob_start(); echo the_title(); return ob_get_clean();}add_shortcode('test', 'testFunc');?>
TIPS, WordPress, code, Intuitive Custom Post Order6月 13, 20196月 16, 2019 Intuitive Custom Post Orderで並べ替えたカテゴリの表示順で記事表示