Home>Support>remove fullstop in site information text in my footer

remove fullstop in site information text in my footer

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,
This is a weird one. My site information text looks like this

{site-title} | Site Design by Charlie Apple |

And in the footer it is displayed like this

Azadi – Acupuncture Treatments | Site Design by Charlie Apple | . Privacy Policy.

I have elected to show the link to the Privacy Policy but there is a fullstops before the word Privacy Policy – I can live with the one after Policy but the one before looks misplaced.

If I untick the Privacy Policy box then it looks like this:

Azadi – Acupuncture Treatments | Site Design by Charlie Apple | .

And if I leave it at just {site-title} then the fullstop will show at the end of the Site Title

Azadi – Acupuncture Treatments.

So the fullstops is in the code and I’ve no idea how to get rid of it.
Can you help please?
Thank you!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Charlie

    Thanks for posting.

    A period is being used as the separator. Any chance you’re using a child theme for this site? If you are already then you could add a /parts/ folder to the child and copy footer.php from the parent parts folder into your child parts folder.

    This is the conditional to edit in that file:

    <?php
    	if ( ! empty( $site_info_text ) ) {
    		echo wp_kses_post( $site_info_text )  . '. ';
    	}
    	if ( function_exists( 'the_privacy_policy_link' ) && siteorigin_setting( 'general_privacy_policy_link' ) ) {
    		the_privacy_policy_link( '', '.' );
    	}
    ?>
    

    Change the period here .&nbsp and here the_privacy_policy_link( '', '.' ); to vertical bars or remove the periods.

  2. 6 years, 2 months ago charlieapple

    Hi Andrew, thanks for the reply. I downloaded the Vantage site pack and am using that. The Footer.php file only has this content.


    So I can’t find the bit you’ve provided where I can change the period to the vertical bar.
    Thanks and sorry
    Tracy

  3. 6 years, 2 months ago charlieapple


  4. 6 years, 2 months ago charlieapple

    sorry it won’t let me paste code in here :(

  5. 6 years, 2 months ago charlieapple
    			<?php do_action( 'vantage_main_bottom' ); ?>
    		</div><!-- .full-container -->
    	</div><!-- #main .site-main -->
    
    	<?php do_action( 'vantage_after_main_container' ); ?>
    
    	<?php do_action( 'vantage_before_footer' ); ?>
    
    	<?php get_template_part( 'parts/footer', apply_filters( 'vantage_footer_type', siteorigin_setting( 'layout_footer' ) ) ); ?>
    
    	<?php do_action( 'vantage_after_footer' ); ?>
    
    </div><!-- #page-wrapper -->
    
    <?php do_action('vantage_after_page_wrapper') ?>
    
    <?php wp_footer(); ?>
    
    </body>
    </html>
    
  6. 6 years, 2 months ago charlieapple

    aha!!! :)

  7. 6 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Charlie

    This would have to be done via a child theme, if not, your changes would be lost the next time we released an update for Vantage.

    To make migrating to the child theme easier, you can export all Customizer options with the parent theme activated and then import them when the child theme is activated using: https://wordpress.org/plugins/customizer-export-import/.

    Here is a child theme to use: Page: Child Theme

    Once activated you’ll need to create a folder called “parts” in the child theme and then copy footer.php from the parent parts folder into your child parts folder. Once done, you can safely edit the file.

  8. 6 years, 2 months ago charlieapple

    Hi Andrew,
    Thank you so much for your reply, it is much appreciated. This is simply not going to be worth the effort and risk and hassle and time (and danger of messing up) for the sake of a misplaced fullstop. I have instead inserted an html link to privacy policy instead of ticking the box and now the fullstop is only at the end which is fine.

    Thank you very much for your help.

  9. 6 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Sure. Let me know if you’d like to revisit this in the future :) Cheers for now.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More