How to exactly modify or remove genesis footer credit links. If you use Genesis theme framework for your website and have installed any child theme or using just the framework, then you might have noticed that in the footer there is a link back to studiopress website.
This link can create some serious SEO problems, actually related to Google penguin. Since if you don’t remove the link then it will create a site-wide likback to the developer’s website, now this might be taken as a paid link exchange. Now as we know penguin punishes both the sides linked in the back link exchange so it’s better to remove those credit links.
Table Of Contents
Customize Genesis Credit Links
Now there are two different ways to perform this task. You can either chose to use a free plugin called simple edits or can edit your theme’s function.php file on yourself. Both will require same time, but if you do the task manually then you would save your server’s resources.
1st Method: Use WordPress Plugin
Use genesis simple edits. This plugin will allow you to edit post meta, post information by line and finally the footer byline. Once you install this plugin you will get three blocks and you can enter your shortcode, HTML or text to render on the required positions.
2nd Method: Manually Edit The Theme
Tn this section you will have to edit function.php file manually. This file is the most important file in your theme’s folder as it calls the required framework file and other scripts and styles for your theme.
So before proceeding please kindly create a complete backup of your theme or just of your function’s file.
Now copy all the codes provided below.
Copy the exact snippet at the end of your function’s file. Now you can edit the link and structure. Once completed simply click on update and you are ready to refresh your website to see the changes.
If you are using HTML5 enabled Genesis child theme then you will need another snippet in order to modify genesis footer credit. Please copy the code provided below to your child theme’s functions.php file and then click on update button.
Note: Please kindly change all the link with your domain.
Now let me start the explanation part of this snippet. I will try to explain each part in detail, but still if I miss any part and if you want to know about any specific customization, then please ask me in the comment section.
Here “genesis_footer_creds_text” is the genesis hook, which we have to alter. By default, it has settings, which you see in the default theme. Now we are going to modify it using the custom function that is “wpvkp_footer_creds_filter”.
Now we declare a custom variable that is $editthecredit, you can name it as per your need. Now in this variable, we will store a custom value, which we will finally pass to the theme. As the result, you will see the new custom footer.
I know that I am talking completely about PHP, but it is really necessary to cover so as to make this snippet easy to understand.