Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7517045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:19:19+00:00 2026-05-30T01:19:19+00:00

So I am dev. an application on http://codepigeon.com . The All the static content

  • 0

So I am dev. an application on http://codepigeon.com.

The All the static content is handled through WordPress and the App is located on http://app.codepigeon.com. Now when a user has loged into app.codepigeon.com he will get a cookie stored in his browser.

When this loged in user comes back to codepigeon.com he should not see the devault mene like (login, register, features …) but a different menue like (account dashboard logout – wich are linked to app.codepigeon.com)

How could I do this?
Is there a wordpress plugin for this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:19:21+00:00Added an answer on May 30, 2026 at 1:19 am

    I would just do an if/else statement that checks for the cookie then displays the correct menu.

    If you create the custom menus from your dashboard and name them “LoggedInMenu” and “NotLoggedInMenu”, your code would look something like this:

    <?php
    if (isset($_COOKIE["your_cookie_name"]))
        wp_nav_menu( array('menu' => 'LoggedInMenu' ));;
    else
        wp_nav_menu( array('menu' => 'NotLoggedInMenu' ));
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://www.magnixsolutions.com/dev/magicmorgan/indexnew.html Im trying to have all three DIVs; left image, flash content in the
Hi i try to do that example http://openlayers.org/dev/examples/all-overlays.html in my django application. I use
I have installed Google application engine following instructions here: http://code.google.com/appengine/docs/java/gettingstarted/installing.html However, running dev_appserver.cmd script
I read carefully the good UI practice from the Google Dev Blog; http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html and
I reference jQuery in my application via: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js . This generates an error with
I'm creating a Go Google App Engine application that will be making HTTP JSON
Following this documentation ( https://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views ), I am trying to create a custom error
Following is the Java Script code i have. //URL = http://dev.stage.com/restapi/vc/auth/sessions/login/ //parametersURL = user.login=******&user.password=******
I am having problems setting up wgsi with django. I'm following this http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/ .
I have installed Archiva on my machine under Tomcat 6.x at http://dev.mycompany.com:8080/archiva and can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.