Support » Fixing WordPress » Footer text

  • Resolved Irina Sopas

    (@irinasopas)


    Hello. Anyone knows how I add a footer text with embedded link? Right now the theme as a .css to not display the original copyright. It was gave by the official Theme Forum.

    #colophon .copyright {
    display: none;
    }

    Best regards,

    Irina Sopas

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello. Seek for a footer.php in your theme. By copying and pasting its code into a new file with the same name and upload it to your child theme, you can add your embedded link inside which is gotta be some html.

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the #content div and all content after
     *
     * @package sparkling
     */
    ?>
    		</div><!-- close .row -->
    	</div><!-- close .container -->
    </div><!-- close .site-content -->
    
    	<div id="footer-area">
    		<div class="container footer-inner">
    			<div class="row">
    				<?php get_sidebar( 'footer' ); ?>
    			</div>
    		</div>
    
    		<footer id="colophon" class="site-footer" role="contentinfo">
    			<div class="site-info container">
    				<div class="row">
    					<?php
    					if ( of_get_option( 'footer_social' ) ) {
    						sparkling_social_icons();}
    ?>
    					<nav role="navigation" class="col-md-6">
    						<?php sparkling_footer_links(); ?>
    					</nav>
    					<div class="copyright col-md-6">
    						<?php echo of_get_option( 'custom_footer_text', 'sparkling' ); ?>
    						<?php sparkling_footer_info(); ?>
    					</div>
    				</div>
    			</div><!-- .site-info -->
    			<div class="scroll-to-top"><i class="fa fa-angle-up"></i></div><!-- .scroll-to-top -->
    		</footer><!-- #colophon -->
    	</div>
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    This is my code? Where I add:

    © 2019 IRINA SOPAS – TERMOS DE UTILIZAÇÃO – PRIVACIDADE E COOKIES

    The links are to be embedded in TERMOS DE UTILIZAÇÃO and PRIVACIDADE E COOKIES

    • This reply was modified 1 year, 7 months ago by Irina Sopas.

    Under <div class=”row”>, depending though on where do you want to show it. Also, it depends on how many row you have selector for your footer.

    Solve it dear. Thank you a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Footer text’ is closed to new replies.