# Help With Spacing in Footer

**URL:** <https://www.phphelp.com/t/help-with-spacing-in-footer/30969>\
**Category:** Beginners - Learning PHP\
**Created:** [February 4, 2020, 1:52am UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969 "2020-02-04T01:52:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![llholliman](https://www.phphelp.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@llholliman](https://www.phphelp.com/u/llholliman)\
**Post date:** [February 4, 2020, 1:52am UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/1 "2020-02-04T01:52:03Z")

</div>

Hi, I’m a total newbie and know almost nothing about coding. I’m trying to customize a wordpress site. My theme does not allow much editing with the footer, so I have three links all squished together. I have tried a couple of options for adding space between these three links to no avail. I’m pasting the code below and a screenshot of how it looks as is. If anyone can advise me on how to edit the code so that I can have a space between these links, I would be very appreciative. Please forgive my lack of expertise.

\<?php ?\>

```
		<div class="wrapper">
		    <span class="footer-copyright">
		        <?php 
		        printf( esc_html__( 'Theme: %1$s by %2$s. ', 'reblog' ), 'Reblog', '<a href="' . esc_url( 'http://moralthemes.com/' ) . '">Moral Themes</a>' ); 
		        
				if ( function_exists( 'the_privacy_policy_link' ) ) {
					the_privacy_policy_link();
				}
				?>
				
					
					<a href ="http://localhost:8888/happygohygge/terms-conditions/">Terms and Conditions.</a>
		    </span><!-- .footer-copyright -->

```

 ![39%20PM](https://www.phphelp.com/uploads/default/original/2X/0/0c1972f25ce1383ee5694723cac78dde5e024a71.png)

---

<div class="post-metadata">

**Author:** ![shruti](https://www.phphelp.com/user_avatar/www.phphelp.com/shruti/32/2183_2.png) [@shruti](https://www.phphelp.com/u/shruti)\
**Post date:** [February 5, 2020, 10:12am UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/2 "2020-02-05T10:12:23Z")

</div>

```
Try using <br/> or <br> after or before anchor tag i..e, 
<a href = .....> </a>
```

---

<div class="post-metadata">

**Author:** ![astonecipher](https://www.phphelp.com/user_avatar/www.phphelp.com/astonecipher/32/2797_2.png) [@astonecipher](https://www.phphelp.com/u/astonecipher)\
**Post date:** [February 5, 2020, 1:29pm UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/3 "2020-02-05T13:29:28Z")

</div>

What kind of space are you trying to add? Just separation, new lines?

---

<div class="post-metadata">

**Author:** ![llholliman](https://www.phphelp.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@llholliman](https://www.phphelp.com/u/llholliman)\
**Post date:** [February 5, 2020, 10:56pm UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/4 "2020-02-05T22:56:12Z")

</div>

Yes, I was able to get a space before Terms and Conditions, but not before Privacy Policy.

---

<div class="post-metadata">

**Author:** ![llholliman](https://www.phphelp.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@llholliman](https://www.phphelp.com/u/llholliman)\
**Post date:** [February 5, 2020, 10:56pm UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/5 "2020-02-05T22:56:47Z")

</div>

I’m fine with either, but I think new lines would be best.

---

<div class="post-metadata">

**Author:** ![astonecipher](https://www.phphelp.com/user_avatar/www.phphelp.com/astonecipher/32/2797_2.png) [@astonecipher](https://www.phphelp.com/u/astonecipher)\
**Post date:** [February 5, 2020, 11:15pm UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/6 "2020-02-05T23:15:53Z")

</div>

Then wrap everything or do as @shruti pointed out.

> [@llholliman](#):
>
> ```auto
> printf( esc_html__( '<p>Theme: %1$s by %2$s. </p>', 'reblog' ), 'Reblog', '<a href="' . esc_url( 'http://moralthemes.com/' ) . '">Moral Themes</a>' );
> 
> <p><a href ="http://localhost:8888/happygohygge/terms-conditions/">Terms and Conditions.</a></p>
> 
> ```

---

<div class="post-metadata">

**Author:** ![llholliman](https://www.phphelp.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@llholliman](https://www.phphelp.com/u/llholliman)\
**Post date:** [February 6, 2020, 12:06am UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/7 "2020-02-06T00:06:50Z")

</div>

Thank you! The

tag worked great for my terms-conditions link. I also need a break right before my Privacy Policy. When I put the same tag around Theme: as you showed above, it just shows up on my actual page. I also tried putting it around the privacy policy conditions section, but then my privacy policy link disappeared completely. I just need a line break between Theme: Reblog by Moral Themes. and Privacy Policy.

Thank you so much for your help! I’m definitely outside of my knowledge base on this one.

---

<div class="post-metadata">

**Author:** ![astonecipher](https://www.phphelp.com/user_avatar/www.phphelp.com/astonecipher/32/2797_2.png) [@astonecipher](https://www.phphelp.com/u/astonecipher)\
**Post date:** [February 6, 2020, 12:11pm UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/8 "2020-02-06T12:11:14Z")

</div>

> [@llholliman](#):
>
> the\_privacy\_policy\_link();

Have to play with it. I haven’t done wordpress for a very long time with reason.  
Search for this function and see what it returns, the\_privacy\_policy\_link();

---

<div class="post-metadata">

**Author:** ![llholliman](https://www.phphelp.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@llholliman](https://www.phphelp.com/u/llholliman)\
**Post date:** [February 6, 2020, 8:11pm UTC](https://www.phphelp.com/t/help-with-spacing-in-footer/30969/9 "2020-02-06T20:11:31Z")

</div>

> [@astonecipher](#):
>
> the\_privacy\_policy\_link();

I got it figured out. Thank you!
