24 Best WordPress Themes for Crowdfunding

Are you looking for a WordPress theme for crowdfunding? Many WordPress themes are geared towards corporate or blogging websites and may not be a good fit to help you raise funds for your organization. In this article, we will share some of the best WordPress… Read More »

The post 24 Best WordPress Themes for Crowdfunding appeared first on WPBeginner.

Are you looking for a WordPress theme for crowdfunding? Many WordPress themes are geared towards corporate or blogging websites and may not be a good fit to help you raise funds for your organization. In this article, we will share some of the best WordPress themes for crowdfunding and fundraising websites.

Best WordPress themes for crowdfunding

Building a Crowdfunding Website With WordPress

Crowdfunding helps startups, charities, and individuals to raise money for their projects. It allows you to collect small contributions from individuals to reach your fundraising goals.

Many such projects use websites like Kickstarter to run their campaign. However, you will also need a website to better showcase your idea, mission, or cause.

This is where WordPress comes in. It is the world’s most popular content management system powering almost 27% of all websites on the internet. A self-hosted WordPress site gives you the flexibility and freedom to easily integrate with all popular third party services you may be using for crowdfunding.

To get started, you will need a WordPress hosting account and a domain name. This will be your website’s home on the web.

We recommend using Bluehost. They are one of the largest web hosting companies in the world and an officially recommended WordPress hosting provider.

Once you have signed up for hosting, you can move on to installing WordPress. Head over to our step by step guide on how to make a WordPress site, and you will be up and running in no time.

Next, you will need to choose a theme for your website. You can select any theme from our expert pick below. If you need help installing the theme, then check out our guide on how to install a WordPress theme.

Having said that, let’s take a look at some of the best WordPress themes for crowdfunding. This list contains both free and paid themes, and all of them are mobile responsive.

1. Aegaeus

Aegaeus

Aegaeus is a super-flexible WordPress multi-purpose theme that can be easily used to build engaging crowdfunding websites. It comes with a powerful admin panel and multiple layout choices. It also includes a ready to use landing page template.

It ships with two WordPress sliders and a live chat plugin. Inside you will also find templates for contact form page, portfolio, staff members, testimonials, and tons of customization options.

2. Atomic

Atomic

Atomic is a multipurpose WordPress theme perfect to build your crowdfunding website. It features a gorgeous homepage that helps you easily showcase your organization’s mission, projects, and people. With beautiful typography and gorgeous display of images, Atomic makes each page on your website highly engaging.

It offers a simpler theme setup with the help of WordPress live customizer. Inside you will also find a quick getting started guide to help you get up and running without struggling with too many options.

3. Creativo

Creativo

Creativo is a modern WordPress theme designed for any kind of business websites. It includes a customizable one page template which makes it an ideal choice for crowdfunding. It also ships with several readymade demos that you can install with 1-click and replace the content with your own.

Inside you will also find portfolio content type, 7 skins, 3 design layouts, multiple header layouts, and unlimited color choices. It is eCommerce ready can be used to add an online store to your project.

4. Monochrome

Monochrome

Monochrome is an ultra minimalist WordPress theme that is stylish and simple at the same time. It is built on the Genesis framework which provides it a rock solid foundation.

It features a widgetized homepage layout which helps you easily setup your website. It also includes customizable header, theme options panel, 4 widget areas, and full WooCommerce support.

5. Martho

Martho

Martho is a beautiful WordPress theme suitable for crowdfunding creative projects and artworks. It includes built-in portfolio content type and beautiful portfolio display on the homepage in a grid layout.

Despite its minimalist look, inside you will find plenty of customization options to make it uniquely yours. It has unlimited color choices, header styles, multiple layouts, and more. You will also get a premium drag and drop page builder plugin for free to create your own layouts.

6. Materialism

Materialism

Need a modern look for your crowdfunding website? Check out Materialism. It has two homepage layouts with several engagement triggers like call to action buttons, promo block, subscription, contact form, pricing tables, and more.

Inside you will also find multiple page templates, a blog page, social media integration, testimonials, and tons of customization options. Despite so many features, it is easy to setup and optimized for speed and performance.

7. Struct

Struct

Struct is another modern WordPress theme perfect for crowdfunding. Designed for businesses and startups, it features a drag and drop homepage layout with a large full screen header at the top.

It includes unlimited color choices, custom widgets, portfolio, photo galleries, projects, testimonials, faq section, and more. It also works with all popular page builder plugins so you can create your own page layouts if needed.

8. Nayma

Nayma

Nayma is a multi-purpose WordPress theme that can be easily used for crowdfunding projects. It uses modules as building blocks to create page layouts and has all the commonly used web elements available as modules. You can drag and drop them anywhere on your pages.

It also includes several readymade websites that you can use as an starting point. It has unlimited custom sidebars, sliders, icon fonts, Typekit font support, testimonials, pricing tables, contact form, and more.

9. Lune

Lune

Lune is a highly flexible WordPress landing page theme with built-in demos for startups, agencies, apps, and product landing pages. It comes with a 1-click demo installer that allows you to use any of the readymade landing pages on your site instantly.

It also includes 10 header and 7 footer styles, many drag and drop sections, photo galleries, sliders, custom widgets, and tons of other customization options. A page builder plugin is also included, so you can make custom page layouts.

10. Montblanc

Montblanc

Montblanc is another powerful WordPress theme with flexible customization options. It can be used as a one-page or multi-page theme and comes with built-in sections for your portfolio, team members, testimonials, clients, and galleries.

Montblanc also includes several layout choices, page templates, custom widgets, and social media integration. It is also eCommerce ready with full WooCommerce support. It can also be used with popular WordPress membership plugins.

11. Parallax Pro

Parallax Pro

Built for Genesis theme framework, Parallax Pro is an elegant WordPress theme suitable for crowdfunding, landing pages, and sales page websites. The homepage features a large fullscreen header with prominent call to action. It has a widgetized layout allowing you to setup homepage using drag and drop content widgets.

It uses beautiful parallax effects to create an engaging experience for your users. It is WooCommerce ready and comes with a simple theme options panel and live customizer support.

12. Propel

Propel

Propel is a multipurpose single page WordPress theme ideal for building a crowdfunding website. The homepage features beautiful parallax effects and animations to create a better user experience. It can also be used as a multi-page WordPress theme and has templates for blog, archives, and other pages.

It has a filterable portfolio section that uses Ajax and CSS animations. It also includes a custom Twitter widget, icon fonts, unlimited colors, and contact form.

13. Reach

Reach

Reach is a free WordPress theme for charities and non-profits to create crowdfunding websites. It features a simple layout designed to showcase your cause and encourage donations. It has simpler theme customization options which can all be accessed using live theme customizer. You can change header image, background colors, and add social media links.

14. Themify Ultra

Ultra

Due to its dynamic flexibility Ultra can be the perfect fit for your crowdfunding efforts. It ships with several readymade websites that can be installed with 1-click. You can then replace the content with your own to create instant websites.

It ships with an integrated drag and drop page builder which allows you to create beautiful page layouts of your own. Inside you will also find sections to add portfolio, photo galleries, testimonials, events, and more.

15. Inspiro

Inspiro

Inspiro is another great choice for a WordPress crowdfunding theme. It comes with built-in support to easily add self-hosted or YouTube videos as fullscreen background as a slideshow on top. It also includes a beautiful video lightbox popup for an engaging viewing experience.

Inspiro has a drag and drop homepage layout and offers integration with a free page builder plugin. Other notable features include page templates, portfolio section, hero banner, gallery templates, custom widgets, and full WooCommerce support.

16. Daylight

Daylight

Daylight is an ideal WordPress crowdfunding theme for tech startups, small businesses, and non-profits. It comes with two homepage layouts, 10 pages, multiple header styles, and widget ready areas. It can be used as a single page theme or a multi page WordPress site.

Inside you will also find a social media widget, portfolio, testimonials, contact form, Google Maps, and more. All theme options are easy to setup and 1-click demo content installer is also available for quick start.

17. Hope

Hope

Hope is a WordPress theme for charities and non-profits perfect for crowdfunding and fundraising activities. It has three slider layouts, 1-click demo content installer, and drag and drop page builder. It also has support for popular WordPress plugins for non-profits.

Other features include multiple color schemes, event management, multiple layouts, and social media integration. It can also be used to create multilingual WordPress sites with WPML.

18. Balance

Balance

Balance is a WordPress business theme designed to put your brand in the center. Perfect for a crowdfunding website, Balance comes with a modern and stylish homepage layout which allows you to feature your projects and boost your conversions and supporters.

It is eCommerce ready and has beautiful templates for shop and product pages. Other features include multiple blog styles, 6 color schemes with unlimited customizations, Instagram widget, custom fonts and logo.

19. Koehn

Koehn

Koehn is a multipurpose WordPress theme in the minimalist design tradition. It uses lots of empty space and has breezy layout which makes all your content appear more prominently. A simpler theme options panel makes set up process hassle free. The homepage can be setup by simply adding content widgets to create your page layout.

It also includes custom widgets for Twitter, Instagram, social media integration, and content discovery features.

20. Septera

Septera

Septera is a stylish and free WordPress theme for business websites. It is easy to setup and features beautiful typography, elegant design, and a simpler theme setup. It supports custom header, background, post formats, and has different page templates that you can use.

It is multilingual ready, with RTL language support, and the theme itself is translation ready.

21. Advent

Advent

Advent is a sleek WordPress theme for mobile apps or any other product website. Its homepage features prominent call to action buttons on top of a fullscreen background image. Followed by features, testimonials, pricing tables, and other content blocks which you can simply drag and drop to arrange your page layout.

It also includes magnifying glass feature for product images, sticky menu, social media integration, icon fonts, and custom widgets. It can be used on multilingual sites using WPML.

22. Indigo

Indigo

Indigo is a stunningly beautiful and very easy to use WordPress theme. It is designed to be a multipurpose theme allowing you to choose your own layouts and styles without writing any code. It includes several readymade websites that you can install with 1-click to import complete demo content.

If you don’t want to start with a readymade website, then you can just drag and drop modules to create your own layout. It features beautiful typography, stunning templates for galleries, portfolio, services, testimonials, and many more customization options.

23. Meteor

Meteor

Meteor is a WordPress portfolio and resume theme that can be easily repurposed to promote any crowdfunding project. It has masonry, grid, blocks, and carousel layouts for your portfolio page. Each portfolio item has its own template and you can add as much detail as you like.

It has a centered single post layout suitable for long form articles on your site. Other notable features include beautiful photo galleries, crisp typography, and a better user experience on mobile devices.

24. Saturn

Saturn

Saturn is a highly flexible WordPress theme for any kind of business. Saturn is ideal for any kind of crowdfunding project due to its engaging one-page layout. The homepage features parallax background with beautiful effects, filterable portfolio displayed in a masonry grid.

It ships with a slider plugin, 1-click demo installer, Google Maps, Google Fonts, icon fonts, and more. It can also be used as a multi-page theme and you can add a separate page for blog posts as well.

Crowdfunding With WordPress: Tips for Success

How you run your crowdfunding campaign in WordPress depends on what platform you are using to raise funds. We will show you a couple of them to help you get started.

Adding Your Kickstarter Project in WordPress

If you are using Kickstarter, then first you will need to visit your Kickstarter project page.

Kickstarter embed code

On your project page, click on the share button and then select the Embed option. This will bring up a popup with two different embed types. You need to copy the code for the embed type that you want to add.

Get Kickstarter widget code

Now you need to edit the post or page where you want to display your Kickstarter project. You can also add it to a text widget in your sidebar. Before adding the code, don’t forget to switch to the text editor mode.

Paste the embed code and then save your post, page, or widget. You can now visit your website to see it in action.

Kickstarter project widgets in WordPress

Accept Donations Using PayPal

If you are fundraising for a non-profit cause, then you can use PayPal to accept payments directly on your website. To create a beautiful donation form, see our step by step guide on how to create a donation form for nonprofit organization in WordPress.

Convert Website Visitors into Subscribers

Most people visiting your website will probably leave without supporting your project or donating to your cause even if they support it. The best way to keep those users engaged is to start building your email list right away.

You will need to sign up with an email marketing service and use a lead generation software like OptinMonster.

OptinMonster helps you convert abandoning visitors into subscribers. This allows you to keep those users engaged and eventually convert them into a customer.

That’s all for now. We hope this article helped you find the perfect theme for your crowdfunding project. You may also want to see our ultimate step by step WordPress SEO guide for beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post 24 Best WordPress Themes for Crowdfunding appeared first on WPBeginner.

WordPress.com vs WordPress.org – Which is Better? (Comparison Chart)

Did you know that WordPress.com and WordPress.org are actually two very different platforms? Often beginners confuse the two which leads them to choose the wrong platform. We’re often asked by our users which is the better platform: WordPress.com vs WordPress.org. To help answer that, we… Read More »

The post WordPress.com vs WordPress.org – Which is Better? (Comparison Chart) appeared first on WPBeginner.

Did you know that WordPress.com and WordPress.org are actually two very different platforms? Often beginners confuse the two which leads them to choose the wrong platform. We’re often asked by our users which is the better platform: WordPress.com vs WordPress.org. To help answer that, we have created the most comprehensive comparison of free WordPress.com vs WordPress.org (self-hosted version).

Our goal is highlight the key differences between WordPress.com vs WordPress.org, so you can choose the right platform for your needs.

Self hosted WordPress.org vs free WordPress.com

Since choosing the right platform is crucial for your online success, we have created the most complete comparison of WordPress.com vs WordPress.org ( text comparison, table-based comparison, and a full infographic).

If you just want to start a blog or make a website the RIGHT way, then you can skip this article and head over to our guides here:

Having said that, let’s take a look at the differences between self-hosted WordPress.org vs WordPress.com.

WordPress.com vs WordPress.org (Infographic)

Self Hosted WordPress.org vs Free WordPress.com

Note: This infographic and article compares the powerful self-hosted WordPress.org with the free WordPress.com hosting service. You can unlock additional features in WordPress.com by upgrading to their paid service. We have highlighted those features as well.

WordPress.com vs WordPress.org Comparison

The best way to understand the difference between WordPress.com vs WordPress.org is to take a look at each platform individually.

WordPress.org

WordPress.org aka “the real WordPress”, is the popular website platform that you have heard all the great things about.

It is open source and 100% free for anyone to use. All you need is a domain name and web hosting. This is why it is also referred to as self-hosted WordPress.

Below are the pros and cons of using the self-hosted WordPress.org to build your website or blog.

WordPress.org Benefits

With WordPress.org, you have full control of your website. You are free to do anything you want and customize it as much as you need. Here are some of the benefits of choosing WordPress.org to build your website, and the reason why it is the go-to choice.

  • It is free and super easy to use. (See why is WordPress free?)
  • You own your website and all its data. Your site will NOT be turned off because someone decides that it is against their terms of service (as long as you are not doing something illegal). You are in full control.
  • You can add free, paid, and custom WordPress plugins / apps to your website.
  • You can use customize your website design as needed. You can add any free or paid WordPress theme that you want. You can also create completely custom designs or modify anything that you want.
  • You can actually make money from your WordPress site by running your own ads without sharing revenue with anyone.
  • You can use powerful tools like Google Analytics for custom analytics and tracking.
  • You can use self-hosted WordPress to create an online store to sell digital or physical products, accept credit card payments, and deliver / ship the goods directly from your website.
  • You can also create membership sites and sell memberships for premium content, courses, etc and build an online community around your website.

WordPress.org Cons

There are a very few cons of using the self-hosted WordPress.org site.

  • Like all websites, you will need web hosting. This is where your website files are stored on the internet. Initially, the cost is around $3-$10 per month. However as your website grows and gets more traffic, the web hosting costs will increase as expected, but then you would be making enough money to cover the costs.
  • You are responsible for updates. You can easily update your WordPress site by simply clicking on the update button (1-click), so it’s not too much work.
  • You are responsible for backups. Thankfully, there are tons of WordPress backup plugins that let you setup automatic backups.

The real cost of WordPress.org website varies based on what you are trying to build (simple blog, portfolio website, eCommerce store, membership site, etc). There are also other factors like free templates vs premium templates, free plugins vs premium plugins, etc.

On a low budget, you can build your website for as little as $46 per year. See our guide on how much does it really cost to build a WordPress website for full details.

For 99% of users, our recommendation is always to use WordPress.org. See our guide on how to start a website.

WordPress.com

WordPress.com is a hosting service created by the co-founder of WordPress, Matt Mullenweg. Because of the same founder, often users confuse WordPress.com with the popular WordPress.org software.

The WordPress.com hosting service has 5 plans:

  • Free – Very limited.
  • Personal – $36 per year
  • Premium – $99 per year
  • Business – $299 per year
  • VIP – starting at $5000 per month

Let’s take a look at the pros and cons of WordPress.com.

WordPress.com Benefits

The free WordPress.com platform is a good choice for hobby bloggers and those starting a blog for their family. Here are some of the benefits of using WordPress.com:

  • It’s free for up to 3GB of space. After that you will have to switch to a paid plan for more space. (Personal plan $36 /year gives you 6GB, Premium plan $99/year gives you 13GB storage, or Business plan for $299/year for unlimited storage).
  • You will not have to worry about updates or backups. WordPress.com will take care of that.

WordPress.com Cons

There are several limitations of free WordPress.com which differentiate it from WordPress.org. Here are some of the disadvantages of using WordPress.com:

  • They place ads on all free websites. So your users will see ads, and you don’t make money from it. If you don’t want your users to see their ads, then you can upgrade to a paid plan (starting from $36 per year).
  • You are NOT allowed to sell ads on your website. If you run a high traffic site, then you can apply for their advertising program called WordAds where you share revenue with them. Premium and Business plan users can use WordAds right away.
  • You cannot upload plugins. Free plan users get built-in JetPack features pre-activated. Business plan users can install from a selection of compatible plugins ($299 / year). WordPress.com VIP program lets you install plugins, and it starts from $5000 per month.
  • You cannot upload custom themes. Free plan users can only install from the limited free themes collection. Premium and business plan users can also select premium themes. There are limited customization options for the free version. Premium and Business plan users can use custom CSS.
  • You are restricted to their stats. You cannot add Google Analytics or install any other powerful tracking platform. Business plan users can install Google Analytics.
  • They can delete your site at anytime if they think it violates their Terms of Service.
  • Your site will display a powered by WordPress.com link. It can be removed by upgrading to the Business plan.
  • WordPress.com does not offer any eCommerce features or integrated payment gateways.
  • You cannot build membership websites with WordPress.com.

As you can see, the WordPress.com hosting platform is quite limited when you’re on the free, personal, or even premium plan. To unlock some of the more advanced features, you have to be on the Business plan ($299 per year) or on the VIP plan ($5000 per month).

WordPress.com vs WordPress.org (FAQs)

Since this is a popular topic, and WPBeginner is the largest free WordPress resource site for beginners, we get tons of questions regarding WordPress.com vs WordPress.org.

We have done our best to answer the most frequently asked questions below:

WordPress.com vs WordPress.org – Which is Better?

If you are a personal blogger, and you don’t care about making money from your website, then go with the free WordPress.com.

If you are a business or a blogger that wants to make money from your site, then we recommend using the self-hosted WordPress.org. It gives you the freedom and flexibility to grow your website the way you want.

While you can get several advanced features with the WordPress.com Business plan ($299 / year for each website), you can make that money go much further on a self-hosted WordPress site which costs $46 per year.

In our expert opinion, WordPress.org is hands down the better platform. That’s the platform that every professional blogger, small business owner, and even big name brands likes Disney uses.

How do I start a WordPress.org Website?

To start a self-hosted WordPress website, you need a domain name and WordPress hosting.

A domain name is your website’s address on the internet such as google.com, wpbeginner.com, etc. Web hosting is where your website files are stored on the internet.

We recommend using Bluehost for hosting your website because they are one of the largest web hosting companies in the world. They’re also an official WordPress.org recommended hosting provider. Last but not least, they’re offering our users a free domain + 60% off on hosting.

For step by step instructions, you can checkout our free guide on how to make a website.

If you need help, WPBeginner team can even build your website for free. Learn more about how our free WordPress blog setup works.

Can I move from WordPress.com to WordPress.org?

Often new users who don’t know the difference between WordPress.com vs WordPress.org end up starting with the free WordPress.com service. Once they see the limitations of the platform, they want to switch to “the Real WordPress” aka WordPress.org.

Yes, you can definitely switch from WordPress.com to WordPress.org and fairly easily move all of your content.

We have created a step by step guide on how to move your blog from WordPress.com to WordPress.org, or you can take advantage of our free blog setup servie, and we will transfer your blog for free.

WordPress.com vs WordPress.org – Summary

The best way to think about the differences between WordPress.com vs WordPress.org is the analogy of renting a house vs. owning a house.

WordPress.com is similar to renting a house. You have limited power and control over what you can and cannot do.

WordPress.org is like owning a house. Where you have full control, no one can kick you out, and you can do anything that you want.

Below is the summary of everything we discussed above in our self-hosted WordPress.org vs WordPress.com comparison:

[table “2” not found /]

Final Thoughts

The confusion created by the similar domains: WordPress.com vs WordPress.org is quite unfortunate for beginners. There is a lot of history behind the decisions, and you can read more about that in our article how WordPress.com and WordPress.org are related.

Our hope is that you found this article helpful in understanding the differences between WordPress.org and WordPress.com.

We wish you all the best with your website and hope that you chose the right platform: WordPress.org.

If so, you may want to follow our guide on how to learn WordPress in 7 days or less.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post WordPress.com vs WordPress.org – Which is Better? (Comparison Chart) appeared first on WPBeginner.

Speed of dotnet run vs the speed of dotnet for published apps (plus self-contained .NET Core apps)

The .NET Core team really prides themselves on performance. However, it’s not immediately obvious (as with all systems) if you just do Hello World as a develop. Just today I was doing a Ruby on Rails app in Development Mode with mruby – but that’s not what you’d go to production with.

Let’s look at a great question I got today on Twitter.

@shanselman @davidfowl Is it normal for dotnet run on the latest .net core 2.0 preview 2 bits to take 4 seconds to run? pic.twitter.com/wvD2aqtfi0

— Jerome Terry (@jeromeleoterry) June 28, 2017

Dotnet Run – Builds and Runs Source Code in Development

That’s a great question. If you install .NET Core 2.0 Preview – this person is on a Mac, but you can use Linux or Windows as well – then do just this:

$ dotnet new console
$ dotnet run

It’ll be about 3-4 seconds. dotnet is the SDK and dotnet run will build and run your source code. Here’s a short bit from the docs:

The dotnet run command provides a convenient option to run your application from the source code with one command. It’s useful for fast iterative development from the command line. The command depends on the dotnet build command to build the code. Any requirements for the build, such as that the project must be restored first, apply to dotnet run as well.

While this is super convenient, it’s not totally obvious that dotnet run isn’t something you’d go to production with (especially Hello World Production, which is quite demanding! 😉 ).

Dotnet Publish then Dotnet YOUR.DLL for Production

Instead, do a dotnet publish, note the compiled DLL created, then run “dotnet tst.dll.”

For example:

C:\Users\scott\Desktop\tst> dotnet publish
Microsoft (R) Build Engine version 15.3 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\tst.dll
tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\publish\
C:\Users\scott\Desktop\tst> dotnet run .\bin\Debug\netcoreapp2.0\tst.dll
Hello World!

On my machine, dotnet run is 2.7s, but dotnet tst.dll is 0.04s.

.NET Core is fast

Dotnet publish –self-contained

I could then publish a complete self-contained app – I’m using Windows, so I’ll publish for Windows but you could even build on a Windows machine but target a Mac runtime, etc and that will make a \publish folder.

C:\Users\scott\Desktop\tst> dotnet publish  --self-contained -r win10-x64
Microsoft (R) Build Engine version 15.3 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\win10-x64\tst.dll
tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\win10-x64\publish\
C:\Users\scott\Desktop\tst> .\bin\Debug\netcoreapp2.0\win10-x64\publish\tst.exe
Hello World!

Note in this case I have a “Self-Contained” app, so all of .NET Core is in that folder and below. Here I run tst.exe, not dotnet.exe because now I’m an end-user.

The results of a published .NET Core App

I hope this helps clear things up.


Sponsor: Check out JetBrains Rider: a new cross-platform .NET IDE. Edit, refactor, test, build and debug ASP.NET, .NET Framework, .NET Core, or Unity applications. Learn more and get access to early builds!


© 2017 Scott Hanselman. All rights reserved.
     

The .NET Core team really prides themselves on performance. However, it's not immediately obvious (as with all systems) if you just do Hello World as a develop. Just today I was doing a Ruby on Rails app in Development Mode with mruby - but that's not what you'd go to production with.

Let's look at a great question I got today on Twitter.

Dotnet Run - Builds and Runs Source Code in Development

That's a great question. If you install .NET Core 2.0 Preview - this person is on a Mac, but you can use Linux or Windows as well - then do just this:

$ dotnet new console

$ dotnet run

It'll be about 3-4 seconds. dotnet is the SDK and dotnet run will build and run your source code. Here's a short bit from the docs:

The dotnet run command provides a convenient option to run your application from the source code with one command. It's useful for fast iterative development from the command line. The command depends on the dotnet build command to build the code. Any requirements for the build, such as that the project must be restored first, apply to dotnet run as well.

While this is super convenient, it's not totally obvious that dotnet run isn't something you'd go to production with (especially Hello World Production, which is quite demanding! ;) ).

Dotnet Publish then Dotnet YOUR.DLL for Production

Instead, do a dotnet publish, note the compiled DLL created, then run "dotnet tst.dll."

For example:

C:\Users\scott\Desktop\tst> dotnet publish

Microsoft (R) Build Engine version 15.3 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\tst.dll
tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\publish\
C:\Users\scott\Desktop\tst> dotnet run .\bin\Debug\netcoreapp2.0\tst.dll
Hello World!

On my machine, dotnet run is 2.7s, but dotnet tst.dll is 0.04s.

.NET Core is fast

Dotnet publish --self-contained

I could then publish a complete self-contained app - I'm using Windows, so I'll publish for Windows but you could even build on a Windows machine but target a Mac runtime, etc and that will make a \publish folder.

C:\Users\scott\Desktop\tst> dotnet publish  --self-contained -r win10-x64

Microsoft (R) Build Engine version 15.3 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\win10-x64\tst.dll
tst -> C:\Users\scott\Desktop\tst\bin\Debug\netcoreapp2.0\win10-x64\publish\
C:\Users\scott\Desktop\tst> .\bin\Debug\netcoreapp2.0\win10-x64\publish\tst.exe
Hello World!

Note in this case I have a "Self-Contained" app, so all of .NET Core is in that folder and below. Here I run tst.exe, not dotnet.exe because now I'm an end-user.

The results of a published .NET Core App

I hope this helps clear things up.


Sponsor: Check out JetBrains Rider: a new cross-platform .NET IDE. Edit, refactor, test, build and debug ASP.NET, .NET Framework, .NET Core, or Unity applications. Learn more and get access to early builds!



© 2017 Scott Hanselman. All rights reserved.
     

Will Inactive Plugins Slow Down WordPress? Should You Delete Inactive Plugins?

Recently, one of our readers asked us about deactivated plugins slowing down WordPress and whether they should delete inactive plugins. Many WordPress users often install plugins for testing and then deactivate them. In this article, we will answer do deactivated plugins slow down WordPress and… Read More »

The post Will Inactive Plugins Slow Down WordPress? Should You Delete Inactive Plugins? appeared first on WPBeginner.

Recently, one of our readers asked us about deactivated plugins slowing down WordPress and whether they should delete inactive plugins. Many WordPress users often install plugins for testing and then deactivate them. In this article, we will answer do deactivated plugins slow down WordPress and whether its safe to delete inactive plugins?

Do deactivated plugins slow down WordPress? Should you delete inactive plugins?

What are Deactivated or Inactive Plugins in WordPress?

The best thing about WordPress is that you can extend it by using WordPress plugins. When you install a WordPress plugin, WordPress downloads the plugin file to your web hosting server.

In order to start using a plugin, you will need to activate it.

Activate a WordPress plugin

You can install plugins and activate them later. You can also deactivate a plugin that you tried but didn’t find useful. You can see all your installed plugins (both active and inactive) on the plugins page in WordPress admin area.

Installed plugins

Active plugins are highlighted in blue and inactive plugins show a delete link below them.

Do Inactive Plugins Slowdown WordPress?

No, inactive or deactivated plugins do not slow down WordPress. To understand that, let’s see how WordPress works behind the scenes.

Each time a user requests a page from your WordPress site, WordPress starts a loading process. During this process, it only loads active plugins installed on your website. All inactive plugins are totally ignored and are not loaded or even looked at.

Even if you have dozens of inactive plugins installed on your website, it would not affect the performance of your site or make it slow.

The only place where WordPress looks for the inactive plugins on your site is the ‘Plugins’ page itself. Even then, it only looks for plugin’s header file and does not load the plugins themselves.

If your WordPress site is slow, then inactive plugins are definitely not the reason. You may want to check out our ultimate step by step guide to speed up WordPress and boost performance.

Should I Delete Inactive Plugins in WordPress?

The reason why WordPress allows you to deactivate plugins instead of directly deleting them is because sometimes you may just want to switch off a plugin temporarily.

If you plan to use that plugin soon, and you fear that deleting the plugin will delete its settings, then you should keep it.

Otherwise, there is really no point in keeping the inactive plugins installed on your website. In fact, they can be quite problematic at times.

For example, whether or not you are using that plugin, WordPress will still show you updates for those plugins. This can be a bit annoying particularly if you have many regularly updated plugins installed on your site.

Inactive plugins can be harmless, but they are still executable files. In case of an hacking attempt, these files can get infected or can be used to install malware on your site. As a WordPress security precaution, you should delete any inactive plugins that you do not intend to use.

We hope this article helped answer your questions about deactivated WordPress plugins and deleting inactive plugins. You may also want to see our list of essential WordPress plugins that you should install on your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Will Inactive Plugins Slow Down WordPress? Should You Delete Inactive Plugins? appeared first on WPBeginner.

Will Inactive Plugins Slow Down WordPress? Should You Delete Inactive Plugins?

Recently, one of our readers asked us about deactivated plugins slowing down WordPress and whether they should delete inactive plugins. Many WordPress users often install plugins for testing and then deactivate them. In this article, we will answer do deactivated plugins slow down WordPress and… Read More »

The post Will Inactive Plugins Slow Down WordPress? Should You Delete Inactive Plugins? appeared first on WPBeginner.

Recently, one of our readers asked us about deactivated plugins slowing down WordPress and whether they should delete inactive plugins. Many WordPress users often install plugins for testing and then deactivate them. In this article, we will answer do deactivated plugins slow down WordPress and whether its safe to delete inactive plugins?

Do deactivated plugins slow down WordPress? Should you delete inactive plugins?

What are Deactivated or Inactive Plugins in WordPress?

The best thing about WordPress is that you can extend it by using WordPress plugins. When you install a WordPress plugin, WordPress downloads the plugin file to your web hosting server.

In order to start using a plugin, you will need to activate it.

Activate a WordPress plugin

You can install plugins and activate them later. You can also deactivate a plugin that you tried but didn’t find useful. You can see all your installed plugins (both active and inactive) on the plugins page in WordPress admin area.

Installed plugins

Active plugins are highlighted in blue and inactive plugins show a delete link below them.

Do Inactive Plugins Slowdown WordPress?

No, inactive or deactivated plugins do not slow down WordPress. To understand that, let’s see how WordPress works behind the scenes.

Each time a user requests a page from your WordPress site, WordPress starts a loading process. During this process, it only loads active plugins installed on your website. All inactive plugins are totally ignored and are not loaded or even looked at.

Even if you have dozens of inactive plugins installed on your website, it would not affect the performance of your site or make it slow.

The only place where WordPress looks for the inactive plugins on your site is the ‘Plugins’ page itself. Even then, it only looks for plugin’s header file and does not load the plugins themselves.

If your WordPress site is slow, then inactive plugins are definitely not the reason. You may want to check out our ultimate step by step guide to speed up WordPress and boost performance.

Should I Delete Inactive Plugins in WordPress?

The reason why WordPress allows you to deactivate plugins instead of directly deleting them is because sometimes you may just want to switch off a plugin temporarily.

If you plan to use that plugin soon, and you fear that deleting the plugin will delete its settings, then you should keep it.

Otherwise, there is really no point in keeping the inactive plugins installed on your website. In fact, they can be quite problematic at times.

For example, whether or not you are using that plugin, WordPress will still show you updates for those plugins. This can be a bit annoying particularly if you have many regularly updated plugins installed on your site.

Inactive plugins can be harmless, but they are still executable files. In case of an hacking attempt, these files can get infected or can be used to install malware on your site. As a WordPress security precaution, you should delete any inactive plugins that you do not intend to use.

We hope this article helped answer your questions about deactivated WordPress plugins and deleting inactive plugins. You may also want to see our list of essential WordPress plugins that you should install on your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post Will Inactive Plugins Slow Down WordPress? Should You Delete Inactive Plugins? appeared first on WPBeginner.

How to Use Social Media to Boost Email Subscribers in WordPress

Do you want to use social media to increase your email subscribers? If you’re not taking advantage of your social media following to build your email list, then you’re missing out on a huge opportunity. In this article, we’ll discuss why email and social media… Read More »

The post How to Use Social Media to Boost Email Subscribers in WordPress appeared first on WPBeginner.

Do you want to use social media to increase your email subscribers? If you’re not taking advantage of your social media following to build your email list, then you’re missing out on a huge opportunity. In this article, we’ll discuss why email and social media integration is so important for every business, and show you how to use social media to boost email subscribers in WordPress.

Using social media to increase email subscribers

Email Marketing vs. Social Media – Which Is Better?

One of the most common questions we get asked from new business owners is which is better when it comes to email marketing vs social media?

Social media platforms offer a great opportunity to interact with your users and keep them engaged. However, nothing beats email marketing when it comes to engagement.

First, email marketing is very cost effective. For every $1 spent, email marketing generates $38 in return. On the other hand, less than half of marketers agree that social media gives them any return on investment at all.

Social platforms like Facebook tightly control your reach to your own followers. Only about 2% of your Facebook fans will see your updates. Even your tweets are visible to the user for a very short time before it gets pushed down by other tweets. Social media platforms also retain the right to block your account at any time, for any reason.

Even if social media marketing is working well for you now, that’s not guaranteed to last. Social media websites come and go (no one uses Friendster, MySpace, or Digg anymore). When they disappear, all the hard work you put into building a following is gone too.

Email gives you direct access to your subscribers. Most importantly, you own your email list and no one can take away your users.

We’re not saying that you shouldn’t use social media to promote your website. However, your focus should be more on building an email list for higher ROI and long term marketing goals.

Many successful website owners will tell you that not starting an email list was the biggest mistake they made when starting out. See our article on why building your email list is so important today for more on this topic.

Convinced about the importance of your email list? Let’s see how you can leverage your social media profiles to get even more email subscribers.

What Do You Need to Start Building Your Email List?

There are three things you will need to start building your email list.

  • A website or blog
  • An email marketing service
  • Lead generation software

All three of them are quite easy to set up without learning any technical skills.

If you don’t have a website or blog yet, then see our step by step guide on how to start a blog.

You will also need an email marketing service. It helps you collect email addresses, manage your email lists, and send out emails. Most importantly, using an email marketing service will help you to stay compliant with email spam laws, and ensure that your emails don’t end up in the spam folder.

We recommend using Constant Contact. It is one of the largest and most popular email marketing services in the world. For more recommendations, see our list of the best email marketing services for small business.

Lastly, you will need a lead generation software like OptinMonster. It’s the most effective way to convert website visitors and social media followers into email subscribers. See our case study of how we increased our email subscribers by 600% with OptinMonster.

Once you’ve got your website, email newsletter, and lead generation software set up, you can get started with these email and social media integration techniques.

1. Collect Email Addresses From Your Facebook Page

If you have a successful Facebook page, you may have a lot of fans who have never visited your website before. An easy way to convert those fans into subscribers is by adding a prominent link right to an email signup form.

Luckily, Facebook has made this easy by introducing call to action buttons for business pages. These buttons are prominently displayed on top of your cover image and are visible without scrolling.

Call to action button on a Facebook business page

To add a signup button to your Facebook page, you’ll need to visit your Facebook page and click the blue Add a button button.

Adding a call to action button

This will bring up a popup with multiple choices. You need to click on the Get in touch with us tab and then select Sign up.

Next, you need to provide a link to your website where users will be taken when they click signup.

Add a link to your sign up page

The link should be to a page on your website that features an email signup form. Don’t forget to click on add button to save your changes.

That’s all! Visitors to your Facebook page will now see a prominent call to action button leading them to sign up for your email list.

2. Use Facebook Retargeting/Remarketing Pixel

Facebook retargeting pixel

Have you noticed that after you visit a website, you often start seeing their ads on Facebook?

This is called retargeting or remarketing. Those websites use Facebook’s retargeting technology, commonly known as Facebook Pixel.

The retargeting pixel does not add anything visible to your website visitors. It simply sends a browser cookie to your visitors, so that Facebook can recognize them.

After your website visitors leave your site and go on Facebook, they’ll see your ads targeted just to them.

Follow our step by step guide on how to install Facebook retargeting/remarketing pixel in WordPress. Then, check out these tips for optimizing your Facebook ads for conversions.

3. Use Facebook Ads to Promote Pages with Special Offers

Often people are hesitant to give out their email addresses, but become much more willing to share when you offer them something of value in exchange.

These special offers in exchange for email addresses are also called lead magnets. Common lead magnets include e-books, cheat sheets, templates, reports, coupons, and more. The more targeted your offer is towards a specific audience, the more email addresses you’ll get.

You can create a landing page or blog post on your website that features your lead magnet, and use an OptinMonster campaign to capture email addresses. Here’s a guide on how to create your first OptinMonster campaign to build your email list.

Then, create an ad on Facebook for your free special offer that links to your landing page. This technique is even more powerful when combined with Facebook retargeting, because you’re advertising to people who have already displayed an interest in what you have to offer.

4. Add Links to Your Signup Pages in YouTube Videos

Add links to your website in YouTube videos
Do you run a YouTube channel? You can stay in touch with your viewers by adding calls to action and URLs right in your videos.

Again, it’s smart to offer an incentive for users to click on the links. Many online marketers do that by offering bonus content, learning material, coupons, and special discounts.

You can easily add a link to your video by going to your Video Manager, then clicking on Edit » Cards » Add card. Then you can add a link to your website.

Once the user lands on your website, you can use a landing page with an OptinMonster campaign to show them targeted offers. OptinMonster’s referral detection feature makes it easy to target your campaign so that only your YouTube fans will see it.

5. Run Twitter Ad Campaign

Twitter Ads

Twitter Ads is another social platform that you can use to boost your lead generation efforts.

In fact, Twitter even allows you to run lead generation campaigns directly in the user’s Tweet stream. This way users can sign up for your email list without even leaving Twitter.

You can also use Twitter Ads to drive traffic to your website landing page.

6. Promote Old Posts With Targeted Optins

Promote old posts

If you have been blogging for a while, then you already have plenty of content that your new followers may not have seen.

Sharing old posts allows you a chance to share more content with your users on social media platforms. This boosts user engagement on your social profiles, at the same time it brings more traffic to your website.

You can use the Revive Old Post plugin to automatically share your old posts on social media websites. For detailed instructions see our guide on how to automatically share your old WordPress posts.

Then, you can use targeted optins that only display to visitors who click on those older posts. You can use content upgrades, special offers, free downloads, etc.

7. Use Pinterest Boards for Lead Generation

Using Pinterest to increase email subscribers

Pinterest is another powerful social media platform that you can utilize to boost email subscriptions. Similar to Facebook and Twitter, you can offer your Pinterest followers content upgrades, coupons, and discounts.

You can also offer free downloads like ebooks, PDFs, audio or video content, and display a welcome gate to entice visitors to subscribe as soon as they visit your site.

9. Ask Influencers to Share Links to Your Special Offers

Don’t just keep your special offers limited to your own social profiles. Ask your friends, family, and followers to share your special offers.

You can also reach out to influential users that you are connected with and ask if they can help you spread the word. People love to help out, but they will not be able to do that if you don’t ask them.

Your offer becomes more valuable when it is recommended by influencers. It makes users feel that they can trust you with their information.

That’s all for now. We hope this article helped you learn how to use social media to increase email subscribers in WordPress. You may also want to see our list of the best social media plugins for WordPress, and check out this beginner’s guide on how to build an email list in WordPress for more tips.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Use Social Media to Boost Email Subscribers in WordPress appeared first on WPBeginner.

How to Reset a WordPress Password from phpMyAdmin

Do you want to reset your WordPress password using phpMyAdmin? If you are unable to reset your WordPress password, then there is a way to reset it directly in your WordPress database using phpMyAdmin. In this article, we will show you how to easily reset… Read More »

The post How to Reset a WordPress Password from phpMyAdmin appeared first on WPBeginner.

Do you want to reset your WordPress password using phpMyAdmin? If you are unable to reset your WordPress password, then there is a way to reset it directly in your WordPress database using phpMyAdmin. In this article, we will show you how to easily reset a WordPress password from phpMyAdmin.

Reset your WordPress password from phpMyAdmin

Why Reset WordPress Password from phpMyAdmin

WordPress makes it super easy to reset your password. You can simply go to the login screen and click on the ‘Lost your password’ link.

Recovering lost password in WordPress

Clicking on it takes you to password reset page where you can enter your username or email address to reset the password. After that WordPress sends a password reset link to the email address associated with that user account. For more details see our guide on how to recover a lost password in WordPress.

However, if you don’t have access to the email address, or your WordPress site fails to send an email, then you will not be able to reset your password.

In such a situation, you will need to reset your WordPress password directly in the database. The easiest way to do that is by using phpMyAdmin.

Having said that, let’s see how you can easily reset a WordPress password from phpMyAdmin.

How to WordPress Password From PhpMyAdmin

If you don’t want to watch the video tutorial, then you can continue reading the text version below:

First you need to login to the cPanel dashboard of your WordPress hosting account. Next, you need to click on the phpMyAdmin icon under the database section.

phpMyAdmin in cPanel

This will launch the phpMyAdmin app where you need to select your WordPress database.

Select your WordPress database

You will now see the list of tables in your WordPress database. Now you need to look for the ‘{table-prefix}_users’ table in this list and click on the ‘Browse’ link next to it.

Browse users table in phpMyAdmin

Note: Table names in your WordPress database may have a different table prefix than the one we are showing in our screenshot.

You will now see the rows in your WordPress users table. Go ahead and click on the edit button next to the username where you want to change the password.

Editing user in phpMyAdmin

PhpMyAdmin will show you a form with all the user information fields.

You will need to delete the value in the user_pass field and replace it with your new password. Under the function column, select MD5 from the drop down menu and click on the Go button.

Change your password

Your password will be encrypted using the MD5 hash and then it will be stored in the database.

Congratulations! You have successfully changed your WordPress password using phpMyAdmin.

Now some of you may be wondering why did we select the MD5 hash to encrypt the password.

In the older version, WordPress used MD5 hash to encrypt passwords. Since WordPress 2.5, it started using stronger encryption technologies. However, WordPress still recognizes MD5 to provide backward compatibility.

As soon as you login using a password string stored as a MD5 hash, WordPress recognizes it and changes it using the newer encryption algorithms.

We hope this article helped you learn how to reset a WordPress password from phpMyAdmin. You may also want to see our ultimate step by step WordPress security guide to keep your WordPress site safe.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Reset a WordPress Password from phpMyAdmin appeared first on WPBeginner.

Exploring CQRS within the Brighter .NET open source project

The logo for the "Brighter" Open Source project is a little cannon. Fire and Forget?There’s a ton of cool new .NET Core open source projects lately, and I’ve very much enjoyed exploring this rapidly growing space. Today at lunch I was checking out a project called “Brighter.” It’s actually been around in the .NET space for many years and is in the process of moving to .NET Core for greater portability and performance.

Brighter is a “.NET Command Dispatcher, with Command Processor features for QoS (like Timeout, Retry, and Circuit Breaker), and support for Task Queues”

Whoa, that’s a lot of cool and fancy words. What’s it mean? The Brighter project is up on GitHub incudes a bunch of libraries and examples that you can pull in to support CQRS architectural styles in .NET. CQRS stands for Command Query Responsibility Segregation. As Martin Fowler says, “At its heart is the notion that you can use a different model to update information than the model you use to read information.” The Query Model reads and the Command Model updates/validates. Greg Young gives the first example of CQRS here. If you are a visual learner, there’s a video from late 2015 where Ian Cooper explains a lot of this a the London .NET User Group or an interview with Ian Cooper on Channel 9.

Brighter also supports “Distributed Task Queues” which you can use to improve performance when you’re using a query or integrating with microservices.

When building distributed systems, Hello World is NOT the use case. BUT, it is a valid example in that it strips aside any business logic and shows you the basic structure and concepts.

Let’s say there’s a command you want to send. The GreetingCommand. A command can be any write or “do this” type command.

internal class GreetingCommand : Command
{
public GreetingCommand(string name)
:base(new Guid())
{
Name = name;
}

public string Name { get; private set; }
}

Now let’s say that something else will “handle” these commands. This is the DoIt() method. No where do we call Handle() ourselves. Similar to dependency injection, we won’t be in the business of calling Handle() ourselves; the underlying framework will abstract that away.

internal class GreetingCommandHandler : RequestHandler<GreetingCommand>
{
[RequestLogging(step: 1, timing: HandlerTiming.Before)]
public override GreetingCommand Handle(GreetingCommand command)
{
Console.WriteLine("Hello {0}", command.Name);
return base.Handle(command);
}
}

We then register a factory that takes types and returns handlers. In a real system you’d use IoC (Inversion of Control) dependency injection for this mapping as well.

Our Main() has a registry that we pass into a larger pipeline where we can set policy for processing commands. This pattern may feel familiar with “Builders” and “Handlers.”

private static void Main(string[] args)
{
var registry = new SubscriberRegistry();
registry.Register<GreetingCommand, GreetingCommandHandler>();


var builder = CommandProcessorBuilder.With()
.Handlers(new HandlerConfiguration(
subscriberRegistry: registry,
handlerFactory: new SimpleHandlerFactory()
))
.DefaultPolicy()
.NoTaskQueues()
.RequestContextFactory(new InMemoryRequestContextFactory());

var commandProcessor = builder.Build();

...
}

Once we have a commandProcessor, we can Send commands to it easier and the work will get done. Again, how you ultimately make the commands is up to you.

commandProcessor.Send(new GreetingCommand("HanselCQRS"));

Methods within RequestHandlers can also have other behaviors associated with them, as in the case of “[RequestLogging] on the Handle() method above. You can add other stuff like Validation, Retries, or Circuit Breakers. The idea is that Brighter offers a pipeline of handlers that can all operate on a Command. The Celery Project is a similar project except written in Python. The Brighter project has stated they have lofty goals, intending to one day handle fault tolerance like Netflix’s Hystrix project.

One of the nicest aspects to Brighter is that it’s prescriptive but not heavy-handed. They say:

Brighter is intended to be a library not a framework, so it is consciously lightweight and divided into packages that allow you to consume only those facilities that you need in your project.

Moving beyond Hello World, there are more fleshed out examples like a TaskList with a UI, back end Http API, a Mailer service, and core library.

Be sure to explore Brighter’s excellent documentation and examples, but be aware, this is a project under active development. Perhaps if you’re new to OSS, if you find a broken link or two or a misspelling, you can do Your First Pull Request with a small fix?

Do be aware, again, that CQRS is not for every project. It’s non-trivial and it’s a “mental leap” as Martin Fowler puts it. If you buy in, you’re adding complexity…for a reason. Keep your eyes open and do your research. It’s a great pattern if you have a high performance/volume application that struggles with write concurrency or a flaky backend.

In fact there are quite a few mature CQRS libraries in the .NET open source space. I’ll explore a few – which are your favorites?


Sponsor: Seq is simple centralized logging, on your infrastructure, with great support for ASP.NET Core and Serilog. Version 4 adds integrated dashboards and alerts – check it out!


© 2017 Scott Hanselman. All rights reserved.
     

The logo for the "Brighter" Open Source project is a little cannon. Fire and Forget?There's a ton of cool new .NET Core open source projects lately, and I've very much enjoyed exploring this rapidly growing space. Today at lunch I was checking out a project called "Brighter." It's actually been around in the .NET space for many years and is in the process of moving to .NET Core for greater portability and performance.

Brighter is a ".NET Command Dispatcher, with Command Processor features for QoS (like Timeout, Retry, and Circuit Breaker), and support for Task Queues"

Whoa, that's a lot of cool and fancy words. What's it mean? The Brighter project is up on GitHub incudes a bunch of libraries and examples that you can pull in to support CQRS architectural styles in .NET. CQRS stands for Command Query Responsibility Segregation. As Martin Fowler says, "At its heart is the notion that you can use a different model to update information than the model you use to read information." The Query Model reads and the Command Model updates/validates. Greg Young gives the first example of CQRS here. If you are a visual learner, there's a video from late 2015 where Ian Cooper explains a lot of this a the London .NET User Group or an interview with Ian Cooper on Channel 9.

Brighter also supports "Distributed Task Queues" which you can use to improve performance when you're using a query or integrating with microservices.

When building distributed systems, Hello World is NOT the use case. BUT, it is a valid example in that it strips aside any business logic and shows you the basic structure and concepts.

Let's say there's a command you want to send. The GreetingCommand. A command can be any write or "do this" type command.

internal class GreetingCommand : Command

{
public GreetingCommand(string name)
:base(new Guid())
{
Name = name;
}

public string Name { get; private set; }
}

Now let's say that something else will "handle" these commands. This is the DoIt() method. No where do we call Handle() ourselves. Similar to dependency injection, we won't be in the business of calling Handle() ourselves; the underlying framework will abstract that away.

internal class GreetingCommandHandler : RequestHandler<GreetingCommand>

{
[RequestLogging(step: 1, timing: HandlerTiming.Before)]
public override GreetingCommand Handle(GreetingCommand command)
{
Console.WriteLine("Hello {0}", command.Name);
return base.Handle(command);
}
}

We then register a factory that takes types and returns handlers. In a real system you'd use IoC (Inversion of Control) dependency injection for this mapping as well.

Our Main() has a registry that we pass into a larger pipeline where we can set policy for processing commands. This pattern may feel familiar with "Builders" and "Handlers."

private static void Main(string[] args)

{
var registry = new SubscriberRegistry();
registry.Register<GreetingCommand, GreetingCommandHandler>();


var builder = CommandProcessorBuilder.With()
.Handlers(new HandlerConfiguration(
subscriberRegistry: registry,
handlerFactory: new SimpleHandlerFactory()
))
.DefaultPolicy()
.NoTaskQueues()
.RequestContextFactory(new InMemoryRequestContextFactory());

var commandProcessor = builder.Build();

...
}

Once we have a commandProcessor, we can Send commands to it easier and the work will get done. Again, how you ultimately make the commands is up to you.

commandProcessor.Send(new GreetingCommand("HanselCQRS"));

Methods within RequestHandlers can also have other behaviors associated with them, as in the case of "[RequestLogging] on the Handle() method above. You can add other stuff like Validation, Retries, or Circuit Breakers. The idea is that Brighter offers a pipeline of handlers that can all operate on a Command. The Celery Project is a similar project except written in Python. The Brighter project has stated they have lofty goals, intending to one day handle fault tolerance like Netflix's Hystrix project.

One of the nicest aspects to Brighter is that it's prescriptive but not heavy-handed. They say:

Brighter is intended to be a library not a framework, so it is consciously lightweight and divided into packages that allow you to consume only those facilities that you need in your project.

Moving beyond Hello World, there are more fleshed out examples like a TaskList with a UI, back end Http API, a Mailer service, and core library.

Be sure to explore Brighter's excellent documentation and examples, but be aware, this is a project under active development. Perhaps if you're new to OSS, if you find a broken link or two or a misspelling, you can do Your First Pull Request with a small fix?

Do be aware, again, that CQRS is not for every project. It's non-trivial and it's a "mental leap" as Martin Fowler puts it. If you buy in, you're adding complexity...for a reason. Keep your eyes open and do your research. It's a great pattern if you have a high performance/volume application that struggles with write concurrency or a flaky backend.

In fact there are quite a few mature CQRS libraries in the .NET open source space. I'll explore a few - which are your favorites?


Sponsor: Seq is simple centralized logging, on your infrastructure, with great support for ASP.NET Core and Serilog. Version 4 adds integrated dashboards and alerts - check it out!



© 2017 Scott Hanselman. All rights reserved.
     

29 Best WordPress Themes for Artists (2017)

Are you looking for the best WordPress themes for artists? Sometimes its hard to find the perfect theme that can showcase your creativity and talent. In this article, we have hand-picked some of the best WordPress themes for artists. Building a WordPress Site for Artists… Read More »

The post 29 Best WordPress Themes for Artists (2017) appeared first on WPBeginner.

Are you looking for the best WordPress themes for artists? Sometimes its hard to find the perfect theme that can showcase your creativity and talent. In this article, we have hand-picked some of the best WordPress themes for artists.

Best WordPress themes for artists

Building a WordPress Site for Artists

Due to the flexibility and freedom it offers, WordPress is used by artists all over the world to share and promote their work online.

First you need to make sure that you are using the right platform. A self-hosted WordPress site gives you the freedom to use all features of WordPress.

Next, you need to sign up for a WordPress hosting account and register a domain name.

We recommend using Bluehost for hosting because they are one of the largest hosting companies in the world and an official WordPress recommended hosting partner. They are also offering our users 65% off + a free domain name.

Once you have signed up for hosting, it is time to install WordPress. Head over to our step by step guide on how to start a WordPress blog and you will be up and running in no time.

You can now choose a theme for your WordPress site. Select a theme from our list below. If you need help installing the theme, then check out our guide on how to install a WordPress theme.

Having said that, let’s take a look at some of the best WordPress themes for artists.

Note: This list contains both free and paid WordPress themes and all of them are fully mobile responsive.

1. Creatica

Creatica

Creatica is a multi-purpose WordPress theme for artists, creative agencies, art blogs, and more. It ships with stunningly beautiful and ready-made demos that you can install with 1-click.

It also includes tons of customization options like multiple header styles, multiple sidebars, custom widgets, and a powerful theme options panel. You will also get a slider plugin and a powerful drag and drop page builder to create your own page layouts.

2. Meteor

Meteor

Meteor is an elegantly designed WordPress theme for artists, arts and crafts, and portfolio websites. It includes grid, carousel, masonry, and blocks portfolio templates, allowing you to beautifully display photos, projects, paintings, illustrations, videos, and more.

It also allows you to choose different layouts for each single project in your portfolio. You can also choose 4 layout styles for your posts. It also includes a template to create a resume page and a section to add services.

3. Martho

Martho

Martho is a WordPress multipurpose theme that can be used by bloggers, photographers, and artists. It is highly flexible and perfect if you want to grow your website and be able to add different things as it grows.

Martho includes multiple homepage designs, templates for blog, project pages, galleries, and more. It is WooCommerce ready and has portfolio post type built-in with multiple display options. It also ships with a drag and drop page builder.

4. Indigo

Indigo

Indigo is a gorgeous multipurpose WordPress theme carefully designed with an artistic approach to details. It comes with easy to use modules that you can just drag and drop to build your homepage layout.

It also includes 14 ready made templates to make a website. You can install and then just replace the content with your own. These websites include a blog, magazine, portfolio, and stories theme that would work perfectly for an art website.

5. Freelo

Freelo

Freelo is a beautifully designed WordPress theme for artists, illustrators, and art blogs. It has a built-in portfolio section with multiple styles using beautiful CSS animations. You can choose from multiple color schemes and create your own as well.

It allows you to easily change fonts and has support to use Google Fonts. There are multiple page templates, unlimited sidebars, and even a sidebar generator packed inside.

6. Nico

Nico

Nico is a beautifully designed WordPress theme for artists, photographers, illustrators, and more. It includes a gorgeous filterable portfolio with grid layout that helps you display your work elegantly.

Nico includes several customization options such as custom colors, custom background and header, and social media integration. It has a custom theme panel to help you easily build your website.

7. Heron

Heron

Heron is a minimalist WordPress theme for artists, bloggers, and writers. It features beautiful typography, earth toned colors, and a clean spacious layout. It uses large fully scalable featured images and videos, which makes your pages more engaging.

It has a full screen search overlay next to the navigation menu on top. It also comes with author bio box for multi-author WordPress sites. It is easy to setup and customize using the built-in theme options panel.

8. Designer

Designer

As the name suggests, Designer is a creative WordPress theme for graphic designers, illustrators, and artists. It includes a portfolio content type with multiple styles to display portfolio items. Theme homepage has a two column layout on desktop, and a single column layout on mobile.

It uses the minimalist approach to design, which offers a distraction-free and engaging view to showcase your portfolio items. Designer uses crisp elegant typography so the text looks great on mobile and desktop devices. It has a getting started page to walk you through theme set up process.

9. Ambiance Pro

Ambiance

Ambiance Pro is a WordPress theme for artists, bloggers, and photographers. It is built on the rock solid foundation of Genesis framework. Designed specifically to beautifully showcase your photos and images, Ambiance Pro comes with beautiful layout choices and elegant typography.

It has multiple page templates for your blog, archives, and landing pages. It is quick and easy to setup using the live theme customizer. The homepage is fully widgetized so you can easily set it up in minutes.

10. Creativo

Creativo

Creativo is a flexible WordPress theme suitable to build almost any kind of website. It includes a built-in portfolio section with beautiful display options. It also has several layout choices for your blog and homepage, and it can also be used as a single page theme.

Inside you will also find sections to add services, photo galleries, testimonials, and more. Creativo ships with bonus premium page builder, slider, and a live chat plugin.

11. Exposure

Exposure

Exposure is a stylish multi-purpose WordPress theme with portfolio management system built-in. It is ideal for photography, fashion, lifestyle, arts and crafts websites.

It comes with a drag and drop page builder which allows you to design your pages the way you want. It has lots of customization options built-in and it is fully mobile responsive.

12. Coastline

Coastline

Coastline is a beautiful WordPress portfolio theme with unique design. It includes powerful custom widgets, multiple layout choices, and a well crafted portfolio section.

It has a fixed left sidebar with custom background support and comes with different page templates for blog, portfolio, archives, and galleries.

13. Relive

Relive

Want to tell your stories with an engaging layout? Check out Relive. It is a WordPress theme for storytellers, photographers, artists, and more. It is designed to offer an immersive user experience with audio, video, images, and text.

It is ideal for long form content, portfolios, photo and video galleries. It has beautiful templates for single posts and pages, photo galleries, and a unique homepage layout. Inside you will also find tons of customization options with color schemes, sidebars, custom widgets, shortcodes, and more.

14. Candid

Candid

If storytelling is a big part of your project, then you will love Candid. It is a beautiful WordPress theme for publishers with a focus on great typography and gorgeous display of images. It takes the minimalist approach to design with generous white space and modern layouts.

It features a dynamic, masonry-style layout that can be configured into one, two or three columns to match your content. It also ships with portfolio content type allowing you to showcase your photos, images, audio, or video projects.

15. Suarez

Suarez

Suarez is a stunningly beautiful and modern WordPress theme for bloggers, photographers, artists, and storytellers. It is designed to offer an immersive user experience with dazzling display of photographs and images.

The homepage layout features a large full screen header image at the top, which is followed by a masonry grid of your most important content with clever usage of images. Other features include categories carousel, sidebar filters, subcription box, social media widgets, and more.

16. Nisarg

Nisarg

Nisarg is a beautiful free WordPress theme suitable for artists and bloggers. It comes with a clean layout with two navigation menus and a large full-width header image.

It also supports custom backgrounds, custom colors, and multiple post formats for video, galleries, and other posts. All theme options are easily customizable using the theme customizer.

17. Peak

Peak

Peak is a modern WordPress theme with unique layout and style. Suitable for artists, illustrators, and photographers. It features a tile based display of images in a responsive grid layout.

It comes with multiple layouts for pages as well as posts. Other features include a mega menu on top, social media menu, slide-in sidebar widgets, easy setup, and more.

18. Memories

Memories

Memories is a beautiful WordPress theme designed for lifestyle, fashion, arts, and personal websites. It comes with a gallery display that showcases your photographs, designs, and other visual artworks beautifully.

The theme includes multiple color schemes, multiple layout choices, custom background, and header support as well as custom widgets for your social media profiles.

19. Sanremo

Sanremo

Sanremo is a free WordPress theme for bloggers and artists. It features a minimalist spacious layout with large featured images. It also includes custom widget for social media links, a sticky navigation menu at top, and a footer widget area.

20. Mozzy

Mozzy

Need a bright and lively WordPress theme for your illustrations? Check out Mozzy. It is a WordPress portfolio theme for illustrators, graphic designers, and photographers. It includes a widgetized homepage layout with a slider and featured content areas.

It comes with built-in sections for portfolio, services, and clients. Other features include custom post formats, backgrounds, headers, and social widgets.

21. Draft

Draft

Draft is another free WordPress theme suitable for artists, illustrators, and bloggers. It uses featured images to display a grid based layout on the homepage. It comes with a welcome message box, custom colors, header and background support. All theme options can be setup using customizer.

22. North

North

Looking for a great combination of elegant typography and unique layout? North is the perfect mix of the both. It is a WordPress portfolio theme with a minimalist design approach and a grid layout.

It has beautiful portfolio templates to display portfolio items like images, photos, videos, and audio files. It includes multiple color choices, post format support, and can also be used with third party photo gallery plugins.

23. Parallax

Parallax

Parallax is a modern and stylish WordPress theme for portfolio, arts, and photography websites. It features fullscreen parallax backgrounds and a unique layout. It ships with 40 different layouts that can be installed with 1-click. It also has an integrated drag and drop page builder.

Among other features you will find custom widgets for social media, portfolio section, and image filters. It can be used as a single page theme, a single page with infinite scroll, or as a regular multi-page theme.

24. Hestia

Hestia

Hestia is a free WordPress theme with powerful features to build any kind of website. It comes with a companion plugin which adds testimonials, services, and homepage sections to your website.

It is ready to be used with popular free page builder plugins, and it also supports WooCommerce out of the box. Hestia is easy to setup using the live theme customizer.

25. Verb

Verb

Verb is gorgeous WordPress theme built specifically for designers, photographers, and artists. It puts the best of your work at the top using an elegant masonry grid layout. It includes full-width templates to display individual portfolio items and pages. It also includes a traditional blog template with a right sidebar.

Verb offers pain free setup with options you need and none that you don’t need. It also includes with a getting started page to help you get started in minutes.

26. Profile

Profile

Looking for a theme to promote your personal brand? Profile is a WordPress theme to promote your personal brand online. It ships with social media integration to all your social media profiles. It also includes a beautiful portfolio section.

The homepage displays your personal photo at the top, which is followed by your Twitter feed, social profile links, blog posts, and portfolio items. It is easy to customize and comes with several shortcodes, templates, and custom widgets.

27. It is a Wrap

Wrap

If video plays an important role in your artwork, then Wrap can be the perfect way to display it. It has three homepage layouts, several content discovery features, and a beautiful media playback popup for your videos.

It also includes 4 creative header styles, featured content carousel, social media integration, and a visual page builder. It includes several page layouts, custom widgets, and easy customization options.

28. Eclipse

Eclipse

Eclipse is a stylish WordPress theme for photographers, artists, and bloggers. Theme homepage features a beautiful slider showcasing your latest work. It also displays your pages and recent posts in blocks on the homepage.

It comes with a custom widget to display your Instagram photos and videos. It also has beautiful gallery templates, portfolio section, and is fully compatible with WooCommerce.

29. Everly

Everly

Everly is a sophisticated WordPress theme for personal websites, blogs, and artists. It takes the minimalist approach to design with a spacious layout that makes your images popout. It comes with 4 different homeopage and blog layouts, post templates, galleries, and icon fonts.

It comes with unlimited colors, slider plugin, social media integration, dedicated ad spaces, and much more. Theme setup is quite simple allowing you to quickly get started without struggling with settings.

That’s all for now. We hope this article helped you find the best WordPress themes for artists and designers. You may want to take a look at our Envira Gallery plugin if you want a more robust WordPress gallery solution to display your work.

Also don’t forget to check out our ultimate step by step WordPress SEO guide for beginners to boost your SEO rankings.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post 29 Best WordPress Themes for Artists (2017) appeared first on WPBeginner.

How to Style Individual Categories Differently in WordPress

Do you want to style categories differently in WordPress? Most WordPress themes use the same style for all category archive pages. However, if you run a content rich website, then you can style each category differently to maximize their potential. In this article, we will… Read More »

The post How to Style Individual Categories Differently in WordPress appeared first on WPBeginner.

Do you want to style categories differently in WordPress? Most WordPress themes use the same style for all category archive pages. However, if you run a content rich website, then you can style each category differently to maximize their potential. In this article, we will show you how to easily style categories differently in WordPress.

How to style categories differently in WordPress

Why Style Categories Differently in WordPress?

As we said earlier, most WordPress themes use the same template for each category archive page. That’s because theme developers don’t know how you will be using the categories on your website and what those categories will be.

However, if you are running a content rich site, then changing the layout of a category archive page can have a dramatic impact on how users engage with the content on that page.

For example, if you run a news or magazine site, then you can have local ads displayed on the local news category. You can show weather information, show most popular stories in that category, and so on.

Having said that, let’s see how to easily style individual categories differently in WordPress.

Styling Individual Categories Differently in WordPress

There are multiple ways to style categories in WordPress. We will show you two different methods to style categories, and you can choose the one that best suits your needs and skill level.

Using Single Category Template in WordPress Theme

WordPress themes follow a standard template hierarchy. Depending on a template file name, WordPress can automatically pick the right template to display a page.

For example, it looks for category.php file to display category archive pages.

WordPress also allows you to create templates for individual categories as well. Let’s suppose you want to style the ‘Apple’ category differently. You can do that by adding a new template file to your theme and naming it category-apple.php.

Connect to your WordPress site using an FTP client and then go to /wp-content/themes/your-current-theme/ folder and create a new file category-apple.php. Don’t forget to replace apple with your own category name.

Creating a template for individual category in your WordPress theme

You can use your theme’s category.php file as a starting point. Simply edit and copy all of its content. Now edit your newly created category-apple.php file and paste the code inside it.

After that you can start making changes to your individual category template. You can create and use a different sidebar for this category, make it a full-width page, add a welcome message, or anything else you want.

Style Individual Categories in WordPress Using CSS

WordPress automatically adds CSS classes to different elements throughout your website. These include both the body class and the post class.

For example, if you view a category archive page and then use the Inspect Tool, you will notice category and category-name CSS classes in the body tag.

Category class added to body element by WordPress

You can use this CSS class to style each individual category differently by adding custom CSS.

Here is some example CSS that you can use as a starting point.

body.category-apple { 
background-color:#EEE;
background:url("http://example.com/wp-content/uploads/2017/background.jpg") no-repeat fixed;
color:#FFFFFF;
}
.category-apple .site { 
background:#232323; 
}
.category-apple a { 
color:#CCCCCC; 
} 

Don’t forget to change the category name in the CSS class with your own category name.

Changing category style using CSS

We hope this article helped you learn how to style categories differently in WordPress. You may also want to see our list of most wanted category hacks and plugins for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Style Individual Categories Differently in WordPress appeared first on WPBeginner.