WP Login Button for current domain

<?php wp_loginout(); ?> Or <a href=”http://<?php bloginfo(‘url’); ?>/wp-login.php”>Login</a> What am I missing? http://codex.wordpress.org/Function_Reference/wp_loginout http://codex.wordpress.org/Function_Reference/bloginfo

How to align bold,italic and underline in wp-admin?

If it is editor mode specific, then make a CSS file named: editor-style.css and then add the following code into functions.php within PHP tags: // CUSTOM EDITOR STYLES // This theme styles the visual editor with editor-style.css to match the theme style. add_editor_style(); Now put some CSS code to match the site’s CSS into the … Read more

WordPress multiple user roles accessing on their information on one site?

You’ll need to combine some plugins and a couple of hooks. Apart from the role management, I’d recommend Adminimize: it’s quite powerful to clean up the dashboard based on user roles. And then: /** * When a registered user tries to visit a page for which he doesn’t have access, * i.e.: http:/example.com/wp-admin/plugins.php, * WordPress … Read more

WordPress Admin: open popup window on a custom button

Maybe you can open a thickbox with javascript. A example with check for the height and width of the thickbox. <script type=”text/javascript”> <!– var viewportwidth, viewportheight; if (typeof window.innerWidth != ‘undefined’ ) { viewportwidth = window.innerWidth-80, viewportheight = window.innerHeight-100 } else if (typeof document.documentElement != ‘undefined’ && typeof document.documentElement.clientWidth != ‘undefined’ && document.documentElement.clientWidth != 0) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)