Title: PHP code to right sidebar
Last modified: March 16, 2019

---

# PHP code to right sidebar

 *  Resolved [tapiohuuhaa](https://wordpress.org/support/users/tapiohuuhaa/)
 * (@tapiohuuhaa)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-code-to-right-sidebar/)
 * The main idea is to generate on the top right login and log out links with PHP
 * I succeede to do that by adding code to the main contenta area, but I failed 
   to position it correctly for mobile phones. I can’t use position:fixed. Position:
   absolute cause always problems.
 * I shoud either add content to the right sidebar but I don’t know function to 
   do that.
    Alternative i could use this plugin in order to generate the PHP code
   I need. Can I still safely use this plugin with WorPress 5.1?

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

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-code-to-right-sidebar/#post-11323729)
 * The plugin works fine with WordPress 5.1.
 *  Thread Starter [tapiohuuhaa](https://wordpress.org/support/users/tapiohuuhaa/)
 * (@tapiohuuhaa)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-code-to-right-sidebar/#post-11323736)
 * Ok. I generated with PHP login and logout links to the sidebar. I get them positioned
   correctly. I failed trying to create redirection with JavaScript.
 * [https://www.sanaristikkofoorumi.net/wordpress/forums/forum/muut-aiheet/wordpress-bbpress/](https://www.sanaristikkofoorumi.net/wordpress/forums/forum/muut-aiheet/wordpress-bbpress/)
 * Kirjaudu sisään = Login – that is made pure PHP.
    -  This reply was modified 7 years, 2 months ago by [tapiohuuhaa](https://wordpress.org/support/users/tapiohuuhaa/).
 *  [webifiedOne](https://wordpress.org/support/users/webifiedone/)
 * (@webifiedone)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-code-to-right-sidebar/#post-11676648)
 * Hi,
 * This has been a great plugin, but today I received a security alert from Wordfence
   that this plugin has not been updated or tested in quite a while, and may pose
   a security risk as a result of being “abandoned.”
 * It appears the plugin is still being supported through the latest version of 
   WordPress. Can you tell us whether we can ignore the Wordfence alert? Or, is 
   there a suitable alternative to this plugin, if it no longer is supported?
 * Thanks!
    -  This reply was modified 6 years, 11 months ago by [webifiedOne](https://wordpress.org/support/users/webifiedone/).

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

The topic ‘PHP code to right sidebar’ is closed to new replies.

 * ![](https://ps.w.org/php-code-widget/assets/icon.svg?rev=992095)
 * [PHP Code Widget](https://wordpress.org/plugins/php-code-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-code-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-code-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/php-code-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-code-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-code-widget/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [webifiedOne](https://wordpress.org/support/users/webifiedone/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/php-code-to-right-sidebar/#post-11676648)
 * Status: resolved