Footer Text
-
The footer text does not appear to show up in the theme although should be populated with text. Unsure why
-
Hi,
Thanks for letting us know this issue.
We will be resolving this issue and releasing the updated theme by next week.Thanks again.
Hey buddy Just seen your post after fixing it on my own website.
If your still looking for a fix whilst the devs update it here’s a few ways to do it.
All these fixes will be in your footer.php or theme footer file if you are using the editor from the appearance section in admin (remember to always back up your files)
EDIT
Had to edit and add other codes to pastebin as wordpress will not allow them to be displayed on here
https://pastebin.com/m5XGfCAiIf you just want to simply display the text from the site info and copyright fields
do the following.
Replace these two lines<div class="copyright"><?php esc_html(get_theme_mod('copyright'), 'mobile-friendly'); ?></div> <div class="site-info-inner"><?php esc_html(get_theme_mod('site_info'), 'mobile-friendly'); ?></div>
with this
<div class="copyright"><?php echo esc_html(get_theme_mod('copyright'), 'mobile-friendly'); ?></div> <div class="site-info-inner"><?php echo esc_html(get_theme_mod('site_info'), 'mobile-friendly'); ?></div>
If you want to add a link back to your homepage by clicking on the copyright text replace this line of code
<div class="copyright"><?php esc_html(get_theme_mod('copyright'), 'mobile-friendly'); ?></div>
with this
Refer to code 1 on pastebinif you want to go that little bit further then above and show your website slogan when hovering then replace the above code to this
Refer to code 2 on pastebinThat’s three ways to fix your site all will work, hope it helps
- This reply was modified 7 years, 7 months ago by t3fury.
- This reply was modified 7 years, 7 months ago by t3fury. Reason: parts of code keep getting delete
- This reply was modified 7 years, 7 months ago by t3fury.
- This reply was modified 7 years, 7 months ago by t3fury.
- This reply was modified 7 years, 7 months ago by t3fury. Reason: keeps deleting my code
Here is some fixes whilst the devs fix the theme
https://pastebin.com/m5XGfCAi (code for the second and third fixes if wanted
Displays text from the site info and copyright fields
Replace this<div class="copyright"><?php esc_html(get_theme_mod('copyright'), 'mobile-friendly'); ?></div> <div class="site-info-inner"><?php esc_html(get_theme_mod('site_info'), 'mobile-friendly'); ?></div>
with this
<div class="copyright"><?php echo esc_html(get_theme_mod('copyright'), 'mobile-friendly'); ?></div> <div class="site-info-inner"><?php echo esc_html(get_theme_mod('site_info'), 'mobile-friendly'); ?></div>
If you want a link back to your homepage from what you put in the copyright field
replace this<div class="copyright"><?php echo esc_html(get_theme_mod('copyright'), 'mobile-friendly'); ?></div>
with code 1 from pastebin
If you want the same as above plus hover text for your site slogan then replace the above code with code 2 from pastebin
help this helps
Hi,
Thanks for the reply @t3fury
This issue has been fixed with the latest version of the theme – 2.2Thanks.
no problem unfortunately i had to change themes as it didn’t quite fit with my kind of site but if you haven’t managed to fix the search box code I believe this was it
<div id="search-box"> <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <input type="search" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'search;', 'mobile-friendly' ); ?>" /> </form> </div>
Hi,
Thanks for the solution.
We will be updating the theme with the fix soon.Hi,
The search issue has been fixed in the latest version of the theme- 2.3.
Thanks.
- The topic ‘Footer Text’ is closed to new replies.