WordPress br in content problem

Switch to the HTML editor and you’ll be able to see all of your page markup. You likely have an unclosed tag or extra line return somewhere in the content, so the visual editor adds additional markup to clean that up.

No HTML/Visual mode option in admin panel (New Post)

Turn off all your plugins… then check it. if its all good (what would probably be true) start activating your plugins on at a time to find the problem maker. This happened to me several times and in 9/10 cases was a plugin… the 1/10 time was a nasty code i pasted into my functions.php … Read more

Working with post values in the admin panel

I solved it this way <form name=”input” action=”<?php echo get_bloginfo( ‘template_directory’ ).”https://wordpress.stackexchange.com/”.’post_options_from_form.php’; ?>” method=”post”> although i wanted post_options_from_form.php to be an admin page. Edit: This finally worked as i was able to post to the admin page i created <form name=”input” action=”admin.php?page=admin_page” method=”post”> On the function, function admin_page() { require(‘post_options_from_form.php’); }

Modify admin panel tab position

Just in case anyone might stumble upon this and have the same problem, it can be done by manipulating the admin menu itself, and there’s a great tutorial for this http://wp.tutsplus.com/tutorials/creative-coding/customizing-your-wordpress-admin/

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

Customize a WP_Posts_List_Table class

Whenever you find apply_filters() or do_action in the core files, you’ll have an entry point. If not, jQuery is never enough. And case it’s not enough, some heavy trickery is always available.

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