Delite ta vtičnik ne deluje v nekaterih temah



I’ve started adding the Share This plugin to several of my sites and was frustrated on one site to see on the front page “SHARETHIS.addEntry(” in veliko bolj grda besedilo. Po preiskavi v zvezi s < script tag spravljen ShareThis javascript. Tako, Šla sem na preiskave. I looked in the share this forums and found some people reporting the same problem with no real solutions.


I tested putting the javascript in the header manually. That didn’t solve it. I tried disabling other plugins and that didn’t work.

Končno, I compared the source of the working page and the non working page and that’s when I saw that the enclosing script tags were missing. Tako, I started looking at the template tag right before the sharethis plug. I noticed that the working site had <?php the_content(‘Read the rest of this entry »); ?> the one that wasn’t working was using the rss head of the article to get the summary text on the front page. <?php the_content_rss("…. so I replaced that bit and the sharethis plugin started working on the front page.

I like this because it also solved the problem I had with the popularity contest plugin not working.

Podobni Posts

Blog Traffic Exchange Podobni Posts
  • Wordpress 2.0 prvi vtisi Glede na to, da sem zdaj imel priložnost, da uporabijo Wordpress 2.0 bit, Mislil sem, da sem naredil nekaj delovnih mest na nekaj mojih vtisov. Za začetek, Jaz sem zelo rad vmesnika za 1.5.2 , ki ga uporabljam tukaj. To je udoben, Sem dodal nekaj plugins, da bi olajšali življenje ......
  • Tehnična podpora na daljavo z uporabo VNC (Ultravnc SC in x11vnc ovoj skript) Ok, nekaj časa nazaj sem naredil writeup na UltraVNC SC, kar je lepo prilagodljiv (windows verzija) VNC strežnik, ki v bistvu nekdo počne kaj je oddaljena podpora vzpostavijo svoje lastne prenesti. Exe, ki teče in samodejno poskuša narediti neposredno povezavo na "poslušanje" VNC gledalec. To je dobro za ......
  • Wordpress plugin statistika ni posodabljanje - popraviti Obstaja veliko dobrih stvari všeč novejših različicah WordPress. Zdi se, da gre na bolje. Ena od res kul čep je Wordpress.com stats plugin. To vam omogoča, da imate lepo preprosto Statistika vmesnika, dostopnega z nadzorno ploščo na svoj blog WordPress. (To ......
Blog Traffic Exchange Sorodne spletne strani
  • Yaeger:CPA Review Skoraj 41,000 people fail the CPA exam every single year. But you don’t have to be one of them. And let’s face it, in times like these – you really can’t afford to be one of them. Zdaj, don’t get me wrong. It takes hard work to pass the CPA......
  • Increase your pull-up numbers The pull-up is a fantastic exercise. It has a simplicity like few other exercises yet it does wonders for your upper body. Na žalost, it is often overlooked and skipped out on. Few people at the gym will actually do pull-ups as part of their workout. Perhaps this is partly because......
  • SaudiJobsNet document.write(''); Iskanje zaposlitve zahteva konkurenčno prednost Mnogi ljudje iščejo razburljivo preko morja Wor'' priložnosti. SaudiJobsNetwork zagotavlja nepremičnin tisoče preko morja zaposlitvenih možnosti in informacije, ki jih potrebujete za pristanek te sanje delovna mesta. Kliknite tukaj za teko''e listings.document.write delovnih mest(''); Brezplačna registracija Povečajte svoje možnosti ......
PDF24    Pošlji članek po PDF   

Podobne objave


Poglejte, kaj se je zgodilo na ta dan v zgodovini bodisi iz BBC Wikipedia
Iskanje:
Ključne besede:
Amazon Logo

Komentarji so zaprti.


Preklopi na našo mobilno spletno stran