Press enter to see results or esc to cancel.

Abraham Garcia Abraham Garcia in Application Development   Thursday, February 18 2021

Background Color Change Ionic Does not Change

Problems with changing the background color of an ionic app on stylesheet variables.

We were struggling to get the background color changed on an ionic app and we discovered that we were changing the color scheme background color but not in the light preference color method. It is important to make the changes outside of your color

Continue reading
Abraham Garcia Abraham Garcia in WordPress   Thursday, February 11 2021

Edit Site URL on WordPress Temporarily

Change the WordPress URL with two lines of code for a temporary time.

This is a short snippet to get your WordPress URL changed temporarily if you want to do quick debugs. Add the following code into the wp-config.php file. This will change the path.  define( 'WP_HOME', 'http://example.com' ); define(

Continue reading
Abraham Garcia Abraham Garcia in Fun Stuff   Thursday, February 4 2021

Why do i need to source bash profile every time on Mac

Stop adding the bash profile on your terminal every time you restart your mac computer.

I have a Mac Laptop and when I did stuff on the terminal with composer I would always have to refer to source bash. I finally found an article that allowed me to fix this issue.  Run ps -p $$ at the command line to determine that

Continue reading
Nahum Garcia Nahum Garcia in Fun Stuff   Thursday, January 28 2021

iOS Toggl Report through Shortcuts

How to use shortcuts to make API requests and automate Toggl Reporting

iOS Shortcuts has become one of my favorite programming languages in the last 4 years. It’s surprisingly powerful for how simple it’s design is. Sometimes that simplicity makes it very tedious to do things, but once you have it done, the

Continue reading
Abraham Garcia Abraham Garcia in WordPress   Friday, January 22 2021

Better WooCommerce Checkout CSS Styles

Improve the Look of Your WooCommerce so you can Increase Your Conversion and Sales. Easy to change WooCommerce css styles.

I found these CSS Styles to modify the WooCommerce Checkout. What this does it makes the credit card field move it to the right and it looked cleaner. All you have to do is paste it on your CSS and it will adjust it. I have attached some demo

Continue reading
Abraham Garcia Abraham Garcia in WordPress   Thursday, January 14 2021

Facebook Pixel Tracking on RestroPress WordPress

Track Sales From RestroPress on WordPress so you can get a good perspective on your Facebook ad sales.

These are the code snippets you need to add to your website to start tracking sales on Facebook.  First, you need a place to add in your header and footer I like this plugin to do

Continue reading
Abraham Garcia Abraham Garcia in Javascript/jQuery   Wednesday, January 13 2021

How to make select2 work with jQuery Validation

jQuery Validation and Select2 JS Plugin for Hidden Fields. Allow them to be validated for your project.

I was having trouble getting Select2 JS plugin validated with jquery validation and I found this fix for the issue.  Just make sure you add an ignore for hidden fields because Select2 JS adds the input as a hidden field. 

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, January 12 2021

How to Delete Image File on Laravel Storage?

Delete your Image stored in storage in Laravel

To delete image from storage on laravel in your controller make sure to include use Illuminate\Support\Facades\Storage; within your function use this code to delete the image Storage::delete($post->image);  

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Monday, January 4 2021

How to Create a Trashed Entry on Laravel

I was looking at the documentation for laravel as I am learning this framework. One cool thing I saw is how to modify the database for trashed elements. Here are the steps to get started

I was looking at the documentation for laravel as I am learning this framework. One cool thing I saw is how to modify the database for trashed elements. Here are the steps to get started First, we must run a command to create the migration table for

Continue reading
Abraham Garcia Abraham Garcia in PHP Scripts   Tuesday, December 29 2020

How to Create Shortcodes on WordPress Functions File

Create Easy Shortcodes for your WordPress Website. Modify your functions.php with the following snippet and get rolling.

This is a snippet you can use when creating your shortcodes for WordPress. It makes it easy for you to reuse any of your functions // Function to add subscribe text to posts and pages function subscribe_link_shortcode() { return 'If you

Continue reading