WordPress.org

Forums

How to change users menu? Add/remove stuff (14 posts)

  1. stitch19
    Member
    Posted 7 years ago #

    So I am wondering how do you change whats in users menu? Yes its visible in widgets but from there only thing I can chnage is its name. In my users menu there is also "wordpress" link and some other things.

    Is there any way to remove and add stuff in users menu? I tried from theme editor but couldnt find anything.

    Thanks.

  2. stitch19
    Member
    Posted 7 years ago #

    Anyone, please?

  3. justinratwebtek
    Member
    Posted 7 years ago #

    By default, there isn't a Widget called "Users". You may have a plugin that is placing the Widget in there.

  4. stitch19
    Member
    Posted 7 years ago #

    Ok, anyway by default how do you change whats in users manu? please

  5. moshu
    Member
    Posted 7 years ago #

    Define "user menu".

  6. stitch19
    Member
    Posted 7 years ago #

    User menu, where it has, logg in(connect), profile options, comments. All under user menu. If you got time you can check it at asxetoblog.gr just at right side the first menu you will spot it, it has wordpress link, and other stuff.

  7. moshu
    Member
    Posted 7 years ago #

    You mean this: Μέλη? the Meta section?

    If you are using widgets - you can't do anything.

    If you are NOT using widgets, then edit your sidebar.php.

  8. stitch19
    Member
    Posted 7 years ago #

    Yes thats it, so i went to sidebar.php and the code within is:

    <ul id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar() ) : ?>

    <?php wp_list_pages('title_li=<h2>Pages</h2>'); ?>

  9. <h2>Archives</h2>
      <?php wp_get_archives('type=monthly'); ?>
  10. <h2>Categories</h2>
      <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
  11. <h2>Search</h2>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
  12. <h2>Meta</h2>
  13. <?php endif; ?>

    Do you know what i need to change in order to remove wordpress link from that menu/sidebar?

  • stitch19
    Member
    Posted 7 years ago #

    I tried removeing worpress and its link, but i still could see it at the menu

  • Roy
    Member
    Posted 7 years ago #

    I removed the meta part alltogether (now with widgets I just don't use the meta widget). You have to upload the sidebar into your theme folder after changing and saving it of course (or make your changes in the admin panel).

  • moshu
    Member
    Posted 7 years ago #

    As Gangleri said: if you are using widgets you can either remove the Meta widget completely or use it as it is.
    When the widgets are active (and it seems your theme is using them) - it is useless to edit anything in the sidebar.php because the widgets overwrite everything that is handcoded there.

    If you are not using widgets, then you can manually edit every bit of your sidebar.

  • stitch19
    Member
    Posted 7 years ago #

    Yes my theme is using widgets, it seems as you said it replaces it, So if i remove that widget tell me how will a user log in or log out?

    Or with widget how can i still edit it? Or its just impossible for some reason.?

  • marcbkk
    Member
    Posted 7 years ago #

    If you want to remove everything from the Meta menu (in WordPress Version 2.5.1) except for the Site Admin and Login/Logout links in the Meta menu then go to the widgets.php file in the wp-includes directory and remove lines 532-535.

    If you want to change the name of the Meta menu to something else go to line 525 and change where it says 'Meta' on that line to whatever you like within the quotes.

    I hope this helps.

  • Ivovic
    Member
    Posted 7 years ago #

    if this guy comes back, I'm holding you personally responsible.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.