badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

ben1

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Ambition Theme causing problems with WordPress 4.2.2 #27388
    ben1
    Participant

    I’m sure you have and I’m not disputing that fact. I simply posted the issue I encountered and how I fixed it so that if someone else runs into the same issue they can try my solution.

    The problem is commonly known as the whitescreen of death (http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/) and after reading the excerpt below I checked the \inc\structure\footer-extensions.php file (because it was the only modified file) and found it had excess space at the bottom. After I removed it I didn’t have the whitescreen problem anymore.

    …you should look at your theme’s functions.php file. If there are extra spaces at the bottom, then you should consider fixing it.

    in reply to: Ambition Theme causing problems with WordPress 4.2.2 #27359
    ben1
    Participant

    After a lengthy amount of troubleshooting I found the problem. There was extra spaces at the bottom of the file \inc\structure\footer-extensions.php after the php tag. Once I removed the spaces the dashboard started working correctly again.

    in reply to: Ambition Theme causing problems with WordPress 4.2.2 #26078
    ben1
    Participant

    I altered the file \inc\structure\footer-extensions.php and changed the code on line 113 to the following:

    $output = '<div class="copyright">'.__( '&copy;', 'ambition' ).' '.ambition_the_year().' ' .ambition_site_link().' | <a href="http://domainnamehere.com/sample-page/">Test Link</a></div><!-- .copyright -->';

    I uploaded the file via FTP and that’s when the problems started. This is literally the only change I made to the theme and it affects the entire admin UI. Why?

    in reply to: Ambition Theme causing problems with WordPress 4.2.2 #26069
    ben1
    Participant

    Forgot to add the code in the email I sent back this morning:

    <a href="http://domainnamehere.com/sample-page/">Test Link</a>

    in reply to: Ambition Theme causing problems with WordPress 4.2.2 #26045
    ben1
    Participant

    After inspecting a few admin pages it looks like the problem has something to do with metabox.js and \inc\admin\ambition-metaboxes.php

    I used Chrome’s native inspect tool which gave the following error:

    Uncaught SyntaxError: Unexpected token < metabox.js:2

    Clicking on metabox.js gives html (in a javascript file?)

    in reply to: Ambition Theme causing problems with WordPress 4.2.2 #26041
    ben1
    Participant

    I reinstalled the theme from scratch and the issue is resolved but the problem is I’m trying to add links to the footer (ie. Privacy, Terms), so when I edit \inc\structure\footer-extensions.php and upload the updated file to the server the issue comes back again.

Viewing 6 posts - 1 through 6 (of 6 total)