• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Gallery Pro – Footer Credits

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Gallery Pro – Footer Credits

This topic is: resolved

Tagged: credits, footer, Gallery Pro

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by kgshultz.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 16, 2017 at 1:05 pm #206561
    kgshultz
    Member

    Hi,

    I've changed the footer credits on a bunch of themes before using the code snippets provided by StudioPress, but I'm using Gallery Pro now and the default footer isn't going away. My new one is just right below it. You can see at staging.kgshultz.com.

    The code I used is this:

    //* Customize the entire footer
    remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
    remove_action( 'genesis_footer', 'genesis_do_footer' );
    remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
    
    add_action( 'genesis_footer', 'fp_custom_footer' );
    function fp_custom_footer() {
    	?>
    	<p>&copy; Copyright  <?php echo date("Y"); ?> Fingers and Paws Dog Training &middot; All Rights Reserved &middot; Website by <a href="http://www.kgshultz.com" rel="nofollow">KGShultz Web Solutions</a></p>
    	<?php
    }
    

    I can't for the life of me figure out where in the Gallery Pro files the default footer is and, therefore, how I can remove it. I've looked through all the files, so I'm sure I must be overlooking it. But I'm starting to feel like I'm going crazy.

    Does anyone know where the default footer credits are located in Gallery Pro?

    http://staging.kgshultz.com
    May 16, 2017 at 2:11 pm #206564
    Victor Font
    Moderator

    There are no footer credits in Gallery Pro. That second line looks like the default footer generated by genesis_do_footer(). Why don't you try using the genesis_footer_creds_text filter instead of removing all the markup?

    add_filter( 'genesis_footer_creds_text', 'fp_custom_footer' );
    function fp_custom_footer($creds_text) {
    	$creds_text = '&copy; Copyright ' . date("Y") . ' Fingers and Paws Dog Training &middot; All Rights Reserved &middot; Website by <a href="http://www.kgshultz.com" rel="nofollow">KGShultz Web Solutions</a>';
    	return $creds_text;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 17, 2017 at 12:17 pm #206605
    kgshultz
    Member

    Old habits die hard, I guess. I have always done it the other way and not had any trouble. But yes, the filter works perfectly and makes sense. Thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Gallery Pro – Footer Credits’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble