Facebook icon
Permalink Browser Info Environment
I have had no luck finding a editing feature on the dashboard or any other menu to edit the Facebook and Twitter links in order to link to a specific page? At the same time, I also like to delete the Twitter from the page. Any help is appreciated, my skills are limited.
Thanks
Thanks
Type: | Discussion |
---|---|
Status: | New |
No Problem. Do you have FTP access to your website?
I have not accessed or edited the site using FTP. Is that normally done through the host site (Bluehost)?
Yes, you will need FTP login information from bluehost as you will need to edit a very small php file. You can try using this add-on and see if it works but it is no longer supported.
http://www.concrete5.org/marketplace/addons/theme-editor/...
After you are able to edit the .php files you will need to go to the social.php file that is located in the elements folder... here is the path: theme_darkwall->themes->darkwall->elements->social.php
Once you get there you can just delete this part of the code to get rid of twitter...
IF you want to change the url for facebook you will need to find the following code
and change http://www.facebook.com to your official facebook URL. :)
Thats it!
http://www.concrete5.org/marketplace/addons/theme-editor/...
After you are able to edit the .php files you will need to go to the social.php file that is located in the elements folder... here is the path: theme_darkwall->themes->darkwall->elements->social.php
Once you get there you can just delete this part of the code to get rid of twitter...
<!--change twitter.com to your twitter url--> <a class="social" target="_blank" href="http://www.twitter.com/"> t </a>
IF you want to change the url for facebook you will need to find the following code
<!--change facebook.com to your facebook url--> <a class="social" target="_blank" href="http://www.facebook.com/"> f </a>
and change http://www.facebook.com to your official facebook URL. :)
Thats it!
Thanks Brianlewis,
I changed the code using the add-on and the web page did not respond so I found the file using the Bluehost FTP to check to see if I could make the edit that way and had no better luck. Is there a setting or other restriction built into the theme that is keeping this edit from working?
[code]
<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
<div id="social">
<!--change facebook.com to your facebook url-->
<a class="social" target="_blank" href="http://www.facebook.com/ThePoorNobodys">
f
</a>
</div><!--/#social -->
[code]
I changed the code using the add-on and the web page did not respond so I found the file using the Bluehost FTP to check to see if I could make the edit that way and had no better luck. Is there a setting or other restriction built into the theme that is keeping this edit from working?
[code]
<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
<div id="social">
<!--change facebook.com to your facebook url-->
<a class="social" target="_blank" href="http://www.facebook.com/ThePoorNobodys">
f
</a>
</div><!--/#social -->
[code]
Weird, no not at all. Do you have a link? You can FTP the information for me and I can try. The only other thought that I have is to clear your cache that may be the issue.
Try clearing your cache if not send me the FTP info.
Try clearing your cache if not send me the FTP info.
thanks, clearing the cache did the trick.
That's great news! Thanks for the feedback!