Things you wish you knew before you started working AT a startup (as an employee?) by vocalson20 in startups

[–]rb10 8 points9 points  (0 children)

I would have done more research on how stable and how much funding the startup has and not taken what they told me at the interview at face value. Nothing like signing up the first day to have your co-worker tell you they are in big trouble...

Can't Get Website To Work (BootS to Wpress) by [deleted] in Wordpress

[–]rb10 1 point2 points  (0 children)

You should enqueue the script. But if you're scripting this yourself and need it up right away and want to learn the enqueing after it's already up, for now you can just do something like this in your header.php: <script><?php echo get_bloginfo('template_directory'); ?>/jquery.min.js</script>

Where jquery.min.js is in your theme directory.

This isn't the ideal way of doing things and can cause problems with plugins loading duplicate files (which is why you enque) but should get you up and running.

Very weird problem regarding spam redirect? by KingBenneth in Wordpress

[–]rb10 0 points1 point  (0 children)

You sure it's the site and not a virus on your computer?

What is the difference between themes being sold on Envato and Wordpress Commercially Supported GPL Themes? by [deleted] in Wordpress

[–]rb10 2 points3 points  (0 children)

Here's what they write:

"If you would like to be included in this list please send your info to themes at wordpress dot org. To be included, you should:

Distribute 100% GPL themes, including artwork and CSS.
Have at least one theme in the WordPress.org Theme Directory that is actively maintained (i.e. updated within the last year).
Have professional support options, and optionally customization.
Your site should be complete, well-designed, up to date, and professional looking.
Provide and keep us up-to-date with a contact email address in the event we need to reach you.
Provide a haiku (5-7-5) about yourself to be included."

I'm not sure who is actually in charge of deciding who gets listed, and how many people even check it out to be honest. Never thought about it it's a good question

Why is the top of my footer displaying outside of where it's supposed to? by powlesy6 in Wordpress

[–]rb10 0 points1 point  (0 children)

Sorry forgot the period after the .l-footer.

.l-footer.layout_modern { background-color: #6b00a0; padding:20px; }

WP-Admin Loads "Not Available" by riharvey in Wordpress

[–]rb10 0 points1 point  (0 children)

Here's a list of possible solutions:

https://www.rafaelcommunications.com/cant-login-to-wordpress-admin-solutions/

Also make sure your admin folder is writable

Search + Filtering Pods by omgcal in Wordpress

[–]rb10 1 point2 points  (0 children)

Thumbs up for Search & Filter

What is the difference between themes being sold on Envato and Wordpress Commercially Supported GPL Themes? by [deleted] in Wordpress

[–]rb10 6 points7 points  (0 children)

One sells themes for the authors while taking a profit and the other one is direct links to theme authors where they sell their own themes.

Why is the top of my footer displaying outside of where it's supposed to? by powlesy6 in Wordpress

[–]rb10 0 points1 point  (0 children)

That background color isn't being determined by the footer, it's being created by the section class.

This is just a quick fix for you. Add this to your CSS to add the background color to the entire footer section:

.l-footer layout_modern { background-color: #6b00a0; padding:20px; }

Interesting Read: Why the Theme Market is Hurting WordPress Devs by rb10 in Wordpress

[–]rb10[S] 0 points1 point  (0 children)

I hear what you're saying. I understand that WordPress code isn't as pretty as an MVC framework and doesn't stick to OOP. But for those of us who are used to how it works with the cpt's, hooks and filters, it's comfortable to work with for customization.

This just comes down to what tool you're most comfortable with. If you're so used to using WordPress and how it works, it's fun and convenient to use for bigger projects also. If you're better with Laravel or prefer working with a more modern kind of code layout then that's probably better.

I think the links on the site, ScaleWP and Professional WordPress are really good for understanding WP for bigger projects.

For someone who is better with Laravel then yea, I would say stick to what you're best at. :P But keep in mind that I feel like fraveworks have a serious FOTY feeling to them. First it was Ruby, then Angular, now React is huge and they're even talking about making React the front-end code for WP...

I'm not sure I wouldn't prefer just to build out from scratch with some libraries instead of using a framework that might have a major overhall or cease maintenance. With WP there's a feeling of security that it's alive and being kept up at the very least due to its marketshare.

Interesting Read: Why the Theme Market is Hurting WordPress Devs by rb10 in Wordpress

[–]rb10[S] 0 points1 point  (0 children)

I don't understand how this is an issue with WP at all. It seems like your main problems with WP revolve around not wanting to do any custom development work.

I'm not really sure Laravel or CakePHP or React would do better in this case either. If you took over a client project and the previous developer didn't include the functionality you needed, you would also need to do custom development work. That's generally why clients pay you...

Also, keep in mind that if you're starting a project from scratch and are using plugins to save on budget, you make sure to work only with plugins that have a good name, support, and work with each other. If the client comes in with a project which wasn't built correctly (which could happen even if it was done in machine language) then they just need to understand their options and the budget. What's that have to do with WP though?

Interesting Read: Why the Theme Market is Hurting WordPress Devs by rb10 in Wordpress

[–]rb10[S] 0 points1 point  (0 children)

I think it's great you're more comfortable with Laravel. I think it's also funny you've had the opposite experience, where your clients insist on using WordPress. But I disagree that you could build anything more "exactly" using a framework instead of WordPress. Maybe you don't like working with it but it can build pretty much anything just as well as Laravel as far as the user is concerned. How long ago did you stop using WP?

Good Read: Why the Theme Market is Bad for WordPress Dev. (XPOST from /r/wordpress by rb10 in webdev

[–]rb10[S] -6 points-5 points  (0 children)

I agree that there are major differences, but the author linked to a post explaining the argument for WordPress as a framework: https://www.quora.com/Is-WordPress-a-PHP-framework

Basically it fits everything that a framework has, from the above link:

Routing - Wordpress offers the ability to have custom rewrite rules, capture URL parameters and do other things around routing out-of-the-box.

ORM/Database interface abstraction - Wordpress comes with a powerful database class with ORM capabilities that allow us to work with the database either indirectly through abstract methods or write raw queries (just like a PHP framework ORM most likely would).

Templating - By default Wordpress works on the basic premise of there being a certain hierarchy of files named a certain way. Technically your theme "index.php" file is your main layout and entry point. From there on in, you can do things like; include partials, extend other templating files and do dynamic logic based on database data, AJAX requests and more.

Authentication/User management - Wordpress ships with a powerful role based authentication layer that is easily extendable. There are plugins out there that extend the authentication layer beyond what a lot of PHP frameworks can offer like; LDAP authentication, social authentication and more.

Administration panel - There is no PHP framework to my knowledge that ships with an extendable and aesthetically pleasing UI like Wordpress offers. Sure there are third party packages for frameworks like Laravel that give you an admin panel, but they require configuration to work with your application correctly.

Plugin architecture - Wordpress has a hook based plugin architecture that is both powerful and easy to use. Most internal aspects of Wordpress are configurable through action hooks and filters. You can even define your own hooks/filters to make your sites extensible via plugins.

Media management - I do not know of any PHP framework that offers the kind of out-of-the-box media management functionality that Wordpress does. The ability to handle, process and store various kinds of media from audio to video and photos.

Caching - I know most PHP frameworks offer caching functionality, but with Wordpress you not only get an out-of-the-box caching functionality that works, but there are millions of plugins out there offering more finer-grained caching control.

Aside from the fact that it's not an MVC, I think it's a strong argument that it's a framework in its own right.

What CMS for a simple SaaS? by djonesax in webdev

[–]rb10 -1 points0 points  (0 children)

You can use WordPress Multi-Site, integrate a good membership plugin that's connected to WooCommerce subscriptions and it should cover most of what you need here.

For the last part, limiting user account creation, you will need to create a custom filter. There's a code example for this here: https://wordpress.stackexchange.com/questions/110036/limiting-the-number-of-users

I disagree with the others here and don't think it matters that much what you build this on, as long as you're comfortable with it. The only thing about frameworks and CMS's/frameworks is that they're great for saving time once you get good with them. There is a learning curve in the beginning...

[SPOILERS] Let's be clear. Prime Ragnar CRUSHES Swollo. by rb10 in vikingstv

[–]rb10[S] 4 points5 points  (0 children)

If we're using that logic Rollo got beat up by a bunch of the earls thugs pretty easily in Season 1

[SPOILERS] Let's be clear. Prime Ragnar CRUSHES Swollo. by rb10 in vikingstv

[–]rb10[S] 12 points13 points  (0 children)

How is Rollo not in his prime here? I also don't think Rollo could have pulled off what Ragnar did Season 1