开发者

Creating dynamic region content in wordpress as in drupal

I've been using开发者_运维技巧 Drupal to create websites for about 2 months. I find it pretty easy to create a view or a block which could hold my dynamic content like latest photos, comments and all.

Now, i've started using Wordpress and it puzzles me how to do those things. Like, how to create a site like this: http://theklaxon.com

Should i create a .php file which does what i want and then include the file in the respective places?


There is a couple of options you can explore. The easiest way to include your own block of content is through page template; to make full use of it, you would have to understand the WordPress loop so you can fetch posts from the DB and format it as you like.

Another method, albeit which involves more coding and setup but more scalable in the long run, is the Pods CMS for Wordpress. Do check the introductory articles there for what you can do with it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜