February 19th, 2015
I was having an issue with a site that required a database intensive update 4 times a day, we are talking 1000s of mysql rows updated/deleted/inserted each time. It seemed to be getting by nicely on a test server using wordpress simple cron scheduler. Going live however was a different story, epic failures and error 500s on the clients live website.
Instead of running the script as a hook/function on wordpress I ran it instead using the servers direct crontab, problem solved.The simplest way to get your wordpress functions into an external PHP script is by calling the wp-blog-header.php script as follows
Remember on your linux server use type -a php to find your php interpreter location
You should get something along the lines of
Then at the top of your actual PHP script you’re going to run make sure you add the following line
/* The rest of your code goes below */
You may encounter an issue with running your script on the server if your file is not formated correctly and the server complains about not being able to find your PHP interpreter
/usr/bin/php^M: bad interpreter: No such file or directory
Simply open your script using VIM and do the following
Your file should now run as any normal PHP file would on a wordpress setup
February 16th, 2015
Makes you think.
“The World Is As Big Or As Small As You Make It” | Sundance Institute from Sundance Institute on Vimeo.
The World Is As Big Or As Small As You Make It: In North Philadelphia local kids gather at a rec center to participate in an innovative program where they forge friendships with their peers across the world. Directed by Heidi Ewing and Rachel Grady. Story Idea by Sannii Crespina-Flores.
February 16th, 2015
Tsunami from The Animation Workshop on Vimeo.
Graduation film from The Animation Workshop/VIA UC: Haru returns home in denial after a tsunami, where he must learn to deal with his loss through an encounter with a magical sea Spirit.
February 12th, 2015
Junior Web Developer needed to join our busy Knutsford studio. This is a fantastic opportunity for a Graduate/Junior Web Developer who is looking to gain a wealth of experience working within an agency. We are looking for a passionate web developer that can work well as part of a professional and friendly team, applicants with strong communication and client facing skills as well as the ability to develop excellent code are encouraged to apply.
Development of new projects and maintenance of existing projects
Experience with CMS software (WordPress, Magento or Drupal)
Cross-browser and quality assurance testing
Strong analytical and problem-solving skills
Able to work on their own or in a team and to strict deadlines
Self-starter with good time-management skills
Ability to work with third party API’s
Understanding of basic SEO concepts
Experience in SASS, SCSS
Experience in using the Adobe Creative Suite
Examples of portfolio a must
To apply send CV with portfolio of work to: eugene[at]belladesign.co.uk
STRICTLY NO AGENCIES