Tagged: PHP

0

Laravel Save Form Post

php artisan make:migration tasks in database / migrations / create tasks table – paste in up()  function Schema::create(‘tasks’, function (Blueprint $table) { $table->increments(‘id’); $table->string(‘title’); $table->text(‘body’); $table->timestamps(); }); php artisan make:model Task in class Task...

0

Laravel Deployment on Ec2

You gotta have composer installed cd /home/ec2-user/ sudo curl -sS https://getcomposer.org/installer | php // sudo mv composer.phar /usr/local/bin/composer cd /var/www/html/website-directory // make vendor folder sudo mkdir vendor // change permissions sudo chmod -R 755...

0

Get Url In Laravel

There are a bunch of ways to grab the url in Laravel. Here are a few of the ways I have found. Grab whole Url \URL::current(); //returns http://site.localhost/order/202 Grab just the requested URI \Route::current()->uri...

0

PHP Cookie Problems

Cookies have been around forever – they are browser based variables that can be set to expire in the future. The variables are helpful for letting a user bounce around from page to page...

0

Hreflang System for WordPress

HrefLang Class This class handles buidling the href lang tags across all of out international WordPress implementations. The class instance is created in /global/partials/header-footer/header/header.php. The file is referenced in /wp-content/themes/theme/header.php – which is included...

Deleting records in AWS Cloud Search

Deleting All Records through SDK Managing documents is sucky in Cloud Search. The CloudSearch Management Console won’t let you see all of your documents – the best you can do is some test searches...

Lexington Medispa Redesign

Bemedispa of Lexington KY, the award winning Medispa, had 3rd Dimension Design redesign and relaunch their main website in January. The new site would be a complete design overhaul with a focus on responsiveness...

Yourfriendswholike.com

YourFriendsWhoLike.com

In Sept and October of 2016 I built a website that would allow you to search for facebook friends that liked Politicians. This was a big opportunity since the 2016 presidential election was so...

Dynamic Field Sorting for WordPress ACF

A site my employer has uses the Advance Custom Fields plugin for WordPress. They use the plugin to create custom post types which they use for creating product pages. This plugin allows you to...