I’m using child themes with this theme on two wordpress projects. I have five wordpress projects in total, three using other themes and child themes. I’m not a IT person, just someone who finds it fun to dable in code (self-taught) but this is what I set up below. I think this might be the old way… I’m not sure. I will probably have to check this myself in coming weeks.
Using my ftp client CoffeeCup Direct FTP
I created a new folder under themes called longform-child
I then created a new file in this folder called style.css
I then added this code (change to suit yourself)
/*
Theme Name: Longform_Child
Theme URI: https://tinadubinsky.com/themes/longform-child
Author: Tina Dubinsky
Author URI: https://tinadubinsky.com
Description: This is a child template for longform
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: longform
Template: longform
Domain Path: /languages/
Tags: light, responsive-layout, two-columns, custom-header, full-width-template, post-formats, sticky-post, editor-style, custom-colors, threaded-comments, translation-ready
*/
@import url("../longform/style.css");
Then, to remove the SSBA code above you’ll need to copy the file single.php to your child theme directory. In the example below I’ve also commented out the reference to the aesop sharing plugin which is an additional paid feature of aesop.
Goto line: 36 and comment out the following lines of code (line 36 – 40 inclusive)
//if ( defined('BA_AESOPSOCIAL_ITEM_NAME') && BA_AESOPSOCIAL_ITEM_NAME == 'aesop-social' ) {
//do_action('ase_addon_social_links');
//} else {
//echo do_shortcode( '[ssba]' );
//}
If you’re like me and there’s only a single author on the site, you may also want to comment out the reference to the author meta (lines 42-44 inclusive)
//if ( get_the_author_meta( 'description' ) ) :
//get_template_part( 'author-bio' );
//endif;
I hope this helps somewhat. (also hoping I’ve used the tags in this post correctly)
Have a happy new year.
-
This reply was modified 7 years, 9 months ago by Dubsy. Reason: adding line numbers