Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Arranging Links in Wordpress

Featured Replies

Ok, so im working on a friend`s website/blog. He wanted to have 4 links in the navigation.

[Home][Register][Downloads][staff Team]

They show up like that but i want to change them to:

[Home][Downloads][staff Team][Register] and also make the "register" to "log-out" when the user is already logged in

 

Im not sure how wordpress works cause i just started working on it, but i worked for 6-7 sites with drupal and this was quite simple to make. (drupal had "weight" for the links to show up" default was 0 min was -100 and max was +100)

 

Is there a way to re-arrange my links as i want? Or is there a plugin to make it happen?

Personally, I'd edit the header.php file of your chosen theme to suit your requirements - i.e. manually put the links where you'd like them.

 

As for the 'Log Out' bit, use this in the header:

<?php 
if ( is_user_logged_in() ) echo '<a href="'.wp_logout_url( get_option('home') );.'" title="Logout">Logout</a>';
else echo '<a href="wp-login.php?action=register" title="Register">Register</a>';
?>

 

Wordpress is simpler than Drupal, thus lacks some of the more advanced functionality :)

  • Author

Hmmm, i upgraded my copy of wordpress to 3.0 beta 2 and it seems like they have a Menu Editor now. Can you give me some hint on how to use that Logout code you gave me inside the header?

Im really newbie (specially in php) so im not quite sure where to add it :p

 

Do i have to find the existing login button and switch it with this code?

 

Also, if anyone know a good plugin for good registering forms, please post it :clapping:

 

 

Edit:

I`ve found a cool plugin with a sidebar registration/login form, so im ok!

Thanks again for trying to help :friends:

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.