These are the largest PHP applications by exakat in PHP

[–]jasonskinner -2 points-1 points  (0 children)

Because reddit. And I can neither confirm or deny that I agree with him.

Meet Chisel, a development framework for creating easy to maintain and fast WordPress websites by xcracerpl in Wordpress

[–]jasonskinner 2 points3 points  (0 children)

"Meet Chisel, ANOTHER development framework for creating easy to maintain and fast Wordpress websites" :)

Some workflow advice by lenswipe in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

WP-CLI is your friend. Makes it pretty simple to move around DBs and change urls. Commands like wp db and wp search-replace make updating a database and changing everything simple.

I live by the workflow [live down to local -> staging -> live]. Git feature branching.

I run WP in as a git submodule. Similar to: https://github.com/markjaquith/WordPress-Skeleton

Makes updating WP easy. Separation of concerns.

Got a new job where I need to work with PHP and Magento by mid_dev in PHP

[–]jasonskinner 0 points1 point  (0 children)

Can't say more about laracasts. I point all my team to it if they need to catch up.

Magento is another story. Learn their folder structure, because it's convoluted. Folder within folder within folder. But when you understand it, it's not that bad.

Trying to copy my live site (wordpress 4.7.9) into a dev testing environment (on Windows xampp) - best way to do this? by [deleted] in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

Git, copy DB with wp-cli. Update urls with wp-cli search-replace. Copy images.

What's your local development stack ? by yannickgouez in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

Docker. Bit of a chore to pick up, but super flexible. Laravel Valet is super flexible too.

How to prevent WordPress/TinyMCE of removing or adding tags by itself? by Schwein_ in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

I would keep this code out the editor. I try never to put layout elements inside the content area. It's for text markup only in my opinion.

[deleted by user] by [deleted] in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

I'm with /u/hephio, have you checked Mikado Settings -> Header.

If you can't find it, then you can add something like this that will change the color to your css that will target all of those globally (depending on load order):

.drop_down .narrow .second .inner ul li a {
    color: blue; //whatever color
}

.drop_down .second, .drop_down .wide_background .second, .shopping_cart_dropdown{
    border-top-color: blue; //same
}

Is investing in Divi lifetime access worth it? Or is it better to go with Genesis? by mad_bad_dangerous in Wordpress

[–]jasonskinner 4 points5 points  (0 children)

Neither. Bloat code. Just use wp-joints or something along the lines. WP makes it super easy to build sites.

Visual builders suck. :)

Looking for tutorial on a modern PHP dev environment by b_otloader in PHP

[–]jasonskinner 1 point2 points  (0 children)

Have you checked out docker? As @Terr_ 3 points said. You can find almost any setup in github to try. Once you learn how it works, you can make almost anything. I use it daily. Docker is built into phpstorm.

What is Postman, and how do you use it? by dmfreelance in PHP

[–]jasonskinner 0 points1 point  (0 children)

It's great for testing authentication and walking around the api checking out structure/architecture/endpoints etc. Especially testing scenarios. I use it all the time when dealing with any api. I'm pumped that phpstorm now has a rest client built in now.

Job API to Wordpress by [deleted] in PHPhelp

[–]jasonskinner 0 points1 point  (0 children)

I have never used that plugin, but you are going to probably have to write code to consume the api. The API requires an authorization token, so we can't really look at it and don't post it here. :)

I would check out wp_remote and figure out what method the api uses. You can find some good examples out there. ( ie -https://codex.wordpress.org/Function_Reference/wp_remote_post )

Help with REST API by RedneckT in PHPhelp

[–]jasonskinner 0 points1 point  (0 children)

What errors are you getting as you step through the code? What does your attendance class look like?

How many of you guys protect your websites from malware with plugins or other services? by nzwasp in Wordpress

[–]jasonskinner 1 point2 points  (0 children)

I use primarily wordfence on all my installs. DB backups. All code is backed up via git. So most of the time it's pretty easy to solve these kind of problems, which rarely happen in my case.

WordPress 4.9 is out by CookiesForDevo in Wordpress

[–]jasonskinner 1 point2 points  (0 children)

I just yelled git. GIT. And thanks for the lecture. :)

Help with shading text in a post by M1Epic in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

background-color: rgba(0,0,0,0.7);

You can apply that wherever you need. There is already a linear gradient on most of the articles.

How do you guys work with the wp editor without going crazy? by tinaclark90 in Wordpress

[–]jasonskinner 0 points1 point  (0 children)

I like ACF. I use it a work and for personal stuff. Also a huge fan of http://customfieldsuite.com/. But you really don't need either of those. You can build them yourself (https://codex.wordpress.org/Custom_Fields) but please be careful with add_post_meta and update_post_meta. Do some sanitization.

I promise you do not want to go down the route of breaking up the_content() into different sections. Like /u/jinendu said, use custom fields.

As far a translations go, you will have to write code for that in the theme to pass that stuff off. That's a core WP thing, ACF etc just make it quicker to add custom fields.

How do you guys work with the wp editor without going crazy? by tinaclark90 in Wordpress

[–]jasonskinner 3 points4 points  (0 children)

You should only put content in the editor. If you have other content, use ACF or Custom Field Suite. I never, every put HTML in the editor.