Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • There is no way to be 100% sure, but I am wondering if this plugin has a vulnerability, as I’ve recently had a couple sites hacked where it appears this plugin might have been the problem.

    Malicious code was inserted at the top of every php file in wordpress, the developer tools plugin was removed from the plugins list in the admin section, so it could not be seen, deactivated or deleted from the admin panel. Additionally, some folders/files associated with the plugin were set to 777.

    Combined with the plugin’s disappearance, it is setting off some alarms in my head.

    I hope not, as I really like this plugin, but I’ve pulled it from all of my WordPress sites as a precaution in the meantime.

    No, but you can use the adminmenu hook to add to the menu system. That’s with no underscore. If you want it to match style of admin menu do something like this.

    //this inputs our custom menu
    add_filter('adminmenu', 'newMenu');
    function newMenu() { ?>
            <li class='wp-has-submenu menu-top menu-top-first menu-top-last'>
            <div class='wp-menu-image'><br /></div>
            <div class='wp-menu-toggle'><br /></div>
            <a href='admin.php?page=sub-page' class='wp-has-submenu menu-top menu-top-first menu-top-last' tabindex='1'>MenuName</a>
    
            <div class='wp-submenu'>
            <div class='wp-submenu-head'>Menu Name</div>
            <ul>
                    <li class='wp-first-item'><a href='admin.php?page=sub-page' class='wp-first-item' tabindex='1'>Link</a></li>
                    <li><a href='admin.php?page=sub-page&amp;display=6&amp;query=2'>Link</a></li>
                    <a href='admin.php?page=sub-page&amp;display=6&amp;query=3'>Link</a></li>
            </ul>
            </div>
    
            </li>
    
    <?php }

    You can put in any links you want that way. If you follow that style the menu will be collapsible like the other admin menus.

    1st, make sure the wp_link_pages() is in the loop in your template files. It’s missing from a lot of templates. You can choose your own formatting with it. You can find that in the codex if you like.

    2nd, make sure to enter <!–nextag–> in the code view of your entry. In my version at least, entering it in the normal post view breaks them when you save. It turns < and > to lt and gt, basically.

    3rd, I’m currently writing a plugin to do this. I’d like for the post length to be the same on every page. That way you can optimize your sidebar and not waste space. A basic version can be done easily, but it’s not very accurate.

    Thread Starter artjunky

    (@artjunky)

    Problem solved.

    The main division for the blog, #container, must have been covering the menu in IE. Removing the position:relative; from the #container style tage from style.css fixed the problem.

    I’m using the landzilla theme, don’t know how that applies to others. Thanks again.

    Thread Starter artjunky

    (@artjunky)

    Thanks for the help, but that was not it.

    The good thing is I believe it’s a conflict between the two style sheets. What that is as of yet I don’t know. But if I remove the style sheet for the theme then the menu works. I guess I’ll just start removing parts until I find the offender.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)