はじめに:私はプラグインを開発しました。そのため、テーマファイルの編集は問題になりません。 マイショート機能: /*** [leaderboard] shortcode with tournament_id input value ***/
function leaderboard_shortcode($tournamentid) {
ob_start();
include_
カスタムフィールドのショートコードを作成する方法を知りましたか?例にclickの詳細については function customfield_function() {
return 'i am describing my custom fields name here bla bla';
}
add_shortcode('customfield', 'customfield_functi
私はショートコードを使用しています。私はメインタイトル、サムネイル、一部のコンテンツ、そして私の投稿のパーマリンクが必要です。 しかし、この短いコードを使用してWordpressは、タイトル、サムネイル、およびパーマリンクのない完全なコンテンツを表示します。 私は今何をすべきですか? The photo of my style (注:これはショートコードの古い形式です) 助けてください。 これはこ