[solved] Changing Field Labels in Gravity Forms with gform_pre_render

I have taken on a wordpress project recently which required me to change the language of the text in the field labels on some gravity forms. The site is in one language, but within wordpress they have the option to show certain pages in a different language, for example Norwegian. So, if we have a form with the default text of Name and Telephone and the form was being shown on a Norwegian page, then the text would need to display: Navn and Telefon. On...

Read More Here >>

[Solved] Force Amazon S3 File to Download instead of opening in browser

I was given a 47mb pdf to host on Amazon S3. I uploaded the file and grabbed the web url (the direct link to the file) yet when I was clicking it was forcing me to OPEN the file in my web browser. The result being that it takes longer to download and ties up your browser. I needed the file to DOWNLOAD and I found it can be done this way. If you are using S3 then you will be familiar already with something like Cloudberry S3 Explorer which allows you...

Read More Here >>

Alternative Method of Running a task in wordpress every X seconds

Sometimes I find it cumbersome to use the cpanel cron and I am not a massive fan of the wordpress cron, so I have devised a little bit of php code which allows me to run a script which is called through the wordpress footer. So for example if you have a script which needs to be run every 30 minutes, hourly or daily you can use the code below. NOTE: like the wordpress cron, you do actually need a visit to your site in order for it to execute, but...

Read More Here >>

[Solved] Make Task Rocket send an email when a task is completed

Task Rocket (taskrocket.info) is a great  tool but its missing one major feature which i hope the developers will take into consideration in future releases. When a member of the team completes a task, it DOES NOT send me an email telling me the task is completed so I have no idea when tasks are being finished. So I have made a  quick and dirty function which sends me an email when someone completes a task and you just have to drop it into your...

Read More Here >>

[Solved] Issue with Task Rocket and Jquery using SSL

I have decided to take the plunge and start to using Task Rocket (taskrocket.info) as a tasks system for the people I work with with. Its a pretty nice theme which site on wordpress and so far pretty happy with it. However, I installed it on my server the other day with ssl and parts of the dashboard started not to work. In the end I found that the jquery file was being mangled within the functions and not loading the much needed jquery file hence...

Read More Here >>
NAVIGATION MENU