• Resolved adeizasama

    (@adeizasama)


    Hi. Love the plugin, thanks a lot for it.

    I’m sorry if this has been asked before but I did a search on the forums and didn’t get any results.

    Is it possible to set my homepage to the linky page? It’s the only thing I need and don’t really want to have to make people memorise and extra slug.

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Nicolas RIVIERE

    (@undefinedfr)

    Hi @adeizasama ,

    No sorry, impossible to set linky for homepage but you can create a redirection in your homepage to your linky page.

    Code for redirection :

    add_action('template_redirect', function() {
        $linky = get_option('wp_linky_page');
    
        if(is_front_page() && !empty($linky['global']['slug']))
            wp_redirect(site_url() . '/' . $linky['global']['slug']);
    });
Viewing 1 replies (of 1 total)
  • The topic ‘Make links page homepage’ is closed to new replies.