开发者

using wordpress for portfolio and posts

i started playing wordpress few months a go and a created a blog http://aurelkurtula.co.uk/blog/?page_id=2

currently there are no posts, but it will look similar to the link above.anyway, now i started to develop a portfolio theme using word-press, (i can only post one link)

the two themes are similar, so i was wondering if you could give me some advice on how to link this two themes together under one theme.

the only way i'm thinking about is something like this

<a href="#?type=blog">goto blog</a>
<a href="#?type=portfolio">goto portfolio</a> 
开发者_运维技巧$type = $_get[type];
if(type = "blog"){   run ALL the blog head, body, sidebar and its style}
if

(type = "portfolio"){ run ALL the blog head, body and its style}

i have not tried it - but i guess am asking for "the best practice" advice.

i know that this is not the kind of question i should ask in a technical based forum, but i would really appreciate you help and advise

thank you


I think I understand your question. It sounds like you want a different theme/style for different pages, correct?

If the two are similar enough, you could use Page Templates. Alternately, if the two pages/sections are completely different themes, you could use the Page Theme WordPress plugin to specify a specific theme for individual pages.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜