Skip to main content
15 events
when toggle format what by license comment
Aug 31, 2023 at 12:40 comment added Tom J Nowell hmmm then storing it in user meta or as options might not work. E.g. if you're logged in and use this system you'll see your stuff but because it's stored in user meta nobody else can see it unless they too are logged in as you. Likewise storing it in an option means your site gets slower with every new addition as it has to load the entire thing into memory. If something went wrong updating that option you'd lose everything. I'd suggest you look up custom post types instead, then you can assign authors, and you can use post meta, they'd all get URLs
Aug 30, 2023 at 18:50 history edited GURU mcewan.marriott CC BY-SA 4.0
edited tags; edited title
Aug 30, 2023 at 17:59 history edited GURU mcewan.marriott CC BY-SA 4.0
added 4 characters in body
Aug 30, 2023 at 17:45 history edited GURU mcewan.marriott CC BY-SA 4.0
edited title
Aug 30, 2023 at 17:42 history edited GURU mcewan.marriott CC BY-SA 4.0
added 524 characters in body
Aug 30, 2023 at 17:33 answer added GURU mcewan.marriott timeline score: 0
Aug 30, 2023 at 17:24 comment added GURU mcewan.marriott i get you and appreciate your input Basically its an affiliate/referral site where signed up affiliates refer their customers to our site that sells mobile data subscriptions... but when they sign up as an affiliate they want their own logo as site logo and stylesheet... rather than create pages for each of them in Divi they all use one global page as their product page e.g. mysite.com/go/affilatename... but i load their branding on that page and change all links to pages as in terms conditions to load their branding... works well so far if signed in
Aug 30, 2023 at 16:20 comment added Tom J Nowell that doesn't help as you already said that in your question. What I was hoping for was the user story, you would never tell the client about options and css etc, right now what you're describing does not sound like a logical thing to do but if you shared what your site did then it would answer a lot of questions as well as open up suggestions, e.g. maybe custom post types would be more appropriate. What are you trying to build? Right now your technical only description is confusing and refers to things such as logos/css that are missing etc
Aug 30, 2023 at 14:32 comment added GURU mcewan.marriott so what i was trying to do is get the baseurl when the user clicks on the link sent to him... store it somewhere then 1> load logo & css from example siteurl/branding/thiscompany.css 2> rewrite all links he clicks on afterwards (still logged out) e.g. sign up page to site.com/sign_up/ to site.com/sign_up/go/thiscompany (once again to load correct logo and css)
Aug 30, 2023 at 14:32 comment added GURU mcewan.marriott Thank you for advice re junk data.... the idea is to load css/site logo based on a referal link eg.site.com/go/thiscompany... i use a dynamic divi page but load the logo & also css based on the thiscompany variable ... as i said works well if user is signed in as i get that from his user meta ... but non signed in users no... BTW the links send out to someone to sign up is privately sent to them and the site has a password on all pages that is sent to them too..
Aug 30, 2023 at 14:19 comment added Tom J Nowell Note that doing this opens you up to rehaust exhaustion attacks, a user can repeatedly visit your site adjusting the URL to fill your database with junk data and slow down your site by making this option very very big. What are you trying to build that requires this? Is it a customer portal? You've asked how to fix your solution but did not explain what the original problem was
Aug 30, 2023 at 14:17 history edited Tom J Nowell CC BY-SA 4.0
added 3 characters in body
Aug 30, 2023 at 13:48 history edited GURU mcewan.marriott CC BY-SA 4.0
added 46 characters in body
S Aug 30, 2023 at 13:47 review First questions
Sep 13, 2023 at 13:47
S Aug 30, 2023 at 13:47 history asked GURU mcewan.marriott CC BY-SA 4.0