阅读背景:

将相关的post_content显示到自定义帖子标题切换类

来源:互联网 

I have created a custom-post-type and loaded the titles on my front-page as toggle-buttons. Now I want to make sure, that the content of the toggle-div is always related to the button I clicked. I tried to realize by simply using loading the post content, but I think I need to get the post-id as a variable or something into the loop. I have simply no idea how to make this work. I am a absolute beginner in PHP, hope someone can give me a hint?I have created a custom-post-type and loaded th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: