
內容簡介
我曾經想過需要為不同的訪問者提供不同的首頁。
在最好的情況下,這些用戶擁有一個 GET 參數,該參數決定顯示哪個頁面。
例如:
您進入 WordPress 並添加一個自選的頁面名稱(在這種情況下是頁面 slug)。我選擇了“music”。
現在,如果您想讓某人查看 music 頁面,您可以使用參數 http://www.example.com/?view=music。
您可以為每個頁面都這樣做。
如果您將其保留為空,則什麼都不會發生。
外掛標籤
開發者團隊
原文外掛簡介
I once thought I need a different home page for different viewers.
In best case those users have a GET parameter which decides which page has to be shown.
For Example:
You go into WordPress and add a page with a name of your choice (in this case the page slug). I chose “music”.
Now if you want somebody view the music page you have the parameter http://www.example.com/?view=music.
You can do this with every page you have.
In case you leave it empty nothing happen at all.
