How to pick to right colors for my Theme?
Why do I get 404 error for some of my posts or pages?
There might be several reasons that caused this, most probably because WordPress website usually needs re-save of your permalink structure when you transfer the website.
Luckily, the solution is simple. In the admin panel, just go to Settings -> Permalinks and hit save.
What is Child theme and how to use it?
A child theme is a theme that inherits functionality, features, and styles from its parent theme. It’s present in all of our themes download packages and the purpose of having the child theme is to offer a way to modify main/parent theme features or styles without altering the code of the parent theme. In this way, you can always update your main theme without any worries regarding your customization and changes.
How to use Child theme?
In order to use the child theme, you will need to install it right after you install your main / parent theme as the child theme is dependent on the main theme and it can’t work without the main theme already installed. So, once you install the main theme, just upload the child theme, install and activate it.
Now you should have your child theme up and running and if you want to alter some part of the main / parent theme files, just copy them into the child theme directory and recreate the same path for that file to be like in the main theme and alter the code. That code will override the main theme template file and you will have your customization up and running. Once you decide to update the main theme you will not lose any changes or customization made in the child theme directory.
You can read more regarding the Child themes on official WordPress codex page here: https://codex.wordpress.org/Child_Themes
Why are my posts shared on Facebook and other social networks do not display proper images?
Facebook and other social networks randomly decide which image to choose from the current page if it is not strictly defined by the open graph (OG) meta tags.
Please understand that this is something we shouldn’t control via themes because it works in the background on the general website level. Fortunately, there are some good plugins which may help you to specify what images exactly will be displayed when posts are shared, regardless of the WordPress theme you are using.
WordPress SEO by Yoast – https://wordpress.org/plugins/wordpress-seo/
Are the Heron Themes WordPress 5.0 (Gutenberg) ready?
To make the long story short, yes. All of our WordPress themes are compatible with WP 5.0 (or Gutenberg plugin).
We also wrote an article on our blog about it, with some actionable tips and explanations. If you want to find out more, feel free to check it out and make sure your website is ready for WordPress 5.0.
How to remove or disable comments in WordPress?
The comment function is one of the core features of WordPress and they are enabled for all posts by default. Sometimes, you might want to remove the comments for some posts specifically or for the entire website. To do this, you have 3 options.
Option 1: Switch off Comments in the Theme Options panel
Every theme from Heron Themes comes with the extended Theme Options panel. In here you can choose on the Single Post section if you want the comments to display or not.
Option 2: Disable all comments using WordPress plugin
In order to quickly disable the comments for the entire website, the Disable comments WordPress plugin is the easiest solution.
You can install the plugin by navigating to the WordPress admin -> Plugins -> Add new. Here just look for the search form at the right side of the screen. Type “Disable comments” in the search form and hit enter and wait for results.
Once the plugin is listed, click “install” and then click “activate” once it’s installed. See the image below.
Option 3: Disable comments for a specific post or page only
If you just need to disable or remove the comments section per post basis, just open up the particular post for editing. Once you are on the editor page, click on the Screen options button located in the top right corner of your page and the modal box with the options will expand.
Now just activate the section “Discussion”. See the image.
Now, just scroll down below the main page editor and find the Discussion section. It should contain two option, the one to disable comments from appearing and the other for disabling pingbacks. It should look like this.
So, now just uncheck both options here and save changes to your posts. That’s it!
How to add Google Analytics tracking code in WordPress?
As the best practice, Google Analytics tracking code should be added to your website on a general level, so you don’t need to re-enter the code when switching WordPress themes.
Add Google Analytics using plugin
You can use plugins for adding your Google Analytics code and the main idea was that this kind of things needs to be accessed via plugins.
Here is the list of some of the most popular and free plugin:
Google Analytics for WordPress by MonsterInsights – https://wordpress.org/plugins/google-analytics-for-wordpress/
Google Analytics Dashboard for WP – https://wordpress.org/plugins/google-analytics-dashboard-for-wp/
Google Analytics GA – https://wordpress.org/plugins/wd-google-analytics/
Google Analytics WD – https://wordpress.org/plugins/wd-google-analytics/
You can choose any of these three plugins, it’s up to you and they should cover your needs more than enough.