Newbie Help! Short code inserted in to Wp Mobile Edition public.php file in editor broke my login ad
-
I am a new word press user. I downloaded the wp mobile edition to my website. It worked great except the one third code was showing in one of the pages. I searched to web for a short code to get rid of it. This is the code I found-
} add_shortcode(‘one_third’, ‘one_third_shortcode’); add_filter(‘comment_text’, ‘do_shortcode’); function one_third_last_shortcode( $atts, $content = null ) { return ” . $content . ”;}
The post I read told me to paste this in to the editor of the plugin public.php file. Now I cannot login in to my website at all; it just shows this code- } add_shortcode(‘one_third’, ‘one_third_shortcode’); add_filter(‘comment_text’, ‘do_shortcode’); function one_third_last_shortcode( $atts, $content = null ) { return ” . $content . ”;}
with no login option. This code even displays at the top of the website. I can still used the website but the mobile side went back to the way it was before I download the wp mobile edition plugin. Someone please help me! I promise to never get in the editor files again. Again at the top of the page I selected the wp mobile edition plugin option clicked on the public.php file i think (it said inactive next to in parenthesis) .The blog I need help with is: (visible only to logged in users)
-
Its actually not this website its a different one. I am a new graphic designer and they handed me this website to update. I was trying to update the mobile side of it and I found these forums leading me up to doing this probably completley wrong.
-
Hi, looks like you are speaking about a self-hosted WordPress website, the forum here is about sites made only in WordPress.com where installing third party plugins is not allowed.
You may want to read about
https://en.support.wordpress.com/com-vs-org/Regarding your issues with the plugin, you may discuss the same on WordPress.org community forums at
https://wordpress.org/support/Personal advice – you may want to try and delete the plugin and reinstall the same. All the edits that you did causing the site to malfunction will be replaced by the original code of the plugin.
- The topic ‘Newbie Help! Short code inserted in to Wp Mobile Edition public.php file in editor broke my login ad’ is closed to new replies.