Skip to content

Instantly share code, notes, and snippets.

@amandarush
Created October 4, 2019 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandarush/3a21cd5826a58e7f830cbc6809e2fa5c to your computer and use it in GitHub Desktop.
Save amandarush/3a21cd5826a58e7f830cbc6809e2fa5c to your computer and use it in GitHub Desktop.
<?php
/*
* You can add your own functions here. You can also override functions that are
* called from within the parent theme. For a complete list of function you can
* override here, please see the docs:
*
* https://github.com/raamdev/independent-publisher#functions-you-can-override-in-a-child-theme
*
*/
/*
* Uncomment the following to add a favicon to your site. You need to add favicon
* image to the images folder of Independent Publisher Child Theme for this to work.
*/
/*
function blog_favicon() {
echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('stylesheet_directory').'/images/favicon.ico" />' . "\n";
}
add_action('wp_head', 'blog_favicon');
*/
/*
* Add version number to main style.css file with version number that matches the
* last modified time of the file. This helps when making frequent changes to the
* CSS file as the browser will always load the newest version.
*/
function indieweb_publisher_stylesheet() {
wp_enqueue_style( 'indieweb-publisher-master-style', get_stylesheet_uri(), 'indieweb-publisher-master', filemtime( get_stylesheet_directory() . '/style.css') );
}
/*
* Modifies the default theme footer.
* This also applies the changes to JetPack's Infinite Scroll footer, if you're using that module.
*/
function independent_publisher_footer_credits() {
$my_custom_footer = 'Copyright 2006-2019 AT Guys, LLC.';
return $my_custom_footer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment