1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Allow users to choose homepage

Discussion in 'WordPress' started by Divvy, Sep 13, 2017 at 11:33 AM.

  1. #1
    Hello guys,

    Is there any plugin that allow users to choose the page that they want to see as homepage?

    Let me try to explain what I'm looking for:

    I have a wordpress site with "SFW" posts in homepage. (/)
    And I have a 2nd page with "NSFW" posts. (/nsfw)

    What I'm looking is an option for users to choose the page they want as homepage, something like "on/off", example:

    ON: SFW content (default)
    OFF: NSFW content

    Can someone help me please? :)
    SEMrush
     
    Divvy, Sep 13, 2017 at 11:33 AM IP
    SEMrush
  2. sarahk

    sarahk iTamer Staff

    Messages:
    23,466
    Likes Received:
    3,166
    Best Answers:
    86
    Trophy Points:
    615
    #2
    That wouldn't be hard to write if you can't find one.

    Get a custom field plugin to create a field against someone's profile, put a wee form on the sidebar letting people say "make this my homepage" and save the value to whatever spot that custom field goes to. Then when they come to the site the plugin detects if they've requested a specific page, if not it bounces then to the saved page.
     
    sarahk, Sep 13, 2017 at 10:39 PM IP
  3. Divvy

    Divvy Well-Known Member

    Messages:
    699
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Hey Sarahk,

    Thank you for your reply and idea.

    What I'm looking for is something similar to this Safe Mode ON/OFF in https://www.liveleak.com/ website.
    Do you think I can do the same with custom fields?
     
    Divvy, Sep 14, 2017 at 4:51 AM IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    23,466
    Likes Received:
    3,166
    Best Answers:
    86
    Trophy Points:
    615
    #4
    Yep, that would be a doddle.

    Not logged in, safe mode is on
    logged in, read that custom field and change the content accordingly - all done by ajax, not even a reload.
     
    sarahk, Sep 14, 2017 at 1:49 PM IP