Timeline for How do I set the front page programmatically?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 12, 2015 at 21:10 | history | edited | 1.21 gigawatts | CC BY-SA 3.0 |
added 48 characters in body
|
Nov 12, 2015 at 5:32 | vote | accept | 1.21 gigawatts | ||
Oct 26, 2015 at 5:24 | comment | added | 1.21 gigawatts | So I would use update_user_option() or update_blog_option() to set this value on a per user basis? I'm using multisite. | |
Oct 26, 2015 at 4:32 | history | edited | 1.21 gigawatts | CC BY-SA 3.0 |
added 4 characters in body
|
Oct 19, 2015 at 20:21 | comment | added | 1.21 gigawatts | When a user logs into their site they can go to their reading page and set the default home page for their site. I want my application to be able do that as well. I'm doing this on a network site (Wordpress MU). | |
Oct 19, 2015 at 16:16 | comment | added | Milo | @1.21gigawatts - if you want this to be per-user, then the solution I gave is not correct and you're going about this wrong. that's a global setting for all visitors. | |
Oct 19, 2015 at 5:15 | vote | accept | 1.21 gigawatts | ||
Oct 19, 2015 at 18:46 | |||||
Oct 19, 2015 at 5:15 | comment | added | 1.21 gigawatts | Sort of. I want to do it through a UI I have | |
Oct 19, 2015 at 5:14 | vote | accept | 1.21 gigawatts | ||
Oct 19, 2015 at 5:15 | |||||
Oct 19, 2015 at 5:09 | comment | added | user2172846 | You want registered users to set the default page when they visit the site and are logged in? | |
Oct 19, 2015 at 1:37 | answer | added | Milo | timeline score: 3 | |
Oct 19, 2015 at 1:11 | comment | added | Por | Logically, you could do it but it is not a good approach, just define a constant of that page id. And it reduce query loading time! | |
Oct 19, 2015 at 1:10 | history | edited | 1.21 gigawatts | CC BY-SA 3.0 |
added 138 characters in body
|
Oct 19, 2015 at 1:00 | history | asked | 1.21 gigawatts | CC BY-SA 3.0 |