Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Facebook Like button keeps disappearing


  #1  
Old Jun 5, 2011, 09:50 AM
ameliecafe
 
20 posts · Mar 2010
I've inserted this code into each of the pages of the site I'm working (http://killerstuffandtonsofmoney.com/) on to add a facebook like button.

The code looks like this:

<div style="text-align: center;"><div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://killerstuffandtonsofmoney.com/" send="false" width="290" show_faces="false" colorscheme="dark" font="arial"></fb:like></div>

It works fine until I edit and update the page again to add content, etc.

Then the code changes to this:

<div style="text-align: center;">

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
</div>

And the facebook like button disappears.

Why is this?
  #2  
Old Jun 5, 2011, 02:25 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
sounds like the wordpress editor is messing you up. Are you using the visual or HTML editor? Try the HTML editor if you are not using it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 5, 2011, 02:51 PM
ameliecafe
 
20 posts · Mar 2010
Yes, it is the editor. I paste in the code into the HTML editor. I switch over to the visual editor, to upload pictures, etc. However, if I go back to edit the page later, using just the visual editor, the code (which doesn't show up at all in the visual editor) gets changed. I can see this if I switch over to the HTML editor.

The thing is that once I hand this website over to my client, she'll be using ONLY the visual editor. She's very new to blogging/websites etc, so she will definitely not be using the HTML editor to add content.
  #4  
Old Jun 5, 2011, 03:00 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This is a WordPress issue, not a theme issue. You might want to post or search about the issue at WordPress.org
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 5, 2011, 05:53 PM
ameliecafe
 
20 posts · Mar 2010
okay thanks.
  #6  
Old Jun 6, 2011, 11:25 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I like the Raw HTML Snippets plugin for stuff like that. It lets you create a shortcode for rendom html code which you can put in your post or page.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add facebook like button after read more ragdoll Excerpts, Read more, Pagination 6 Feb 28, 2011 02:44 AM
[SOLVED] Facebook like button lindbeck Center area post/pages 3 Feb 23, 2011 08:57 AM
HOWTO: add a facebook 'Like' button Tim F Center area post/pages 4 Jan 29, 2011 06:00 AM
[SOLVED] Facebook Share button not sharing posts separately Karen Forum How-To 4 Dec 6, 2010 01:30 AM
Facebook share button doesn't display my pics ! drey Plugins & Atahualpa 2 May 9, 2010 01:45 PM


All times are GMT -6. The time now is 03:41 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.