Parse error: syntax error. Can't change themes
-
Very new to WordPress. Site: kathysmythdesign.com
I was using Portfolio Press theme with some success until I added this code to the options-functions.php to add more portfolio pieces to my gallery:function mytheme_posts_per_page() { return '16'; // Return however many items you choose } add_filter( 'portfoliopress_posts_per_page', 'mytheme_posts_per_page' );
Got the error message: Parse error: syntax error, unexpected ‘)’ in /home/smyth154/public_html/wp-content/themes/portfolio-press/extensions/options-functions.php on line 210 and I could no longer log into Word Press.
I then asked for help from my web host (HostGator). They got me back into Word Press, but changed the theme to Twenty Twelve. Now I cannot change to any other themes at all.
I do not have a copy of the options-functions.php file and now don’t even see that when I downloaded a fresh copy of the Portfolio Press theme.
- The topic ‘Parse error: syntax error. Can't change themes’ is closed to new replies.