-
AuthorPosts
-
March 1, 2015 at 12:59 am #403965
Before I upgraded from Enfold 3.0.7 to 3.0.8 I had the footer copyright working the way I want it, with no link and with the year auto-updating, and with some custom text. I had changed the footer.php file from this:
<span class=’copyright’><?php echo $copyright . $kriesi_at_backlink; ?></span>to this:
<span class=’copyright’><?php echo $copyright; echo date(‘ Y’); echo (” Higgins Design | Graphic Design for Print and Screen | Seattle”) . $kriesi_at_backlink; ?></span>However, it no longer works, and I can only get either custom text plus auto text plus link, or nothing there at all. The [no link] shortcode does not work, even with the footer.php file changed back to the unchanged version.
How do I get it back the way it was before? Why does the shortcode no longer work?
March 2, 2015 at 7:40 am #404337Hey jh100!
Please try following this post: https://kriesi.at/support/topic/change-kriesi-at-back-link-to-my-own/#post-400479
Make sure to use a child theme so that your changes won’t be overwritten on the next update.
Best regards,
RikardMarch 5, 2015 at 3:53 am #406197I followed the post as you suggested, but it didn’t make complete sense to me, as I don’t know php. However, I commented out line #1310 in the function-set-avia-frontend.php file and was able to get rid of the Kreisi link that way. I now have a link to my own site, which seems to be happening automatically, as I did not specify that anywhere. I don’t understand the rest of the instructions and was not able to insert any of my own text or include an auto updating year. Also, I don’t want to link to my own site (or anywhere else). If people are already on my site, they don’t need to link to it. How do I replace the “Copyright – Site Name” text and link with other unlinked text, as well as how do I add the auto updating year to the right of the copyright symbol?
Thank you!
March 6, 2015 at 6:22 am #406816Hi!
Please remove the modification then go to Enfold > Footer panel. Add the “[nolink]” text plus the custom copyright text. Something like this:
[nolink]© Copyright - <a href='http://www.google.com'>Google</a>
Cheers!
IsmaelMarch 19, 2015 at 3:29 am #414121With the latest update everything works now. Thank you!
March 19, 2015 at 3:39 pm #414523January 3, 2017 at 3:39 am #728817Hi,
I notice that there is something strange going on with the footer copyright link. When I add the following in the custom Copyright text field:
<span class="copyright-text">© 2017</span><span class="copyright-separator"> </span><span>Site by <a href="http://www.mycustomlink.com.au">My Custom Link</span> [nolink]
I get the following output:
<footer class="container_wrap socket_color" id="socket" role="contentinfo" itemscope="itemscope" itemtype="https://schema.org/WPFooter"> <div class="container"> <span class="copyright"> © 2017 Site by <a href="http://www.mycustomlink.com.au">Custom Link</a></span> <a href="http://www.mycustomlink.com.au"></a> <ul class="noLightbox social_bookmarks icon_count_2" style="/* width: 100px; */"> <a href="http://www.mycustomlink.com.au"></a> <li class="social_bookmarks_facebook av-social-link-facebook social_icon_1" style="width: auto;"> <a href="http://www.mycustomlink.com.au"></a> <a target="_blank" href="https://www.facebook.com/infinitysupplies/" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Facebook"><span class="avia_hidden_link_text">Facebook</span></a> </li> <li class="social_bookmarks_linkedin av-social-link-linkedin social_icon_2"> <a target="_blank" href="https://www.linkedin.com/company/infinity-industrial-supplies-pty-ltd" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Linkedin"><span class="avia_hidden_link_text">Linkedin</span></a> </li> </ul> </div> <!-- ####### END SOCKET CONTAINER ####### --> </footer>
It seems that the
<a href="http://www.mycustomlink.com.au"></a>
from the copyright text field is inserted 3 extra times in the wrong places not just in the Copyright area but also in the social media links<ul>
.You can see this in action in the footer of the following sites running the Enfold theme:
Any ideas please?
Another issue is that the footer social media icons have a little problem. Out of the box, the Facebook icon doesn’t appear unless I add the following custom CSS:
footer ul.noLightbox.social_bookmarks li { width: auto !important; }
Thank you very much.
- This reply was modified 7 years, 10 months ago by prembo. Reason: Additional information and better formatting of code
January 3, 2017 at 6:13 am #728851Hi @prembo,
Could you try moving the
[nolink]
part to the beginning of your code please?
Best regards,
RikardJanuary 3, 2017 at 6:45 am #728856Hi Rikard,
I have tried this… and it didn’t work…
The Basket Strainers site has it before and the Infinity Industrial Supplies site has
[nolink]
after.Still the same outcome…
Thank you.
Kind regards,
PremJanuary 3, 2017 at 6:57 am #728858Hey!
Can you instead of pasting the code there ( lets say of the link ) to try add it manually by typing it?
Maybe with copy paste, it gets some characters / elements it shouldntBest regards,
BasilisJanuary 3, 2017 at 7:13 am #728863@Basilis – that seems to have done the trick!
Thank you very much for that suggestion – typing it in manually seems to have fixed the issue. All clean and it seems to have resolved the Facebook icon issue as well.
Kind regards,
Prembo.January 3, 2017 at 8:51 am #728877Hi Prembo,
Great, glad you got it working! Let us know if you should have any further problem on the topic of if we can close it.
Best regards,
RikardJanuary 4, 2017 at 2:23 am #729236Thank you – issue seems to be resolved for me, so you can close it.
Thanks.January 4, 2017 at 6:30 am #729298 -
AuthorPosts
- The topic ‘Footer Copyright & Link Problem’ is closed to new replies.